joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458e18]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458df9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458e08
or bl, 4
test esi, 0x20000000
je 0x458e13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f41c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f42e
add esp, 0xfffffff0
call fcn.00403c18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e310
mov eax, dword [0x49295c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f7c0
mov eax, dword [0x492968]
mov dword [eax + 4], ebx
mov dword [eax], 0x45f7cc
mov eax, ebx
call fcn.0045f7d8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45bca0
push eax
push 0
push 0
mov eax, dword [0x492ab4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fd80]
call fcn.00421454
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fd80]
call fcn.00421454
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fd80]
call fcn.00421454
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045fbf8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fad4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fad4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fad4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f56b
call fcn.00403c70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f8b8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fa63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45fa44
mov dl, 1
mov eax, dword [0x414470]
call fcn.00403884
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404620
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45fa33
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044cfec
test al, al
je 0x45fa26
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45fa74
lea eax, [ebp - 0x254]
call fcn.00409960
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45fa26
xor eax, eax
push ebp
push 0x45fa1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45faac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45fa08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404888
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45fa08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f929
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418914
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa6a
lea eax, [ebp - 0x260]
call fcn.00404620
ret

Function at 0x460398
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x493c30]
cmp byte [eax + 0xa5], 0
jne 0x460409
cmp dword [0x493c48], 0
jne 0x4603ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460354
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x493c48], eax
cmp dword [0x493c44], 0
jne 0x4603e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x493c44], eax
cmp dword [0x493c4c], 0
jne 0x460409
push esp
push 0
push 0
push 0x4602f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x493c4c], eax
pop edx
ret
Function at 0x460500
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460517
add esp, 0xfffffff0
call fcn.00403c18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e310
mov eax, dword [0x492aa4]
cmp word [eax + 2], 0
jne 0x46053f
mov eax, dword [0x492aa4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461b4c
mov eax, dword [0x492b48]
cmp word [eax + 2], 0
jne 0x460559
mov eax, dword [0x492b48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461d44
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413ec8]
call fcn.00403884
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420800]
call fcn.00428500
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4606e0
mov eax, dword [0x4929c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004288d0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4622d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4929c4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d0a4
test eax, eax
je 0x46064e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092a8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0cc
test eax, eax
je 0x460662
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404888
mov eax, dword [0x4928ac]
cmp byte [eax], 0
jne 0x460696
mov eax, ebx
call fcn.00460808
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004624b0
mov eax, ebx
call fcn.00462df0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4606d6
call fcn.00403c70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460a7c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x493c30]
cmp dword [eax + 0x30], 0
je 0x460b26
cmp dword [ebx + 0x94], 0
jne 0x460b20
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460a0c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460b20
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460ae6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460b20
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416620
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460af5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461604
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x461639
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404710
jmp 0x461646
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404674
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46268c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4626cd
mov eax, esi
call fcn.004486e0
test al, al
je 0x4626cd
mov eax, dword [ebx + 0x84]
call fcn.004483dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4626cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004483dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x466768
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4668d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004046b8
mov eax, dword [ebp - 0x10]
call fcn.004664d0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4667ba
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00466b94
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46688f
xor eax, eax
push ebp
push 0x466888
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00466640
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004668e0
test al, al
je 0x466866
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404710
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x466866
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404ad0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x466860
mov eax, dword [ebp - 0x14]
call fcn.00404ad0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404810
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00466768
dec ebx
cmp ebx, 0xffffffff
jne 0x466819
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46688f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00466640
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404ad0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046662c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4668d8
lea eax, [ebp - 0x3c]
call fcn.00404620
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404644
ret
Function at 0x46688f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4668d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004046b8
mov eax, dword [ebp - 0x10]
call fcn.004664d0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4667ba
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00466b94
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46688f
xor eax, eax
push ebp
push 0x466888
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00466640
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004668e0
test al, al
je 0x466866
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404710
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x466866
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404ad0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x466860
mov eax, dword [ebp - 0x14]
call fcn.00404ad0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404810
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00466768
dec ebx
cmp ebx, 0xffffffff
jne 0x466819
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46688f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00466640
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404ad0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046662c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4668d8
lea eax, [ebp - 0x3c]
call fcn.00404620
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404644
ret

Function at 0x4668e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402ff0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x492ca0]
cmp byte [edx + 0xc], 0
je 0x466944
mov edx, dword [0x492c98]
cmp dword [edx], 2
jne 0x466944
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x466aa8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004664e4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404ad0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x466b06
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x492abc]
mov dl, 1
mov eax, dword [0x4663dc]
call fcn.0040c398
call fcn.00404080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x466b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ad0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x466b68
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x492cac]
mov dl, 1
mov eax, dword [0x4663dc]
call fcn.0040c398
call fcn.00404080
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00466514
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x470438
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7fc
mov esi, edx
mov ebx, eax
xor edi, edi
jmp 0x4704ba
test edi, edi
jle 0x470465
mov ecx, 0x4705b4
mov dl, 1
mov eax, dword [0x407ad4]
call fcn.0040c2a0
call fcn.00404080
jmp 0x4704ba
cmp word [ebx + 0xa42], 0
jne 0x470487
mov ecx, 0x4705b4
mov dl, 1
mov eax, dword [0x407ad4]
call fcn.0040c2a0
call fcn.00404080
jmp 0x4704ba
mov byte [esp], 0
mov edx, esp
mov ecx, esi
mov eax, dword [ebx + 0xa44]
call dword [ebx + 0xa40]
cmp byte [esp], 0
jne 0x4704b9
mov ecx, 0x4705b4
mov dl, 1
mov eax, dword [0x407ad4]
call fcn.0040c2a0
call fcn.00404080
jmp 0x4704ba
inc edi
mov eax, esi
call fcn.004189f8
cmp edx, 0
jne 0x4704c9
cmp eax, 0
je 0x470449
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.004702c4
cmp dword [ebx + 0x848], 0
jne 0x4704fc
mov ecx, 0x4705cc
mov dl, 1
mov eax, dword [0x46fbcc]
call fcn.0040c2a0
call fcn.00404080
mov ecx, 0x4705e8
mov dl, 2
mov eax, ebx
call fcn.004707bc
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov edi, 0x10
push 0
push 0
mov eax, esi
call fcn.004189e4
mov eax, esi
call fcn.004189f8
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x47054c
call fcn.004037f4
mov ecx, eax
lea edx, [esp + 1]
mov eax, esi
call fcn.00418bf0
push edi
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, esi
call fcn.004189f8
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x470578
call fcn.004037f4
push eax
lea eax, [esp + 0x11]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0xa32], 0
je 0x4705a2
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
add esp, 0x804
pop edi
pop esi
pop ebx
ret

Function at 0x47087c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x470950
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x47093a
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x470964
call fcn.004099e0
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470957
lea eax, [ebp - 8]
call fcn.00404620
ret
Function at 0x47254c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4726bd
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472698
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404800
lea eax, [ebp - 0x118]
mov edx, 0x4726d4
call fcn.004048e0
mov eax, dword [ebp - 0x118]
call fcn.00404ad0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x47260a
lea eax, [ebp - 0x111]
call fcn.0040926c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404710
jmp 0x472611
mov eax, esi
call fcn.00404620
cmp bl, 0x61
jae 0x472632
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040cf78
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404674
jmp 0x47264c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040ceec
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404674
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4726e0
call fcn.004099e0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47269f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x477c80
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x477cae
mov eax, ebx
call fcn.00478738
cmp dword [ebx + 0x3c], 0
je 0x477ca7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x477d1f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x477d11
cmp dword [ebx + 8], 0
je 0x477cd0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x477ce2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x477d11
cmp dword [ebx + 8], 0
je 0x477cc3
cmp eax, 3
je 0x477cf5
dec eax
jne 0x477cc3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x477cc3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x477cc3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x477d3d
cmp dword [ebx + 0x10], 0xcc
je 0x477d3d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00477d48
pop ebx
ret