Function at 0x46845c
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
test esi, esi
jge 0x46859f
push 0
mov ecx, dword [ebx + 0x4c]
mov dl, 1
mov eax, dword [0x45c530]
call fcn.00465c64
mov dword [ebp - 8], eax
fild dword [ebx + 0x34]
fdiv dword [ebx + 0x18]
fmul dword [0x468728]
call fcn.004034ac
mov edx, dword [ebp - 8]
mov dword [edx + 0x166], eax
fild dword [ebx + 0x38]
fdiv dword [ebx + 0x1c]
fmul dword [0x468728]
call fcn.004034ac
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x16a], esi
imul eax, dword [ebx + 0x34], 0x64
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
mov eax, dword [ebp - 8]
fild dword [eax + 0x166]
fdivp st(1)
add esp, 0xfffffffc
fstp dword [esp]
wait
imul eax, dword [ebx + 0x38], 0x64
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
mov dword [ebp - 0x3c], esi
fild dword [ebp - 0x3c]
fdivp st(1)
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00448c60
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x2c]
mov dword [eax + 0x1f8], edx
mov edx, dword [ebx + 0x30]
mov dword [eax + 0x1fc], edx
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00465e8c
mov eax, dword [ebp - 8]
mov dword [eax + 0x200], 0xff800000
mov dword [eax + 0x204], 0xc1cfffff
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x210], edx
mov dword [eax + 0x214], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
mov edx, dword [edx + 0x1c]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x218], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x21c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x208], edx
mov dword [eax + 0x20c], edx
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00444404
mov edi, eax
test edi, edi
je 0x46871e
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x18]
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0046621c
jmp 0x46871e
mov edi, dword [ebx + 8]
cmp esi, dword [edi + 0x20]
jl 0x4685b4
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x20]
mov eax, esi
cdq
idiv ecx
mov esi, edx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 8]
mov edx, esi
call fcn.00444404
mov edi, eax
test edi, edi
je 0x46871e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebx + 0x4c]
mov dl, 1
mov eax, dword [0x45c530]
call fcn.00465c64
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x468707
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 0x1f4], esi
fild dword [ebx + 0x34]
fdiv dword [ebx + 0x18]
fmul dword [0x468728]
call fcn.004034ac
mov edx, dword [ebp - 8]
mov dword [edx + 0x166], eax
fild dword [ebx + 0x38]
fdiv dword [ebx + 0x1c]
fmul dword [0x468728]
call fcn.004034ac
mov edx, dword [ebp - 8]
mov dword [edx + 0x16a], eax
imul eax, dword [ebx + 0x34], 0x64
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
mov eax, dword [ebp - 8]
fild dword [eax + 0x166]
fdivp st(1)
add esp, 0xfffffffc
fstp dword [esp]
wait
imul eax, dword [ebx + 0x38], 0x64
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
mov eax, dword [ebp - 8]
fild dword [eax + 0x16a]
fdivp st(1)
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00448c60
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x2c]
mov dword [eax + 0x1f8], edx
mov edx, dword [ebx + 0x30]
mov dword [eax + 0x1fc], edx
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00465e8c
mov eax, esi
add eax, eax
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
mov edx, dword [edx + 0x1c]
push esi
push edi
lea esi, [edx + eax*8]
lea edi, [ebp - 0x30]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x18]
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.004663c0
mov dl, 1
mov eax, dword [0x44275c]
call fcn.00404438
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x220], edi
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [edi + 8]
mov eax, dword [ebx + 8]
mov edx, esi
call fcn.00445850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46871e
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret