Function at 0x402f80
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463956
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov ebx, dword [esi + 0xbc]
mov eax, dword [esi + 0xc]
imul ebx, dword [esi + 0xcc]
cmp eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
je 0x402fec
push edi
push 0x47f458
push eax
call fcn.00420ad3
mov eax, dword [esi + 0xc]
push eax
call fcn.00420a56
add esp, 0x10
mov dword [esi + 0xc], edi
cmp dword [esi + 0xbc], edi
jle 0x403026
lea ebp, [ebx*8]
push ebp
call fcn.00436ca8
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x128], edi
je 0x403592
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
call fcn.004096f0
test eax, eax
jne 0x403044
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x40]
lea edi, [esi + 0x64]
push edi
push 0x47f110
push eax
call fcn.00420b0f
mov eax, dword [edi]
mov ecx, dword [esi + 0x58]
add esp, 0xc
push eax
push 0x47f444
push ecx
call fcn.00420ad3
mov eax, dword [edi]
xor ebp, ebp
add esp, 0xc
cmp eax, ebp
jle 0x4030ac
shl eax, 5
push eax
call fcn.00436ca8
add esp, 4
cmp eax, ebp
mov dword [esi + 0xc8], eax
jne 0x4030ac
push ebp
push ebp
push 0x47f200
call fcn.00442aa3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [esp + 0x18], ebp
cmp eax, ebp
jle 0x40320d
mov dword [esp + 0x24], ebp
jmp 0x4030c4
mov ebp, dword [esp + 0x24]
mov ecx, esi
call fcn.004096f0
test eax, eax
je 0x4035a0
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push edx
push str._u__u__lf__lf__lf
push eax
call fcn.00420b0f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
add esp, 0x1c
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push str._n_5d__5d__16.6e__16.6e__16.6e
push edx
call fcn.00420ad3
mov eax, dword [esp + 0x44]
add esp, 0x28
cmp eax, 1
jl 0x40322b
cmp eax, dword [esi + 0xd0]
jg 0x40322b
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xbc]
cmp ecx, edx
jg 0x40322b
cmp ecx, 1
jl 0x40322b
dec eax
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [ecx + ebp], eax
mov edx, dword [esi + 0xc8]
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x38]
mov dword [edx + ebp + 4], eax
add ebp, 8
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x5c]
push ebx
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [edx + ecx*8]
call fcn.0041e030
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x128]
imul ecx, dword [esi + 0xcc]
fld qword [edi]
add eax, ecx
inc ebx
add edi, 8
add ebp, 8
fadd qword [edx + eax*8]
lea eax, [edx + eax*8]
cmp ebx, 3
fstp qword [eax]
mov eax, dword [esi + 0xc8]
mov ecx, dword [edi - 8]
mov dword [eax + ebp - 8], ecx
mov edx, dword [edi - 4]
mov dword [eax + ebp - 4], edx
jl 0x403194
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x64]
inc eax
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
jl 0x4030c0
mov ebx, dword [esp + 0x28]
mov ecx, esi
call fcn.004096f0
test eax, eax
jne 0x40324e
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x47f404
call fcn.00442aa3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x40]
lea edi, [esi + 0x68]
push edi
push 0x47f400
push eax
call fcn.00420b0f
mov eax, dword [edi]
mov ecx, dword [esi + 0x58]
add esp, 0xc
push eax
push 0x47f3ec
push ecx
call fcn.00420ad3
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jle 0x403571
mov dword [esp + 0x18], 0
or ebx, 0xffffffff
mov ecx, esi
call fcn.004096f0
test eax, eax
je 0x4035a0
lea edx, [esp + 0x60]
lea ecx, [esp + 0x58]
push edx
push ecx
lea edx, [esp + 0x58]
lea ecx, [esp + 0x50]
push edx
push ecx
lea edx, [esp + 0x50]
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x48]
push edx
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x38]
push edx
push ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x34]
push edx
push ecx
push str._u__u__u__lf__lf__lf__lf__lf__lf__lf
push eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.00420b0f
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
add esp, 0x30
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x58]
push edx
push eax
push str._n_5d_5d_5d_13.3e_13.3e_13.3e_13.3e_13.3e_13.3e_13.3e
push ecx
call fcn.00420ad3
mov eax, dword [esp + 0x60]
add esp, 0x4c
cmp eax, 1
jl 0x4035b5
mov edi, dword [esi + 0xd4]
cmp eax, edi
jg 0x4035b5
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0xbc]
cmp edx, ecx
jg 0x4035b5
cmp edx, 1
jl 0x4035b5
mov ecx, dword [esp + 0x20]
test ecx, ecx
jl 0x4035b5
cmp ecx, 7
jg 0x4035b5
dec edx
dec eax
test ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x4034aa
test edi, edi
mov dword [esp + 0x14], ecx
jle 0x40351b
lea ebp, [esi + 0x144]
push 0x80
call fcn.00436ca8
add esp, 4
mov dword [esp + 0x24], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x70], edi
je 0x403452
mov ecx, eax
call fcn.0040fd20
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x38]
mov dword [esp + 0x70], ebx
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
mov edx, dword [esi + 0x13c]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8]
mov ecx, edi
push eax
call fcn.0040fde0
push edi
mov ecx, ebp
call fcn.0043560d
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xd4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40342e
jmp 0x40351b
push 0x80
call fcn.00436ca8
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x70], 1
je 0x4034d2
mov ecx, eax
call fcn.0040fd20
mov edi, eax
jmp 0x4034d4
xor edi, edi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], ebx
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [esi + 0x13c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*8]
mov ecx, edi
push eax
call fcn.0040fde0
push edi
lea ecx, [esi + 0x144]
call fcn.0043560d
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x68]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x40328c
mov edi, dword [esi + 0x148]
mov ebx, dword [esp + 0x28]
test edi, edi
je 0x403571
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x38]
push 0
mov ebp, dword [eax + 8]
push ecx
mov ecx, ebp
call fcn.0040fd90
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x128]
push 0
lea edx, [esp + 0x3c]
push esi
push edx
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040fa60
test edi, edi
jne 0x40353d
mov eax, dword [esi + 0xbc]
test eax, eax
jle 0x4035f0
lea edi, [ebx*8]
push edi
call fcn.00436ca8
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4035d8
push 0
push 0
push 0x47f200
call fcn.00442aa3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x47f368
call fcn.00442aa3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esi + 0x128]
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x68]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret