joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454890
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x454933
test eax, eax
jbe 0x454933
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x454933
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4548de
xor esi, esi
jmp 0x4548e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45490f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004066c0
add esi, eax
push esi
mov ebx, esi
call fcn.004066c0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4548f0
pop ebp
test edi, edi
pop edi
jne 0x454933
test ebx, ebx
je 0x454933
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00458e60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x454a75
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x454b8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x454b8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046aa03
mov esi, eax
test esi, esi
je 0x454b8d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x454b8d
mov ecx, esi
call fcn.004549e0
cmp edi, eax
jge 0x454b8d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x454b13
mov dword [esp + 0x34], 1
jmp 0x454b6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x454b8d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00453f90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x459af4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045bf3a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x459b17
test byte [esp + 8], 2
je 0x459b17
call fcn.0045bfad
mov dword [eax], 0xd
call fcn.0045bfb6
mov dword [eax], 5
jmp 0x459af0
xor eax, eax
ret
Function at 0x46b3a6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46b3de
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.0046945d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00469435
jmp 0x46b3ea
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46ca98
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 0x46cada
call fcn.0047280c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46cada
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46cad1
xor eax, eax
jmp 0x46cae2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046cae8
pop edi
pop esi
pop ebx
ret 4

Function at 0x472d3c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x472d6a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x472d88
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00472ca2
jmp 0x472d88
mov eax, dword [esi + 0x14]
test eax, eax
je 0x472d88
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00472ca2
test edi, edi
mov eax, edi
jne 0x472d72
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x61d6448c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x603b4d87
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x44d878
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x44d8c4
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x44d8a9
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x44d8b9
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x44d8d4
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x44d913
test ebx, ebx
je 0x44d8e8
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x44d8dd
cmp ecx, 0xfff1
jb 0x44d8f6
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x44d9fe
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x44d938
Function at 0x461c88
Capabilities:
Encode data using xor

Disassembly:
pop edx
mov dl, 0xfb
xchg ecx, eax
mov dword [0xd8205d71], eax
mov dl, 0xe
sbb al, 3
and byte [eax - 0x1c], al
mov word ds:[esi + 0x6a], ds
xor esp, dword [ebp + 0x7c12b567]
and dword [edx - 0x1a6fcd1e], eax
inc ebp
sahf
jp 0x461ca3
salc
bound eax, qword [ecx - 0x5f345e71]
xchg edi, eax
sub eax, 0x172b3835
test byte [eax], ch
fidivr dword [esi + 0x14b66106]
pop ds
or eax, 0xb6f1377c
in al, dx
ret 0x4164
mov dl, 0xd8
in al, 0xa6
sub esp, dword [eax]
cmp esi, dword [eax]
lds esp, [0xece0dfd7]
push eax
imul byte [edi + ecx*4 - 0x5532d3b7]
push eax
inc eax
lea ebx, [ebp + 0x2fe00739]
pop es
loopne 0x461cd5
push ecx
mov eax, dword [0x3d47f010]
sbb dword [ecx], eax
rol esp, 1
cwde
mov ebx, edx
xor eax, dword [esi + ebp]
je 0x461c40
pushal
aad 0x56
dec edx
aad 0x72
inc edx
frstor dword gs:[esi - 0x7298140e]
inc edx
pushal
les ebx, es:[edx + 0x2c]
out 4, al
xor eax, 0x94dc46e4
fmul dword [edx]
invalid
Function at 0x4e28b8
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e2904
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e28e9
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e28f9
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e2914
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e2953
test ebx, ebx
je 0x4e2928
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e291d
cmp ecx, 0xfff1
jb 0x4e2936
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e2a3e
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2978
Function at 0x4f8f08
Capabilities:
Encode data using xor

Disassembly:
dec esi
test byte [edi - 0x5a065e9], al
stc
cmp byte [ebx], bl
inc edi
scasd eax, dword es:[edi]
insb byte es:[edi], dx
and ebp, dword [edx]
stosb byte es:[edi], al
jge 0x4f8eff
sbb bl, byte [ecx]
xor edx, dword [edi]
mov dword [ebx + 0x7d], esp
push edx
jp 0x4f8e9e
loop 0x4f8eab
jne 0x4f8eef
cmpsb byte [esi], byte es:[edi]
shr byte [eax + edi*4 - 0x3e9b84a8], cl
and eax, 0x4ed755ba
sbb eax, 0x64d58892
mov byte [0xeff8c0d9], al
cmp byte [ebx - 0x29], bh

Function at 0x4f9278
Capabilities:
Encode data using xor

Disassembly:
mov byte [edx], al
jp 0x4f92b3
cwde
dec ebp
dec esp
push ebp
xchg esi, eax
sub byte [eax + 0x4b], bh
shr dword [esi - 0x7b], cl
dec dh
outsd dx, dword [esi]
fistp dword [ecx + ecx*2 - 0x3a]
imul ebx, dword [ecx - 0x40703494], 0x35
cmp eax, 0x417c5be3
invalid
outsd dx, dword [esi]
imul ecx, dword [eax + 0x79], 0xffffffad
xor ah, byte [ecx + 0x283b113f]
popal
mov al, 0xcd
lea ebp, [eax - 0x17]
dec eax
dec ebp
pop ebp
in al, dx
jns fcn.004f9278
inc edx
mov edi, 0xcd72c82a
movsb byte es:[edi], byte [esi]
and byte [ebp - 0x6f], 0xda
imul byte [ebx + 0x2bdb984e]
sar byte [esi], 1
pop esi
sbb eax, dword [ebx]
and eax, 0xb35431e9
cmp dword [ebx - 0x24], ecx
invalid
Function at 0x5383f8
Capabilities:
Encode data using xor

Disassembly:
pop ebp
pop es
test eax, 0xbeec573f
and byte es:[edx + 0x4a], 0xcd
invalid
Function at 0x657f6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662378
cmp edx, dword [eax]
je 0x657f8f
add eax, 8
inc ecx
cmp eax, 0x662408
jl 0x657f80
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662378]
jne 0x6580bd
mov eax, dword [0xa67ce0]
cmp eax, 1
je 0x658097
test eax, eax
jne 0x657fc0
cmp dword [0x6622a4], 1
je 0x658097
cmp edx, 0xfc
je 0x6580bd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657ff7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00658950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65803a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dd0c
push edi
call fcn.0065acb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00658950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658960
lea eax, [ebp - 0xa0]
push 0x65dcec
push eax
call fcn.00658960
push dword [esi + 0x66237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658960
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065ac24
add esp, 0x2c
pop edi
jmp 0x6580bd
lea eax, [ebp + 8]
lea esi, [esi + 0x66237c]
push 0
push eax
push dword [esi]
call fcn.00658de0
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 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x73b643cc
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x5f552f95
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x408210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408262
test eax, edx
je 0x408265
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408225
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 0x40824b
add ecx, 4
js 0x40823b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408248
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 0x408271
test edx, edx
jne 0x408218
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b438
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 0x40b471
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404904
jmp 0x40b47a
mov eax, ebx
mov edx, esi
call fcn.00404868
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bb38
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b9b0
mov eax, dword [0x4599ec]
cmp byte [eax], 0
je 0x40bbb4
mov eax, dword [0x45981c]
call fcn.004031c8
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.00408bb8
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 0x40bbfc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bbea
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.0040596c
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 0x40c460
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 0x40c536
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048ac
lea eax, [ebp - 4]
call fcn.00404cfc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c520
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c519
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.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c503
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c548
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c503
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 0x40c520
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c53d
lea eax, [ebp - 4]
call fcn.00404814
ret

Function at 0x41b070
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 0x41b0ec
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, 0x41b048
lea eax, [esi + 5]
call fcn.0041b068
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b068
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 0x41b0c1
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 0x41d630
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.00404ca4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d688
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 [0x41d13c]
call fcn.0040bcf8
call fcn.0040425c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d244
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 0x41e4e4
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 0x41e4ea
ret
Function at 0x429784
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.00404814
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4297d2
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.00404a84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e8ac
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 0x42e9df
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 [0x41d19c]
call fcn.0041d26c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x42e9b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d30c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404a84
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x42e9f4
call fcn.00404b2c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d370
lea ecx, [ebp - 4]
mov edx, 0x42ea30
mov eax, dword [ebp - 0xc]
call fcn.0041d5b8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d680
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42e998
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x42ea3c
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 0x42e99f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x42ea8c
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 0x42ead3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42eab6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42eac7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x42ead3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x433640
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 0x433789
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 0x433789
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 0x433758
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45ec40]
call fcn.00414104
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433750
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x433750
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433750
mov eax, dword [ebp - 0x14]
call fcn.0043ddd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433750
push ebp
call fcn.004335fc
pop ecx
test al, al
jne 0x433750
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403bfc
test al, al
je 0x433750
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.00403bfc
cmp byte [ebp - 1], 0
je 0x433750
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433750
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45ec44]
call fcn.00432d6c
inc edi
dec ebx
jne 0x4336a5
mov eax, dword [0x45ec44]
cmp dword [eax + 8], 0
jle 0x433770
mov eax, dword [0x45ec44]
call fcn.00432e24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433789
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433460
pop ecx
test al, al
jne 0x433789
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