joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d16c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x4d170d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movsx eax, byte [ebp - 4]
cmp eax, 0xa
jne 0x4d170b
jmp 0x4d170d
jmp 0x4d16c9
mov esp, ebp
pop ebp
ret 8
Function at 0x4d8910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58809b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call sub.mfc90.dll_Ordinal_4993
push 0xb0
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x4d896a
mov ecx, dword [ebp - 0x14]
call sub.inputall.dll_public:_void___thiscall_inputtree::constructor_void_
mov dword [ebp - 0x1c], eax
jmp 0x4d8971
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x74]
mov dword [ecx + 8], 0x3e8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x74]
mov dword [eax + 0xc], 0x85
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x74]
mov dword [edx + 0x10], 0x84
push str.select__from__select_field_1_field_2_from_usertabb810_union_all_select_field_1_field_2_from_usertabb811___as_aa_order_by_field_1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x74]
add ecx, 0x24
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x74]
mov dword [edx + 4], 0x5f87ac
push 0x5f87c4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x74]
add ecx, 0x28
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov ecx, dword [ebp - 0x18]
call fcn.00422020
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x74]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x74]
call sub.inputall.dll_public:_int___thiscall_inputtree::OnInitDialog_void_
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ef940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x4ef98d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movsx eax, byte [ebp - 4]
cmp eax, 0xa
jne 0x4ef98b
jmp 0x4ef98d
jmp 0x4ef949
mov esp, ebp
pop ebp
ret 8
Function at 0x4f70e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x4f712d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movsx eax, byte [ebp - 4]
cmp eax, 0xa
jne 0x4f712b
jmp 0x4f712d
jmp 0x4f70e9
mov esp, ebp
pop ebp
ret 8
Function at 0x501d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_feof]
add esp, 4
test eax, eax
jne 0x501ddd
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 4]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
movsx eax, byte [ebp - 4]
cmp eax, 0xa
jne 0x501ddb
jmp 0x501ddd
jmp 0x501d99
mov esp, ebp
pop ebp
ret 8
Function at 0x5640d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret

Function at 0x570b20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5fa9d8]
mov dword [ebp - 8], eax
mov ecx, dword [0x5fa9d8]
add ecx, 1
mov dword [0x5fa9d8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00570a40
add esp, 4
mov dword [ebp - 4], eax
push 0x10
push 0x5f89c8
push 0
mov eax, dword [ebp - 4]
push eax
push 0x5f99d8
mov ecx, dword [0x5f89b4]
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x570b7d
push str.Destination_host_unreachable._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x570b90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
push 0x5f89b8
push 0
push 0x1000
push 0x5f89d8
mov ecx, dword [0x5f89b4]
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x570bde
mov edx, dword [ebp - 4]
push edx
push 0x5f89d8
call fcn.00570ab0
add esp, 8
mov dword [ebp - 0xc], eax
jmp 0x570bfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274c
jne 0x570bfe
push str.Request_timed_out._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 4
or eax, 0xffffffff
jmp 0x570c07
cmp dword [ebp - 0xc], 0
jl 0x570b9d
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5795a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f8310]
jne 0x5795b0
repz ret
jmp fcn.00579ccb

Function at 0x57a950
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x30]
push ecx
push edx
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x57a9ca
lea eax, [esp + 0x24]
push 0x15
push eax
push str.HIDVid_3689Pid_8762
mov dword [esp + 0x20], 0xc8
call sub.MSVCR90.dll__strnicmp
add esp, 0xc
test eax, eax
jne 0x57a9ca
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x12c]
cmp ecx, eax
je 0x57a9dc
mov eax, ecx
inc eax
mov dword [esp + 0x10], eax
inc edi
test esi, esi
je 0x57a975
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov edx, dword [esp + 0x130]
mov ecx, dword [0x5f8380]
mov eax, edx
lea edi, [esp + 0x24]
mov dword [eax], ecx
mov cl, byte [0x5f8384]
mov byte [eax + 4], cl
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x402a04
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.00403f9c
test esi, esi
jne 0x402a3a
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.0040408c
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030d4
Capabilities:
Query or enumerate registry value

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

Function at 0x403e20
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46004c], 0
je 0x403e81
cmp word [0x460220], 0xd7b2
jne 0x403e49
cmp dword [0x460228], 0
jbe 0x403e49
mov eax, 0x46021c
call dword [0x460238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45e06c
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 0x403ea8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45e030], 0
jne 0x403e9d
push 0
push 0x45e064
push 0x45e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f76
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040420c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c8c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f60
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f7d
lea eax, [ebp - 0x10]
call fcn.00403f9c
ret

Function at 0x40afe8
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 0x40b021
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040408c
jmp 0x40b02a
mov eax, ebx
mov edx, esi
call fcn.00403ff0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c03c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c112
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404034
lea eax, [ebp - 8]
call fcn.004044ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040445c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c0fc
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c0f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040445c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0df
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c124
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0df
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0fc
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c119
lea eax, [ebp - 8]
call fcn.00403f9c
ret
Function at 0x40c604
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 0x40c668
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.0040420c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408350
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c66f
lea eax, [ebp - 0xc]
call fcn.00403f9c
ret

Function at 0x41f63c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x460888
cmp dword [edi], 0
jne 0x41f6b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x460884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e520
mov ecx, 2
call fcn.004028d8
mov edx, 0x41f614
lea eax, [esi + 5]
call fcn.0041f634
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f634
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 0x41f68d
mov dword [0x460884], 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 0x4208dc
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 0x4208e2
ret

Function at 0x422d24
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 0x422d75
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422d5c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422d4c
jmp 0x422d75
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 0x422d5d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ae34
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42af9d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404034
mov eax, dword [ebp - 0x10]
call fcn.0042abcc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42ae86
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004044fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042b2a4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42af5b
xor eax, eax
push ebp
push 0x42af54
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042ad0c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042afac
test al, al
je 0x42af32
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040408c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42af32
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040445c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42af2c
mov eax, dword [ebp - 0x14]
call fcn.0040445c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404194
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042ae34
dec ebx
cmp ebx, 0xffffffff
jne 0x42aee5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42af5b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042ad0c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040445c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042acf8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42afa4
lea eax, [ebp - 0x3c]
call fcn.00403f9c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403fc0
ret

Function at 0x42afac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402c6c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x45fac4]
cmp byte [edx + 0xc], 0
je 0x42b010
mov edx, dword [0x45fab8]
cmp dword [edx], 2
jne 0x42b010
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x42b014
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42b0cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042afac
test al, al
je 0x42b0ae
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040408c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x42b0ae
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040445c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040445c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404194
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x42b067
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b0d3
lea eax, [ebp - 0x2c]
call fcn.00403f9c
lea eax, [ebp - 0xc]
call fcn.00403f9c
ret

Function at 0x42b230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040445c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42b288
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45fad0]
mov dl, 1
mov eax, dword [0x42aad8]
call fcn.0040b89c
call fcn.004039d8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042abe0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42e540
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 0x42e48c
call sub.user32.dll_EnumWindows
ret

Function at 0x42e660
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 0x42e6dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042e0c0
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 0x42e685
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042dcc0
cmp dword [ebp - 4], 0
je 0x42e6c7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040445c
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 0x42e6e4
lea eax, [ebp - 4]
call fcn.00403f9c
ret
Function at 0x431514
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 [0x460b60], 0
je 0x431663
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45f8e4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x431663
mov eax, dword [0x460b64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x460b60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x431632
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x460b60]
call fcn.00418c0c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43162a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43162a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43162a
mov eax, dword [ebp - 0x14]
call fcn.0043a19c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43162a
push ebp
call fcn.004314d0
pop ecx
test al, al
jne 0x43162a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4315e6
mov eax, dword [ebp - 0x14]
call fcn.00438ccc
dec eax
jle 0x43162a
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.00403460
cmp byte [ebp - 1], 0
je 0x43162a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43162a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x460b64]
call fcn.00430c9c
inc edi
dec ebx
jne 0x431579
mov eax, dword [0x460b64]
cmp dword [eax + 8], 0
jle 0x43164a
mov eax, dword [0x460b64]
call fcn.00430d2c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431663
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00431338
pop ecx
test al, al
jne 0x431663
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