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

Disassembly:
push 0xffffffffffffffff
push 0x4431e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
mov eax, dword [0x455460]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x16a
push 0x1d4
push 0
push 0
lea esi, [edi + 0x120]
push esi
call dword [0x4444c4]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call fcn.00415ced
call fcn.0041af02
mov eax, dword [eax + 0xc]
push 0x93
push eax
call dword [0x4444c0]
push eax
lea ecx, [edi + 0x130]
call fcn.0040ff94
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [edi + 0x4fc]
call fcn.00415ced
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x3f1
mov ecx, edi
call fcn.00415b8f
mov ecx, eax
call fcn.00415ced
push 1
push 0xd
push 0xe1
push 0x21
lea esi, [edi + 0x24c]
push 0x5f
mov ecx, esi
call fcn.00415ced
push 0x44a604
lea ecx, [esp + 0x24]
call fcn.00402870
mov dword [esp + 0x30], 0
mov eax, dword [edi + 0xac]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00402390
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.00402d50
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00403300
push 1
push 0xd
push 0x96
push 0x21
lea esi, [edi + 0x2a4]
push 0x128
mov ecx, esi
call fcn.00415ced
push 0x44a614
lea ecx, [esp + 0x20]
call fcn.00402870
mov byte [esp + 0x30], 1
mov eax, dword [edi + 0xb8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00402390
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.00402d50
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00403300
push 1
push 0xd
push 0xe1
push 0x3f
lea esi, [edi + 0x354]
push 0x5f
mov ecx, esi
call fcn.00415ced
push 0x44a624
lea ecx, [esp + 0x1c]
call fcn.00402870
push 0x44a043
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00402870
mov byte [esp + 0x30], 3
mov eax, dword [edi + 0xc0]
cdq
test edx, edx
jg 0x406061
jl 0x40604c
cmp eax, 0x3c
jae 0x406061
push eax
lea eax, [esp + 0x14]
push 0x44a72c
push eax
call fcn.00402b80
add esp, 0xc
jmp 0x40606d
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.00407f90
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00402390
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.00402d50
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00403300
push 1
push 0xd
push 0x96
push 0x3f
lea esi, [edi + 0x2fc]
push 0x128
mov ecx, esi
call fcn.00415ced
push 0x44a634
lea ecx, [esp + 0x18]
call fcn.00402870
mov byte [esp + 0x30], 4
mov eax, dword [edi + 0xbc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402390
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.00402d50
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.00403300
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x3f7
mov ecx, edi
call fcn.00415b8f
mov ecx, eax
call fcn.00415ced
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [edi + 0xc8]
call fcn.00415ced
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x3f0
mov ecx, edi
call fcn.00415b8f
mov ecx, eax
call fcn.00415ced
push 1
push 0x64
push 0xf1
push 0x71
push 0x11
lea ecx, [edi + 0x3ac]
call fcn.00415ced
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x3fa
mov ecx, edi
call fcn.00415b8f
mov ecx, eax
call fcn.00415ced
push 1
push 0x2a
push 0x96
push 0x8f
push 0x11d
lea ecx, [edi + 0x400]
call fcn.00415ced
push 1
push 0xd
push 0x96
push 0xd7
push 0x12c
lea ecx, [edi + 0x4a8]
call fcn.00415ced
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x3f9
mov ecx, edi
call fcn.00415b8f
mov ecx, eax
call fcn.00415ced
push 1
push 0x4b
push 0x12e
push 0xf3
push 0xe
lea ecx, [edi + 0x454]
call fcn.00415ced
push 1
push 0x50
push 0x7a
push 0xef
lea esi, [edi + 0x138]
push 0x149
mov ecx, esi
call fcn.00415ced
call fcn.0040e5f0
mov ecx, esi
call fcn.00415d88
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40624d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406272
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x28
ret