joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4021e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x40225c
cmp dword [esi + 0x10], 0
jne 0x40226d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x401fb0
push 0
push 0
call fcn.004076a1
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x40225c
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40226d
mov ecx, esi
call fcn.004022b0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004043dd
mov esp, ebp
pop ebp
ret
Function at 0x402bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x402c6c
cmp dword [esi + 0x10], 0
jne 0x402c7d
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x402a00
push 0
push 0
call fcn.004076a1
mov ecx, eax
add esp, 0x18
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x402c6c
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x402c7d
mov ecx, esi
call fcn.00402ca0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004043dd
mov esp, ebp
pop ebp
ret
Function at 0x402d00
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [0x41a424], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.FEKER_Alice98_Wired_Keyboard
call edi
movups xmm0, xmmword [0x41608c]
push 0x41a468
push 1
movups xmmword [0x41a468], xmm0
push 0
movups xmm0, xmmword [0x41609c]
movups xmmword [0x41a478], xmm0
movups xmm0, xmmword [0x4160ac]
movups xmmword [0x41a488], xmm0
movq xmm0, qword [0x4160bc]
movq qword [0x41a498], xmm0
movups xmm0, xmmword [0x416074]
movups xmmword [0x41a4a0], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a4b0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x402dac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402f1c
movups xmm0, xmmword [0x416074]
push str.4695579F_999A_41d4_9FAF_EFFCE93EBE19
movups xmm4, xmmword [0x41608c]
movups xmm3, xmmword [0x41609c]
movups xmm2, xmmword [0x4160ac]
movq xmm1, qword [0x4160bc]
movups xmmword [0x41a8a0], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a8b0], xmm0
movups xmm0, xmmword [0x41605c]
movups xmmword [0x41a868], xmm4
movups xmmword [0x41a6a0], xmm0
movq xmm0, qword [0x41606c]
movups xmmword [0x41a878], xmm3
movups xmmword [0x41a888], xmm2
movq qword [0x41a898], xmm1
movups xmmword [0x41a668], xmm4
movups xmmword [0x41a678], xmm3
movups xmmword [0x41a688], xmm2
movq qword [0x41a698], xmm1
movq qword [0x41a6b0], xmm0
call edi
mov ecx, esi
mov dword [0x41aa6c], eax
call fcn.00402f30
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a868
push 0x41a668
push 0
mov dword [0x41aa68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x402f1c
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402f01
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402ef0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402ed0
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043dd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004043dd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403700
Capabilities:
Create thread

Disassembly:
cmp dword [0x41a45c], 0
je 0x403712
cmp dword [0x41a458], 0
jne 0x40377c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a45c], eax
test eax, eax
je 0x40377c
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x41a460], eax
test eax, eax
je 0x40377c
mov ecx, dword [0x41a45c]
push 0
push 0
push 0x41a44c
push 0x4031d0
mov dword [0x41a450], ecx
mov ecx, dword [0x41a464]
push 0
push 0
mov dword [0x41a454], ecx
mov dword [0x41a44c], eax
call fcn.004076a1
add esp, 0x18
mov dword [0x41a458], eax
ret

Function at 0x403780
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x41a45c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4037e3
cmp dword [0x41a458], 0
je 0x4037d2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3e8
push 1
push 0x41a458
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x4037cd
cmp eax, 0x80
je 0x4037cd
push 0
push dword [0x41a458]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x41a45c]
test eax, eax
je 0x4037e3
push eax
call esi
mov dword [0x41a45c], 0
mov eax, dword [0x41a460]
test eax, eax
je 0x4037f9
push eax
call esi
mov dword [0x41a460], 0
mov eax, dword [0x41a458]
test eax, eax
je 0x40380f
push eax
call esi
mov dword [0x41a458], 0
pop esi
ret
Function at 0x402648
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402656
call dword [0x498008]
or eax, eax
je 0x402657
ret
mov al, 1
jmp fcn.004026c8

Function at 0x402660
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40266e
call dword [0x49800c]
or eax, eax
jne 0x40266f
ret
mov al, 2
jmp fcn.004026c8

Function at 0x402678
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b0
test edx, edx
je 0x40269a
push eax
mov eax, ecx
call dword [0x498010]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004026c8
mov dword [eax], edx
mov eax, ecx
call dword [0x49800c]
or eax, eax
jne 0x402693
ret
mov al, 1
jmp fcn.004026c8
test edx, edx
je 0x4026c4
push eax
mov eax, edx
call dword [0x498008]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret

Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x49a004]
test ecx, ecx
je 0x4026d8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4026f1]
jns 0x4026ec
call fcn.004033bc
mov eax, dword [eax + 4]
jmp fcn.00404e69

Function at 0x402954
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x49a030], 0x8088405
inc edx
mov dword [0x49a030], edx
mul edx
mov eax, edx
ret

Function at 0x402bb8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402bd0
mov ecx, dword [eax]
cmp ecx, edx
je 0x402bd0
mov ecx, dword [ecx - 0x14]
test ecx, ecx
jne 0x402bbe
mov al, 0xa
jmp fcn.004026c8
ret

Function at 0x402c00
Capabilities:
Terminate process

Disassembly:
mov eax, 0xd2
jmp fcn.00404e69
push eax
push ecx
mov eax, dword [eax]
call fcn.00402bd4
pop ecx
pop eax
je 0x402c0f
jmp ebx
pop ecx
jmp 0x40283c

Function at 0x403980
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4039b0
cmp al, 0xc
je 0x4039ba
cmp al, 0xd
je 0x4039cd
cmp al, 0xe
je 0x4039e9
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4039b0
jmp 0x4039fd
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4039ba
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403980
dec edi
jg 0x4039d0
pop ebp
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403958
dec edi
jg 0x4039ec
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403a04
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403980
Function at 0x403d6c
Capabilities:
Terminate process

Disassembly:
cmp eax, edx
je 0x403ddc
cmp word [eax], 8
jb 0x403d91
push eax
push edx
cmp word [eax], 0x100
je 0x403d87
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403d8f
add eax, 8
call fcn.00403400
pop edx
pop eax
cmp word [edx], 8
jae 0x403da8
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x403dc8
mov edx, dword [edx + 8]
or edx, edx
je 0x403dbf
mov ecx, dword [edx - 8]
inc ecx
jle 0x403dbf
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne fcn.00403d30
ret

Function at 0x4044f4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4042d1
cmp eax, 0x100
jne 0x404323
mov eax, 8
cmp edx, 0x11
jbe 0x4042e3
cmp edx, 0x100
jne 0x404323
mov edx, 8
mov al, byte [eax + 0x49801c]
mov dl, byte [edx + 0x49801c]
movzx ecx, byte [edx + eax*8 + 0x498030]
call dword [ecx*4 + 0x404302]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00403d30
mov ecx, 0
jmp 0x4042a8

Function at 0x404500
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp 0x4042a8

Function at 0x40450c
Capabilities:
Terminate process

Disassembly:
mov ecx, 2
jmp 0x4042a8

Function at 0x404518
Capabilities:
Terminate process

Disassembly:
mov ecx, 4
jmp 0x4042a8

Function at 0x404524
Capabilities:
Terminate process

Disassembly:
mov ecx, 5
jmp 0x4042a8

Function at 0x404530
Capabilities:
Terminate process

Disassembly:
mov ecx, 8
jmp 0x4042a8

Function at 0x40453c
Capabilities:
Terminate process

Disassembly:
mov ecx, 9
jmp 0x4042a8

Function at 0x404548
Capabilities:
Terminate process

Disassembly:
mov ecx, 0xa
jmp 0x4042a8

Function at 0x404554
Capabilities:
Terminate process

Disassembly:
mov ecx, 6
jmp 0x4042a8

Function at 0x404560
Capabilities:
Terminate process

Disassembly:
mov ecx, 7
jmp 0x4042a8

Function at 0x40456c
Capabilities:
Terminate process

Disassembly:
mov ecx, 3
jmp 0x4042a8
Function at 0x404614
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x40463a
cmp eax, 0x100
jne case.0x404660.0
mov eax, 8
cmp edx, 0x11
jbe 0x40464c
cmp edx, 0x100
jne case.0x404660.0
mov edx, 8
mov al, byte [eax + 0x49801c]
mov dl, byte [edx + 0x49801c]
movzx ecx, byte [edx + eax*8 + 0x498030]
jmp dword [ecx*4 + 0x404667]
pop edi
pop esi
jmp fcn.00403d30
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00403f90
xchg edi, eax
call fcn.00403f90
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404030
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404030
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.0040408c
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.0040408c
fld xword [esp]
add esp, 0xc
jmp 0x4046bf
mov eax, edi
mov edx, esi
call fcn.004045a8
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00403ffc
xchg edi, eax
call fcn.00403ffc
mov edx, edi
cmp al, dl
pop edi
pop esi
ret

Function at 0x404790
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax]
and edx, 0xfff
je 0x4047c1
cmp edx, 0xb
je 0x4047c6
cmp edx, 1
je 0x4047d5
cmp edx, 0x11
jbe 0x4047b1
cmp edx, 0x100
jne 0x4047c1
push eax
call fcn.00403f90
not eax
mov edx, eax
pop eax
jmp fcn.00404124
jmp fcn.00403d30
mov dx, word [eax + 8]
neg dx
sbb edx, edx
not edx
mov word [eax + 8], dx
ret

Function at 0x404e58
Capabilities:
Terminate process

Disassembly:
xor edx, edx
mov dword [0x49a02c], edx
jmp 0x404d2c
Function at 0x406fac
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4071f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403494
cmp dword [0x4980dc], 1
je 0x40702d
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x4071d2
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.0040352c
jmp 0x4071d2
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.004027b4
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x4071d2
cmp byte [ebp - 0x15], 0x5a
ja 0x4071d2
mov eax, dword [ebp - 4]
call fcn.00403574
cmp eax, 3
jl 0x4071d2
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x4071d2
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x4071d2
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x4071d2
xor edx, edx
push ebp
push 0x4071cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0x640
mov eax, dword [ebp - 0x10]
call fcn.00402648
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x4071ad
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x4070fc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00402678
jmp 0x4070c0
test eax, eax
je 0x40710f
call fcn.004031bc
call fcn.004031bc
jmp 0x4071d2
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x4070c0
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x40718b
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.004027b4
cmp al, byte [ebp - 0x15]
jne 0x40718b
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00403574
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.0040352c
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004035c0
call fcn.004031bc
call fcn.004031bc
jmp 0x4071d2
inc edi
dec esi
jne 0x40711a
jmp 0x4070c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4071f7
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00403420
ret

Function at 0x407288
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004034e0
add esp, 0x104
pop ebx
ret
Function at 0x408570
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
test eax, eax
jle 0x4085a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004034e0
jmp 0x4085b2
mov eax, ebx
mov edx, esi
call fcn.00403494
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4085bc
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
test eax, eax
jle 0x4085dd
mov al, byte [esp]
jmp 0x4085df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411080
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.00403400
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4110e1
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4110e1
cmp byte [ebp - 0x102], 0
je 0x4110e1
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040355c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412320
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x4123a1
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412352
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412364
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x412370
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004121f8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412395
push ebp
mov eax, dword [ebp - 4]
call fcn.00412294
pop ecx
mov ebx, eax
cmp bl, 2
je 0x412370
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419b14
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 0x419b1a
ret
Function at 0x41f3d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49a650
cmp dword [edi], 0
jne 0x41f450
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49a64c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x498594
mov ecx, 2
call fcn.00402738
mov edx, 0x41f3ac
lea eax, [esi + 5]
call fcn.0041f3cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f3cc
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 0x41f425
mov dword [0x49a64c], 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 0x41f554
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41f5a4]
test si, 4
je 0x41f568
or bl, 1
test si, 8
je 0x41f572
or bl, 4
test si, 1
je 0x41f57c
or bl, 8
test si, 2
je 0x41f586
or bl, 0x10
test si, 0x10
je 0x41f590
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41f59f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41f5a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41f5e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41f5c1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41f5d0
or bl, 4
test esi, 0x20000000
je 0x41f5db
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x423574
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49a628]
cmp byte [eax + 0x7f], 0
jne 0x4235c7
cmp dword [0x49a654], 0
jne 0x4235a3
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x423530
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49a654], eax
cmp dword [0x49a658], 0
jne 0x4235c7
push esp
push 0
push 0
push 0x4234e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49a658], eax
pop edx
ret

Function at 0x4235cc
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x49a654], 0
je 0x4235e0
mov eax, dword [0x49a654]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x49a654], eax
cmp dword [0x49a658], 0
je 0x4235fd
push 0
mov eax, dword [0x49a658]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [0x49a658], eax
ret

Function at 0x42369c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4236b3
add esp, 0xfffffff0
call fcn.00402d30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00410230
mov dl, 1
mov eax, 0x40a4d4
call fcn.00402b30
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x40a4d4
call fcn.00402b30
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x419a0c
call fcn.0041da24
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x4237f4
mov eax, dword [0x49a014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ddb0
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x424ab4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49a014]
push eax
call sub.kernel32.dll_GetModuleFileNameA
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.004074c8
test eax, eax
je 0x423790
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407330
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004074a8
test eax, eax
je 0x4237a4
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040355c
cmp byte [0x49a034], 0
jne 0x4237d4
mov eax, ebx
call fcn.00423884
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x4237ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret