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

Disassembly:
push 0xffffffffffffffff
push 0x4e13f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x28], 0
mov dword [esi], 0x41c6a8
call fcn.004ca341
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x14], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x4e1466
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x418664
or edi, 0xffffffff
xor ebx, ebx
mov eax, 0x418684
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 4], eax
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 1
call fcn.0044b9a0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3d], bl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x431810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1cf1
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 2
lea ecx, [esp + 0x50]
call fcn.00430f60
mov eax, dword [esp + 0xd8]
xor ebx, ebx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd4], ebx
call fcn.00431370
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0042e240
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0042b580
mov dword [esp + 0xc], 0x41c480
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0xdc], 2
call fcn.0042afe0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 0x41c480
jb 0x4318d3
mov eax, dword [esp + 0x14]
push eax
call fcn.004cada5
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4318f7
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004cada5
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0xd0], 0xffffffff
call fcn.0042a0e0
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], 0x41c690
call fcn.004ca827
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc8
ret 4
Function at 0x435e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e24b8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], 0x418d24
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov eax, 0x41881c
mov dword [esp + 0x74], ebx
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435eb1
sub eax, esi
push eax
push 0x41881c
lea ecx, [esp + 0x58]
call fcn.0042bda0
mov edi, 0x41c480
mov dword [esp + 0x4c], edi
mov eax, 0x4187f0
mov byte [esp + 0x74], 1
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435ef0
sub eax, esi
push eax
push 0x4187f0
lea ecx, [esp + 0x38]
call fcn.0042bda0
mov dword [esp + 0x2c], edi
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x84], 2
call fcn.00434e20
mov esi, 0x10
add esp, 0x10
mov byte [esp + 0x13], al
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x48], esi
jb 0x435f4c
mov eax, dword [esp + 0x34]
push eax
call fcn.004cada5
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x74], bl
mov dword [esp + 0x4c], edi
cmp dword [esp + 0x68], esi
jb 0x435f77
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004cada5
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x435f9b
lea ecx, [esp + 0x14]
call fcn.0042a080
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x68
ret
call fcn.00435c40
mov dword [eax], 0x4c0790
mov dword [eax + 4], fcn.004c0740
mov dword [eax + 8], fcn.004c1280
mov dword [eax + 0xc], 0x4c1620
mov dword [eax + 0x10], 0x4c1dc0
mov dword [eax + 0x14], fcn.004bfd90
mov dword [eax + 0x18], 0x4c2a90
mov dword [eax + 0x1c], 0x4bfd70
mov dword [eax + 0x20], fcn.004c0960
mov dword [eax + 0x24], 0x4bfd80
mov dword [eax + 0x28], 0x4c1b90
mov dword [eax + 0x2c], 0x4c0070
mov dword [eax + 0x30], 0x4c0480
mov dword [eax + 0x34], 0x4bf770
mov dword [eax + 0x38], 0x4bf360
mov byte [eax + 0x3c], 1
call fcn.004bf2b0
lea ecx, [esp + 0x14]
call fcn.0042a080
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x68
ret
Function at 0x43c710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2bdb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x18], edi
call fcn.0043c270
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x43c754
push eax
call fcn.004cada5
add esp, 4
mov eax, dword [esi + 0x24]
push eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.004cada5
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x445660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1cf1
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 2
lea ecx, [esp + 0x50]
call fcn.00430f60
mov eax, dword [esp + 0xd8]
xor ebx, ebx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xd4], ebx
call fcn.00445510
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0042e240
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xdc], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0042b580
mov dword [esp + 0xc], 0x41c480
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 4]
mov byte [esp + 0xdc], 2
call fcn.0042afe0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 0x41c480
jb 0x445723
mov eax, dword [esp + 0x14]
push eax
call fcn.004cada5
add esp, 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x445747
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004cada5
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0xd0], 0xffffffff
call fcn.0042a0e0
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], 0x41c690
call fcn.004ca827
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc8
ret 4

Function at 0x4470c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e40b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, ecx
call fcn.0046ea40
push edi
lea ecx, [esp + 0x10]
call fcn.0046e330
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0046e620
mov eax, dword [esi + 0x18]
test eax, eax
je 0x447136
cmp dword [esi + 0x1c], 0x10
jb 0x44712b
mov ecx, dword [esi + 8]
jmp 0x44712e
lea ecx, [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004a5ea0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x30
ret 0x10
Function at 0x44e9b0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4e4510
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x411568]
mov ecx, dword [0x411564]
push eax
push ecx
mov ecx, esi
call fcn.00470ee0
cmp dword [0x411554], 0
je 0x44ea26
push 0x10
push 0xc
mov ecx, esi
call fcn.00470fb0
mov ecx, dword [0x411554]
mov edx, dword [ecx]
mov dword [eax + 4], edx
movzx edx, word [ecx + 4]
mov word [eax + 8], dx
movzx edx, word [ecx + 6]
mov word [eax + 0xa], dx
mov edx, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [0x411550]
test eax, eax
je 0x44ea73
push eax
lea ecx, [esp + 0x20]
call fcn.0042e060
lea edx, [esp + 0x1c]
push edx
push 8
mov ecx, esi
mov dword [esp + 0x6c], 0
call fcn.004710e0
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x1c], 0x41c480
jb 0x44ea73
mov eax, dword [esp + 0x24]
push eax
call fcn.004cada5
add esp, 4
push 8
push 9
mov ecx, esi
call fcn.00470fb0
movzx ecx, word [0x411558]
mov word [eax + 4], cx
movzx edx, word [0x41155a]
mov word [eax + 6], dx
movzx ecx, word [0x41155c]
mov word [eax + 8], cx
movzx edx, word [0x41155e]
push 8
push 0x102
mov ecx, esi
mov word [eax + 0xa], dx
call fcn.00470fb0
push 4
add eax, 4
push 0x108
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00470fb0
push 4
add eax, 4
push 0xa
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00470fb0
mov edi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.00473220
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
mov dword [esp + 0x68], 1
call fcn.00471c90
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004af1d0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov ax, word [esp + 0x18]
add ecx, 0xffffffc4
shl edx, 6
or edx, dword [esp + 0x16]
shl ecx, 4
or ecx, dword [esp + 0xe]
shr ax, 1
shl edx, 5
or dx, ax
shl ecx, 5
or ecx, dword [esp + 0x12]
movzx eax, dx
mov word [edi + 4], cx
mov word [edi + 6], ax
test byte [0x41154c], 4
je 0x44eb67
push 4
push 0x104
mov ecx, esi
call fcn.00470fb0
add eax, 4
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x5c
ret
Function at 0x44f560
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e45d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [esi + 4]
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0xf
push eax
mov byte [ecx + 4], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 1
call fcn.0042b580
mov ecx, dword [esp + 0x44]
mov dword [esi], 0x41c480
mov dword [esi + 0x20], ecx
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x24], 0x41c480
jb 0x44f5e0
mov edx, dword [esp + 0x2c]
push edx
call fcn.004cada5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x453f60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e4ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, ecx
push eax
lea ecx, [esp + 0x54]
call fcn.0046e330
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], 0
mov ebx, 0x10
test eax, eax
je 0x453fcf
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x453fc7
lea ecx, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call fcn.0046f3f0
mov byte [esp + 0x7c], 1
test eax, eax
je 0x453fed
lea esi, [eax + 4]
jmp 0x453fef
xor esi, esi
push 1
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0046f3f0
mov byte [esp + 0x7c], 2
test eax, eax
je 0x45400b
lea ecx, [eax + 4]
jmp 0x45400d
xor ecx, ecx
mov edx, dword [esi + 0x14]
cmp dword [esi + 0x18], ebx
jb 0x45401a
mov eax, dword [esi + 4]
jmp 0x45401d
lea eax, [esi + 4]
push edx
mov edx, dword [ecx + 0x14]
push eax
push edx
push 0
call fcn.004295b0
test eax, eax
lea ecx, [esp + 0x10]
sete bl
mov byte [esp + 0x7c], 1
call fcn.004a5ea0
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
call fcn.004a5ea0
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004a5ea0
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x70
ret 4

Function at 0x458080
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x4e4ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
test esi, esi
je 0x45817a
mov ebp, dword [esp + 0x48]
cmp dword [ebp + 0x18], 0
je 0x45817a
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push esi
call ebx
test eax, eax
jne 0x45817a
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x45817a
mov edi, dword [esi + 0x3c]
push pe_nt_image_headers32
add edi, esi
push edi
call ebx
test eax, eax
jne 0x45817a
cmp dword [edi], 0x4550
jne 0x45817a
mov edi, dword [edi + 0x80]
test edi, edi
je 0x458182
mov eax, dword [edi + esi + 0xc]
add edi, esi
mov dword [esp + 0x44], edi
test eax, eax
je 0x45816d
add eax, esi
push eax
lea ecx, [esp + 0x18]
call fcn.0042e060
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], 0
call fcn.00457a30
test eax, eax
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x3c], 0xffffffff
call fcn.00447570
test bl, bl
je 0x45815f
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
call fcn.00458040
mov eax, dword [edi + 0x20]
add edi, 0x14
mov dword [esp + 0x44], edi
test eax, eax
jne 0x458117
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x18], 0
setne al
jmp 0x458184
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x45cb70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5518
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.0046d7f0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0
call fcn.0046e7b0
push 0x418a94
lea ecx, [esp + 0x30]
call fcn.0046e8a0
push 1
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0046f3f0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.0046e620
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 0
call fcn.004a5ea0
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x45cc08
lea eax, [esp + 0x34]
push eax
call fcn.004b1db0
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x45cc51
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0046ed30
cmp dword [eax + 0x1c], 0x10
mov byte [esp + 0x58], 2
jb 0x45cc34
mov eax, dword [eax + 8]
jmp 0x45cc37
add eax, 8
push eax
call fcn.004b1db0
add esp, 4
lea ecx, [esp + 0xc]
mov dword [edi + 4], eax
mov byte [esp + 0x58], 0
call fcn.004a5ea0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.004a5ea0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x50
ret 4

Function at 0x45d160
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e5668
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x41c480
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x80], ebx
call fcn.0045d010
lea ecx, [esp + 0x4c]
call fcn.0046d7f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.0046ea40
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0046dff0
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 2
call fcn.0046e620
lea ecx, [esp + 0xc]
mov byte [esp + 0x78], 1
call fcn.004a5ea0
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0045cb70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], bl
call fcn.004a5ea0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x41c480
jb 0x45d240
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004cada5
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x70
ret 4
Function at 0x45d260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e56be
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x41c480
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0xa0], ebx
call fcn.0045d010
call fcn.00432510
add eax, 8
push eax
lea ecx, [esp + 0x70]
call fcn.0046dff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 1
call fcn.0046d7f0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c], 2
call fcn.0046e4a0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 3
call fcn.0046d610
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 2
call fcn.004a5ea0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x10]
call fcn.0046dff0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 4
call fcn.0046e620
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 2
call fcn.004a5ea0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.0045cb70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 1
call fcn.004a5ea0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], bl
call fcn.004a5ea0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x41c480
jb 0x45d3a8
mov edx, dword [esp + 0x34]
push edx
call fcn.004cada5
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x90
ret 4
Function at 0x45f720
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x134
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x144]
push ebp
mov ebp, dword [esp + 0x140]
push esi
push edi
mov esi, ecx
push eax
lea edi, [esi + 0x4e8]
push ebp
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.004299f0
test eax, eax
jne 0x45f76d
xor al, al
jmp 0x45f854
cmp dword [edi + 8], 0
mov eax, dword [esi + 0x4f0]
je 0x45f77e
mov edi, dword [edi + 4]
jmp 0x45f780
xor edi, edi
mov ecx, dword [ebx]
push ecx
push eax
push edi
mov ecx, esi
call fcn.004bd840
test al, al
je 0x45f766
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 0x5f5e100
push edx
push eax
call fcn.004ccdb0
lea ecx, [esp + 0x3c]
push ecx
push 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x53], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp + 0x24]
xor eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, eax
xor eax, dword [esp + 0x18]
push 0xffffffffffffffff
xor eax, edx
xor ecx, edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.004ba3b0
cmp byte [esp + 0x154], 0
mov bl, al
je 0x45f852
mov ecx, dword [esp + 0x14c]
push ecx
add esi, 0x2d0
push ebp
mov ecx, esi
call fcn.0046f7d0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0046f920
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov al, bl
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cb3aa
add esp, 0x134
ret 0x10