joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed010
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c6820
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esp + 0x28], 0
je 0x4ed0e4
cmp dword [esi], 0
je 0x4ed0e4
call fcn.004ecfa0
test edx, edx
jl 0x4ed0e4
jg 0x4ed063
test eax, eax
jb 0x4ed0e4
mov ecx, esi
call fcn.004ecfa0
mov ecx, esi
mov edi, eax
mov dword [esp + 0x14], edx
call fcn.004ecfa0
xor ecx, ecx
cmp edi, eax
jne 0x4ed0e4
cmp ecx, edx
jne 0x4ed0e4
mov eax, dword [esi]
push eax
call fcn.005808f3
add esp, 4
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x14]
call fcn.004ce390
mov edx, dword [esi]
push edx
push edi
mov edi, dword [esp + 0x18]
push 1
push edi
mov dword [esp + 0x30], 0
call fcn.005779fa
mov ebp, eax
mov eax, dword [esi]
push eax
call fcn.00580812
add esp, 0x14
test eax, eax
je 0x4ed0fb
mov esi, dword [esi + 4]
push esi
push 0
push str.Read_error_on_file__s
call fcn.004d1250
add esp, 8
push eax
call fcn.004e6fa0
push edi
call fcn.00574f18
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 [0x5f09fc]
push ecx
push edx
push edi
lea ecx, [esp + 0x38]
call fcn.004d0620
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x24], 1
call fcn.0040a8ae
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00401017
push edi
call fcn.00574f18
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 0x4ed8b0
Capabilities:
Delete file

Disassembly:
push ecx
call fcn.004ed7d0
test al, al
je 0x4ed8ec
mov eax, dword [esp + 8]
push esi
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, dword [0x67838c]
call fcn.004d79f0
mov eax, dword [eax]
push eax
call fcn.00580994
mov edx, dword [esp + 8]
push edx
mov esi, eax
call fcn.00574f18
add esp, 8
mov eax, esi
pop esi
pop ecx
ret
add esp, 4
jmp fcn.00580964
Function at 0x4edd30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6a09
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x67ff88]
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.004ce530
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.004edcb0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.004edaa0
test al, al
je 0x4eddf8
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.004edb80
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.004cf710
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], bl
cmp eax, 0xffffffff
je 0x4eddeb
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4eddeb
call fcn.004ce2e0
lea ecx, [esp + 0x14]
call fcn.004edaa0
test al, al
jne 0x4eddb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.005146d0
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 0x4edfb0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x5c6a60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x5f09fc]
push eax
push 0
push str.shell32
lea ecx, [esp + 0x1c]
call fcn.004cf3b0
push 2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
call fcn.004ec9d0
cmp dword [esp + 8], 0
jne 0x4ee027
mov edx, dword [esp + 0x10]
push edx
push str.Failed_to_load__s.dll
push str.stdpaths
call fcn.00527c30
add esp, 0xc
mov al, byte [0x67875c]
mov byte [esp + 6], al
mov byte [0x67875c], 0
mov byte [esp + 7], al
mov eax, dword [0x5f09fc]
push eax
push 0
push str.SHGetFolderPath
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.004cf3b0
push 0x57
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x2c], 3
call fcn.004cfa70
add esp, 0xc
push 0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.004ec970
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
mov dword [0x68f620], eax
mov eax, dword [ecx]
mov byte [esp + 0x20], 3
cmp eax, 0xffffffff
je 0x4ee0a4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4ee0a4
call fcn.004ce2e0
cmp dword [0x68f620], 0
jne 0x4ee104
push str.SHGetSpecialFolderPath
lea ecx, [esp + 0x10]
call fcn.004cf4e0
push 0x57
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004cfa70
add esp, 0xc
push 0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call fcn.004ec970
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
mov dword [0x68f624], eax
mov eax, dword [ecx]
mov byte [esp + 0x20], 3
cmp eax, 0xffffffff
je 0x4ee104
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4ee104
call fcn.004ce2e0
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff4
mov byte [0x68f628], 1
mov eax, dword [ecx]
mov byte [esp + 0x20], 2
cmp eax, 0xffffffff
je 0x4ee12a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4ee12a
call fcn.004ce2e0
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
mov byte [0x67875c], dl
mov byte [esp + 0x20], 0
test eax, eax
je 0x4ee152
push eax
call fcn.004ecb20
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 0x4ee175
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4ee175
call fcn.004ce2e0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret
Function at 0x4ee190
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c6ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
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 [0x68f628], bl
jne 0x4ee1ce
call fcn.004edfb0
mov esi, dword [esp + 0x38]
mov eax, dword [section..data]
mov dword [esi], eax
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 1
mov edi, 0x80004005
cmp dword [0x68f620], ebx
je 0x4ee26f
push 0x104
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.004ceec0
mov dword [esp + 0x24], eax
push eax
push ebx
push ebx
push ebp
push ebx
mov dword [esp + 0x44], 1
call dword [0x68f620]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.004cf530
cmp edi, 0x80004005
jne 0x4ee267
push 0x104
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.004ceec0
mov dword [esp + 0x24], eax
push eax
push 1
push ebx
push ebp
push ebx
mov dword [esp + 0x44], 2
call dword [0x68f620]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.004cf530
cmp edi, ebx
jge 0x4ee33e
cmp dword [0x68f624], ebx
je 0x4ee2aa
push 0x104
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.004ceec0
mov dword [esp + 0x24], eax
push ebx
push ebp
push eax
push ebx
mov dword [esp + 0x40], 3
call dword [0x68f624]
mov ecx, esi
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.004cf530
cmp edi, ebx
jge 0x4ee33e
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x4ee33e
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.004edf30
push eax
mov ecx, esi
mov byte [esp + 0x34], 5
call fcn.004cecf0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x30], 4
cmp eax, 0xffffffff
je 0x4ee30e
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x4ee30e
call fcn.004ce2e0
mov byte [esp + 0x30], bl
cmp edi, ebx
je 0x4ee33e
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4ee33e
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 0x4ee360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6b09
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x67ff88]
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.004eaa80
add esp, 4
push 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.004d1280
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x4ee3cd
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4ee3cd
call fcn.004ce2e0
mov esi, dword [esp + 0x40]
push 0
push 1
push esi
lea ecx, [esp + 0x1c]
call fcn.004de380
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 0
call fcn.004d1300
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x4eef90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c6bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x67ff88]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x67ff88]
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 [section..data]
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.004cf4e0
push 0x5c
push 1
mov ecx, esi
call fcn.004cf460
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.0057ac48
add esp, 0x220
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5c70f9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
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.004f0470
mov ecx, esi
call fcn.004f1f60
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4f2004
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 0x4f2023
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4f2023
call fcn.004ce2e0
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 1
cmp eax, 0xffffffff
je 0x4f2042
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4f2042
call fcn.004ce2e0
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
mov byte [esp + 0x14], 0
cmp eax, 0xffffffff
je 0x4f2061
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4f2061
call fcn.004ce2e0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004e53b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4f2e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c72f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x67ff88]
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 0x4f2ed5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4f2ee4
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4f2ef3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004d50d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4f38f0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c73b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.004f37e0
mov esi, dword [esp + 0x34]
test al, al
je 0x4f3a4c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test esi, esi
je 0x4f394a
cmp word [esi], 0
je 0x4f394a
xor eax, eax
jmp 0x4f394f
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 0x4f3a4c
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4f3995
mov ecx, dword [esp + 0x38]
push eax
call fcn.004d0910
jmp 0x4f3a42
mov edi, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.004ceec0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push 0
mov ecx, esi
call fcn.004f3180
push eax
mov eax, dword [ebx]
push eax
call ebp
mov ecx, edi
mov dword [ebx + 0x10], eax
call fcn.004cf530
cmp dword [esp + 0x18], 2
jne 0x4f3a42
cmp byte [esp + 0x3c], 0
jne 0x4f3a42
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 0x4f3a3e
mov ecx, dword [section..data]
mov dword [esp + 0x3c], ecx
push ebp
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
call fcn.004cf320
mov eax, dword [eax + 4]
mov ecx, dword [edi]
push ebp
push eax
push ecx
call esi
mov ecx, dword [esp + 0x1c]
call fcn.004cf530
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.004cecf0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401017
mov esi, dword [esp + 0x34]
cmp dword [ebx + 0x10], 0
jne 0x4f3a4c
mov al, 1
jmp 0x4f3a84
call fcn.004d8e80
test eax, eax
je 0x4f3a69
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 0x4f3a6e
mov edi, str.Cant_read_value_of__s
push ebx
call fcn.004f3620
mov ecx, dword [ebx + 0x10]
push eax
push edi
push ecx
call fcn.004e6f60
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 0x4f8f50
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x5c7a48
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.004f8dc0
test al, al
jne 0x4f8f93
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.004e85f0
mov ecx, dword [esp + 0x60]
add esp, 4
mov dword [0x679670], ecx
push 0
lea ecx, [esp + 0x14]
call fcn.004ce530
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4f8ff2
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004d18b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call fcn.004d0580
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 0
call fcn.004cf1e0
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.0057365e
mov edi, eax
mov eax, dword [esp + 0x10]
add esp, 4
xor esi, esi
test eax, eax
jle 0x4f903c
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
push eax
call fcn.0057b67c
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x10]
inc esi
add esp, 4
cmp esi, eax
jl 0x4f9020
mov dword [edi + eax*4], 0
mov ecx, dword [esp + 0xc]
push edi
push ecx
lea edx, [esp + 0x38]
push 0x4f8e40
push edx
call fcn.004f8f20
lea eax, [esp + 0x1c]
push edi
push eax
mov byte [esp + 0x60], 2
call fcn.004e86e0
lea ecx, [esp + 0x48]
push ecx
mov esi, eax
mov byte [esp + 0x64], 0
call fcn.004f8e70
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.004cf1e0
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 0x4f99e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c7b10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x679700]
cmp eax, 0xffffffff
jne 0x4f9bae
mov al, byte [0x67875c]
xor ebx, ebx
mov dword [0x679700], ebx
mov byte [esp + 0xe], al
mov byte [0x67875c], bl
mov byte [esp + 0xf], al
mov eax, dword [0x5f09fc]
push eax
push ebx
push str.comctl32.dll
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
call fcn.004cf3b0
push 0x68
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov dword [esp + 0x18], ebx
call fcn.004ec9d0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x4f9a80
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x4f9a80
call fcn.004ce2e0
cmp dword [esp + 0x10], ebx
jne 0x4f9a93
mov dword [0x679700], ebx
xor eax, eax
jmp 0x4f9ba4
mov eax, dword [0x5f09fc]
push eax
push ebx
push str.DllGetVersion
lea ecx, [esp + 0x24]
call fcn.004cf3b0
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004ec970
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x4f9add
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x4f9add
call fcn.004ce2e0
cmp esi, ebx
je 0x4f9b06
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x14
call esi
cmp eax, ebx
jl 0x4f9b06
mov eax, dword [esp + 0x20]
imul eax, eax, 0x64
add eax, dword [esp + 0x24]
mov dword [0x679700], eax
jmp 0x4f9b0b
mov eax, dword [0x679700]
cmp eax, ebx
jne 0x4f9ba4
push str.InitCommonControlsEx
lea ecx, [esp + 0x1c]
call fcn.004032b0
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 5
call fcn.004ec970
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff4
mov esi, eax
mov eax, dword [ecx]
mov byte [esp + 0x38], 3
cmp eax, 0xffffffff
je 0x4f9b56
dec eax
mov dword [ecx], eax
cmp eax, ebx
jne 0x4f9b56
call fcn.004ce2e0
cmp esi, ebx
jne 0x4f9b61
mov eax, 0x190
jmp 0x4f9b9f
push str.InitializeFlatSB
lea ecx, [esp + 0x1c]
call fcn.004032b0
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 6
call fcn.004ec970
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 [0x679700], eax
mov dl, byte [esp + 0xe]
mov byte [0x67875c], dl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x4fa540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c7da5
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
push esi
mov eax, dword [0x67ff88]
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 [section..data]
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.00533460
lea ecx, [esp + 0x18]
mov dword [esp + 0x1cc], 1
call fcn.0052c460
cmp eax, 0x13ec
jne 0x4fa643
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
call fcn.00565a40
push eax
mov ecx, esi
mov byte [esp + 0x1d0], 2
call fcn.004cecf0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x1cc], 1
cmp eax, 0xffffffff
je 0x4fa643
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4fa643
call fcn.004ce2e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1cc], 0
call fcn.004fa000
mov eax, esi
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c8
ret
Function at 0x4fe0b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5c81b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push 0x100
call fcn.004eacb0
push 4
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.00576906
add esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
call fcn.004fdf80
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.004fb920
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x556ba0
push ecx
push edx
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.004eace0
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0
call fcn.00574f18
add esp, 0x10
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret 0x18