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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x427748
push ebx
push esi
call fcn.00427674
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00427608
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4276f5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x427747
push edi
push eax
call fcn.00426140
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x427715
call fcn.0042618e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x427746
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00427608
add esp, 0x20
test eax, eax
jne 0x427734
push edi
call fcn.0042618e
jmp 0x42773c
push ebx
call fcn.0042618e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x428957
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x431590
push 0x431588
push str.FlsAlloc
push 0x1f
call fcn.00428816
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42898b
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f144]
call esi
jmp 0x428991
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4289d5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4315a0
push 0x431598
push str.FlsGetValue
push 0x21
call fcn.00428816
mov esi, eax
add esp, 0x10
test esi, esi
je 0x428a0c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x428a14
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4315a8
push 0x4315a0
push str.FlsSetValue
push 0x22
call fcn.00428816
mov esi, eax
add esp, 0x10
test esi, esi
je 0x428a4e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42f144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42dd20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42dd4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42dd4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405f04
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422254], 0
push esi
jne 0x405f3b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f15
mov dword [ecx*4 + 0x422250], eax
inc ecx
cmp ecx, 0x100
jl 0x405f10
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f6c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422250]
xor eax, esi
inc ecx
dec edx
jne 0x405f4e
pop edi
not eax
pop esi
ret 0xc

Function at 0x436440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
jmp 0x43645a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x436461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x436450
mov eax, 1
add ebx, ebx
jne 0x436473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x436468
jne 0x436484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x436468
xor ecx, ecx
sub eax, 3
jb 0x436498
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43650a
mov ebp, eax
add ebx, ebx
jne 0x4364a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4364b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4364d4
inc ecx
add ebx, ebx
jne 0x4364c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4364b5
jne 0x4364d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4364b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4364f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4364e5
jmp 0x436456
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4364f4
add edi, ecx
jmp 0x436456
pop esi
mov edi, esi
mov ecx, 0x23d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x436512
cmp byte [edi], 1
jne 0x436512
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 al, bl
loop 0x436517
lea edi, [esi + 0x34000]
mov eax, dword [edi]
or eax, eax
je 0x43658f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37dc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37e7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x436544
mov ecx, edi
jns 0x436573
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37e80]
or eax, eax
je 0x436589
mov dword [ebx], eax
add ebx, 4
jmp 0x436561
call dword [esi + 0x37e90]
mov ebp, dword [esi + 0x37e84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4365c3
sub esp, 0xffffff80
jmp 0x403265
Function at 0x101e207
Capabilities:
Check if file exists
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101e1a0
and dword [eax], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101e1aa
and dword [eax], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e1b5
mov ebx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, ebx
jb 0x101e1d3
mov eax, 0x80070057
jmp 0x101e212
mov dword [ebp + 8], 1
test esi, esi
jbe 0x101e1fd
cmp word [edi + esi*2 - 2], 0x5c
jne 0x101e1f8
push edi
dec esi
call fcn.0101e02a
test eax, eax
jne 0x101e1f8
and dword [ebp + 8], eax
mov word [edi + esi*2], ax
lea edi, [edi + esi*2]
sub ebx, esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101e206
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101e20f
mov dword [eax], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x101e847
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
cmp ecx, ebx
je 0x101ea45
cmp dword [ebp + 0xc], ebx
je 0x101ea45
mov edx, 0x8000
cmp dword [ebp + 0xc], edx
ja 0x101ea45
push esi
cmp eax, ebx
jne 0x101e8b2
cmp edi, ebx
jne 0x101e8e3
mov esi, 0x80070057
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101dd29
lea eax, [ebp - 0x20c]
cmp dword [ebp - 0x210], eax
je 0x101e8aa
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
jmp 0x101ea4a
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e8b5
sub eax, esi
sar eax, 1
mov dword [ebp - 0x21c], eax
cmp eax, edx
jb 0x101e8d4
mov esi, 0x800700ce
jmp 0x101e87d
test eax, eax
je 0x101e8df
inc eax
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x101e901
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e8e8
sub eax, esi
sar eax, 1
mov ebx, eax
cmp ebx, edx
jae 0x101e8cd
test ebx, ebx
je 0x101e901
inc ebx
mov eax, dword [ebp - 0x21c]
lea edi, [ebx + eax]
mov eax, 0x104
cmp edi, eax
jbe 0x101e933
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x101e94a
mov esi, 0x8007000e
jmp 0x101e87d
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
mov edi, eax
cmp dword [ebp - 0x21c], 0
je 0x101ea07
test ebx, ebx
jne 0x101e966
push dword [ebp - 0x214]
jmp 0x101ea11
mov ebx, dword [ebp - 0x218]
push ebx
call fcn.0101daf0
test eax, eax
je 0x101e9c5
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dd29
mov esi, eax
test esi, esi
jl 0x101e87d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push dword [ebp - 0x210]
call fcn.0101e0fb
mov esi, eax
test esi, esi
jl 0x101e87d
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x214]
jmp 0x101ea18
cmp word [ebx], 0x5c
jne 0x101ea04
add ebx, 2
cmp word [ebx], 0x5c
je 0x101e9fe
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dd29
mov esi, eax
test esi, esi
jl 0x101e87d
push edi
push dword [ebp - 0x210]
call fcn.0101e335
jmp 0x101e988
mov ebx, dword [ebp - 0x218]
push ebx
jmp 0x101ea11
test ebx, ebx
je 0x101ea27
push dword [ebp - 0x218]
push edi
push dword [ebp - 0x210]
call fcn.0101dd29
mov esi, eax
test esi, esi
jl 0x101e87d
push dword [ebp + 0x18]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101e3b8
mov esi, eax
jmp 0x101e890
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101cfe5
leave
ret 0x14
Function at 0x101e8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
cmp ecx, ebx
je 0x101ea45
cmp dword [ebp + 0xc], ebx
je 0x101ea45
mov edx, 0x8000
cmp dword [ebp + 0xc], edx
ja 0x101ea45
push esi
cmp eax, ebx
jne 0x101e8b2
cmp edi, ebx
jne 0x101e8e3
mov esi, 0x80070057
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101dd29
lea eax, [ebp - 0x20c]
cmp dword [ebp - 0x210], eax
je 0x101e8aa
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
jmp 0x101ea4a
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e8b5
sub eax, esi
sar eax, 1
mov dword [ebp - 0x21c], eax
cmp eax, edx
jb 0x101e8d4
mov esi, 0x800700ce
jmp 0x101e87d
test eax, eax
je 0x101e8df
inc eax
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x101e901
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e8e8
sub eax, esi
sar eax, 1
mov ebx, eax
cmp ebx, edx
jae 0x101e8cd
test ebx, ebx
je 0x101e901
inc ebx
mov eax, dword [ebp - 0x21c]
lea edi, [ebx + eax]
mov eax, 0x104
cmp edi, eax
jbe 0x101e933
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x101e94a
mov esi, 0x8007000e
jmp 0x101e87d
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
mov edi, eax
cmp dword [ebp - 0x21c], 0
je 0x101ea07
test ebx, ebx
jne 0x101e966
push dword [ebp - 0x214]
jmp 0x101ea11
mov ebx, dword [ebp - 0x218]
push ebx
call fcn.0101daf0
test eax, eax
je 0x101e9c5
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dd29
mov esi, eax
test esi, esi
jl 0x101e87d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push dword [ebp - 0x210]
call fcn.0101e0fb
mov esi, eax
test esi, esi
jl 0x101e87d
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x214]
jmp 0x101ea18
cmp word [ebx], 0x5c
jne 0x101ea04
add ebx, 2
cmp word [ebx], 0x5c
je 0x101e9fe
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dd29
mov esi, eax
test esi, esi
jl 0x101e87d
push edi
push dword [ebp - 0x210]
call fcn.0101e335
jmp 0x101e988
mov ebx, dword [ebp - 0x218]
push ebx
jmp 0x101ea11
test ebx, ebx
je 0x101ea27
push dword [ebp - 0x218]
push edi
push dword [ebp - 0x210]
call fcn.0101dd29
mov esi, eax
test esi, esi
jl 0x101e87d
push dword [ebp + 0x18]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101e3b8
mov esi, eax
jmp 0x101e890
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101cfe5
leave
ret 0x14
Function at 0x404ad0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404c88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404b31
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404ca4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404b9e
xor eax, eax
push ebp
push 0x404b97
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404b80
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404cc4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b9e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404c7f
cmp byte [ebp - 0xd], 0
jne 0x404be0
cmp byte [ebp - 0x12], 0
je 0x404c7f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404bf9
dec ebx
cmp byte [ebx], 0x2e
je 0x404c08
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404bf8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404c7f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404c35
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c7f
cmp byte [ebp - 0xd], 0
je 0x404c7f
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404c7f
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408134
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 0x40816d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040389c
jmp 0x408176
mov eax, ebx
mov edx, esi
call fcn.00403850
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408180
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 0x4081a1
mov al, byte [esp]
jmp 0x4081a3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41339c
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 0x4133a2
ret

Function at 0x415888
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 0x4158d9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4158c0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4158b0
jmp 0x4158d9
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 0x4158c1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421024
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x444758], 0
sete dl
or al, dl
jne 0x421168
mov eax, dword [0x44475c]
mov bx, 0xffff
call fcn.00402df4
mov eax, dword [0x444758]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x421137
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x444758]
call fcn.0040cb80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x42112f
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x42112f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42112f
mov eax, dword [ebp - 0x10]
call fcn.00428f40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42112f
push ebp
call fcn.00420fe0
pop ecx
test al, al
jne 0x42112f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x4210eb
mov eax, dword [ebp - 0x10]
call fcn.00427888
dec eax
jle 0x42112f
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402df4
cmp byte [ebp - 0x15], 0
je 0x42112f
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42112f
mov edx, dword [ebp - 0x10]
mov eax, dword [0x44475c]
call fcn.00420890
inc edi
dec esi
jne 0x42107e
mov eax, dword [0x44475c]
cmp dword [eax + 8], 0
jle 0x42114f
mov eax, dword [0x44475c]
call fcn.00420920
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x421168
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00420e98
pop ecx
test al, al
jne 0x421168
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426a14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x426a45
je 0x426a9f
sub eax, 7
je 0x426a66
dec eax
je 0x426a90
sub eax, 0x17
je 0x426b20
jmp 0x426b5e
add eax, 0xffffff00
sub eax, 9
jb 0x426b0c
add eax, 0xffffff09
sub eax, 0xb
jb 0x426af6
jmp 0x426b5e
mov eax, ebx
call fcn.00436cc0
mov edi, eax
test edi, edi
je 0x426bbe
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x426bc7
jmp 0x426bbe
test byte [ebx + 0x44], 0x20
jne 0x426bc7
jmp 0x426bbe
mov edx, esi
mov eax, ebx
call fcn.004242b8
cmp dword [esi + 0xc], 0xffffffff
jne 0x426bc7
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040650c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00422d34
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004268c4
test eax, eax
je 0x426bc7
mov dword [esi + 0xc], 1
jmp 0x426bc7
mov edx, esi
mov eax, ebx
call fcn.00426988
test al, al
jne 0x426bc7
jmp 0x426bbe
mov eax, ebx
call fcn.00423924
test al, al
jne 0x426bc7
jmp 0x426bbe
mov eax, ebx
call fcn.00428f40
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x426bbe
cmp dword [0x4436c4], 0
je 0x426bbe
mov eax, dword [0x4436c4]
cmp ebx, dword [eax + 0x24]
jne 0x426bbe
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4436c4]
call fcn.004241d4
jmp 0x426bbe
mov eax, dword [0x444720]
cmp byte [eax + 0x20], 0
je 0x426bbe
mov eax, dword [0x444720]
cmp dword [eax + 0x1c], 0
je 0x426bbe
mov eax, dword [esi]
mov edx, dword [0x444720]
cmp eax, dword [edx + 0x1c]
jne 0x426bbe
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00436bd4
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402df4
jmp 0x426bc7
mov edx, esi
mov eax, ebx
call fcn.004242b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427058
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 + 0x1e8], 0
je 0x427074
cmp dword [esi + 4], 0
je 0x4270a1
test byte [ebx + 0x45], 1
jne 0x427093
mov eax, ebx
call fcn.004260c8
test eax, eax
jne 0x427093
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4271b1
mov edx, esi
mov eax, ebx
call fcn.00426cd0
jmp 0x4271b1
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 0x4271aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00428f40
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.004241d4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00427058
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.00428f40
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4271b1
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

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