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

Disassembly:
sub esp, 0x210
lea eax, [esp + 4]
push ebp
push eax
push 0x55d42c
push SysFreeString
xor ebp, ebp
mov dword [esp + 0x10], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x459bd4
xor eax, eax
pop ebp
add esp, 0x210
ret
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 8]
push edi
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x5627a0
push eax
mov dword [esp + 0x24], 0x208
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [esp + 0x14]
push 0x55d16c
push ecx
call edi
test eax, eax
jne 0x459c19
mov ebp, 0x10
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x562774
push ecx
mov dword [esp + 0x24], 0x208
call esi
lea edx, [esp + 0x14]
push 0x55d16c
push edx
call edi
test eax, eax
jne 0x459c4e
or ebp, 0x20
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push 0x562744
push edx
mov dword [esp + 0x24], 0x208
call esi
lea eax, [esp + 0x14]
push 0x55d16c
push eax
call edi
pop edi
pop esi
test eax, eax
jne 0x459c85
or ebp, 0x40
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop ebp
add esp, 0x210
ret

Function at 0x45a1a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c9f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [0x572564]
push ebx
push esi
push edi
mov ebx, 1
xor edi, edi
test bl, al
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], edi
jne 0x45a1f9
or al, bl
push 0x5705d0
mov ecx, 0x572560
mov byte [0x572564], al
call fcn.004e1e9b
push 0x45a2d0
call fcn.004be617
add esp, 4
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call fcn.004d8218
mov ecx, dword [eax]
mov edx, dword [esi + 0x864]
push ecx
mov dword [ebp - 0x14], ecx
mov eax, esp
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0x14]
mov dword [eax], edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0042cfd0
cmp dword [eax], 5
jge 0x45a234
mov ecx, dword [0x572560]
cmp dword [ecx - 8], ebx
jge 0x45a296
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x864], edx
mov eax, dword [esi + 0x1668]
cmp eax, edi
je 0x45a268
mov eax, dword [0x576150]
cmp eax, edi
je 0x45a268
push edi
call eax
push eax
push 0x55fab8
push 0x572560
call fcn.004d736f
add esp, 0xc
jmp 0x45a29d
push 0x572568
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [0x572574]
shr eax, 0x14
push eax
push 0x56281c
push 0x572560
call fcn.004d736f
add esp, 0xc
jmp 0x45a29d
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
push 0x572560
mov ecx, esi
call fcn.004e1b94
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45a2e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ca08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [0x57255c]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
test al, 1
mov ebx, ecx
mov dword [ebp - 0x18], esi
jne 0x45a334
or al, 1
push 0x5705d0
mov ecx, 0x572558
mov byte [0x57255c], al
call fcn.004e1e9b
push 0x45a490
call fcn.004be617
add esp, 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], esi
push eax
call fcn.004d8218
mov ecx, dword [eax]
mov edx, dword [ebx + 0x868]
push ecx
mov dword [ebp - 0x18], ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
lea ecx, [ebp - 0x18]
mov dword [eax], edx
lea eax, [ebp - 0x1c]
push eax
call fcn.0042cfd0
mov esi, dword [eax]
mov edi, 5
cmp esi, edi
jle 0x45a38b
mov ecx, dword [0x572558]
push 0x562664
push ecx
call fcn.004bdb15
add esp, 8
test eax, eax
je 0x45a387
mov edi, 0x14
cmp esi, edi
jg 0x45a39b
mov edx, dword [0x572558]
cmp dword [edx - 8], 1
jge 0x45a45b
mov eax, dword [ebp - 0x18]
push 0x575d3c
mov dword [ebx + 0x868], eax
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
test edi, edi
je 0x45a45b
mov ecx, dword [edi + 0xc]
cmp dword [ecx], 0
je 0x45a45b
xor ebx, ebx
mov edx, dword [edi + 0xc]
cmp dword [edx + ebx*4], 0
je 0x45a462
mov ecx, 0x572558
call fcn.004e1daf
push 0x5705d0
lea ecx, [ebp - 0x14]
call fcn.004e1e9b
mov byte [ebp - 4], 2
xor esi, esi
movsx eax, word [edi + 0xa]
cmp esi, eax
jge 0x45a43d
test esi, esi
jle 0x45a40f
push 0x55c780
mov ecx, 0x572558
call fcn.004e2218
mov ecx, dword [edi + 0xc]
xor eax, eax
mov edx, dword [ecx + ebx*4]
lea ecx, [ebp - 0x14]
mov al, byte [edx + esi]
push eax
push 0x55d51c
push ecx
call fcn.004d736f
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, 0x572558
push edx
call fcn.004e2254
inc esi
jmp 0x45a3f4
lea ecx, [ebp - 0x14]
inc ebx
mov byte [ebp - 4], 1
call fcn.004e1e27
jmp 0x45a3ca
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
push 0x572558
mov ecx, esi
call fcn.004e1b94
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45ab80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50cb00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov esi, ecx
call fcn.004faff9
mov ecx, dword [esi + 0x5b8]
lea eax, [esi + 0x7b0]
add ecx, 0xfc
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004e2066
push 0x55c3b8
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
push eax
call fcn.004e20cc
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push edi
push eax
push ecx
mov byte [esp + 0x30], 1
call fcn.004e20cc
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 4
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.004e1e27
lea edx, [esp + 8]
push edx
call fcn.004aaf40
add esp, 4
test eax, eax
jne 0x45acce
mov eax, dword [esi + 0x5b8]
push 0x55c768
add eax, 0xfc
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004e20cc
push 0x55c3b8
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x30], 5
call fcn.004e20cc
push edi
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x2c], 6
push eax
call fcn.004e20cc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 7
call fcn.004e1f6e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 6
call fcn.004e1e27
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 5
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call fcn.004e1e27
lea ecx, [esp + 8]
push ecx
call fcn.004aaf40
add esp, 4
test eax, eax
jne 0x45acce
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e1e27
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov edx, dword [esp + 8]
push 0x2050
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x45b170
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50cb48
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x106c]
push 0
push 0x431
push eax
call ebx
push eax
call fcn.004da502
test eax, eax
je 0x45b1b6
mov ecx, eax
call fcn.004da4ec
lea ecx, [esp + 0xc]
call fcn.004da470
push 1
push 1
push 0x21
push 0x10
push 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004da535
push 0x562970
mov ecx, esi
call fcn.0045ab80
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push edi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x106c]
push ecx
push 0
push 0x430
push edx
call ebx
lea ecx, [esp + 0xc]
call fcn.004da4c2
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004da499
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45b480
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50cb88
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push 0
push 0
mov eax, dword [esi + 0x14b0]
push 0x431
push eax
call ebx
push eax
call fcn.004da502
test eax, eax
je 0x45b4c5
mov ecx, eax
call fcn.004da4ec
mov eax, dword [0x576178]
test eax, eax
je 0x45b4f7
mov ecx, dword [esi + 0x14b0]
push 0
push 0
push 0x430
push ecx
call ebx
push eax
call fcn.004da502
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
lea ecx, [esp + 0xc]
call fcn.004da470
push 1
push 2
push 0x21
push 0x10
push 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004da535
push 0x55c1d4
mov ecx, esi
call fcn.0045ab80
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push edi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0x14b0]
push eax
push 0
push 0x430
push edx
call ebx
push eax
call fcn.004da502
lea ecx, [esp + 0xc]
call fcn.004da4c2
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004da499
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x45b5a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50cba8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push 0
push 0
mov eax, dword [esi + 0x154c]
push 0x431
push eax
call ebx
push eax
call fcn.004da502
test eax, eax
je 0x45b5e5
mov ecx, eax
call fcn.004da4ec
mov eax, dword [0x576178]
test eax, eax
je 0x45b617
mov ecx, dword [esi + 0x154c]
push 0
push 0
push 0x430
push ecx
call ebx
push eax
call fcn.004da502
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
lea ecx, [esp + 0xc]
call fcn.004da470
push 1
push 2
push 0x21
push 0x10
push 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004da535
push 0x55c1d4
mov ecx, esi
call fcn.0045ab80
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push edi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0x154c]
push eax
push 0
push 0x430
push edx
call ebx
push eax
call fcn.004da502
lea ecx, [esp + 0xc]
call fcn.004da4c2
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004da499
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45f3d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0
mov dword [ebp - 4], 0
call fcn.004f4e86
mov edi, eax
test edi, edi
je 0x45f458
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x45f458
mov eax, dword [0x56b44c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x14]
call fcn.004e1b94
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0045f140
test eax, eax
jne 0x45f46b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004e1e27
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call ebx
test ax, ax
jge 0x45f4da
push 0x10
call ebx
test ax, ax
jge 0x45f4da
mov ecx, dword [esi + 0xac4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1304
push ecx
call ebx
test eax, eax
jle 0x45f440
mov dword [ebp - 0x34], 8
lea edi, [eax - 1]
test edi, edi
jl 0x45f440
mov eax, dword [esi + 0xac4]
lea edx, [ebp - 0x34]
push edx
push edi
push 0x133c
push eax
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45f4d7
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
mov ecx, esi
call fcn.0045f5a0
dec edi
jmp 0x45f4a9
lea eax, [ebp - 0x18]
push edi
lea ecx, [ebp - 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0045f5a0
jmp 0x45f440
Function at 0x460780
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50d480
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x4608b3
mov esi, dword [esp + 0x20]
push 0x2f
mov ecx, esi
call fcn.004d6fd9
test eax, eax
jl 0x4608b3
inc eax
mov ecx, esi
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004d6dd8
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x20], 0
call fcn.004aa370
add esp, 8
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.004e1f6e
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.004e1e27
push 0x2e
lea ecx, [esp + 0xc]
call fcn.004d6fd9
test eax, eax
jl 0x4608a2
mov ecx, dword [0x56b44c]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.004d6dd8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 3
call fcn.004e1f6e
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 2
call fcn.004e1e27
lea ecx, [esp + 0xc]
call fcn.004e23c1
mov eax, dword [esp + 0xc]
lea esi, [edi + 0x25c]
push eax
mov ecx, esi
call fcn.004d6ffb
test eax, eax
jl 0x460894
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
mov ecx, dword [ecx - 8]
add ecx, eax
mov ax, word [edx + ecx*2]
cmp ax, 0x20
je 0x4608c8
cmp ax, 0x3b
je 0x4608c8
test ax, ax
je 0x4608c8
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004e1e27
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e1e27
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004e1e27
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x461330
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0
call fcn.004f4e86
test eax, eax
je 0x46140e
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x46140e
mov ecx, dword [esi + 0x21c]
mov edx, dword [esi + 0x220]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [eax + 0xf8]
lea ecx, [esp + 4]
push edi
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.004ddf17
mov esi, eax
lea eax, [esp + 8]
push eax
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
and edx, 0xffff
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
and eax, 0xffff
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x204
push ecx
call edi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
and edx, 0xffff
shl edx, 0x10
and eax, 0xffff
or edx, eax
push edx
push 0
push 0x205
push ecx
call edi
push 0
push 0
push 0
push 0x48
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x48
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
add esp, 8
ret

Function at 0x461820
Capabilities:
Create process on windows

Disassembly:
push ecx
lea eax, [esp]
push eax
call fcn.004226f0
mov ecx, dword [0x5754c8]
mov edx, dword [eax]
add esp, 4
push 1
push 0x5705d0
push ecx
push edx
push 0x55cbfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp]
call fcn.004e1e27
pop ecx
ret
Function at 0x46d1b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x5710e8]
test eax, eax
je 0x46d1d7
mov eax, dword [0x576c68]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
ret 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 0x5b8]
push edx
mov edx, dword [esp + 8]
push eax
push edx
call fcn.004fb49a
ret 0xc
Function at 0x471910
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x50f020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [0x57617c], ebx
mov dword [esp + 0xc], 0x527f3c
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x4c], ebx
call fcn.004e2f7a
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, dword [esp + 0x50]
cmp edi, ebx
jl 0x471aff
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x1c]
push 1
push edi
push 0x403
push edx
mov dword [esi + 0xe0], 0xffffffff
call ebx
mov eax, dword [esi + 0x1c]
push eax
call ebp
call fcn.004faff9
mov eax, dword [eax + 4]
push 1
push 0x28
push pe_nt_image_headers32
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004faff9
mov eax, dword [eax + 4]
push 1
push 0x28
push 0x101
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
push 2
mov ecx, esi
call fcn.004713f0
mov dword [0x5761b0], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x471670
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [0x5761b4], eax
jne 0x471a1d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x471670
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x5761b4], eax
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
push 0x433
push ecx
call ebx
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.004e6adc
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00471b40
mov eax, dword [esi + 0x9c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
lea ecx, [esi + 0xa4]
mov dword [esp + 0x54], eax
call fcn.004e2fa7
mov ecx, dword [esp + 0x54]
lea eax, [esi + 0xb0]
push ecx
lea ecx, [esi + 0xa4]
mov dword [esi + 0xac], eax
call fcn.004e2f7a
call fcn.004faff9
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
push 0x40
lea ecx, [esi + 0xa4]
call fcn.004dea9b
mov edx, dword [0x5761b4]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov dword [0x5761b4], eax
mov dword [0x5761b0], eax
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x403
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push edi
mov edi, dword [esi + 0xec]
xor edx, edx
mov ecx, esi
test edi, edi
setne dl
push edx
call fcn.004713f0
mov edi, dword [esi + 0xe0]
test edi, edi
jge 0x471979
pop ebp
lea ecx, [esp + 0xc]
call fcn.004e2fa7
mov dword [esp + 0xc], 0x527f3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 1
call fcn.004e2fd1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x476d30
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [ebx + 0x10c], 1
call fcn.004faff9
mov eax, dword [eax + 8]
mov ebp, 0x84
push eax
push 0x564370
push 0x5762e0
mov dword [0x576350], 0x5643b8
mov dword [0x5761c8], 0x5762e0
mov dword [0x5762e0], ebp
mov dword [0x576344], 0x300
call fcn.00478420
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x576364], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [0x56496c]
mov dx, word [0x564970]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, 0x5762e0
mov word [esp + 0x24], dx
call fcn.00476ce0
mov esi, eax
test esi, esi
je 0x476df9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x564954
push esi
call edi
test eax, eax
je 0x476e3c
push 0x564940
push esi
call edi
test eax, eax
je 0x476e61
lea edx, [esp + 0x18]
mov ecx, 0x5762e0
push edx
push esi
call fcn.00476ce0
mov esi, eax
test esi, esi
jne 0x476dcb
mov edx, 0x5762e0
test edx, edx
je 0x476f5e
mov esi, dword [0x5762f0]
xor edi, edi
cmp dword [esi], 0
je 0x476f72
mov ebp, dword [sym.imp.ole32.dll_CoRegisterClassObject]
lea ebx, [esi + 0x14]
test edi, edi
jne 0x476f58
mov eax, dword [esi + 8]
mov dword [esp + 0x10], edi
test eax, eax
jne 0x476f01
jmp 0x476f36
push 0
push 0
push 0
push 0x66
push 0x5762e0
call fcn.00478750
push 0
push 1
push 0x5762e0
call fcn.004786c0
jmp 0x476ee3
push 0
push 0
push 1
push 0x66
push 0x5762e0
call fcn.00478750
mov eax, 0x5762e0
test eax, eax
je 0x476ee3
mov esi, dword [0x5762f0]
xor edi, edi
cmp dword [esi], 0
je 0x476ed7
mov eax, dword [esi + 0x18]
test eax, eax
je 0x476e96
call eax
test eax, eax
jne 0x476ebd
push 1
call dword [esi + 4]
mov edi, eax
test edi, edi
jl 0x476ee3
cmp dword [0x5762e0], ebp
jne 0x476ebd
push 1
call dword [esi + 0x1c]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00478580
mov edi, eax
test edi, edi
jl 0x476ee3
cmp dword [0x5762e0], 0x64
jne 0x476ecb
add esi, 0x1c
jmp 0x476ece
add esi, 0x24
cmp dword [esi], 0
jne 0x476e89
test edi, edi
jl 0x476ee3
push 0
push 0x5762e0
call fcn.00478af0
push 0x5762e0
mov dword [ebx + 0x10c], 0
call fcn.004784b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x531090
push edx
call eax
mov edi, eax
test edi, edi
jl 0x476f28
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push ebx
push 1
push 4
push eax
push ecx
call ebp
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x476f36
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [0x5762e0], 0x64
jne 0x476f47
add esi, 0x1c
add ebx, 0x1c
jmp 0x476f4d
add esi, 0x24
add ebx, 0x24
cmp dword [esi], 0
jne 0x476e20
test edi, edi
jge 0x476f72
mov ebx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ebx + 0x10c], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret