joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40249d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c088
cmp edx, dword [eax]
je 0x4024bf
add eax, 8
inc ecx
cmp eax, 0x40c118
jl 0x4024b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c088]
jne 0x4025ed
mov eax, dword [0x40c798]
cmp eax, 1
je 0x4025c7
test eax, eax
jne 0x4024f0
cmp dword [0x40bfdc], 1
je 0x4025c7
cmp edx, 0xfc
je 0x4025ed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402527
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004038e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004039d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40256a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004039d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405e78
push edi
call fcn.00403ae0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004038e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004038f0
lea eax, [ebp - 0xa0]
push 0x405e58
push eax
call fcn.004038f0
push dword [esi + 0x40c08c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004038f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403a4b
add esp, 0x2c
pop edi
jmp 0x4025ed
lea eax, [ebp + 8]
lea esi, [esi + 0x40c08c]
push 0
push eax
push dword [esi]
call fcn.004039d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x100029d7
Capabilities:
Encode data using xor

Disassembly:
call 0xf8ea1168
adc bh, bh
cmp ebp, dword [edi - 0x55]
test dword [eax - 0x2f1703f7], eax
out 0xc0, eax
in al, dx
out 0x10, eax
mov eax, dword [eax + 0x1000416c]
jmp 0x10002998
xor al, 0x36
add al, 0xa8
xor al, 0x10
jg 0x44ff752e
sahf
test dword [edi - 0xb4b4af], ecx
xor al, 0x9e
push ecx
dec ebx
dec ebx
push dword [esi + ebx*4]
cmp ebx, ebp
jne 0x100029dd
push edi
lea esi, [ebx + 5]
add byte [edi + edx*2], al
jbe 0x10002a37
jge 0x100029d1
jne 0x10002993
push dword [ebp + 0x57]
lea esi, [ebx + 0x33]
add byte [edi + edx*2], al
jbe 0x10002a46
jge 0x100029e0
int3
cld
or eax, dword [eax]
add byte [esi], bl
add byte [eax], al
mov esi, dword [eax - 0x76fffffc]
je 0x10002a66
ret
call 0x1c102aaf
mov dword [0x5030481c], eax
dec dword [ebx]
push 0x6855ff3c
or bh, bl
inc ebp
adc byte [ebx - 0x1ff2173d], cl
push edi
push dword [0x50f675c4]
call 0x9b10701b
jmp 0x10312892
Function at 0x416263
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4347d0]
xor eax, 0x46b8b4
mov dword [0x4361d4], eax
mov ecx, dword [0x438ab4]
mov eax, dword [0x434c24]
shl ecx, 6
sub eax, 0x6d04410f
or ecx, 0xffffa9fb
inc dword [0x434c24]
cmp ecx, eax
jne 0x4162aa
movzx eax, word [0x44084a]
add eax, 0x604616a1
mov word [0x44084a], ax
dec dword [0x43a9a0]
mov ecx, 0xe62813a6
mov eax, dword [0x43a9a0]
sub ecx, eax
mov eax, dword [0x434d24]
sub ecx, eax
xor dword [0x434790], ecx
inc dword [0x434d24]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0042d026
pop ecx
movsx ecx, word [0x43e350]
xor ecx, 0xac50dd78
mov dword [0x43878c], ecx
lea edx, [eax - 1]
add dword [0x4363a0], 0xfa5b11eb
cmp byte [edx + esi], 0x22
jne 0x4163d6
movsx eax, word [0x43c998]
or eax, 0x534352b2
xor dword [0x434ee0], eax
dec word [0x43c998]
mov byte [esi], 0x22
mov ecx, dword [0x43bb90]
movzx eax, word [0x43f044]
xor ecx, 0x9b530991
add eax, ecx
mov word [0x43f044], ax
mov byte [edx + esi], 0
movsx eax, word [0x43c9a6]
sar eax, 9
cmp eax, 0x4a278f34
jge 0x41635c
add dword [0x43967c], 0x5836701e
jmp 0x416373
mov eax, dword [0x437b6c]
shl eax, 9
sub eax, 0x106f208a
xor eax, 0xe4912ed5
mov dword [0x4395a8], eax
inc dword [0x4342c0]
mov eax, dword [0x4342c0]
add eax, 0xffe19f82
and eax, 0x5dd70678
xor eax, dword [0x434b28]
dec edx
mov dword [0x434b28], eax
imul eax, dword [0x433e30], 0x627e5543
mov dword [0x433e30], eax
cmp byte [edx + esi], 0x22
jne 0x416373
mov eax, dword [0x439b48]
mov ecx, 0xfbd480a2
not eax
inc edx
imul eax, eax, 0x18bd4a4c
add edx, esi
sub ecx, eax
mov word [0x43c6a6], cx
or dword [0x435b48], 0x76e08789
jmp 0x4164c1
movsx eax, word [0x440532]
mov ecx, 0x7bbadf07
imul eax, eax, 0x4ab4f4c0
sub ecx, eax
mov eax, dword [0x43731c]
sar eax, 5
cmp ecx, eax
jge 0x41640a
movzx eax, word [0x43f59a]
sub eax, 0x57f7ff7a
mov word [0x43f59a], ax
jmp 0x416436
mov ecx, dword [0x43800c]
mov eax, dword [0x434874]
not ecx
sub ecx, 0x53e2fd6f
xor eax, 0xd175b8c1
and ecx, 0xe13baabc
cmp ecx, eax
je 0x416436
mov dword [0x435ce0], 0x3c532adf
mov byte [esi], 0x20
movsx ecx, word [0x4401a6]
mov eax, dword [0x439568]
or ecx, 0x91aa69e5
sar eax, 3
add eax, 0x4f41e799
cmp eax, ecx
jle 0x416475
mov eax, dword [0x436798]
imul eax, dword [0x4344a0]
imul eax, eax, 0xb8cd09a0
xor dword [0x43c3c8], eax
inc dword [0x4344a0]
add dword [0x434728], 0x3801622
dec edx
inc word [0x43faba]
mov ax, word [0x43faba]
cwde
sub dword [0x43c05c], eax
cmp byte [edx + esi], 0x20
jne 0x416475
inc dword [0x438310]
inc edx
mov eax, dword [0x438310]
add edx, esi
add dword [0x433e80], eax
movzx eax, word [0x43cd46]
imul eax, eax, 0x573ff81e
mov word [0x43cd46], ax
cmp dword [0x436fb4], 0x53ef27ee
pop esi
jge 0x416513
imul eax, dword [0x434d94], 0x37d0caaf
cmp eax, 0xe4cbe165
jne 0x416501
mov ecx, dword [0x436328]
mov eax, dword [0x4337a8]
imul ecx, eax
xor dword [0x43c25c], ecx
dec dword [0x4337a8]
dec dword [0x436328]
jmp 0x416513
mov ecx, dword [0x437f8c]
or ecx, dword [0x4361f0]
mov dword [0x437f8c], ecx
mov eax, edx
pop ebp
ret
Function at 0x416517
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [0x43356c]
mov edx, ecx
shl eax, 7
sub eax, 0x352ee99b
cmp eax, 0x8cf8871c
jge 0x416548
mov eax, dword [0x437acc]
xor eax, 0x2327d6a8
cmp eax, 0x808d1108
je 0x416548
mov dword [0x43a244], 0xf8282f48
and dword [edx], 0
add dword [0x435138], 0x81decf36
and dword [edx + 4], 0
mov ax, word [0x43dc7e]
movsx ecx, ax
mov eax, dword [0x43a6dc]
sub ecx, eax
lea eax, [ecx - 0x650644d4]
movzx ecx, word [0x43e6d4]
xor ecx, eax
mov word [0x43e6d4], cx
inc dword [0x43a6dc]
mov dword [edx + 8], 0x67452301
dec dword [0x43b730]
mov ecx, dword [0x43b730]
movzx eax, word [0x43fc82]
or ecx, 0x280477be
sub eax, ecx
mov word [0x43fc82], ax
mov dword [edx + 0xc], 0xefcdab89
mov eax, dword [0x439438]
mov ecx, dword [0x43bab0]
add eax, 0xf42efb1b
add ecx, eax
mov dword [0x439438], ecx
mov dword [edx + 0x10], 0x98badcfe
imul eax, dword [0x43acb0], 0xc278f882
mov dword [0x43acb0], eax
mov dword [edx + 0x14], 0x10325476
mov eax, dword [0x434b2c]
xor eax, 0x1b6e38af
and dword [0x437288], eax
ret
Function at 0x403820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x458020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403898
xor eax, eax
push ebp
push 0x403891
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 0x4038d4
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 0x403898
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x458020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x458020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4046b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x404715
cmp word [0x45a21c], 0xd7b2
jne 0x4046dd
cmp dword [0x45a224], 0
jbe 0x4046dd
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x40473c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45802c], 0
jne 0x404731
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4082a2
test eax, edx
je 0x4082a5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408265
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 0x40828b
add ecx, 4
js 0x40827b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408288
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 0x4082b1
test edx, edx
jne 0x408258
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b478
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 0x40b4b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404924
jmp 0x40b4ba
mov eax, ebx
mov edx, esi
call fcn.00404888
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bb78
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b9f0
mov eax, dword [0x4599ec]
cmp byte [eax], 0
je 0x40bbf4
mov eax, dword [0x45981c]
call fcn.004031e8
call fcn.00402fac
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.00408bf8
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 0x40bc3c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bc2a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4597c8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45c7f4]
call fcn.0040598c
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 0x40c4b4
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 0x40c58a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048cc
lea eax, [ebp - 4]
call fcn.00404d1c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cc4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c574
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c56d
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.00404cc4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c557
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c59c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c557
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 0x40c574
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c591
lea eax, [ebp - 4]
call fcn.00404834
ret

Function at 0x41b0c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45e9e8
cmp dword [edi], 0
jne 0x41b140
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45e9e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x458ad4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b09c
lea eax, [esi + 5]
call fcn.0041b0bc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b0bc
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 0x41b115
mov dword [0x45e9e4], 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 0x41d684
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.00404cc4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d6dc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x459b08]
mov dl, 1
mov eax, dword [0x41d190]
call fcn.0040bd38
call fcn.0040427c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d298
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 0x4298c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404834
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x429916
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404aa4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e9f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42eb2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41d1f0]
call fcn.0041d2c0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x42eb01
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d360
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404aa4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x42eb40
call fcn.00404b4c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d3c4
lea ecx, [ebp - 4]
mov edx, 0x42eb7c
mov eax, dword [ebp - 0xc]
call fcn.0041d60c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d6d4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42eae4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x42eb88
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x459404]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eaeb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x42ebd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x42ec1f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42ec02
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42ec13
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x42ec1f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43378c
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 [0x45ec40], 0
je 0x4338d5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x459990]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4338d5
mov eax, dword [0x45ec44]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45ec40]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4338a4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45ec40]
call fcn.00414158
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43389c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43389c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43389c
mov eax, dword [ebp - 0x14]
call fcn.0043df20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43389c
push ebp
call fcn.00433748
pop ecx
test al, al
jne 0x43389c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403c1c
test al, al
je 0x43389c
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.00403c1c
cmp byte [ebp - 1], 0
je 0x43389c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43389c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45ec44]
call fcn.00432eb8
inc edi
dec ebx
jne 0x4337f1
mov eax, dword [0x45ec44]
cmp dword [eax + 8], 0
jle 0x4338bc
mov eax, dword [0x45ec44]
call fcn.00432f70
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4338d5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004335ac
pop ecx
test al, al
jne 0x4338d5
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 0x43adf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406654
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00435b14
test ebx, ebx
jne 0x43ae47
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043ad30
mov ebx, eax
test ebx, ebx
je 0x43af32
cmp esi, ebx
je 0x43ae70
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43ae85
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43aebd
add eax, 0xffffff5f
sub eax, 2
jb 0x43aed5
dec eax
sub eax, 2
jb 0x43aee9
dec eax
sub eax, 2
jb 0x43aedf
jmp 0x43aef3
add eax, 0xfffffdff
sub eax, 2
jb 0x43aed5
dec eax
sub eax, 2
jb 0x43aee9
dec eax
sub eax, 2
jb 0x43aedf
jmp 0x43aef3
mov byte [esp + 0x120], 0
jmp 0x43aefb
mov byte [esp + 0x120], 2
jmp 0x43aefb
mov byte [esp + 0x120], 1
jmp 0x43aefb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00449774
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004372b0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43af34
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x443100
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x459afc]
cmp byte [eax + 0xc], 0
je 0x44326d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443266
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ec50], 0
jne 0x443154
push 0x443274
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44327c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec50], eax
cmp dword [0x45954c], 0
jne 0x44324f
push 0x44328c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45954c], eax
cmp dword [0x45954c], 0
je 0x44324f
push 0x443298
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec54], eax
push 0x4432a8
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec58], eax
push 0x4432bc
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec5c], eax
push 0x4432d4
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec60], eax
push 0x4432ec
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec64], eax
push 0x443300
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec68], eax
push 0x443318
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec6c], eax
push 0x443330
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec70], eax
push 0x44334c
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec74], eax
push 0x443358
mov eax, dword [0x45954c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44326d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4492b8
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 0x4492d9
test edi, 0x40000
je 0x4492f3
test bl, bl
jne 0x449374
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x449374
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 0x449326
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x44933b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x44934a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x44935b
cmp byte [esp + 2], 0
je 0x449374
cmp byte [esp + 2], 0
je 0x44936c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x449374
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret