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

Disassembly:
push 0xffffffffffffffff
push 0x55d959
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x5e9844]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 8], eax
mov edx, dword [esp + 0x28]
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
mov byte [esp + 0x30], 2
call fcn.0046f560
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
mov esi, dword [esp + 0x38]
add esp, 0x14
test eax, eax
jne 0x47cf19
mov eax, dword [0x5e9844]
mov dword [esi], eax
jmp 0x47cf27
mov dword [esi], ecx
mov eax, dword [ecx - 0xc]
cmp eax, 0xffffffff
je 0x47cf27
inc eax
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 8]
cmp dword [ecx - 8], 0
mov dword [esp + 0x10], 1
je 0x47cf55
push 0x2e
push 1
mov ecx, esi
call fcn.0045fc10
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
push eax
push ecx
push eax
mov ecx, esi
call fcn.00460080
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x1c], 1
cmp eax, 0xffffffff
je 0x47cf75
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47cf75
call fcn.0045ea90
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x1c], 0
cmp eax, 0xffffffff
je 0x47cf95
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47cf95
call fcn.0045ea90
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x47d3a0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x47d41e
mov eax, dword [esi]
test eax, eax
je 0x47d41e
push ebx
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push ecx
call fcn.0050800a
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jae 0x47d416
mov eax, dword [esi]
push eax
call fcn.00511643
add esp, 4
test eax, eax
je 0x47d416
mov esi, dword [esi + 4]
call fcn.00469590
test eax, eax
je 0x47d407
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Read_error_on_file__s
call eax
push esi
push eax
call fcn.004776b0
add esp, 8
pop edi
mov eax, ebx
pop ebx
pop esi
ret 8
mov eax, str.Read_error_on_file__s
push esi
push eax
call fcn.004776b0
add esp, 8
pop edi
mov eax, ebx
pop ebx
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x47d430
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x47d49f
mov eax, dword [edi]
test eax, eax
je 0x47d49f
push ebx
push esi
mov esi, dword [esp + 0x14]
push eax
push esi
push 1
push ecx
call fcn.005099d3
mov ebx, eax
add esp, 0x10
cmp ebx, esi
jae 0x47d497
mov edi, dword [edi + 4]
call fcn.00469590
test eax, eax
je 0x47d488
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Write_error_on_file__s
call eax
push edi
push eax
call fcn.004776b0
add esp, 8
pop esi
mov eax, ebx
pop ebx
pop edi
ret 8
mov eax, str.Write_error_on_file__s
push edi
push eax
call fcn.004776b0
add esp, 8
pop esi
mov eax, ebx
pop ebx
pop edi
ret 8
xor eax, eax
pop edi
ret 8
Function at 0x47d740
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55d9c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esp + 0x28], 0
je 0x47d814
cmp dword [esi], 0
je 0x47d814
call fcn.0047d6d0
test edx, edx
jl 0x47d814
jg 0x47d793
test eax, eax
jb 0x47d814
mov ecx, esi
call fcn.0047d6d0
mov ecx, esi
mov edi, eax
mov dword [esp + 0x14], edx
call fcn.0047d6d0
xor ecx, ecx
cmp edi, eax
jne 0x47d814
cmp ecx, edx
jne 0x47d814
mov eax, dword [esi]
push eax
call fcn.00511724
add esp, 4
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045eb40
mov edx, dword [esi]
push edx
push edi
mov edi, dword [esp + 0x18]
push 1
push edi
mov dword [esp + 0x30], 0
call fcn.0050800a
mov ebp, eax
mov eax, dword [esi]
push eax
call fcn.00511643
add esp, 0x14
test eax, eax
je 0x47d82b
mov esi, dword [esi + 4]
push esi
push 0
push str.Read_error_on_file__s
call fcn.00461a40
add esp, 8
push eax
call fcn.004776b0
push edi
call fcn.005053fb
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
mov edx, dword [esp + 0x2c]
mov byte [edi + ebp], 0
mov ecx, dword [0x576324]
push ecx
push edx
push edi
lea ecx, [esp + 0x38]
call fcn.00460e20
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x24], 1
call fcn.0040ab33
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00401017
push edi
call fcn.005053fb
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8

Function at 0x47dfe0
Capabilities:
Delete file

Disassembly:
push ecx
call fcn.0047df00
test al, al
je 0x47e01c
mov eax, dword [esp + 8]
push esi
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [0x5e9bcc]
call fcn.00468120
mov eax, dword [eax]
push eax
call fcn.00511795
mov edx, dword [esp + 8]
push edx
mov esi, eax
call fcn.005053fb
add esp, 8
mov eax, esi
pop esi
pop ecx
ret
add esp, 4
jmp fcn.0050a1b7
Function at 0x47e460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55dba9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x40]
push 0
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0045ece0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
mov ebx, 1
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], ebx
call fcn.0047e3e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.0047e1d0
test al, al
je 0x47e528
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.0047e2b0
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.0045fec0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], bl
cmp eax, 0xffffffff
je 0x47e51b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47e51b
call fcn.0045ea90
lea ecx, [esp + 0x14]
call fcn.0047e1d0
test al, al
jne 0x47e4e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.004a4cb0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x47e6e0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x55dc00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x576324]
push eax
push 0
push str.shell32
lea ecx, [esp + 0x1c]
call fcn.0045fb60
push 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
call fcn.0047d100
cmp dword [esp + 8], 0
jne 0x47e757
mov edx, dword [esp + 0x10]
push edx
push str.Failed_to_load__s.dll
push str.stdpaths
call fcn.004adb70
add esp, 0xc
mov al, byte [0x5e9f9c]
mov byte [esp + 6], al
mov byte [0x5e9f9c], 0
mov byte [esp + 7], al
mov eax, dword [0x576324]
push eax
push 0
push str.SHGetFolderPath
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.0045fb60
push 0x57
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x2c], 3
call fcn.00460220
add esp, 0xc
push 0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0047d0a0
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
mov dword [0x5fbff0], eax
mov eax, dword [ecx]
mov byte [esp + 0x20], 3
cmp eax, 0xffffffff
je 0x47e7d4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47e7d4
call fcn.0045ea90
cmp dword [0x5fbff0], 0
jne 0x47e834
push str.SHGetSpecialFolderPath
lea ecx, [esp + 0x10]
call fcn.0045fc90
push 0x57
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00460220
add esp, 0xc
push 0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call fcn.0047d0a0
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
mov dword [0x5fbff4], eax
mov eax, dword [ecx]
mov byte [esp + 0x20], 3
cmp eax, 0xffffffff
je 0x47e834
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47e834
call fcn.0045ea90
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff4
mov byte [0x5fbff8], 1
mov eax, dword [ecx]
mov byte [esp + 0x20], 2
cmp eax, 0xffffffff
je 0x47e85a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47e85a
call fcn.0045ea90
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
mov byte [0x5e9f9c], dl
mov byte [esp + 0x20], 0
test eax, eax
je 0x47e882
push eax
call fcn.0047d250
add esp, 4
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0xffffffff
je 0x47e8a5
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47e8a5
call fcn.0045ea90
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret
Function at 0x47e8c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x55dc61
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
cmp byte [0x5fbff8], bl
jne 0x47e8fe
call fcn.0047e6e0
mov esi, dword [esp + 0x38]
mov eax, dword [0x5e9844]
mov dword [esi], eax
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 1
mov edi, 0x80004005
cmp dword [0x5fbff0], ebx
je 0x47e99f
push 0x104
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0045f670
mov dword [esp + 0x24], eax
push eax
push ebx
push ebx
push ebp
push ebx
mov dword [esp + 0x44], 1
call dword [0x5fbff0]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.0045fce0
cmp edi, 0x80004005
jne 0x47e997
push 0x104
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0045f670
mov dword [esp + 0x24], eax
push eax
push 1
push ebx
push ebp
push ebx
mov dword [esp + 0x44], 2
call dword [0x5fbff0]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.0045fce0
cmp edi, ebx
jge 0x47ea6e
cmp dword [0x5fbff4], ebx
je 0x47e9da
push 0x104
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0045f670
mov dword [esp + 0x24], eax
push ebx
push ebp
push eax
push ebx
mov dword [esp + 0x40], 3
call dword [0x5fbff4]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.0045fce0
cmp edi, ebx
jge 0x47ea6e
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x47ea6e
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 4
call fcn.0047e660
push eax
mov ecx, esi
mov byte [esp + 0x34], 5
call fcn.0045f4a0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x30], 4
cmp eax, 0xffffffff
je 0x47ea3e
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x47ea3e
call fcn.0045ea90
mov byte [esp + 0x30], bl
cmp edi, ebx
je 0x47ea6e
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47ea6e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push edi
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x47ea90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55dca9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x10], 0
call fcn.0047b1b0
add esp, 4
push 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.00461a70
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x47eafd
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x47eafd
call fcn.0045ea90
mov esi, dword [esp + 0x40]
push 0
push 1
push esi
lea ecx, [esp + 0x1c]
call fcn.0046ea90
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.00461af0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x47f6d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x55dd92
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5f168c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
xor eax, eax
mov dword [esp + 8], eax
mov ecx, dword [0x5e9844]
mov dword [esp + 0xc], esi
mov dword [esi], ecx
push 0x104
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x22c], eax
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0045fc90
push 0x5c
push 1
mov ecx, esi
call fcn.0045fc10
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0050a9d0
add esp, 0x220
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x55e2b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.wxFileConfig.0
push 0
mov dword [esp + 0x18], 3
call fcn.00480bb0
mov ecx, esi
call fcn.004826a0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x482744
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 1
call edx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 2
cmp eax, 0xffffffff
je 0x482763
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x482763
call fcn.0045ea90
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 1
cmp eax, 0xffffffff
je 0x482782
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x482782
call fcn.0045ea90
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 0
cmp eax, 0xffffffff
je 0x4827a1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4827a1
call fcn.0045ea90
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00475ac0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4835d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55e4e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.wxProcess.0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x483615
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x483624
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x483633
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004657f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x484030
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x55e578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.00483f20
mov esi, dword [esp + 0x34]
test al, al
je 0x48418c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test esi, esi
je 0x48408a
cmp word [esi], 0
je 0x48408a
xor eax, eax
jmp 0x48408f
mov eax, 1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
xor ecx, ecx
test al, al
setne cl
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebx]
push 0
dec ecx
and ecx, esi
push ecx
push edx
call ebp
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x48418c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4840d5
mov ecx, dword [esp + 0x38]
push eax
call fcn.00461110
jmp 0x484182
mov edi, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.0045f670
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push 0
mov ecx, esi
call fcn.004838c0
push eax
mov eax, dword [ebx]
push eax
call ebp
mov ecx, edi
mov dword [ebx + 0x10], eax
call fcn.0045fce0
cmp dword [esp + 0x18], 2
jne 0x484182
cmp byte [esp + 0x3c], 0
jne 0x484182
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call esi
mov ebp, eax
test ebp, ebp
setne al
test al, al
je 0x48417e
mov ecx, dword [0x5e9844]
mov dword [esp + 0x3c], ecx
push ebp
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
call fcn.0045fad0
mov eax, dword [eax + 4]
mov ecx, dword [edi]
push ebp
push eax
push ecx
call esi
mov ecx, dword [esp + 0x1c]
call fcn.0045fce0
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.0045f4a0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401017
mov esi, dword [esp + 0x34]
cmp dword [ebx + 0x10], 0
jne 0x48418c
mov al, 1
jmp 0x4841c4
call fcn.00469590
test eax, eax
je 0x4841a9
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Cant_read_value_of__s
call eax
mov edi, eax
jmp 0x4841ae
mov edi, str.Cant_read_value_of__s
push ebx
call fcn.00483d60
mov ecx, dword [ebx + 0x10]
push eax
push edi
push ecx
call fcn.00477670
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x489cb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55ede5
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x1d4]
mov eax, dword [0x5e9844]
mov dword [esi], eax
mov ecx, dword [esp + 0x1e8]
mov edx, dword [esp + 0x1ec]
xor eax, eax
cmp byte [esp + 0x1f0], al
mov dword [esp + 0x10], ecx
setne al
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 0x1d0], 0
add eax, 0x14
push eax
mov eax, dword [esp + 0x1e4]
push edx
mov edx, dword [esp + 0x1f0]
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 1
call fcn.004c3520
lea ecx, [esp + 0x18]
mov dword [esp + 0x1cc], 1
call fcn.004bcb40
cmp eax, 0x13ec
jne 0x489db3
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00489a30
push eax
mov ecx, esi
mov byte [esp + 0x1d0], 2
call fcn.0045f4a0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x1cc], 1
cmp eax, 0xffffffff
je 0x489db3
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x489db3
call fcn.0045ea90
lea ecx, [esp + 0x18]
mov byte [esp + 0x1cc], 0
call fcn.00489730
mov eax, esi
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c8
ret
Function at 0x48a160
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x55eeb8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.00489fd0
test al, al
jne 0x48a1a3
or eax, 0xffffffff
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret
mov eax, dword [esp + 0x50]
push eax
call fcn.00478d20
mov ecx, dword [esp + 0x60]
add esp, 4
mov dword [0x5eaf28], ecx
push 0
lea ecx, [esp + 0x14]
call fcn.0045ece0
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x48a202
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00462050
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call fcn.00460d80
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.0045f990
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00503d0c
mov edi, eax
mov eax, dword [esp + 0x10]
add esp, 4
xor esi, esi
test eax, eax
jle 0x48a24c
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
push eax
call fcn.0050ceec
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x10]
inc esi
add esp, 4
cmp esi, eax
jl 0x48a230
mov dword [edi + eax*4], 0
mov ecx, dword [esp + 0xc]
push edi
push ecx
lea edx, [esp + 0x38]
push 0x48a050
push edx
call fcn.0048a130
lea eax, [esp + 0x1c]
push edi
push eax
mov byte [esp + 0x60], 2
call fcn.00478e10
lea ecx, [esp + 0x48]
push ecx
mov esi, eax
mov byte [esp + 0x64], 0
call fcn.0048a080
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.0045f990
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret
Function at 0x48ac10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x55ef80
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x5eafb8]
cmp eax, 0xffffffff
jne 0x48adde
mov al, byte [0x5e9f9c]
xor ebx, ebx
mov dword [0x5eafb8], ebx
mov byte [esp + 0xe], al
mov byte [0x5e9f9c], bl
mov byte [esp + 0xf], al
mov eax, dword [0x576324]
push eax
push ebx
push str.comctl32.dll
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
call fcn.0045fb60
push 0x68
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov dword [esp + 0x18], ebx
call fcn.0047d100
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x48acb0
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x48acb0
call fcn.0045ea90
cmp dword [esp + 0x10], ebx
jne 0x48acc3
mov dword [0x5eafb8], ebx
xor eax, eax
jmp 0x48add4
mov eax, dword [0x576324]
push eax
push ebx
push str.DllGetVersion
lea ecx, [esp + 0x24]
call fcn.0045fb60
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0047d0a0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x48ad0d
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x48ad0d
call fcn.0045ea90
cmp esi, ebx
je 0x48ad36
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x14
call esi
cmp eax, ebx
jl 0x48ad36
mov eax, dword [esp + 0x20]
imul eax, eax, 0x64
add eax, dword [esp + 0x24]
mov dword [0x5eafb8], eax
jmp 0x48ad3b
mov eax, dword [0x5eafb8]
cmp eax, ebx
jne 0x48add4
push str.InitCommonControlsEx
lea ecx, [esp + 0x1c]
call fcn.00403311
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 5
call fcn.0047d0a0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x48ad86
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x48ad86
call fcn.0045ea90
cmp esi, ebx
jne 0x48ad91
mov eax, 0x190
jmp 0x48adcf
push str.InitializeFlatSB
lea ecx, [esp + 0x1c]
call fcn.00403311
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 6
call fcn.0047d0a0
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x38], 3
call fcn.00401017
xor eax, eax
cmp esi, ebx
setne al
add eax, 0x1d6
mov dword [0x5eafb8], eax
mov dl, byte [esp + 0xe]
mov byte [0x5e9f9c], dl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret