joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4524e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
or eax, 0x8000
push ebx
push eax
call fcn.00452420
mov ecx, dword [ebp + 8]
push ecx
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 8
test eax, eax
je 0x45256a
push esi
push edi
mov edi, str.gettimeofday
mov esi, eax
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x452523
pop edi
pop esi
mov eax, fcn.00452430
pop ebx
pop ebp
ret
mov edi, str.sap_clock
mov esi, eax
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x452546
mov eax, dword [ebp + 0xc]
push eax
call fcn.00452420
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
push eax
push ecx
push str._ERROR___bad__s_variable___s__n
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR80.dll_fprintf]
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x452960
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4c0120]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
je 0x4529b3
push 0x64
push ecx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
cmp byte [ebp - 0x68], 0
mov byte [ebp - 5], 0
lea eax, [ebp - 0x68]
je 0x4529a6
cmp byte [eax], 0x2f
jne 0x45299e
mov byte [eax], 0x5f
add eax, 1
cmp byte [eax], 0
jne 0x452996
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455bf8
mov esp, ebp
pop ebp
ret
Function at 0x453fd0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0x200
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x454019
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 1
push ecx
call edi
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x454044
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x454061
lea ecx, [ebp - 0x14]
push ecx
call fcn.00453ee0
jmp 0x45406a
lea edx, [ebp - 0x14]
push edx
call fcn.00453f10
mov ecx, dword [ebp - 0x2c]
mov esi, 1
add esp, 4
cmp ecx, esi
jb 0x4540dc
lea esp, [esp]
xor edx, edx
mov eax, esi
div ecx
mov eax, 1
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp - 4]
push eax
push ecx
call edi
test ebx, ebx
je 0x4540a5
lea edx, [ebp - 0x1c]
push edx
call fcn.00453ee0
jmp 0x4540ae
lea eax, [ebp - 0x1c]
push eax
call fcn.00453f10
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, dword [ebp - 0x10]
jl 0x4540d5
mov eax, dword [ebp - 0x1c]
jg 0x4540c3
cmp eax, dword [ebp - 0x14]
jbe 0x4540d5
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x2c]
add esi, 1
cmp esi, ecx
mov dword [ebp - 0x14], eax
jbe 0x454080
jmp 0x4540dc
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
push ecx
push edx
call edi
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebx
jne 0x454103
cmp dword [ebp - 8], 0
je 0x454103
call fcn.00453f50
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x455bf8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c0120]
jne 0x455c02
repz ret
jmp fcn.004562d2
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x9b057f5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7786120b
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x44fb24ee
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x1b931fe9
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4061ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4061bd
pop dword [ebp - 0x10]
mov eax, 0x4061bd
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa501898
sub dword [ebp - 0x20], 0xbbfdd34d
mov dword [ebp - 0x1c], 0x9c8bfa51
sub dword [ebp - 0x1c], 0x6a58ae0c
mov dword [ebp - 0x18], 0xf251ff55
sub dword [ebp - 0x18], 0xa605bb27
mov dword [ebp - 0x14], 0x1b99f26c
sub dword [ebp - 0x14], 0x1b99f26c
lea eax, [ebp - 0x20]
push eax
mov eax, 0x63ee2e8b
add eax, 0x9c5242b9
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xf44076a5
add dword [ebp - 0x20], 0x8031f2b1
mov dword [ebp - 0x1c], 0xa23d0e88
sub dword [ebp - 0x1c], 0x60d0ad13
mov dword [ebp - 0x18], 0xcf2be7c4
add dword [ebp - 0x18], 0x944384a8
mov dword [ebp - 0x14], 0x64a0acea
add dword [ebp - 0x14], 0x9b5f5316
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x787655a0
sub eax, 0x7835e490
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a539
push 0
call eax
mov ecx, 0x537f
xor edx, edx
add edx, eax
mov edi, 0x8d4e4efc
add edi, 0x72f51104
add edi, dword [ebp - 0x10]
mov esi, 0xbe07e17b
add esi, 0x2b07a2e6
xor dword [ebp - 8], 0x9fbed384
mov ebx, dword [edi]
mov dword [ebp - 8], 0x5dbab825
add ebx, esi
sub dword [ebp - 8], 0x97bf5b4a
mov dword [edx], ebx
add dword [ebp - 8], esi
add edx, 4
add edi, 0x59a1ccee
add edi, 0xa65e3316
loop 0x4062d6
add eax, 0x6f26f320
sub eax, 0x6f25b251
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc6fb33d3
sub ecx, 0xc6bb33d3
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x402a44
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404454
test esi, esi
jne 0x402a7a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404544
jmp 0x402a98
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402958
mov edi, eax
test esi, esi
je 0x402a98
cmp dword [ebx], 0
je 0x402a98
dec esi
jmp 0x402a81
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403570
Capabilities:
Query or enumerate registry value

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

Function at 0x4042d8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45e04c], 0
je 0x404339
cmp word [0x45e220], 0xd7b2
jne 0x404301
cmp dword [0x45e228], 0
jbe 0x404301
mov eax, 0x45e21c
call dword [0x45e238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45c054
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 0x404360
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45c01c], 0
jne 0x404355
push 0
push 0x45c074
push 0x45c054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4089dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404904
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4089f5
test al, 0x10
jne 0x4089f9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b6bc
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 0x40b6f5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404544
jmp 0x40b6fe
mov eax, ebx
mov edx, esi
call fcn.004044a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b708
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 0x40b729
mov al, byte [esp]
jmp 0x40b72b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cb84
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cbe8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004046bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004087d0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbef
lea eax, [ebp - 0xc]
call fcn.00404454
ret

Function at 0x41fffc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45ea24
cmp dword [edi], 0
jne 0x420078
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45ea20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45c594
mov ecx, 2
call fcn.00402918
mov edx, 0x41ffd4
lea eax, [esi + 5]
call fcn.0041fff4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041fff4
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 0x42004d
mov dword [0x45ea20], 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 0x42125c
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 0x421262
ret
Function at 0x4237d0
Capabilities:
Get system information on windows

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42c031
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042ba00
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42bfd9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042b658
cmp dword [ebp - 4], 0
je 0x42c01b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404904
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c038
lea eax, [ebp - 4]
call fcn.00404454
ret

Function at 0x42ed24
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 [0x45ebac], 0
je 0x42ee73
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45d11c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42ee73
mov eax, dword [0x45ebb0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45ebac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ee42
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45ebac]
call fcn.004175e4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ee3a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ee3a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ee3a
mov eax, dword [ebp - 0x14]
call fcn.004377c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ee3a
push ebp
call fcn.0042ece0
pop ecx
test al, al
jne 0x42ee3a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42edf6
mov eax, dword [ebp - 0x14]
call fcn.00436354
dec eax
jle 0x42ee3a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004038fc
cmp byte [ebp - 1], 0
je 0x42ee3a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ee3a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45ebb0]
call fcn.0042e4a8
inc edi
dec ebx
jne 0x42ed89
mov eax, dword [0x45ebb0]
cmp dword [eax + 8], 0
jle 0x42ee5a
mov eax, dword [0x45ebb0]
call fcn.0042e538
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ee73
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042eb48
pop ecx
test al, al
jne 0x42ee73
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 0x43242c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x432478
mov eax, esi
call fcn.00447d44
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432478
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x432478
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4325bc
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4324b8
cmp eax, 0x108
ja 0x4324b8
mov eax, esi
call fcn.00447d44
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4325b3
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4325bc
jmp 0x4325b3
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43259a
cmp eax, 0x20a
ja 0x43259a
test byte [esi + 0x50], 0x80
jne 0x4324ea
sub eax, 0x203
je 0x4324e7
sub eax, 3
je 0x4324e7
sub eax, 3
jne 0x4324ea
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4324fe
dec eax
je 0x432513
dec eax
je 0x432533
dec eax
je 0x432513
jmp 0x43253a
mov ecx, ebx
mov eax, dword [0x45d11c]
mov eax, dword [eax]
mov edx, esi
call fcn.00451388
jmp 0x4325b3
cmp byte [esi + 0x5d], 1
jne 0x432529
mov eax, esi
mov si, 0xffed
call fcn.004038fc
jmp 0x4325bc
or word [esi + 0x54], 1
jmp 0x4325b3
and word [esi + 0x54], 0xfffe
jmp 0x4325b3
mov eax, dword [0x45eb68]
cmp byte [eax + 0x20], 0
je 0x4325b3
mov eax, dword [0x45eb68]
cmp dword [eax + 0x1c], 0
je 0x4325b3
mov eax, dword [ebx]
mov edx, dword [0x45eb68]
cmp eax, dword [edx + 0x1c]
jne 0x4325b3
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00447c88
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004038fc
jmp 0x4325bc
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x4325b3
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00430d5c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4359f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x435a0c
cmp dword [esi + 4], 0
je 0x435a39
test byte [ebx + 0x55], 1
jne 0x435a2b
mov eax, ebx
call fcn.004346b4
test eax, eax
jne 0x435a2b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x435b49
mov edx, esi
mov eax, ebx
call fcn.00435510
jmp 0x435b49
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x435b42
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004377c0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00432360
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004359f0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004377c0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435b49
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret