Function at 0x473cb0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d0aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
call fcn.00435140
mov dword [esp + 0x28], 0
mov dword [edi], 0x5e6088
call fcn.00401020
mov eax, dword [eax + 4]
lea esi, [edi + 8]
push 1
push 0x6093ec
mov ecx, esi
mov dword [edi + 4], eax
call fcn.005585e0
lea ebp, [edi + 0xc]
push 1
push 0x60b780
mov ecx, ebp
call fcn.005585e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.00558070
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.00412ba0
lea ecx, [esp + 0x14]
call fcn.005581a0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebp
call fcn.00558070
mov ecx, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
call fcn.00412c20
lea ecx, [esp + 0x14]
call fcn.005581a0
push 3
push 0x609404
lea ecx, [edi + 0x64]
call fcn.00558600
lea ecx, [esp + 0x10]
call fcn.00558060
push 1
push 0x60aa24
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00558600
mov eax, dword [edi + 0x78]
lea esi, [edi + 0x70]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x60aa20
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x619c10
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x60aa14
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60b778
call fcn.00558100
lea ecx, [edi + 0x84]
call fcn.00558390
lea esi, [edi + 0x68]
push 2
push 0x60aa08
mov ecx, esi
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.00558070
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
call fcn.00412ca0
lea ecx, [esp + 0x14]
call fcn.005581a0
push 2
push 0x60aa08
lea ecx, [edi + 0x6c]
call fcn.00558600
mov ebx, 4
lea ecx, [esp + 0x10]
push ebx
push 0x60aa00
call fcn.00558600
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x54]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60b770
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60b768
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60b760
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov ebp, eax
sar edx, 2
cmp edx, 1
jae 0x473fb2
mov edx, dword [esi + 4]
test edx, edx
je 0x473f07
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x473f0c
mov ecx, 1
test edx, edx
jne 0x473f14
xor eax, eax
jmp 0x473f19
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x18], eax
jge 0x473f25
xor eax, eax
shl eax, 2
push eax
call fcn.005bcf2f
mov ecx, dword [esi + 4]
add esp, 4
mov ebx, eax
push ebx
push ebp
push ecx
mov ecx, esi
call fcn.00402d20
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x20], eax
call fcn.00402d60
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push ebp
mov ecx, esi
call fcn.00402d20
mov eax, dword [esi + 8]
mov ebp, dword [esi + 4]
cmp ebp, eax
mov dword [esp + 0x14], eax
je 0x473f89
push 0
mov ecx, ebp
call fcn.00406c10
mov eax, dword [esp + 0x14]
add ebp, 4
cmp ebp, eax
jne 0x473f75
mov eax, dword [esi + 4]
push eax
call fcn.005bc500
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, esi
lea eax, [ebx + edx*4]
mov dword [esi + 0xc], eax
call fcn.0056e680
lea ecx, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
jmp 0x47402e
mov edx, eax
sub edx, ebp
sar edx, 2
cmp edx, 1
jae 0x473ffe
lea ecx, [ebp + 4]
push ecx
push eax
push ebp
mov ecx, esi
call fcn.00402d20
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, ebp
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00402d60
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
call fcn.00402d90
add esp, 0xc
jmp 0x47402b
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00402d20
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push ebp
call fcn.00402dd0
lea edx, [esp + 0x1c]
lea eax, [ebp + 4]
push edx
push eax
push ebp
call fcn.00402d90
add esp, 0x18
add dword [esi + 8], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.005581a0
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret