joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57bf40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x878138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x2710
lea eax, [esi + 0x38]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x3c], 0x4139e0
call fcn.005794a0
lea eax, [esp + 4]
mov ecx, 0x9cf1a8
push eax
mov dword [esp + 0x50], 0
call fcn.0057a890
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x68], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x70], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x80], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x88], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x57cdc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8782a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebp
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov edi, ecx
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.005794a0
lea eax, [edi + 0x24]
push 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0
call fcn.005f27b7
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x60], 1
lea ebp, [ecx + 0xc]
push ebp
call fcn.004b5dd0
xor edx, edx
div dword [edi + 0x10]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x57ce4b
mov esi, dword [eax + edx*4]
test esi, esi
je 0x57ce4b
lea edx, [esi + 8]
push ebp
push edx
call fcn.004b5db0
add esp, 8
test eax, eax
jne 0x57ce47
mov esi, dword [esi]
test esi, esi
jne 0x57ce2e
jmp 0x57ceb6
test esi, esi
jne 0x57ce4f
xor esi, esi
jmp 0x57ceb6
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x3c], ecx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x48], ecx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x54], ecx
mov esi, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x60], 0
call fcn.005f27f3
test esi, esi
je 0x57cee1
mov ecx, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
call fcn.0057ad30
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0057cc10
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x57cf10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8782c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push esi
mov esi, ecx
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x104]
push 0x2710
push 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x44]
push eax
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [eax], esi
mov dword [esi + 0x48], 0x4139e0
call fcn.005794a0
lea edx, [esp + 4]
mov ecx, 0x9cf1a8
push edx
mov dword [esp + 0x90], 0
call fcn.0057a890
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x80], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x78], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x8c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x98], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
mov dword [esp + 0x8c], 0xffffffff
call fcn.00579500
push 0xffffffffffffffff
lea eax, [esi + 0x9c]
push 0xffffffffffffffff
push 0
push eax
push 2
push 0
lea ecx, [esp + 0x5c]
mov dword [eax], esi
mov dword [esi + 0xa0], 0x4139f0
call fcn.005794a0
lea edx, [esp + 0x44]
mov ecx, 0x9cf1a8
push edx
mov dword [esp + 0x90], 1
call fcn.0057a890
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc4], edx
mov dword [esi + 0xc8], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esi + 0xcc], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0xd0], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xd8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xe4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0xdc], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0xe0], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0xf0], ecx
lea ecx, [esp + 0x44]
mov dword [esi + 0xe8], edx
mov dword [esi + 0xec], eax
mov dword [esp + 0x8c], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x84]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x8c
ret
Function at 0x57f3a7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x9cf4c8
jmp 0x57f390
push 0xffffffffffffffff
push 0x878496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0x89ef00
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0xa
lea edi, [esi + 0x20]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.005ef66e
mov dword [edi], 0x893f30
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x48]
mov byte [esp + 0x30], 1
mov dword [esi + 0x40], 0x89eef8
call fcn.00579760
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x60]
call fcn.005794a0
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x89eef4
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x57f570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8784d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0xc8
lea eax, [esi + 0x48]
lea ecx, [esi + 0x40]
push 0
push eax
mov dword [eax], ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [esi + 0x44], esi
mov dword [esi + 0x4c], 0x4139e0
call fcn.005794a0
lea edx, [esp + 4]
mov ecx, 0x9cf1a8
push edx
mov dword [esp + 0x50], 0
call fcn.0057a890
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x70], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x78], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x7c], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x90], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x88], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x9c], ecx
lea ecx, [esp + 4]
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x581760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov word [esp + 0xc], 0x2f
mov word [esp + 0xe], 0x5c
mov word [esp + 0x10], 0x22
mov word [esp + 0x12], 0x3a
mov word [esp + 0x14], 0x2a
mov word [esp + 0x16], 0x3f
mov word [esp + 0x18], 0x3c
mov word [esp + 0x1a], 0x3e
mov word [esp + 0x1c], 0x7c
mov word [esp + 0x1e], 9
xor esi, esi
lea edi, [esp + 0xc]
mov ax, word [edi]
push eax
push ebx
call fcn.005fd56f
add esp, 8
test eax, eax
jne 0x5817dc
inc esi
add edi, 2
cmp esi, 0xa
jb 0x5817b6
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
Function at 0x5817f0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x8786cb
push eax
mov eax, dword [0x9cf56c]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x581a29
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x61e]
mov word [esp + 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], bx
rep stosd dword es:[edi], eax
push 0x89f0d0
mov dword [0x9cf56c], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.00402180
push eax
lea eax, [esp + 0x41c]
push 0x92ecec
push eax
call fcn.005fe023
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x9b5220
push 0x89f100
push 0x89f0e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x5818ea
cmp word [esp + 0xe1a], bx
jne 0x5818ea
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.006f5eb0
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x5818ee
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x5819f3
lea ecx, [esp + 0xc]
call fcn.00674950
push 0x20019
push 0x89f108
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0xe30], ebx
call fcn.00674ac0
test eax, eax
je 0x58196a
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x89f194
call fcn.00674ee0
cmp eax, ebx
je 0x58196a
mov ecx, dword [esp + 8]
cmp ecx, 0x400
jae 0x58195d
mov edx, ecx
push esi
mov esi, eax
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x581961
mov dword [esp + 8], ebx
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00674b10
lea ecx, [esp + 0xc]
mov dword [esp + 0xe24], 0xffffffff
call fcn.00674a40
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x5819f3
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x61c]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x620]
push eax
push 0x9b5220
push 0x89f194
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x5819eb
cmp word [esp + 0xe1a], bx
jne 0x5819eb
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.006f5eb0
add esp, 0xc
jmp 0x5819ef
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x581a29
cmp eax, 4
jbe 0x581a29
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x581a29
cmp dword [esp + 0x14], 1
je 0x581a29
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x581a29
add eax, 0xfffffffc
cmp ecx, eax
ja 0x581a29
mov eax, dword [esp + 0x1c]
mov dword [0x9cf568], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x582b90
Capabilities:
Create service

Disassembly:
sub esp, 8
push ebx
push ebp
call fcn.00662480
test eax, eax
je 0x582cbc
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x582cb2
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
je 0x582cb2
push eax
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x582cb2
push ebp
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x582cb2
push esi
push edi
push 0xa
push ebx
push ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
je 0x582c6a
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x582c6a
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x582c26
push ebx
call fcn.005fc40b
add esp, 4
test eax, eax
jbe 0x582c26
lea esi, [esp + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
push esi
push ebx
push ebp
push 1
push eax
mov eax, dword [esp + 0x44]
push ecx
push 0xf01ff
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x582c68
mov dword [esp + 0x30], 1
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov dword [0x9cf578], ebx
cmp eax, ebx
jne 0x582c83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9cf578], eax
cmp esi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x582c90
push esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x582c9f
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
test edi, edi
je 0x582ca6
push edi
call ebx
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [0x9cf578], 0x57
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x583346
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
call fcn.006624d0
test eax, eax
je 0x5833af
mov edx, dword [esp + 0x210]
test edx, edx
je 0x5833af
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
pop edi
jbe 0x5833af
cmp eax, 0x104
jae 0x5833af
mov ecx, dword [esp + 0x214]
lea edx, [esp + 4]
push ecx
push edx
mov ecx, esi
call fcn.00583220
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8
Function at 0x5834f6
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
call fcn.006624d0
test eax, eax
je 0x58355f
mov edx, dword [esp + 0x210]
test edx, edx
je 0x58355f
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
pop edi
jbe 0x58355f
cmp eax, 0x104
jae 0x58355f
mov ecx, dword [esp + 0x214]
lea edx, [esp + 4]
push ecx
push edx
mov ecx, esi
call fcn.005833c0
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8

Function at 0x5836b6
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
call fcn.006624d0
test eax, eax
je 0x583727
mov edx, dword [esp + 0x210]
test edx, edx
je 0x583727
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
pop edi
jbe 0x583727
cmp eax, 0x104
jae 0x583727
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
push ecx
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.00583570
pop esi
add esp, 0x208
ret 0xc
xor eax, eax
pop esi
add esp, 0x208
ret 0xc

Function at 0x5851a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8789eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push esi
push edi
lea eax, [esp + 0x7c]
push 0
push eax
push 0x1f4
mov esi, ecx
push 0x29
mov dword [esp + 0x8c], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x20]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
call fcn.00837aae
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
neg eax
sbb eax, eax
push 0
and eax, ecx
push 0
push eax
mov dword [esp + 0x284], 0
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x178]
mov byte [esp + 0x37], al
mov al, byte [esp + 0x170]
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0x3c], al
call fcn.005fc492
mov cl, byte [esp + 0x17b]
mov al, 2
add esp, 8
cmp al, cl
sbb ecx, ecx
neg ecx
mov dword [esp + 0x1c], ecx
jne 0x5852a8
mov edi, dword [esp + 0xc]
lea eax, [esp + 8]
neg eax
sbb eax, eax
push 0
and eax, edi
push 0x5852f0
push 0
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesW]
test eax, eax
jne 0x585296
lea edx, [esp + 0x3c]
push str.Tohama
push edx
jmp 0x5852a0
lea eax, [esp + 0x3c]
push str.MS_Sans_Serif
push eax
call fcn.005fc492
add esp, 8
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esi + 0x74]
call fcn.00837ca2
lea ecx, [esp + 8]
mov dword [esp + 0x278], 0xffffffff
call fcn.00837b20
mov ecx, dword [esp + 0x270]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x274
ret
Function at 0x585750
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x9cf580
jmp 0x585750
push esi
mov esi, ecx
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
mov dword [esi + 0x1c], eax
cmp eax, ecx
je 0x5857d1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsAppThemed
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x1c]
push str.IsThemeActive
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.OpenThemeData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x1c]
push str.CloseThemeData
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x1c]
push str.GetThemeBackgroundContentRect
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.DrawThemeBackground
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 0x1c]
push str.GetThemePartSize
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, esi
pop edi
pop esi
ret
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov eax, esi
pop esi
ret

Function at 0x5871d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push esi
mov esi, ecx
push 0x16
call ebx
cmp eax, 0xffffff
jne 0x5871fa
push 0xf
call ebx
test eax, eax
jne 0x5871fa
mov eax, 1
jmp 0x5871fc
xor eax, eax
push 0x15
mov dword [esi + 0x4c], eax
call ebx
test eax, eax
jne 0x587219
push 0xf
call ebx
cmp eax, 0xffffff
jne 0x587219
mov eax, 1
jmp 0x58721b
xor eax, eax
push 0xf
mov dword [esi + 0x50], eax
call ebx
push 0x15
mov dword [esi], eax
call ebx
push 0x10
mov dword [esi + 4], eax
call ebx
push 0x14
mov dword [esi + 8], eax
call ebx
push 8
mov dword [esi + 0xc], eax
call ebx
mov ecx, dword [esi]
mov dword [esi + 0x1c], eax
test ecx, ecx
mov dword [esi + 0x10], 0xc56a31
mov dword [esi + 0x14], 0xedd3c1
mov dword [esi + 0x18], 0xfffde7
jne 0x587261
mov dword [esi], 0xd8e9ec
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x58726f
mov dword [esi + 4], 0x646f71
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x58727d
mov dword [esi + 8], 0x99a8ac
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x58728b
mov dword [esi + 0xc], 0xffffff
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x58729a
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
jmp 0x5872e3
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x24]
pop edi
cmp eax, 5
jb 0x5872d5
push 0x1a
call ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0xff0000
jmp 0x5872e3
mov dword [esi + 0x20], 0xff0000
mov dword [esi + 0x24], 0xff00ff
push 0
lea ecx, [esp + 0xc]
call fcn.00837aae
mov ecx, dword [esp + 0x10]
push 0xc
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
lea ecx, [esp + 8]
mov dword [esi + 0x54], eax
call fcn.00837b20
pop esi
pop ebx
add esp, 0x128
ret
Function at 0x587ff9
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x878e00
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
call fcn.00831559
test eax, eax
je 0x5880dd
mov eax, dword [esi + 0x58]
xor ebx, ebx
cmp eax, ebx
je 0x58803f
mov eax, dword [esi + 0x1c]
push 1
push ebx
push eax
mov dword [esi + 0x3c], ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
call fcn.00843080
mov ecx, dword [eax + 4]
call fcn.0083197a
lea edx, [esi + 0x5c]
lea ecx, [esp + 8]
push edx
mov dword [esp + 0x1c], ebx
call fcn.00831c58
mov eax, dword [esp + 8]
mov byte [esp + 0x18], 1
cmp dword [eax - 8], ebx
jne 0x588077
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0082e99c
lea edx, [esp + 8]
lea eax, [esi + 0x60]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0083212a
mov eax, dword [eax]
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc]
call fcn.00831eeb
mov edx, dword [esi + 0x1c]
push 1
push ebx
push edx
mov dword [esi + 0x3c], ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 8]
mov byte [esp + 0x18], bl
call fcn.00831eeb
mov dword [esp + 0x18], 0xffffffff
call fcn.00843080
mov ecx, dword [eax + 4]
call fcn.0083198f
mov ecx, dword [esp + 0x10]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x58e1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8795a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
mov edi, dword [esp + 0x9c]
mov ecx, ebp
mov dword [edi], 0
call fcn.00617be0
push 0x25
lea ecx, [esp + 0x14]
call fcn.004b5e30
lea ecx, [esp + 0x18]
mov dword [esp + 0x94], 0
call fcn.004df100
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, 0x9cded8
mov byte [esp + 0x9c], 1
call fcn.004dd4b0
lea ecx, [esp + 0x54]
call fcn.00637470
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.00636d30
cmp eax, 0x24
jbe 0x58e23d
mov edx, dword [esi + 4]
add esi, 0x24
push esi
mov ecx, ebp
mov dword [edi], edx
call fcn.006181a0
lea ecx, [esp + 0x74]
mov byte [esp + 0x94], 5
call fcn.00831eeb
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 4
call fcn.00636c90
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 3
call fcn.00617ec0
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 2
call fcn.0061ebe0
lea eax, [esp + 0x20]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 7
call fcn.00831eeb
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 6
call fcn.00831eeb
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 0
call fcn.004b5e20
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.004b5e20
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x8c
ret 8