joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ecb8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44eccf
add esp, 0xfffffff0
call fcn.004034d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ce48
mov eax, dword [0x45d134]
cmp word [eax + 2], 0
jne 0x44ecf7
mov eax, dword [0x45d134]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450390
mov eax, dword [0x45d1ec]
cmp word [eax + 2], 0
jne 0x44ed11
mov eax, dword [0x45d1ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450588
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414984]
call fcn.00403194
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414984]
call fcn.00403194
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], 0xff000018
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 [0x41f01c]
call fcn.00424c64
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44ee98
mov eax, dword [0x45d04c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425034
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450b28
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45d04c]
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.0040c328
test eax, eax
je 0x44ee06
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004085d8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c350
test eax, eax
je 0x44ee1a
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.004041a8
mov eax, dword [0x45cf20]
cmp byte [eax], 0
jne 0x44ee4e
mov eax, ebx
call fcn.0044efc0
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.00450d04
mov eax, ebx
call fcn.004516c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ee8e
call fcn.00403528
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f240
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ebb4]
cmp dword [eax + 0x30], 0
je 0x44f2ea
cmp dword [ebx + 0x94], 0
jne 0x44f2e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f1d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f2e4
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 0x44f2aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f2e4
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.00416eb0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f2b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44fe4c
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 0x44fe81
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.00404028
jmp 0x44fe8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450ee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450f21
mov eax, esi
call fcn.00437890
test al, al
je 0x450f21
mov eax, dword [ebx + 0x84]
call fcn.004375d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450f21
push 0
mov eax, dword [ebx + 0x84]
call fcn.004375d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x404ded
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
xor esi, esi
cmp dword [0x2fa6b10], 0x400
push edi
jne 0x404e4d
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
push esi
push esi
call fcn.00405209
push esi
call fcn.00405298
add esp, 0xc
push esi
push esi
call fcn.00405209
push esi
push esi
call fcn.004055a9
push esi
call fcn.00405734
add esp, 0x14
push esi
push esi
call fcn.00405190
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004048b0
fstp st(0)
mov eax, dword [0x80db34]
mov dword [0x2fa6b10], eax
mov eax, dword [0x80db0c]
mov dword [0x2fa6b14], eax
call fcn.00404c16
xor ebx, ebx
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp ebx, edi
jle 0x404e99
cmp dword [esp + 0x14], 0x785074d5
jne 0x404ea2
inc ebx
cmp ebx, 0x1c1b
jl 0x404e6d
xor ebx, ebx
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x4047c0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp ebx, edi
jle 0x404ecd
cmp dword [esp + 0x14], 0x785074d5
jne 0x404ed6
inc ebx
cmp ebx, 0x11915
jl 0x404ea4
mov eax, dword [0x2fa5a60]
mov dword [0x2fa60a4], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406110
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80c0e8]
jne 0x40611a
repz ret
jmp fcn.0040a8b2
Function at 0x40a5d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040807d
and dword [ebp - 4], 0
cmp dword [0x80e3c0], 0
mov ebx, eax
jne 0x40a686
push 0x401bc8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a737
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401bbc
push edi
call esi
test eax, eax
je 0x40a737
push eax
call fcn.0040800b
mov dword [esp], 0x401bac
push edi
mov dword [0x80e3c0], eax
call esi
push eax
call fcn.0040800b
mov dword [esp], 0x401b98
push edi
mov dword [0x80e3c4], eax
call esi
push eax
call fcn.0040800b
mov dword [esp], 0x401b7c
push edi
mov dword [0x80e3c8], eax
call esi
push eax
call fcn.0040800b
pop ecx
mov dword [0x80e3d0], eax
test eax, eax
je 0x40a686
push 0x401b64
push edi
call esi
push eax
call fcn.0040800b
pop ecx
mov dword [0x80e3cc], eax
mov eax, dword [0x80e3cc]
cmp eax, ebx
je 0x40a6de
cmp dword [0x80e3d0], ebx
je 0x40a6de
push eax
call fcn.00408086
push dword [0x80e3d0]
mov esi, eax
call fcn.00408086
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a6de
test edi, edi
je 0x40a6de
call esi
test eax, eax
je 0x40a6d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a6d5
test byte [ebp - 0xc], 1
jne 0x40a6de
or dword [ebp + 0x10], 0x200000
jmp 0x40a717
mov eax, dword [0x80e3c4]
cmp eax, ebx
je 0x40a717
push eax
call fcn.00408086
pop ecx
test eax, eax
je 0x40a717
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a717
mov eax, dword [0x80e3c8]
cmp eax, ebx
je 0x40a717
push eax
call fcn.00408086
pop ecx
test eax, eax
je 0x40a717
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80e3c0]
call fcn.00408086
pop ecx
test eax, eax
je 0x40a737
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a739
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d171
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 4], esi
shrd bp, dx, cl
push dword [esp]
cmc
mov dword [esp + 4], edi
bts eax, 0x17
sar bp, cl
sub esp, 0xfffffffc
js 0x46c449
setge ah
push ebx
and ah, dh
push edx
lea ebp, [eax - 0x27d06789]
mov bp, 0xa562
neg bp
aam 0x60
push edx
cmc
push edx
inc bp
adc al, 0xc2
cwde
push edx
sete al
lea ebp, [esp + 0x24]
dec ax
mov eax, dword [ebp]
pushal
test eax, eax
pushal
mov byte [esp + 4], 0x7c
lea esp, [esp + 0x40]
je 0x445f6d
bt ax, si
mov esi, dword [eax + 0x3c]
rol dh, cl
shld dx, dx, cl
clc
movsx edx, al
add esi, eax
bsf dx, sp
sal dl, 4
shld dx, ax, cl
shrd edx, edi, 0x1c
mov edx, dword [esi + 0x78]
call fcn.0044a0c0
push 0xfc3d948f
call fcn.0046e7e3
sbb byte [ebx - 0x3d7bf412], bh
pushal
movsx ax, al
pushal
mov dword [esp + 0x3c], ebx
add esp, 0x3c
jns 0x445769
xor al, dl
cmc
push edx
ror ah, cl
clc
bsr ax, sp
push edx
rcl al, cl
shr al, 2
push edx
das
push edx
shr ah, cl
lea ebp, [esp + 0x24]
inc ah
mov eax, dword [ebp]
stc
test eax, eax
pushal
lea esp, [esp + 0x20]
je 0x445f6d
add dl, 0x87
sal dl, 7
push ecx
mov esi, dword [eax + 0x3c]
lea edx, [esi*4 + 0x68fb1def]
add esi, eax
bswap dx
sbb edx, 0x440e1ddf
not dh
sar dx, 9
mov edx, dword [esi + 0x78]
push edi
pushfd
test edx, edx
pushal
mov byte [esp], al
call fcn.004481b1

Function at 0x43d768
Capabilities:
Check http status code

Disassembly:
lea esp, [esp + 0x48]
jne 0x445f6d
inc si
rcr si, 0xd
test ah, 0xc8
setge cl
mov ecx, edi
sar si, 0xe
or si, 0x6015
sub ecx, ebx
jmp 0x449358
adc esi, 0xa960567f
test bh, ch
mov esi, esp

Function at 0x445894
Capabilities:
Resolve function by parsing pe exports

Disassembly:
shld bp, sp, 2
aam 0x51
setno ah
mov dword [esp], edx
cmp bh, 0x46
dec ebp
lahf
push edx
xadd ax, bp
sbb bp, bx
sub al, 0x54
aad 0xd9
lea ebp, [esp + 0x24]
stc
mov ah, bh
mov eax, dword [ebp]
push 0xdeb2b9dc
push 0x348d506
bt bx, cx
test eax, eax
mov dword [esp + 4], esp
lea esp, [esp + 8]
je 0x445f6d
pushal
mov esi, dword [eax + 0x3c]
movsx edx, dl
setno dh
add esi, eax
btr dx, si
mov edx, dword [esi + 0x78]
jmp 0x445732
Function at 0x402f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x464020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ff8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fd8
xor eax, eax
push ebp
push 0x402fd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403014
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x464020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x464020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ca4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x466048], 0
je 0x403d05
cmp word [0x46621c], 0xd7b2
jne 0x403ccd
cmp dword [0x466224], 0
jbe 0x403ccd
mov eax, 0x466218
call dword [0x466234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46406c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x464030], 0
jne 0x403d21
push 0
push 0x464064
push 0x46406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403e58
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x466049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e20
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405ade
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404114
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b24
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ac8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ae5
lea eax, [ebp - 0x10]
call fcn.00403ea4
ret

Function at 0x40ab38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ab71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f94
jmp 0x40ab7a
mov eax, ebx
mov edx, esi
call fcn.00403ef8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ab84
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aba5
mov al, byte [esp]
jmp 0x40aba7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b22c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b0a4
mov eax, dword [0x465980]
cmp byte [eax], 0
je 0x40b2a8
mov eax, dword [0x4656b4]
call fcn.00402990
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408398
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b2f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b2de
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x465640]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x466664]
call fcn.00404f8c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bb44
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bc1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f3c
lea eax, [ebp - 8]
call fcn.004043b4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404364
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bc04
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bbfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404364
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bbe7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bbe7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc04
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc21
lea eax, [ebp - 8]
call fcn.00403ea4
ret

Function at 0x40c150
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c1b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404114
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e68
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1bb
lea eax, [ebp - 0xc]
call fcn.00403ea4
ret

Function at 0x41a1e0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a038
dec esi
jne 0x41a202
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41b344
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x466888
cmp dword [edi], 0
jne 0x41b3c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x466884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46440c
mov ecx, 2
call fcn.004028c8
mov edx, 0x41b31c
lea eax, [esi + 5]
call fcn.0041b33c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b33c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b395
mov dword [0x466884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c5e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c5ea
ret

Function at 0x41eb58
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41eba9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41eb90
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41eb80
jmp 0x41eba9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41eb91
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4324a8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4323f4
call sub.user32.dll_EnumWindows
ret

Function at 0x4325c8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x432645
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00432028
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4325ed
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00431c28
cmp dword [ebp - 4], 0
je 0x43262f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404364
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43264c
lea eax, [ebp - 4]
call fcn.00403ea4
ret

Function at 0x4357ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x466b60], 0
je 0x4358fb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4658f4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4358fb
mov eax, dword [0x466b64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x466b60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4358ca
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x466b60]
call fcn.00413c64
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4358c2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4358c2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4358c2
mov eax, dword [ebp - 0x14]
call fcn.0043e558
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4358c2
push ebp
call fcn.00435768
pop ecx
test al, al
jne 0x4358c2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43587e
mov eax, dword [ebp - 0x14]
call fcn.0043d088
dec eax
jle 0x4358c2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004032e4
cmp byte [ebp - 1], 0
je 0x4358c2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4358c2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x466b64]
call fcn.00434f34
inc edi
dec ebx
jne 0x435811
mov eax, dword [0x466b64]
cmp dword [eax + 8], 0
jle 0x4358e2
mov eax, dword [0x466b64]
call fcn.00434fc4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4358fb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004355d0
pop ecx
test al, al
jne 0x4358fb
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438edc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x438f28
mov eax, esi
call fcn.0044e7c4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x438f28
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x438f28
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x439067
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x438f68
cmp eax, 0x108
ja 0x438f68
mov eax, esi
call fcn.0044e7c4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43905e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x439067
jmp 0x43905e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439047
cmp eax, 0x20a
ja 0x439047
test byte [esi + 0x50], 0x80
jne 0x438f9a
sub eax, 0x203
je 0x438f97
sub eax, 3
je 0x438f97
sub eax, 3
jne 0x438f9a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x438fae
dec eax
je 0x438fc3
dec eax
je 0x438fe0
dec eax
je 0x438fc3
jmp 0x438fe7
mov ecx, ebx
mov eax, dword [0x4658f4]
mov eax, dword [eax]
mov edx, esi
call fcn.00457f88
jmp 0x43905e
cmp byte [esi + 0x5d], 1
jne 0x438fd9
mov eax, esi
mov si, 0xffed
call fcn.004032e4
jmp 0x439067
or word [esi + 0x54], 1
jmp 0x43905e
and word [esi + 0x54], 0xfffe
jmp 0x43905e
mov eax, dword [0x466b1c]
cmp byte [eax + 0x20], 0
je 0x43905e
mov eax, dword [0x466b1c]
cmp dword [eax + 0x1c], 0
je 0x43905e
mov eax, dword [ebx]
mov edx, dword [0x466b1c]
cmp eax, dword [edx + 0x1c]
jne 0x43905e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044e708
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032e4
jmp 0x439067
cmp eax, 0xb00b
jne 0x43905e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004377fc
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret