joyce8/EMBER2024-capa huggingface dataset:
Function at 0x569fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f42a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.0056a1f0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x56a166
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005c445e
test eax, eax
je 0x56a045
mov eax, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
lea ecx, [esp + 0x30]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBrush.0
call fcn.004a3ee5
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005c440e
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005c440e
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005c3870
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebp, eax
lea eax, [esp + 0x20]
lea ebx, [edx + 1]
lea edi, [ecx + 1]
mov dword [esp + 0x20], ebx
add ebx, 2
push edi
push ebx
push eax
mov ecx, esi
call fcn.005c3def
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
sub eax, 2
add edi, eax
push edi
push ebx
call fcn.005c3e3b
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005c3e3b
push ebp
mov ecx, esi
call fcn.005c3870
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005c3870
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
add eax, 2
add edi, eax
push edi
push ebx
call fcn.005c3e3b
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005c3e3b
push ebp
mov ecx, esi
call fcn.005c3870
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005c43f8
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005c43f8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x571760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x14]
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x38], edx
call fcn.004b67f0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edx, dword [edi + 0x88]
xor ebx, ebx
cmp edx, ebx
je 0x57180b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 4]
add edx, 0x14
push esi
mov dword [esp + 0x40], ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
push eax
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0x88]
mov edx, dword [ecx]
call dword [edx + 0xe4]
jmp 0x571935
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
sub ecx, edx
sub eax, ebp
xor edx, edx
mov dword [esp + 0x40], ecx
push 1
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
call fcn.005c394c
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005c445e
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x57187a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [edi + 0x90], 0x63
je 0x571908
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [edi + 0x90]
mov ebp, eax
mov eax, dword [edi + 0x94]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005c44a8
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005c3870
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call fcn.005c3870
push ebp
mov ecx, esi
call fcn.005c3870
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005c43f8
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005c394c
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005c43f8
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
neg eax
push eax
lea eax, [esp + 0x24]
neg ecx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x571970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
push esi
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
call fcn.004b67f0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x571b28
mov edx, dword [esi]
push ebx
push edi
push 8
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub edi, ebx
mov ebx, dword [esp + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x50], eax
sub ebx, edx
call fcn.005c394c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x571a89
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005c445e
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005c3870
mov edx, dword [esi + 4]
push edi
push ebx
push 0
push 0
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.005c3870
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005c43f8
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x571af4
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005c44a8
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005c3870
push edi
mov ebp, eax
mov eax, dword [esi + 4]
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
push ebp
mov ecx, esi
call fcn.005c3870
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005c43f8
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005c3870
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005c394c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
neg ecx
push ecx
lea ecx, [esp + 0x14]
neg edx
push edx
push ecx
mov ecx, esi
call dword [eax + 0x3c]
pop edi
pop ebx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x5728bb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f51f8
push eax
mov al, byte [0x1d14960]
mov dword fs:[0], esp
sub esp, 0x14
test al, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x57274e
mov dl, al
push 0x572980
or dl, 1
mov byte [0x1d14960], dl
call fcn.004a64aa
add esp, 4
mov al, byte [0x1d14960]
test al, 2
jne 0x57276f
mov dl, al
push 0x572970
or dl, 2
mov byte [0x1d14960], dl
call fcn.004a64aa
add esp, 4
mov eax, dword [0x1cb6e58]
mov dword [esp + 0xc], eax
mov ecx, dword [0x1d14950]
mov eax, dword [0x1d14958]
test ecx, ecx
mov dword [esp + 0x28], 0
jne 0x572809
test eax, eax
jne 0x572809
mov edx, dword [0x1d14954]
test edx, edx
jne 0x572809
mov edx, dword [0x1d1495c]
test edx, edx
jne 0x572809
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.005c0f3c
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1d14950
push edx
mov edi, eax
call ebp
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov edx, dword [0x1d14954]
mov ecx, dword [0x1d14950]
mov eax, dword [0x1d14958]
mov dword [0x1d14944], edx
mov edx, dword [0x1d1495c]
mov dword [0x1d14940], ecx
mov dword [0x1d1494c], edx
mov edx, dword [esp + 0x14]
mov dword [0x1d14948], eax
mov dword [0x1d1494c], edx
mov edx, dword [esp + 0x34]
push 6
test edx, edx
je 0x57289b
mov edx, dword [0x1d1495c]
mov ebp, dword [0x1d14954]
sub edx, ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push 0x1d13d48
mov ecx, esi
call fcn.005c121d
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005c2b7c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1cbdfe8
push ecx
call fcn.005bc38d
push 0x1cbdfe4
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.005bc319
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005bc1bd
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.005bc084
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
jmp 0x572924
mov eax, dword [0x1d1494c]
mov edi, dword [0x1d14944]
mov ecx, dword [0x1d14940]
sub eax, edi
push eax
mov eax, dword [0x1d14948]
sub eax, ecx
mov ecx, esi
push eax
push 0
push 0
push 0x1d13d48
call fcn.005c121d
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005c2b7c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1cbdfe8
push ecx
call fcn.005bc38d
push 0x1cbdfe0
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.005bc319
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.005bc1bd
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.005bc084
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.005bc084
mov ecx, esi
call fcn.0059f5b0
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 3
call fcn.005c0ffb
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bc084
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x579b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f5928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi], 0x1c630a4
mov dword [0x1d14968], ebx
call fcn.005c40f9
mov eax, dword [edi + 0x1a4]
push ebx
mov dword [esi + 4], eax
mov edi, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
call fcn.00579c80
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c416b
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x57a440
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5f5a08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi]
lea edx, [esp + 0x14]
xor ebx, ebx
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x34], ebx
call fcn.005bbdf9
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x57a4ce
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005b7ea7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005bc1bd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005bc084
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x57a4d8
mov byte [esp + 0x3c], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x164]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
setne byte [esp + 0x3c]
call dword [eax + 0x148]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [edx + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [edx + 0x15], bl
mov byte [edx + 0x16], bl
mov byte [edx + 0x17], 1
mov byte [edx + 0x18], bl
mov byte [edx + 0x19], bl
mov byte [edx + 0x1a], bl
mov byte [edx + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x3c], esi
mov esi, edi
mov edi, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
mov byte [esp + 0x30], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], eax
call fcn.005bc084
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.005bc084
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x57a5b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x57a612
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x57a620
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x57a6fd
lea ecx, [esp + 8]
push ecx
push str..htm
push accept
call fcn.0057a5b0
add esp, 0xc
test eax, eax
jne 0x57a6fd
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push accept
call fcn.0057a5b0
add esp, 0xc
test eax, eax
jne 0x57a6fd
lea edx, [esp + 8]
push 0x1cbb598
push edx
call fcn.004a69b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x57a6d8
lea eax, [esp + 8]
push 0x1cbb594
push eax
call fcn.004a6930
mov esi, eax
add esp, 8
test esi, esi
jne 0x57a6d8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x57a6db
mov byte [esi], 0
push 0x1cbae7c
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.005bc084
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x581200
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f62ea
push eax
mov dword fs:[0], esp
mov eax, 0x1d15c60
sub esp, 0x40
test eax, eax
je 0x58122a
mov eax, dword [0x1d15c64]
test eax, eax
jne 0x581295
lea ecx, [esp + 4]
push esi
push ecx
push 0x3c
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, 0x1d15c60
call fcn.005c43a1
push 8
call fcn.005bbdc5
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x4c], 0
je 0x581285
push 0x18
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call fcn.005c445e
jmp 0x581287
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [0x1d15c78], eax
pop esi
call fcn.00581160
mov eax, dword [0x1d15c7c]
test eax, eax
jne 0x5812be
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x5812d0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1d15c7c], eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x58a6e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x58a753
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x58a748
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004a9c06
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x595110
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f77dc
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov ebp, ecx
push edi
push 0
push 0
mov eax, dword [ebp + 0xb4]
push 0x184
push eax
call ebx
mov ecx, dword [ebp + 0x78]
push 0
push 0
push 0x188
push ecx
call ebx
test eax, eax
jl 0x5952ae
mov edx, dword [0x1cb6e58]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0
push ecx
push eax
lea ecx, [ebp + 0x5c]
call fcn.005cc3a3
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x59529a
push str.MenuData.ini
lea eax, [esp + 0x18]
push 0x1d145e8
push eax
call fcn.005bc319
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x1c52c40
push edx
push str.MenuData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.005bc084
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
call fcn.005bc0f2
mov ecx, dword [0x1cb6e58]
mov dword [esp + 0x1c], ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x434], 2
call fcn.005bbdf9
call fcn.0053adc0
mov edi, eax
mov esi, 1
add esp, 4
cmp edi, esi
jle 0x595278
push esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005bbdf9
lea ecx, [esp + 0x1c]
push ecx
call fcn.0053a490
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], 3
call fcn.005bc1bd
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 2
call fcn.005bc084
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x595278
mov edx, dword [ebp + 0xb4]
push eax
push 0
push 0x180
push edx
call ebx
inc esi
cmp esi, edi
jl 0x595215
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.005bc084
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0
call fcn.005bc084
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.005bc084
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x59c210
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5f8108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x24], 0
mov ecx, edi
call fcn.004d9180
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
mov dword [esi + 8], ecx
push edx
push eax
mov ecx, edi
mov dword [esi], 0x1c65cf0
call fcn.004d91a0
mov ecx, dword [esp + 0x40]
mov eax, esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x5a2120
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5f89f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.005bc7b1
mov eax, dword [esp + 0x30]
push ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005bc963
test eax, eax
jne 0x5a218e
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005bc8a6
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bc084
mov eax, 0x65
jmp 0x5a223e
lea ecx, [esp + 0x10]
call fcn.005bcc5d
mov edi, eax
cmp edi, ebx
jne 0x5a21c2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005bc8a6
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bc084
mov eax, 0x66
jmp 0x5a223e
push edi
call fcn.005bbdc5
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x5a21f6
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005bc8a6
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bc084
mov eax, 0x64
jmp 0x5a223e
push edi
push esi
lea ecx, [esp + 0x18]
call fcn.005bca80
lea ecx, [esp + 0x10]
call fcn.005bcb7e
push edi
push esi
mov ecx, ebp
call fcn.005a1f10
push esi
mov edi, eax
call fcn.005bbdee
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005bc8a6
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bc084
mov eax, edi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4