joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403940
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push edi
mov byte [ebp - 0x240], 0
mov ecx, 0x8e
xor eax, eax
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x40397f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401350
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x403aed
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
test ecx, ecx
je 0x403aed
mov edx, dword [ebp - 4]
push edx
call fcn.00404720
add esp, 4
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00401350
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401640
add esp, 0xc
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0x5cf345ca
je 0x4039ed
cmp dword [ebp - 0x634], 0x642d3b30
je 0x4039ed
cmp dword [ebp - 0x634], 0x8a705f51
jne 0x4039f2
jmp 0x403969
mov edx, dword [0x406054]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.00401770
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.00402cc0
add esp, 8
mov dword [ebp - 0x638], 0x3e8
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push 0
push 0x406280
lea edx, [ebp - 0x240]
push edx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0
jne 0x403a60
jmp 0x403969
lea eax, [ebp - 0x240]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x42f30c
push 0x120
push 0x406278
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401e10
add esp, 0x1c
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x403ae8
mov edx, dword [ebp - 0x630]
push edx
call fcn.004032e0
add esp, 4
and eax, 0xff
test eax, eax
je 0x403ac4
mov al, 1
jmp 0x403aef
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x630]
push eax
call dword [0x42ecc0]
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00402750
add esp, 4
jmp 0x403969
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4042e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.00404700
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4043a0
cmp dword [ebp + 0xc], 0
je 0x404369
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x24
push ecx
call fcn.00401350
add esp, 4
push eax
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.00404720
add esp, 4
push eax
call fcn.00401640
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x404369
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
jmp 0x4043a0
cmp dword [ebp + 8], 0
je 0x40438f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40438f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
jmp 0x4043a0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x404329
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401630
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x404550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00401770
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.00404460
add esp, 4
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x406304
call fcn.00401350
add esp, 4
add eax, 1
push eax
push 0x406304
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401350
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402a10
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.00401350
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401350
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00402a10
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401350
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401350
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402a10
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0xd9d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd9d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd9d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd9d06a
add dl, dl
jne 0xd9d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd9d0dc
xor eax, eax
add dl, dl
jne 0xd9d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd9d17d
add dl, dl
jne 0xd9d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd9d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd9d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd9d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd9d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd9d075
mov eax, 1
add dl, dl
jne 0xd9d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd9d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd9d0e1
sub eax, ebx
mov ebx, 1
jne 0xd9d128
mov ecx, 1
add dl, dl
jne 0xd9d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd9d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd9d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd9d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd9d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd9d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd9d136
cmp eax, 0x7d00
jae 0xd9d16d
cmp eax, 0x500
jb 0xd9d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd9d075
cmp eax, 0x7f
ja 0xd9d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd9d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd9d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd9d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403764
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4037dc
xor eax, eax
push ebp
push 0x4037d5
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 0x403818
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x4a400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a6048], 0
je 0x40453d
cmp word [0x4a621c], 0xd7b2
jne 0x404505
cmp dword [0x4a6224], 0
jbe 0x404505
mov eax, 0x4a6218
call dword [0x4a6234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a4074
push 0xfffffffffffffff5
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 0x404564
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x4a401c], 0
jne 0x404559
push 0
push 0x4a4094
push 0x4a4074
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x404690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040273c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a6049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404658
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406034
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_1
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406264
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x4060b7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406264
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x4060b7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406280
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x406140
xor eax, eax
push ebp
push 0x406139
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405e7c
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_1
test eax, eax
je 0x40611e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4062a0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40611e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406140
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40625a
cmp byte [ebp - 0xd], 0
jne 0x406187
cmp byte [ebp - 0x12], 0
je 0x40625a
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4061a0
dec ebx
cmp byte [ebx], 0x2e
je 0x4061af
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40619f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40625a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4061ec
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40625a
cmp byte [ebp - 0xd], 0
je 0x40625a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40625a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
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 0x408e28
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b84
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
pop ebx
ret

Function at 0x408e3c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404b84
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x408e5e
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x409ee8
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 0x409f21
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047c4
jmp 0x409f2a
mov eax, ebx
mov edx, esi
call fcn.00404728
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b250
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 0x40b2b4
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040493c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00408c94
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b2bb
lea eax, [ebp - 0xc]
call fcn.004046d4
ret

Function at 0x41d5bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a6a20
cmp dword [edi], 0
jne 0x41d638
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4a6a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a44dc
mov ecx, 2
call fcn.00402900
mov edx, 0x41d594
lea eax, [esi + 5]
call fcn.0041d5b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d5b4
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 0x41d60d
mov dword [0x4a6a1c], 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 0x41eb4c
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 0x41eb52
ret
Function at 0x421214
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 0x421265
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42124c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42123c
jmp 0x421265
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 0x42124d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430ce0
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 0x430c2c
call sub.user32.dll_EnumWindows
ret

Function at 0x430e04
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 0x430e81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00430850
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 0x430e29
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004304a8
cmp dword [ebp - 4], 0
je 0x430e6b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404b84
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 0x430e88
lea eax, [ebp - 4]
call fcn.004046d4
ret

Function at 0x434210
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 [0x4a6bb0], 0
je 0x43435f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a5aac]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43435f
mov eax, dword [0x4a6bb4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a6bb0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43432e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a6bb0]
call fcn.00414804
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x434326
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x434326
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x434326
mov eax, dword [ebp - 0x14]
call fcn.0043cd28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x434326
push ebp
call fcn.004341cc
pop ecx
test al, al
jne 0x434326
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4342e2
mov eax, dword [ebp - 0x14]
call fcn.0043b8bc
dec eax
jle 0x434326
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.00403ae8
cmp byte [ebp - 1], 0
je 0x434326
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x434326
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a6bb4]
call fcn.00433994
inc edi
dec ebx
jne 0x434275
mov eax, dword [0x4a6bb4]
cmp dword [eax + 8], 0
jle 0x434346
mov eax, dword [0x4a6bb4]
call fcn.00433a24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43435f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00434034
pop ecx
test al, al
jne 0x43435f
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 0x437928
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 0x437974
mov eax, esi
call fcn.0044d8b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437974
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x437974
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 0x437ab8
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4379b4
cmp eax, 0x108
ja 0x4379b4
mov eax, esi
call fcn.0044d8b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437aaf
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x437ab8
jmp 0x437aaf
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x437a96
cmp eax, 0x20a
ja 0x437a96
test byte [esi + 0x50], 0x80
jne 0x4379e6
sub eax, 0x203
je 0x4379e3
sub eax, 3
je 0x4379e3
sub eax, 3
jne 0x4379e6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4379fa
dec eax
je 0x437a0f
dec eax
je 0x437a2f
dec eax
je 0x437a0f
jmp 0x437a36
mov ecx, ebx
mov eax, dword [0x4a5aac]
mov eax, dword [eax]
mov edx, esi
call fcn.00456f8c
jmp 0x437aaf
cmp byte [esi + 0x5d], 1
jne 0x437a25
mov eax, esi
mov si, 0xffed
call fcn.00403ae8
jmp 0x437ab8
or word [esi + 0x54], 1
jmp 0x437aaf
and word [esi + 0x54], 0xfffe
jmp 0x437aaf
mov eax, dword [0x4a6b6c]
cmp byte [eax + 0x20], 0
je 0x437aaf
mov eax, dword [0x4a6b6c]
cmp dword [eax + 0x1c], 0
je 0x437aaf
mov eax, dword [ebx]
mov edx, dword [0x4a6b6c]
cmp eax, dword [edx + 0x1c]
jne 0x437aaf
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.0044d7f4
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.00403ae8
jmp 0x437ab8
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x437aaf
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00436248
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