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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2a0
mov esi, esp
mov dword [esi + 0x288], ebp
lea eax, [esi + 0x290]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x10055ad0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea edi, [esi + 0x90]
mov dword [edi + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov dword [esi + 0x18], edi
lea eax, [esi + 0x1c0]
push 0xc8
push 0xff
mov dword [esi + 0x2c], eax
push eax
call fcn.10149430
sub esp, 8
movsd xmm0, qword [ebp + 0x1c]
movsd qword [esp + 0xc], xmm0
mov dword [esp], edi
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.100365b0
add esp, 0x14
cmp eax, 0x64
jb 0x1004fa10
mov dword [esi + 8], esp
push eax
sub esp, 0x18
mov edi, esp
lea ecx, [edi + 4]
call fcn.10041423
lea eax, [esi + 0x18]
mov dword [edi], eax
mov dword [edi + 0x10], str._.0Lf
movsd xmm0, qword [ebp + 0x1c]
movsd qword [edi + 0x14], xmm0
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x298], eax
call fcn.10058600
add esp, 0x1c
mov ebx, eax
mov esp, dword [esi + 8]
cmp eax, 0xffffffff
je 0x1004fd13
mov edi, dword [esi + 0x18]
lea eax, [ebx + ebx]
push eax
call fcn.10085990
add esp, 4
test eax, eax
je 0x1004fd20
mov dword [esi + 0xc], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
jmp 0x1004fa21
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
lea ecx, [esi + 0x8c]
mov dword [ecx], eax
mov dword [esi + 0x14], eax
lock inc dword [eax + 4]
mov dword [esi + 0x298], 1
push 0x101be740
call fcn.100513c8
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + edx]
mov dword [esi + 8], ecx
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
mov edi, dword [eax + 0x28]
mov dword [esi + 0x298], 0xffffffff
mov ecx, edi
mov dword [esi + 0xc], edx
call dword [section..00cfg]
mov dword [esi + 0x298], 1
mov ecx, dword [esi + 0x30]
push dword [esi + 0x2c]
push dword [esi + 8]
push ebx
call edi
mov eax, dword [esi + 0xc]
xor ecx, ecx
test eax, eax
jle 0x1004faa3
mov edx, dword [esi + 0x18]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 8], eax
jmp 0x1004faaa
mov dword [esi + 8], 0
lea eax, [esi + 0x60]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
lea ebx, [esi + 0x48]
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 8], ecx
lea edi, [esi + 0x38]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x5c]
xor ecx, ecx
dec ecx
mov dword [edx], ecx
lea eax, [esi + 0x12]
mov word [eax], cx
lea eax, [esi + 0x10]
mov word [eax], cx
lea eax, [esi + 0x88]
mov dword [eax], ecx
mov dword [esi + 0x298], 2
movzx ecx, byte [ebp + 0x10]
movzx edx, byte [esi + 8]
mov dword [esi + 0x80], edx
push eax
push edi
push ebx
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x12]
push eax
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x8c]
push eax
call fcn.1004fe42
add esp, 0x20
lea eax, [esi + 0xf8]
push 0xc8
push 0xff
push eax
call fcn.10149430
add esp, 0xc
mov edx, dword [esi + 0x88]
mov edi, dword [esi + 0xc]
mov eax, edi
sub eax, edx
jle 0x1004fb6b
mov ebx, edx
movzx ecx, byte [esi + 0x43]
test cl, cl
jns 0x1004fb56
mov ecx, dword [esi + 0x3c]
movzx edx, byte [esi + 0x53]
test dl, dl
jns 0x1004fb61
mov edx, dword [esi + 0x4c]
lea eax, [ecx + eax*2]
add eax, edx
inc eax
mov edx, ebx
jmp 0x1004fb86
movzx eax, byte [esi + 0x43]
test al, al
jns 0x1004fb76
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi + 0x53]
test cl, cl
jns 0x1004fb81
mov ecx, dword [esi + 0x4c]
add eax, ecx
add eax, 2
mov dword [esi + 0x7c], edx
add eax, edx
mov dword [esi + 8], 0
cmp eax, 0x65
lea ecx, [esi + 0xf8]
jb 0x1004fbb5
add eax, eax
push eax
call fcn.10085990
add esp, 4
mov ecx, eax
mov dword [esi + 8], eax
test eax, eax
je 0x1004fd2f
lea edx, [esi + 0x84]
xor eax, eax
dec eax
mov dword [edx], eax
lea ebx, [esi + 0x58]
mov dword [ebx], eax
mov eax, dword [esi + 0x2c]
lea edi, [eax + edi*2]
mov dword [esi + 0x78], edi
mov edi, dword [ebp + 0x14]
mov edi, dword [edi + 4]
mov dword [esi + 0xc], edi
mov edi, dword [esi + 8]
mov dword [esi + 0x34], edi
mov dword [esi + 0x298], 3
movzx edi, word [esi + 0x10]
movzx ebx, word [esi + 0x12]
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ecx
push dword [esi + 0x7c]
lea ebx, [esi + 0x38]
push ebx
lea ebx, [esi + 0x48]
push ebx
lea ebx, [esi + 0x60]
push ebx
push edi
push dword [esi + 0x74]
lea edi, [esi + 0x5c]
push edi
push dword [esi + 0x80]
push dword [esi + 0x30]
push dword [esi + 0x78]
push eax
push dword [esi + 0xc]
lea eax, [esi + 0x58]
push eax
call fcn.1004ff98
add esp, 0x34
movzx ecx, word [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov edi, dword [esi + 8]
mov dword [esi + 0x34], edi
mov edi, dword [esi + 0x84]
movzx ecx, cx
push ecx
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x70]
push eax
push dword [ebp + 8]
call fcn.10047530
add esp, 0x1c
cmp dword [esi + 8], 0
je 0x1004fc6e
push 0
push dword [esi + 8]
push 0x101a6dd4
call fcn.100a9680
add esp, 0xc
cmp byte [esi + 0x43], 0
mov ebx, dword [esi + 0x28]
jns 0x1004fc82
push dword [esi + 0x38]
call fcn.10145bd4
add esp, 4
cmp byte [esi + 0x53], 0
jns 0x1004fc93
push dword [esi + 0x48]
call fcn.10145bd4
add esp, 4
cmp byte [esi + 0x6b], 0
jns 0x1004fca4
push dword [esi + 0x60]
call fcn.10145bd4
add esp, 4
xor eax, eax
dec eax
mov ecx, dword [esi + 0x14]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1004fccf
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov dword [esi + 0x298], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esi + 0x14]
call edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1004fce6
push 0
push eax
push 0x101a6dd4
call fcn.100a9680
add esp, 0xc
test ebx, ebx
je 0x1004fcfa
push 0
push ebx
push 0x101a6dd4
call fcn.100a9680
add esp, 0xc
mov eax, dword [esi + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.10055c2c
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], edi
call fcn.10055c2c
mov dword [esi + 0x34], 0
mov dword [esi + 0x298], 3
call fcn.10055c2c
nop
push ebp
sub esp, 0x34
lea esi, [ebp - 0x29c]
mov ebp, dword [esi + 0x288]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1004fd6d
push 0
push eax
push 0x101a6dd4
call fcn.100a9680
add esp, 0xc
add esp, 0x34
pop ebp
ret