joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1d80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004c10d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4d1e4b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4d1e4b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4d1dfe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4d1e09
or bh, 8
and edi, 0x8000000
je 0x4d1e24
mov eax, dword [0x57631c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4d1e4b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4d224b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x4d226f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4d228a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4d5ca4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d5cdc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d89c7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d899f
jmp 0x4d5ce8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4d733b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d737d
call fcn.004de6df
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x4d737d
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x4d7374
xor eax, eax
jmp 0x4d7385
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d738b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d8cdb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4d8cfd
cmp dword [edi + 0x3c], 0
jne 0x4d8cfd
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004de6df
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004d8d2a
pop edi
pop esi
pop ebx
ret 8
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5e4d1c31
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x661865e2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401443
pop dword [ebp - 0x18]
mov eax, 0x8012cd7b
sub eax, 0x7fd2b938
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x3a27503c
sub dword [ebp - 0x28], 0xebd50af1
mov dword [ebp - 0x24], 0x75fa3eed
add dword [ebp - 0x24], 0xbc390d58
mov dword [ebp - 0x20], 0xc427aba5
sub dword [ebp - 0x20], 0x77db6777
mov dword [ebp - 0x1c], 0xd7c74dda
sub dword [ebp - 0x1c], 0xd7c74dda
lea eax, [ebp - 0x28]
push eax
mov eax, 0x876f8860
sub eax, 0x872f075c
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x1b08140d
add dword [ebp - 0x28], 0x596a5549
mov dword [ebp - 0x24], 0xe49aff70
sub dword [ebp - 0x24], 0xa32e9dfb
mov dword [ebp - 0x20], 0xfa412a26
sub dword [ebp - 0x20], 0x96d1bdba
mov dword [ebp - 0x1c], 0x9c0fbf1a
add dword [ebp - 0x1c], 0x63f040e6
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xc31249f3
sub eax, 0xc2d1c8f3
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3a5de
push 0
call eax
mov ecx, 0x24b5ce5
sub ecx, 0x24b0c97
mov ebx, eax
mov edx, 0xc37e2fb2
sub edx, 0xc3374bb2
add edx, dword [ebp - 0x18]
mov edi, 0x8a1c096a
add dword [ebp - 0x14], 0x3693ac54
mov esi, dword [edx]
xor dword [ebp - 4], 0xf19027fb
sub esi, edi
xor dword [ebp - 4], 0xc48834b6
mov dword [ebx], esi
add dword [ebp - 4], 0x1c0c2b70
add ebx, 0x2d873c1f
sub ebx, 0x2d873c1b
add edx, 0x47176cf4
add edx, 0xb8e89310
loop 0x40155f
add eax, 0x7e8311cf
sub eax, 0x7e81ddc4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x408c38
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408c8a
test eax, edx
je 0x408c8d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408c4d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408c73
add ecx, 4
js 0x408c63
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408c70
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408c99
test edx, edx
jne 0x408c40
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x409570
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404f68
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40958e
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4095af
cmp ebx, 3
je 0x4095af
cmp ebx, 0x7b
je 0x4095af
mov eax, esi
call fcn.00409530
test al, al
jne 0x4095b3
xor eax, eax
jmp 0x4095b5
mov al, 1
pop esi
pop ebx
ret

Function at 0x40c134
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 0x40c16d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404bc8
jmp 0x40c176
mov eax, ebx
mov edx, esi
call fcn.00404b2c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c180
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 0x40c1a2
movzx eax, byte [esp]
jmp 0x40c1a4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c834
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c6ac
mov eax, dword [0x488e90]
cmp byte [eax], 0
je 0x40c8b0
mov eax, dword [0x488c78]
call fcn.00403430
call fcn.00403044
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.004097a4
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 0x40c8f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c8e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x488c18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48b7f8]
call fcn.00405ee4
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 0x40d1c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d29a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b70
lea eax, [ebp - 4]
call fcn.00404fc0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f68
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d284
mov eax, ebx
call fcn.00402ee8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d27d
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 - 4]
call fcn.00404f68
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d267
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d2ac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d267
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d284
mov eax, dword [ebp - 0x10]
call fcn.00402f04
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d2a1
lea eax, [ebp - 4]
call fcn.00404ad8
ret

Function at 0x41f3b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48d9ec
cmp dword [edi], 0
jne 0x41f434
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48d9e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x486b6c
mov ecx, 2
call fcn.004030d8
mov edx, 0x41f390
lea eax, [esi + 5]
call fcn.0041f3b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f3b0
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 0x41f409
mov dword [0x48d9e8], 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 0x422bc0
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.00404f68
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x422c18
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x488fcc]
mov dl, 1
mov eax, dword [0x4226cc]
call fcn.0040ca00
call fcn.00404520
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004227d4
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 0x431f14
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f58
xor eax, eax
push ebp
push 0x432049
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43201c
xor edx, edx
push ebp
push 0x432015
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x431f61
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x431fea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x431fd9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x431fa0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404f68
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004030d8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431fe0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x488bb0]
mov dl, 1
mov eax, dword [0x407e94]
call fcn.0040c9c4
call fcn.00404520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432050
lea eax, [ebp - 4]
call fcn.00404ad8
ret
Function at 0x43ea94
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 [0x48dc7c], 0
je 0x43ebdd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x488e20]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43ebdd
mov eax, dword [0x48dc80]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48dc7c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43ebac
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48dc7c]
call fcn.004183b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43eba4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43eba4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43eba4
mov eax, dword [ebp - 0x14]
call fcn.00449394
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43eba4
push ebp
call fcn.0043ea50
pop ecx
test al, al
jne 0x43eba4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403ea8
test al, al
je 0x43eba4
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, 0xffbc
call fcn.00403ea8
cmp byte [ebp - 1], 0
je 0x43eba4
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43eba4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48dc80]
call fcn.0043e1c0
inc edi
dec ebx
jne 0x43eaf9
mov eax, dword [0x48dc80]
cmp dword [eax + 8], 0
jle 0x43ebc4
mov eax, dword [0x48dc80]
call fcn.0043e278
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43ebdd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043e8b4
pop ecx
test al, al
jne 0x43ebdd
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 0x44e6c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x488fbc]
cmp byte [eax + 0xc], 0
je 0x44e835
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e82e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48dc8c], 0
jne 0x44e71c
push 0x44e83c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44e844
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc8c], eax
cmp dword [0x48769c], 0
jne 0x44e817
push 0x44e854
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48769c], eax
cmp dword [0x48769c], 0
je 0x44e817
push 0x44e860
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc90], eax
push 0x44e870
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc94], eax
push 0x44e884
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc98], eax
push 0x44e89c
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc9c], eax
push 0x44e8b4
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dca0], eax
push 0x44e8c8
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dca4], eax
push 0x44e8e0
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dca8], eax
push 0x44e8f8
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dcac], eax
push 0x44e914
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dcb0], eax
push 0x44e920
mov eax, dword [0x48769c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dcb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e835
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x454894
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x4548b5
test edi, 0x40000
je 0x4548cf
test bl, bl
jne 0x454950
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x454950
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x454902
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x454917
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x454926
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x454937
cmp byte [esp + 2], 0
je 0x454950
cmp byte [esp + 2], 0
je 0x454948
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x454950
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret