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

Disassembly:
push 0xffffffffffffffff
push 0x5fd2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.00573250
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 0x5731c6
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005cd4be
test eax, eax
je 0x5730a5
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.004acf45
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005cd46e
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005cd46e
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005cc8d0
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.005cce4f
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.005cce9b
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005cce9b
push ebp
mov ecx, esi
call fcn.005cc8d0
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005cc8d0
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.005cce9b
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005cce9b
push ebp
mov ecx, esi
call fcn.005cc8d0
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005cd458
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005cd458
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 0x57a7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fe070
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.004bf850
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 0x57a86b
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 0x57a995
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.005cc9ac
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005cd4be
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x57a8da
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 0x57a968
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.005cd508
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005cc8d0
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.005cc8d0
push ebp
mov ecx, esi
call fcn.005cc8d0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005cd458
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005cc9ac
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005cd458
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 0x57a9d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fe0a0
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.004bf850
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 0x57ab88
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.005cc9ac
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x57aae9
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005cd4be
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005cc8d0
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.005cc8d0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005cd458
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x57ab54
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005cd508
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005cc8d0
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.005cc8d0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005cd458
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005cc8d0
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005cc9ac
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 0x57b91b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fe218
push eax
mov al, byte [0x1a72970]
mov dword fs:[0], esp
sub esp, 0x14
test al, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x57b7ae
mov dl, al
push 0x57b9e0
or dl, 1
mov byte [0x1a72970], dl
call fcn.004af50a
add esp, 4
mov al, byte [0x1a72970]
test al, 2
jne 0x57b7cf
mov dl, al
push 0x57b9d0
or dl, 2
mov byte [0x1a72970], dl
call fcn.004af50a
add esp, 4
mov eax, dword [0x1a14e58]
mov dword [esp + 0xc], eax
mov ecx, dword [0x1a72960]
mov eax, dword [0x1a72968]
test ecx, ecx
mov dword [esp + 0x28], 0
jne 0x57b869
test eax, eax
jne 0x57b869
mov edx, dword [0x1a72964]
test edx, edx
jne 0x57b869
mov edx, dword [0x1a7296c]
test edx, edx
jne 0x57b869
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.005c9f9c
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1a72960
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 [0x1a72964]
mov ecx, dword [0x1a72960]
mov eax, dword [0x1a72968]
mov dword [0x1a72954], edx
mov edx, dword [0x1a7296c]
mov dword [0x1a72950], ecx
mov dword [0x1a7295c], edx
mov edx, dword [esp + 0x14]
mov dword [0x1a72958], eax
mov dword [0x1a7295c], edx
mov edx, dword [esp + 0x34]
push 6
test edx, edx
je 0x57b8fb
mov edx, dword [0x1a7296c]
mov ebp, dword [0x1a72964]
sub edx, ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push 0x1a71d58
mov ecx, esi
call fcn.005ca27d
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005cbbdc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1a1bfe8
push ecx
call fcn.005c53ed
push 0x1a1bfe4
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.005c5379
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005c521d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.005c50e4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
jmp 0x57b984
mov eax, dword [0x1a7295c]
mov edi, dword [0x1a72954]
mov ecx, dword [0x1a72950]
sub eax, edi
push eax
mov eax, dword [0x1a72958]
sub eax, ecx
mov ecx, esi
push eax
push 0
push 0
push 0x1a71d58
call fcn.005ca27d
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005cbbdc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1a1bfe8
push ecx
call fcn.005c53ed
push 0x1a1bfe0
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.005c5379
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.005c521d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.005c50e4
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.005c50e4
mov ecx, esi
call fcn.005a8610
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 3
call fcn.005ca05b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c50e4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x582ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fe948
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], 0x19c0e24
mov dword [0x1a72978], ebx
call fcn.005cd159
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.00582ce0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005cd1cb
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 0x5834a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fea28
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.005c4e59
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x58352e
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005c0f07
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005c521d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005c50e4
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x583538
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.005c50e4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.005c50e4
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 0x583610
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 0x583672
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 0x583680
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 0x58375d
lea ecx, [esp + 8]
push ecx
push str..htm
push accept
call fcn.00583610
add esp, 0xc
test eax, eax
jne 0x58375d
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.00583610
add esp, 0xc
test eax, eax
jne 0x58375d
lea edx, [esp + 8]
push 0x1a19598
push edx
call fcn.004afa10
mov esi, eax
add esp, 8
test esi, esi
jne 0x583738
lea eax, [esp + 8]
push 0x1a19594
push eax
call fcn.004af990
mov esi, eax
add esp, 8
test esi, esi
jne 0x583738
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x58373b
mov byte [esi], 0
push 0x1a18e7c
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.005c50e4
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x58a260
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ff30a
push eax
mov dword fs:[0], esp
mov eax, 0x1a73c70
sub esp, 0x40
test eax, eax
je 0x58a28a
mov eax, dword [0x1a73c74]
test eax, eax
jne 0x58a2f5
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, 0x1a73c70
call fcn.005cd401
push 8
call fcn.005c4e25
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x4c], 0
je 0x58a2e5
push 0x18
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call fcn.005cd4be
jmp 0x58a2e7
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [0x1a73c88], eax
pop esi
call fcn.0058a1c0
mov eax, dword [0x1a73c8c]
test eax, eax
jne 0x58a31e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x58a330
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1a73c8c], eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x593740
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 0x5937b3
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 0x5937a8
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004b2c66
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 0x59e170
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6007fc
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 0x59e30e
mov edx, dword [0x1a14e58]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0
push ecx
push eax
lea ecx, [ebp + 0x5c]
call fcn.005d5403
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x59e2fa
push str.MenuData.ini
lea eax, [esp + 0x18]
push 0x1a725f8
push eax
call fcn.005c5379
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x19b09c0
push edx
push str.MenuData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.005c50e4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
call fcn.005c5152
mov ecx, dword [0x1a14e58]
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.005c4e59
call fcn.00543e20
mov edi, eax
mov esi, 1
add esp, 4
cmp edi, esi
jle 0x59e2d8
push esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005c4e59
lea ecx, [esp + 0x1c]
push ecx
call fcn.005434f0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], 3
call fcn.005c521d
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 2
call fcn.005c50e4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59e2d8
mov edx, dword [ebp + 0xb4]
push eax
push 0
push 0x180
push edx
call ebx
inc esi
cmp esi, edi
jl 0x59e275
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.005c50e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0
call fcn.005c50e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.005c50e4
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x5a5270
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x601128
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.004e21e0
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], 0x19c3a70
call fcn.004e2200
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 0x5ab180
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x601a10
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.005c5811
mov eax, dword [esp + 0x30]
push ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005c59c3
test eax, eax
jne 0x5ab1ee
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c5906
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c50e4
mov eax, 0x65
jmp 0x5ab29e
lea ecx, [esp + 0x10]
call fcn.005c5cbd
mov edi, eax
cmp edi, ebx
jne 0x5ab222
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c5906
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c50e4
mov eax, 0x66
jmp 0x5ab29e
push edi
call fcn.005c4e25
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x5ab256
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c5906
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c50e4
mov eax, 0x64
jmp 0x5ab29e
push edi
push esi
lea ecx, [esp + 0x18]
call fcn.005c5ae0
lea ecx, [esp + 0x10]
call fcn.005c5bde
push edi
push esi
mov ecx, ebp
call fcn.005aaf70
push esi
mov edi, eax
call fcn.005c4e4e
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c5906
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c50e4
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