Function at 0x4f87f0
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, 0x1e0
mov esi, esp
mov dword [esi + 0x1c8], ebp
movsd xmm1, qword [ebp + 0x1c]
lea eax, [esi + 0x1d0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x4381f0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x160]
mov dword [eax + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x50], xmm0
movdqa xmmword [eax + 0x40], xmm0
movdqa xmmword [eax + 0x30], xmm0
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov dword [esi + 0x24], eax
mov dword [esi + 0x150], edx
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x120], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
sub esp, 0x14
movsd qword [esp + 0xc], xmm1
mov dword [esp], eax
mov dword [esp + 8], str._.0Lf
mov dword [esp + 4], 0x64
call fcn.0042dd30
add esp, 0x14
cmp eax, 0x64
jb 0x4f8937
mov dword [esi + 0x1c], esp
push eax
sub esp, 0x18
mov eax, esp
mov dword [esi + 8], eax
add eax, 4
xor ecx, ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1d8], ecx
push eax
call fcn.004917b0
add esp, 4
lea eax, [esi + 0x24]
mov ecx, dword [esi + 8]
mov dword [ecx], eax
mov dword [ecx + 0x10], str._.0Lf
movq xmm0, qword [ebp + 0x1c]
movq qword [ecx + 0x14], xmm0
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
call fcn.004feec0
add esp, 0x1c
mov dword [esi + 8], eax
mov esp, dword [esi + 0x1c]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x4f8c9f
mov edi, dword [esi + 0x24]
push eax
call fcn.0049e790
add esp, 4
test eax, eax
je 0x4f8cac
mov dword [esi + 0x44], eax
jmp 0x4f8947
mov dword [esi + 8], eax
lea eax, [esi + 0xf0]
mov dword [esi + 0x44], eax
xor eax, eax
xor edi, edi
mov ecx, dword [ebp + 0x14]
lea edx, [esi + 0x20]
mov dword [edx], 0xffffffff
mov dword [esi + 0x54], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1d8], 0
push edx
call fcn.00491090
mov dword [esi + 0x1d8], 1
lea ecx, [esi + 0x20]
push 0x58f694
call fcn.00491e90
mov edx, dword [esi + 8]
mov ebx, dword [esi + 0x24]
lea ecx, [ebx + edx]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov dword [esi + 0x1d8], 0xffffffff
mov ecx, edi
mov dword [esi + 8], edx
call dword [section..00cfg]
mov dword [esi + 0x1d8], 1
mov ecx, dword [esi + 0x1c]
push dword [esi + 0x44]
push dword [esi + 0x10]
push ebx
call edi
mov eax, dword [esi + 8]
xor ecx, ecx
test eax, eax
jle 0x4f8c73
mov edx, dword [esi + 0x24]
cmp byte [edx], 0x2d
sete al
mov dword [esi + 0x10], eax
lea edx, [esi + 0x68]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
lea edi, [esi + 0x38]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov dword [edi + 8], ecx
lea edx, [esi + 0x28]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov dword [edx + 8], ecx
mov bl, 0xff
lea ecx, [esi + 0xf]
mov byte [ecx], bl
lea eax, [esi + 0xe]
mov byte [eax], bl
lea eax, [esi + 0x64]
xor ecx, ecx
dec ecx
mov dword [eax], ecx
lea ebx, [esi + 0x48]
mov dword [ebx], ecx
mov dword [esi + 0x1d8], 2
movzx eax, byte [esi + 0x10]
movzx ecx, byte [ebp + 0x10]
push ebx
push edx
push edi
lea edx, [esi + 0x68]
push edx
lea edx, [esi + 0xe]
push edx
lea edx, [esi + 0xf]
push edx
lea edx, [esi + 0x64]
push edx
lea edx, [esi + 0x20]
push edx
mov dword [esi + 0x7c], eax
push eax
push ecx
call fcn.004f8dd0
add esp, 0x28
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov dword [esi + 0xe0], 0xffffffff
mov ebx, dword [esi + 8]
sub ebx, dword [esi + 0x48]
jle 0x4f8ad0
cmp byte [esi + 0x33], 0
js 0x4f8c7f
lea ecx, [esi + 0x28]
call fcn.0048bea0
mov edi, eax
add ebx, ebx
cmp byte [esi + 0x43], 0
js 0x4f8c87
lea ecx, [esi + 0x38]
call fcn.0048bea0
mov ecx, dword [esi + 0x48]
or ebx, 1
add ebx, edi
add ebx, eax
mov dword [esi + 0x50], ecx
add ebx, ecx
jmp 0x4f8b04
cmp byte [esi + 0x33], 0
js 0x4f8c8f
lea ecx, [esi + 0x28]
call fcn.0048bea0
mov edi, eax
cmp byte [esi + 0x43], 0
js 0x4f8c97
lea ecx, [esi + 0x38]
call fcn.0048bea0
mov ecx, dword [esi + 0x48]
add edi, eax
mov dword [esi + 0x50], ecx
lea ebx, [ecx + edi]
add ebx, 2
cmp ebx, 0x65
jb 0x4f8b2f
push ebx
call fcn.0049e790
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4f8b3a
mov dword [esi + 0x4c], 0
mov dword [esi + 0x1d8], 3
call fcn.004fdc00
lea eax, [esi + 0x80]
mov dword [esi + 0x10], eax
xor eax, eax
lea edi, [esi + 0x60]
xor edx, edx
dec edx
mov dword [edi], edx
lea ecx, [esi + 0x5c]
mov dword [ecx], edx
movsx edi, byte [esi + 0xe]
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0x44]
add ebx, ecx
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
mov dword [esi + 0x78], edx
mov dword [esi + 8], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x1d8], 3
movsx eax, byte [esi + 0xf]
push dword [esi + 0x50]
lea edx, [esi + 0x28]
push edx
lea edx, [esi + 0x38]
push edx
lea edx, [esi + 0x68]
push edx
push edi
push eax
lea edx, [esi + 0x64]
push edx
push dword [esi + 0x7c]
push dword [esi + 0x1c]
push ebx
push ecx
push dword [esi + 0x78]
lea eax, [esi + 0x5c]
push eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x10]
call fcn.004f8f30
add esp, 0x3c
mov cl, byte [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x5c]
mov edi, dword [esi + 8]
mov dword [esi + 0x4c], edi
mov edi, dword [esi + 0x60]
movsx ecx, cl
push ecx
push dword [ebp + 0x14]
push edx
push edi
push dword [esi + 0x10]
push eax
push dword [ebp + 8]
call fcn.0048ce40
add esp, 0x1c
mov eax, dword [esi + 8]
test eax, eax
je 0x4f8bdd
push eax
call fcn.0049e7e0
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x4f8bee
push dword [esi + 0x28]
call fcn.004ba1ee
add esp, 4
cmp byte [esi + 0x43], 0
jns 0x4f8bff
push dword [esi + 0x38]
call fcn.004ba1ee
add esp, 4
cmp byte [esi + 0x73], 0
jns 0x4f8c10
push dword [esi + 0x68]
call fcn.004ba1ee
add esp, 4
mov edi, dword [esi + 0x20]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x4f8c3a
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov dword [esi + 0x1d8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4f8c4a
push eax
call fcn.0049e7e0
add esp, 4
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4f8c5a
push eax
call fcn.0049e7e0
add esp, 4
mov eax, dword [esi + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov dword [esi + 0x10], 0
jmp 0x4f89e1
mov edi, dword [esi + 0x2c]
jmp 0x4f8aab
mov eax, dword [esi + 0x3c]
jmp 0x4f8abf
mov edi, dword [esi + 0x2c]
jmp 0x4f8ae4
mov eax, dword [esi + 0x3c]
jmp 0x4f8af6
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
call fcn.004fdc00
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], edi
call fcn.004fdc00
nop dword [eax + eax]
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x1dc]
mov ebp, dword [esi + 0x1c8]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4f8ce0
push eax
call fcn.0049e7e0
add esp, 4
add esp, 0x3c
pop ebp
ret