Function at 0x418080
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f1d10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push edi
mov eax, dword [0x53de10]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
lea edi, [esp + 0x3c]
mov eax, esi
call fcn.00419150
push eax
mov dword [esp + 0x78], 0
call fcn.0040d180
mov dword [esp + 0x78], 0xffffffff
mov ebx, dword [esp + 0x40]
add esp, 4
test ebx, ebx
mov dword [esp + 0x30], eax
je 0x418119
push 0
lea ecx, [esp + 0x38]
call fcn.004b80e9
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x4180f7
cmp eax, 0xffffffff
jae 0x4180f7
add eax, 0xffffffff
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x34]
and edi, ebx
call fcn.004b810a
test edi, edi
je 0x418119
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 0x25
mov ecx, edi
call edx
mov bl, al
mov al, byte [esi + 0x50]
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x34]
push ecx
mov byte [esp + 0x30], bl
mov edx, dword [esp + 0x30]
push edi
push edx
mov ecx, ebp
mov byte [esp + 0x21], 1
mov dword [esp + 0x34], 0xffffffff
call fcn.004194e0
add esp, 0xc
push eax
push esi
call fcn.00419280
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x16], al
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push ebp
xor edx, edx
mov byte [esp + 0x18], bl
call fcn.00401a10
mov edi, eax
cmp edi, 0xffffffff
je 0x4184f3
mov byte [esp + 0x10], bl
cmp dword [esp + 0x18], 0
jne 0x4181a0
lea ecx, [esi + 0x34]
mov dword [esp + 0x2c], ecx
jmp 0x4181df
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + 4]
add ebp, 0xffffffff
test eax, eax
je 0x4181c8
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4181cd
call fcn.004b8c3b
mov edx, dword [esi + 4]
imul ebp, ebp, 0x64
lea eax, [edx + ebp + 0x20]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
lea eax, [edi + 1]
cmp eax, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
jbe 0x4181f0
call fcn.004b8c3b
cmp dword [ebp + 0x18], 0x10
lea ebx, [ebp + 4]
jb 0x418201
mov ecx, dword [ebx]
mov dword [esp + 0x34], ecx
jmp 0x418205
mov dword [esp + 0x34], ebx
cmp edi, dword [ebp + 0x14]
jbe 0x41820f
call fcn.004b8c3b
cmp dword [ebp + 0x18], 0x10
jb 0x418219
mov eax, dword [ebx]
jmp 0x41821b
mov eax, ebx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx + edx]
cmp dl, byte [eax + edi]
jne 0x418250
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov eax, ebp
call fcn.00419750
add esp, 0xc
add edi, 2
mov dword [esp + 0x1c], edi
jmp 0x4184d3
mov eax, dword [esp + 0x1c]
cmp edi, eax
je 0x41826d
push edi
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, ebp
call fcn.00419750
add esp, 0xc
mov dword [esp + 0x1c], edi
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x10
jb 0x418279
mov edi, dword [ebx]
jmp 0x41827b
mov edi, ebx
test edi, edi
je 0x4182a2
cmp ecx, 0x10
jb 0x418288
mov eax, dword [ebx]
jmp 0x41828a
mov eax, ebx
cmp eax, edi
ja 0x4182a2
cmp ecx, 0x10
jb 0x418297
mov eax, dword [ebx]
jmp 0x418299
mov eax, ebx
mov ecx, dword [ebp + 0x14]
add ecx, eax
cmp edi, ecx
jbe 0x4182a7
call fcn.004b8c3b
cmp ebp, 0xfffffffe
mov dword [esp + 0x38], edi
je 0x4182de
cmp dword [ebp + 0x18], 0x10
mov eax, ebx
jb 0x4182bc
mov ecx, dword [eax]
jmp 0x4182be
mov ecx, eax
mov edx, dword [esp + 0x20]
mov ebx, dword [ebp + 0x14]
add edx, edi
add ebx, ecx
cmp edx, ebx
ja 0x4182d9
cmp dword [ebp + 0x18], 0x10
jb 0x4182d5
mov eax, dword [eax]
cmp edx, eax
jae 0x4182de
call fcn.004b8c3b
mov eax, dword [esp + 0x20]
add eax, edi
mov ecx, ebp
mov dword [esp + 0x48], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x44], ecx
mov cl, byte [esi + 0x50]
mov byte [esp + 0x40], cl
je 0x418318
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x41831d
call fcn.004b8c3b
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 4]
imul eax, eax, 0x64
add ebx, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
lea edx, [ebp + 4]
jb 0x41833c
mov ecx, dword [edx]
jmp 0x41833e
mov ecx, edx
mov edi, dword [ebp + 0x14]
add edi, ecx
je 0x418364
cmp eax, 0x10
jb 0x41834e
mov ecx, dword [edx]
jmp 0x418350
mov ecx, edx
cmp ecx, edi
ja 0x418364
cmp eax, 0x10
jb 0x41835b
mov edx, dword [edx]
mov eax, dword [ebp + 0x14]
add eax, edx
cmp edi, eax
jbe 0x418369
call fcn.004b8c3b
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push ebx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], edi
call fcn.00419880
mov byte [esp + 0x2f], al
mov eax, dword [ebp + 0x18]
add esp, 0x18
cmp eax, 0x10
jb 0x4183a4
mov ebx, dword [ebp + 4]
jmp 0x4183a7
lea ebx, [ebp + 4]
test ebx, ebx
je 0x4183cd
cmp eax, 0x10
lea ecx, [ebp + 4]
jb 0x4183b7
mov edx, dword [ecx]
jmp 0x4183b9
mov edx, ecx
cmp edx, ebx
ja 0x4183cd
cmp eax, 0x10
jb 0x4183c4
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x14]
add edx, ecx
cmp ebx, edx
jbe 0x4183d2
call fcn.004b8c3b
mov eax, dword [esp + 0x44]
cmp eax, 0xfffffffe
je 0x4183e8
test eax, eax
je 0x4183e3
cmp eax, ebp
je 0x4183e8
call fcn.004b8c3b
mov edi, dword [esp + 0x48]
sub edi, ebx
cmp byte [esp + 0x17], 0
je 0x4184d3
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x1c], edi
je 0x418420
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x418425
call fcn.004b8c3b
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x34]
mov ecx, dword [eax + ebx + 0x60]
add eax, ebx
test cl, 1
je 0x41845d
mov edx, dword [eax + 0x48]
test dl, 0x40
je 0x418444
and ecx, 0xfffffffe
jmp 0x41845a
and edx, 0xffffff3f
and ecx, 0xfffffffd
or edx, 0x100
mov byte [eax + 0x44], 0x30
mov dword [eax + 0x48], edx
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x60]
test cl, 2
je 0x418471
test byte [eax + 0x48], 0x20
je 0x418471
and ecx, 0xfffffffd
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x418494
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x418499
call fcn.004b8c3b
mov eax, dword [esi + 4]
mov eax, dword [ebx + eax]
cmp eax, 0xfffffffd
je 0x4184d3
cmp eax, 0xffffffff
jne 0x4184b0
mov byte [esp + 0x15], 0
jmp 0x4184c6
cmp eax, 0xfffffffe
jne 0x4184bc
mov byte [esp + 0x16], 1
jmp 0x4184c6
cmp eax, dword [esp + 0x28]
jle 0x4184c6
mov dword [esp + 0x28], eax
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
push ecx
push ebp
mov edx, edi
call fcn.00401a10
mov edi, eax
cmp edi, 0xffffffff
jne 0x418190
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4184f8
lea edi, [esi + 0x34]
jmp 0x41852b
mov eax, dword [esi + 4]
add edi, 0xffffffff
test eax, eax
je 0x41851c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x418521
call fcn.004b8c3b
mov edx, dword [esi + 4]
imul edi, edi, 0x64
lea edi, [edi + edx + 0x20]
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push eax
push edi
mov eax, ebp
call fcn.00419750
mov edi, dword [esp + 0x34]
add esp, 0xc
cmp byte [esp + 0x15], 0
jne 0x4185fc
test edi, edi
jl 0x418586
test byte [esi + 0x50], 1
je 0x418586
lea ecx, [esp + 0x54]
call fcn.004b88a7
mov dword [esp + 0x54], vtable.boost::io::bad_format_string.0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
lea edi, [esp + 0x54]
mov dword [esp + 0x74], 1
call fcn.004173f0
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x24], edi
jle 0x4185f9
xor ebp, ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x4185b3
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4185b8
call fcn.004b8c3b
mov eax, dword [esi + 4]
cmp dword [eax + ebp], 0xffffffff
jne 0x4185ed
test eax, eax
je 0x4185df
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4185e4
call fcn.004b8c3b
mov ecx, dword [esi + 4]
mov dword [ecx + ebp], ebx
add ebx, 1
add edi, 1
add ebp, 0x64
cmp edi, dword [esp + 0x24]
jl 0x418592
lea edi, [ebx - 1]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0x20
call eax
xor ebx, ebx
sub esp, 0x64
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [ecx + 0x18], ebx
mov edx, 0xf
mov dword [ecx + 0x1c], edx
mov byte [ecx + 8], bl
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x34], ebx
mov byte [ecx + 0x24], bl
mov byte [ecx + 0x54], bl
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x40], 6
mov byte [ecx + 0x44], al
mov dword [ecx + 0x48], 0x201
mov dword [ecx + 0x50], ebx
mov dword [ecx + 0x4c], ebx
mov dword [ecx + 0x5c], accept
mov dword [ecx + 0x60], ebx
mov ecx, dword [esp + 0x88]
mov edx, esi
mov dword [esp + 0xe0], esp
call fcn.00418a10
cmp byte [esp + 0x16], bl
je 0x418673
or dword [esi + 0x24], 4
add edi, 1
cmp byte [esp + 0x15], 0
mov dword [esi + 0x2c], edi
je 0x418686
or dword [esi + 0x24], 1
jmp 0x41868a
and dword [esi + 0x24], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x68
ret 4