Function at 0x416260
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4503f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, 1
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x3c]
push eax
call fcn.00432d30
add esp, 4
call fcn.00437d46
mov edi, eax
mov eax, dword [esp + 0x38]
cmp dword [eax - 4], esi
mov dword [esp + 0x18], edx
jle 0x4162c2
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041fa40
mov eax, dword [esp + 0x38]
push eax
call fcn.00432d30
fst qword [esp + 0x20]
add esp, 4
call fcn.0044d5e0
fld qword [esp + 0x1c]
fld st(0)
fmul st(1)
fld st(1)
fmul qword [0x4584a0]
fld qword [0x458498]
fdiv st(1), st(0)
fxch st(1)
fadd st(2)
fld st(3)
fdivrp st(2)
fld qword [0x458490]
fadd st(2), st(0)
fxch st(1)
fmulp st(2)
fadd st(3)
fdivp st(1)
fadd st(3)
call fcn.00437d46
fld st(1)
fmul qword [0x458488]
mov esi, eax
fld qword [0x458480]
mov ebp, edx
fdiv st(1), st(0)
fxch st(1)
faddp st(2)
fdivr st(2)
fld qword [0x458478]
fadd st(1), st(0)
fxch st(2)
fmulp st(1)
fxch st(2)
faddp st(1)
fdivp st(1)
faddp st(1)
call fcn.00437d46
cmp edi, esi
mov ebx, eax
mov dword [esp + 0x20], edx
jne 0x416352
cmp dword [esp + 0x18], ebp
je 0x41647e
mov eax, esi
add eax, 1
mov ecx, ebp
adc ecx, 0
cmp edi, eax
mov eax, dword [esp + 0x18]
jne 0x41636c
cmp eax, ecx
je 0x41647e
sub esi, 1
sbb ebp, 0
cmp edi, esi
jne 0x41637e
cmp eax, ebp
je 0x41647e
cmp edi, ebx
jne 0x416386
cmp eax, edx
je 0x4163c5
mov eax, ebx
add eax, 1
mov ecx, edx
adc ecx, 0
cmp edi, eax
jne 0x41639a
cmp dword [esp + 0x18], ecx
je 0x4163c5
mov eax, ebx
sub eax, 1
mov ecx, edx
sbb ecx, 0
cmp edi, eax
jne 0x4163ae
cmp dword [esp + 0x18], ecx
je 0x4163c5
lea ecx, [esp + 0x38]
call fcn.0041ee00
lea ecx, [esp + 0x3c]
call fcn.0041ee00
jmp 0x4164cb
push 0
push 0
push 0
push 0x410840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x20]
push edx
push ebx
push str._I64d
push 0x46cc58
mov byte [0x4662ae], 1
call fcn.00420450
add esp, 0x10
mov eax, 0x42cd
mov ecx, 0x64
mov edi, 0x4662b0
push 6
rep stosd dword es:[edi], eax
push 0x4574dc
mov ecx, 0x46647c
call fcn.0041ff70
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416440
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 + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416468
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164a3
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 + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret