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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5ef86f
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
xor ebx, ebx
mov esi, 1
movsd qword [esp + 0xc4], xmm0
movsd qword [esp + 0xbc], xmm0
movsd qword [esp + 0xb4], xmm0
movsd qword [esp + 0x84], xmm0
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0xfc], xmm0
movsd qword [esp + 0xf4], xmm0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c0], ebx
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xd4], xmm0
movsd qword [esp + 0xcc], xmm0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
fld qword [edi + 0x40]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x1fc]
fld qword [edi + 0x30]
mov byte [esp + 0x2d0], 1
fstp qword [esp]
mov dword [esp + 0x21c], ebx
mov dword [esp + 0x244], ebx
call fcn.004ab370
fld qword [edi + 0x48]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x1fc]
fld qword [edi + 0x38]
fstp qword [esp]
call fcn.004ab370
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push esi
lea ecx, [esp + 0x218]
push ecx
mov ecx, edi
call edx
fld qword [esp + 0x224]
mov eax, dword [edi]
mov edx, dword [eax + 0x58]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x224]
fstp qword [esp]
call edx
fld qword [esp + 0x22c]
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x22c]
fstp qword [esp]
call edx
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], 0x31
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x64], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [esp + 0x74], xmm0
mov dword [esp + 0x40], ebx
lea ecx, [esp + 0x58]
jne 0x47e422
mov ebx, dword [esi + 0x54]
push ebx
mov dword [esp + 0x38], ebx
call fcn.00412980
push ebx
lea ecx, [esp + 0x50]
call fcn.00412980
xorps xmm0, xmm0
mov al, byte [esi + 0x41]
mov ecx, esi
mov byte [esp + 0x3e], 1
mov byte [esp + 0x3f], 1
movsd qword [esp + 0xec], xmm0
movsd qword [esp + 0xe4], xmm0
mov byte [esp + 0x6e], al
call fcn.004d9b60
cmp dword [esi + 0x54], 0
mov byte [esp + 0x6f], al
jle 0x47df69
mov ecx, dword [esi + 0x48]
movsd xmm0, qword [ecx + 0x10]
jmp 0x47df6c
xorps xmm0, xmm0
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
sub esp, 8
lea eax, [esp + 0xa4]
fstp qword [esp]
push eax
mov ecx, esi
call edx
lea eax, [ebx - 1]
cmp eax, dword [esi + 0x54]
mov dword [esp + 0x40], eax
jge 0x47dfab
test eax, eax
jl 0x47dfab
mov ecx, dword [esi + 0x48]
lea eax, [eax + eax*2]
movsd xmm0, qword [ecx + eax*8 + 0x10]
jmp 0x47dfae
xorps xmm0, xmm0
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
sub esp, 8
lea eax, [esp + 0x114]
fstp qword [esp]
push eax
mov ecx, esi
call edx
cmp byte [esp + 0x6f], 0
je 0x47e099
lea ecx, [esp + 0x9c]
call fcn.004a7bc0
fstp st(0)
lea ecx, [esp + 0x10c]
call fcn.004a7bc0
fstp st(0)
cmp byte [esp + 0x6e], 0
jne 0x47e01f
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0xa0]
call fcn.004a74a0
fabs
fld qword [0x5fc870]
fcompi st(1)
fstp st(0)
jbe 0x47e099
movsd xmm0, qword [esp + 0x10c]
addsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 0x11c], xmm0
movsd xmm0, qword [esp + 0x114]
addsd xmm0, qword [esp + 0xa4]
lea ecx, [esp + 0x11c]
movsd qword [esp + 0x124], xmm0
call fcn.004a7bc0
fstp st(0)
movsd xmm0, qword [esp + 0x11c]
movsd xmm1, qword [esp + 0x124]
movq qword [esp + 0x10c], xmm0
movq qword [esp + 0x114], xmm1
movq qword [esp + 0x9c], xmm0
movq qword [esp + 0xa4], xmm1
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jle 0x47e299
push ebx
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call fcn.004a4d50
fldz
movq xmm0, qword [eax]
mov edx, dword [esp + 0x58]
movq qword [esp + 0x7c], xmm0
movq xmm0, qword [eax + 8]
lea eax, [ebx + ebx*2]
add eax, eax
add eax, eax
add eax, eax
sub esp, 8
add edx, eax
fstp qword [esp]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x138]
push ecx
mov ecx, edi
movq qword [esp + 0x94], xmm0
mov dword [esp + 0x54], edx
call fcn.0046a050
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x44]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
test ebx, ebx
jne 0x47e144
movq xmm0, qword [esp + 0x9c]
movq qword [esp + 0xf4], xmm0
movq xmm0, qword [esp + 0xa4]
jmp 0x47e1b5
cmp ebx, dword [esp + 0x40]
jne 0x47e167
movq xmm0, qword [esp + 0x10c]
movq qword [esp + 0xf4], xmm0
movq xmm0, qword [esp + 0x114]
jmp 0x47e1b5
cmp ebx, dword [esi + 0x54]
jge 0x47e17f
test ebx, ebx
jl 0x47e17f
mov edx, dword [esi + 0x48]
mov eax, dword [esp + 0x38]
movsd xmm0, qword [edx + eax + 0x10]
jmp 0x47e182
xorps xmm0, xmm0
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
sub esp, 8
lea eax, [esp + 0x1e4]
fstp qword [esp]
push eax
mov ecx, esi
call edx
movq xmm0, qword [eax]
movq qword [esp + 0xf4], xmm0
movq xmm0, qword [eax + 8]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add eax, ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0xf8]
push ecx
push eax
mov ecx, edi
movq qword [esp + 0x108], xmm0
call fcn.0046a4e0
test al, al
jne 0x47e1fc
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
add eax, edx
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm0
movsd qword [eax + 0x10], xmm0
movsd xmm1, qword [esp + 0x84]
movsd xmm2, qword [esp + 0x7c]
test ebx, ebx
je 0x47e26d
cmp byte [esp + 0x3e], 0
movsd xmm0, qword [0x5ff780]
je 0x47e242
movsd xmm4, qword [0x5fc860]
movapd xmm3, xmm2
subsd xmm3, qword [esp + 0xe4]
andpd xmm3, xmm4
comisd xmm3, xmm0
jbe 0x47e242
mov byte [esp + 0x3e], 0
cmp byte [esp + 0x3f], 0
je 0x47e26d
movsd xmm4, qword [0x5fc860]
movapd xmm3, xmm1
subsd xmm3, qword [esp + 0xec]
andpd xmm3, xmm4
comisd xmm3, xmm0
jbe 0x47e26d
mov byte [esp + 0x3f], 0
inc ebx
cmp ebx, dword [esp + 0x34]
movdqa xmm0, xmm2
movsd qword [esp + 0xe4], xmm0
movsd qword [esp + 0xec], xmm1
jl 0x47e0a5
cmp byte [esp + 0x3e], 0
je 0x47e351
xor ebx, ebx
push ebx
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call fcn.004a4d50
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x120]
push eax
mov ecx, esi
call fcn.004a4d50
movsd xmm0, qword [esp + 0xe4]
mov edx, dword [edi]
mov edx, dword [edx + 0x90]
movsd qword [esp + 0x12c], xmm0
movsd xmm0, qword [esp + 0xec]
push 1
lea eax, [esp + 0x130]
movsd qword [esp + 0x138], xmm0
movsd xmm0, qword [esp + 0x128]
push eax
mov ecx, edi
movsd qword [esp + 0x144], xmm0
call edx
mov edi, dword [sym.imp.MSVCR90.dll_free]
mov esi, eax
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x47e321
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
je 0x47e337
push eax
call edi
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esp + 0x3f], 0
je 0x47e3c1
xor ebx, ebx
push ebx
lea eax, [esp + 0xe8]
push eax
mov ecx, esi
call fcn.004a4d50
mov ecx, dword [esp + 0x40]
push ecx
lea edx, [esp + 0x120]
push edx
mov ecx, esi
call fcn.004a4d50
movsd xmm0, qword [esp + 0xec]
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
movsd qword [esp + 0x12c], xmm0
movsd xmm0, qword [esp + 0xe4]
push ebx
lea ecx, [esp + 0x130]
movsd qword [esp + 0x138], xmm0
movsd xmm0, qword [esp + 0x120]
push ecx
jmp 0x47e2fe
cmp dword [edi + 0xc], 0x35
jne 0x47e3f2
fld qword [0x5fa920]
mov ecx, dword [esp + 0x34]
sub esp, 8
lea eax, [esp + 0x60]
fstp qword [esp]
push eax
push ecx
call fcn.004f4290
add esp, 0x10
test eax, eax
je 0x47e3f2
mov dword [esp + 0x40], eax
jmp 0x47f27e
cmp dword [edi + 0xc], 0x39
lea ecx, [esp + 0x4c]
setne dl
mov byte [esp + 0x44], dl
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
call fcn.004f8b30
add esp, 0x10
mov dword [esp + 0x40], eax
jmp 0x47f27e
push 0x32
mov dword [esp + 0x60], 0xa
call fcn.00412980
push 0x32
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], 0xa
call fcn.00412980
movsd xmm0, qword [esp + 0x64]
ucomisd xmm0, qword [0x5ff708]
lahf
test ah, 0x44
jnp 0x47f30a
movsd xmm0, qword [esp + 0x74]
ucomisd xmm0, qword [0x5ff710]
lahf
test ah, 0x44
jnp 0x47f30a
xor eax, eax
push 0x64
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x32
call fcn.00412880
mov ecx, dword [esp + 0x9c]
movsd xmm0, qword [esp + 0x74]
mov ebx, 1
movsd qword [ecx], xmm0
cmp dword [esi + 0xc], 0xf
mov byte [esp + 0x2c0], 2
mov dword [esp + 0x44], ebx
jne 0x47e5f0
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
shr edx, 0xe
xor ebx, ebx
mov dword [esp + 0x48], ecx
test dl, 1
jne 0x47e5c0
cmp eax, ecx
jle 0x47e5c0
cmp eax, 0x12c
jge 0x47e5c0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x48]
inc ecx
cmp ecx, eax
mov edx, 1
mov dword [esp + 0x104], edx
mov dword [esp + 0x34], ecx
jge 0x47e597
mov edx, dword [esp + 0x70]
lea edx, [edx + ecx*8 - 8]
sub eax, ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x104]
add ecx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
subsd xmm1, xmm0
comisd xmm1, xmmword [0x5fa918]
movsd qword [esp + 0x10c], xmm0
jbe 0x47e588
mov ecx, dword [esp + 0x48]
dec ecx
cmp edx, ecx
jl 0x47e586
fld qword [esp + 0x10c]
sub esp, 8
fstp qword [esp]
push ebx
lea ecx, [esp + 0xa8]
call fcn.00428910
mov eax, dword [esp + 0x38]
inc ebx
xor edx, edx
add eax, 8
inc edx
sub dword [esp + 0x44], 1
mov dword [esp + 0x38], eax
jne 0x47e53e
mov eax, dword [esp + 0x48]
dec eax
cmp edx, eax
jl 0x47e5c0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
fld qword [ecx + edx*8 - 8]
sub esp, 8
fstp qword [esp]
push ebx
lea ecx, [esp + 0xa8]
call fcn.00428910
inc ebx
cmp ebx, dword [esp + 0xa4]
jl 0x47e5d9
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0xa0]
call fcn.00412880
mov ecx, dword [esp + 0x9c]
movsd xmm0, qword [esp + 0x74]
movsd qword [ecx + ebx*8], xmm0
inc ebx
mov dword [esp + 0x44], ebx
movsd xmm2, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm2
mov dword [esp + 0x70], 0
test ebx, ebx
jle 0x47f261
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x70]
movsd xmm0, qword [edx + eax*8]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
movsd qword [esp + 0x74], xmm0
subsd xmm0, xmm2
lea eax, [esp + 0x94]
push eax
movapd xmm1, xmm0
mulsd xmm0, qword [0x5fd938]
mulsd xmm1, qword [0x5fc870]
lea ecx, [esp + 0xf8]
push ecx
lea eax, [esp + 0x84]
movsd qword [esp + 0x124], xmm0
xorps xmm0, xmm0
push eax
mov ecx, esi
movsd qword [esp + 0xb8], xmm1
movsd qword [esp + 0xa0], xmm2
movsd qword [esp + 0x160], xmm0
movsd qword [esp + 0x158], xmm0
movsd qword [esp + 0x150], xmm0
movsd qword [esp + 0x178], xmm0
movsd qword [esp + 0x170], xmm0
movsd qword [esp + 0x168], xmm0
movsd qword [esp + 0x148], xmm0
movsd qword [esp + 0x140], xmm0
movsd qword [esp + 0x138], xmm0
call edx
fldz
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x248]
push ecx
mov ecx, edi
call fcn.0046a050
movq xmm0, qword [eax]
movq qword [esp + 0xb4], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
movq qword [esp + 0xd0], xmm0
call fcn.0046a4e0
test al, al
jne 0x47e750
xorps xmm0, xmm0
movsd qword [esp + 0xcc], xmm0
movsd qword [esp + 0xd4], xmm0
movsd qword [esp + 0xdc], xmm0
cmp dword [esp + 0x54], 0
jg 0x47e762
push 1
lea ecx, [esp + 0x50]
call fcn.00412980
mov eax, dword [esp + 0x4c]
movq xmm0, qword [esp + 0xcc]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xd4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xdc]
movq qword [eax + 0x10], xmm0
cmp dword [esp + 0x60], 0
jg 0x47e7a1
push 1
lea ecx, [esp + 0x5c]
call fcn.00412980
mov eax, dword [esp + 0x58]
movq xmm0, qword [esp + 0xb4]
movsd xmm3, qword [esp + 0x74]
comisd xmm3, xmmword [esp + 0x64]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xbc]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x10], xmm0
mov dword [esp + 0x34], 1
jbe 0x47f18c
movapd xmm0, xmm3
subsd xmm0, qword [esp + 0x11c]
movsd qword [esp + 0xe4], xmm0
movsd xmm0, qword [ebp + 0xc]
mulsd xmm0, qword [0x5fc870]
movsd qword [esp + 0x10c], xmm0
mov ebx, 0x18
mov dword [esp + 0x48], 2
mov dword [esp + 0x38], 1
movsd xmm1, qword [esp + 0xac]
cvtsi2sd xmm0, dword [esp + 0x38]
mulsd xmm0, xmm1
movsd xmm1, qword [esp + 0x94]
addsd xmm0, xmm1
comisd xmm0, xmmword [esp + 0xe4]
movsd qword [esp + 0x8c], xmm0
jbe 0x47e86a
movapd xmm0, xmm3
movsd qword [esp + 0x8c], xmm0
mov edx, dword [esi]
fld qword [esp + 0x8c]
mov edx, dword [edx + 0x4c]
sub esp, 8
lea eax, [esp + 0x27c]
fstp qword [esp]
addsd xmm0, xmm1
mulsd xmm0, qword [0x5fb9c8]
push eax
mov ecx, esi
movsd qword [esp + 0x180], xmm0
call edx
fldz
movq xmm0, qword [eax]
sub esp, 8
movq qword [esp + 0x84], xmm0
fstp qword [esp]
movq xmm0, qword [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 0x80]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x190]
movq qword [esp + 0x90], xmm0
xorps xmm0, xmm0
push edx
mov ecx, edi
movsd qword [esp + 0x19c], xmm0
movsd qword [esp + 0x194], xmm0
movsd qword [esp + 0x1b4], xmm0
movsd qword [esp + 0x1ac], xmm0
movsd qword [esp + 0x1a4], xmm0
movsd qword [esp + 0x1cc], xmm0
movsd qword [esp + 0x1c4], xmm0
movsd qword [esp + 0x1bc], xmm0
movsd qword [esp + 0x1e4], xmm0
movsd qword [esp + 0x1dc], xmm0
movsd qword [esp + 0x1d4], xmm0
call eax
fld qword [esp + 0x174]
movq xmm0, qword [esp + 0x194]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
movq qword [esp + 0x144], xmm0
movq xmm0, qword [esp + 0x19c]
sub esp, 8
lea eax, [esp + 0x25c]
fstp qword [esp]
movq qword [esp + 0x154], xmm0
movq xmm0, qword [esp + 0x1ac]
push eax
mov ecx, esi
movq qword [esp + 0x160], xmm0
call edx
fldz
movq xmm0, qword [eax]
sub esp, 8
movq qword [esp + 0x84], xmm0
fstp qword [esp]
movq xmm0, qword [eax + 8]
mov eax, dword [edi]
mov eax, dword [eax + 0x80]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x190]
movq qword [esp + 0x90], xmm0
xorps xmm0, xmm0
push edx
mov ecx, edi
movsd qword [esp + 0x19c], xmm0
movsd qword [esp + 0x194], xmm0
movsd qword [esp + 0x1b4], xmm0
movsd qword [esp + 0x1ac], xmm0
movsd qword [esp + 0x1a4], xmm0
movsd qword [esp + 0x1cc], xmm0
movsd qword [esp + 0x1c4], xmm0
movsd qword [esp + 0x1bc], xmm0
movsd qword [esp + 0x1e4], xmm0
movsd qword [esp + 0x1dc], xmm0
movsd qword [esp + 0x1d4], xmm0
call eax
movq xmm0, qword [esp + 0x194]
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0xbc]
push eax
movq qword [esp + 0x168], xmm0
movq xmm0, qword [esp + 0x1a8]
lea ecx, [esp + 0x1e8]
push ecx
lea edx, [esp + 0x18c]
movq qword [esp + 0x174], xmm0
movq xmm0, qword [esp + 0x1b4]
push edx
movq qword [esp + 0x180], xmm0
call fcn.0057aab0
fst qword [esp + 0x118]
fld qword [0x5ff758]
movsd xmm2, qword [0x5ff758]
add esp, 0x14
fcompi st(1)
fstp st(0)
ja 0x47eb6f
movsd xmm0, qword [esp + 0x17c]
movsd xmm3, qword [0x5fc860]
movapd xmm1, xmm0
andpd xmm1, xmm3
comisd xmm2, xmm1
ja 0x47eb6f
movsd xmm1, qword [esp + 0x1dc]
movapd xmm4, xmm1
andpd xmm4, xmm3
comisd xmm2, xmm4
ja 0x47eb6f
movsd xmm3, qword [ebp + 0xc]
comisd xmm3, xmmword [esp + 0x104]
jbe 0x47eb2a
movsd xmm3, qword [0x5fcad0]
movapd xmm4, xmm1
mulsd xmm4, xmm3
comisd xmm0, xmm4
jbe 0x47eb2a
mulsd xmm0, xmm3
comisd xmm1, xmm0
ja 0x47eb6f
mov eax, dword [esp + 0x38]
cmp eax, 1
jg 0x47ebcf
movsd xmm1, qword [esp + 0xac]
mulsd xmm1, qword [0x5fd930]
movsd xmm0, qword [esp + 0x11c]
comisd xmm0, xmm1
movsd qword [esp + 0xac], xmm1
ja 0x47ed04
movsd xmm3, qword [esp + 0x74]
jmp 0x47e832
movsd xmm3, qword [esp + 0x74]
movsd xmm1, qword [esp + 0x8c]
movapd xmm0, xmm3
subsd xmm0, xmm2
comisd xmm1, xmm0
movq xmm0, qword [esp + 0x144]
jae 0x47ed9f
inc dword [esp + 0x38]
movsd qword [esp + 0x12c], xmm0
movq xmm0, qword [esp + 0x14c]
movsd qword [esp + 0x134], xmm0
movq xmm0, qword [esp + 0x154]
movsd qword [esp + 0x13c], xmm0
jmp 0x47e829
movq xmm0, qword [esp + 0x12c]
movsd xmm3, qword [esp + 0x74]
movq qword [esp + 0xb4], xmm0
movq xmm0, qword [esp + 0x134]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [esp + 0x13c]
dec eax
movq qword [esp + 0xc4], xmm0
movsd xmm0, qword [esp + 0x94]
cvtsi2sd xmm1, eax
mulsd xmm1, qword [esp + 0xac]
addsd xmm0, xmm1
movsd qword [esp + 0xac], xmm1
movapd xmm1, xmm3
subsd xmm1, xmm2
comisd xmm0, xmm1
movsd qword [esp + 0x94], xmm0
jb 0x47ecd6
fld qword [esp + 0x74]
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
sub esp, 8
lea ecx, [esp + 0x26c]
fstp qword [esp]
push ecx
mov ecx, esi
movsd qword [esp + 0xa0], xmm3
movsd qword [esp + 0x98], xmm3
call edx
fldz
movq xmm0, qword [eax]
sub esp, 8
movq qword [esp + 0x84], xmm0
fstp qword [esp]
movq xmm0, qword [eax + 8]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x248]
push ecx
mov ecx, edi
movq qword [esp + 0x94], xmm0
call fcn.0046a050
movq xmm0, qword [eax]
movq qword [esp + 0xb4], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x47edd5
movsd xmm2, qword [esp + 0x8c]
comisd xmm2, xmm1
jb 0x47edde
subsd xmm3, xmm0
movsd qword [esp + 0x8c], xmm0
movsd qword [esp + 0xac], xmm3
jmp 0x47edde
movq xmm1, qword [esp + 0x144]
mulsd xmm0, qword [0x5fd068]
movq qword [esp + 0xb4], xmm1
movq xmm1, qword [esp + 0x14c]
movq qword [esp + 0xbc], xmm1
movq xmm1, qword [esp + 0x154]
movq qword [esp + 0xc4], xmm1
movsd xmm1, qword [esp + 0x74]
movsd qword [esp + 0xac], xmm0
movsd xmm0, qword [esp + 0x8c]
movapd xmm3, xmm1
subsd xmm3, xmm2
comisd xmm0, xmm3
movsd qword [esp + 0x94], xmm0
jb 0x47ed85
movsd qword [esp + 0x8c], xmm1
movsd qword [esp + 0x94], xmm1
jmp 0x47edde
comisd xmm0, xmmword [esp + 0xe4]
jb 0x47edde
subsd xmm1, xmm0
movsd qword [esp + 0xac], xmm1
jmp 0x47edde
movq qword [esp + 0xb4], xmm0
movq xmm0, qword [esp + 0x14c]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [esp + 0x154]
movsd qword [esp + 0x8c], xmm3
movsd qword [esp + 0x94], xmm3
movq qword [esp + 0xc4], xmm0
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x60]
jl 0x47edf6
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
call fcn.00412980
mov ecx, dword [esp + 0x58]
movq xmm0, qword [esp + 0xb4]
lea eax, [ecx + ebx]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xbc]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xc4]
movq qword [eax + 0x10], xmm0
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xf8]
push ecx
lea eax, [esp + 0x84]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0xd4]
push edx
mov ecx, edi
call fcn.0046a4e0
test al, al
jne 0x47ee85
xorps xmm0, xmm0
movsd qword [esp + 0xcc], xmm0
movsd qword [esp + 0xd4], xmm0
movsd qword [esp + 0xdc], xmm0
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jl 0x47ee9d
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x50]
call fcn.00412980
mov edx, dword [esp + 0x4c]
fld qword [esp + 0x10c]
movq xmm0, qword [esp + 0xcc]
lea eax, [edx + ebx]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xd4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xdc]
movq qword [eax + 0x10], xmm0
mov eax, dword [esp + 0x58]
sub esp, 8
lea eax, [eax + ebx - 0x18]
fstp qword [esp]
push eax
lea ecx, [esp + 0xc0]
call fcn.004a8800
movsd xmm3, qword [esp + 0x74]
test al, al
jne 0x47f0f3
mov eax, 1
add dword [esp + 0x34], eax
add dword [esp + 0x48], eax
add ebx, 0x18
comisd xmm3, xmmword [esp + 0x8c]
ja 0x47e821
mov eax, dword [esp + 0x34]
cmp eax, 2
jne 0x47f172
mov eax, dword [esi]
addsd xmm3, qword [esp + 0x64]
mulsd xmm3, qword [0x5fb9c8]
lea ecx, [esp + 0x174]
push ecx
lea edx, [esp + 0xf8]
push edx
mov edx, dword [eax + 0x5c]
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
movsd qword [esp + 0x180], xmm3
call edx
fldz
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x248]
push ecx
mov ecx, edi
call fcn.0046a050
movq xmm0, qword [eax]
movq qword [esp + 0x15c], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x164], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [esp + 0x58]
mov ebx, 0x18
lea ecx, [eax + ebx]
push ecx
lea edx, [esp + 0x160]
push edx
push eax
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0x18c]
push ecx
movq qword [esp + 0x180], xmm0
call fcn.0057aab0
fld qword [esp + 0x120]
fxch st(1)
add esp, 0x14
fcompi st(1)
fstp st(0)
jbe 0x47f18c
movsd xmm2, qword [esp + 0x17c]
movsd xmm1, qword [0x5fc860]
movsd xmm0, qword [0x5ff758]
andpd xmm2, xmm1
comisd xmm2, xmm0
jbe 0x47f18c
movsd xmm2, qword [esp + 0x1dc]
andpd xmm2, xmm1
comisd xmm2, xmm0
jbe 0x47f18c
mov edx, dword [esp + 0x58]
add edx, ebx
push edx
push 2
lea ecx, [esp + 0x60]
call fcn.00439de0
mov eax, dword [esp + 0x58]
movq xmm0, qword [esp + 0x15c]
add eax, ebx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x164]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x16c]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xf8]
movq qword [eax + 0x10], xmm0
push edx
lea eax, [esp + 0xd4]
push eax
mov ecx, edi
call fcn.0046a4e0
test al, al
jne 0x47f0a7
xorps xmm0, xmm0
movsd qword [esp + 0xcc], xmm0
movsd qword [esp + 0xd4], xmm0
movsd qword [esp + 0xdc], xmm0
mov ecx, dword [esp + 0x4c]
add ecx, ebx
push ecx
push 2
lea ecx, [esp + 0x54]
call fcn.00439de0
mov edx, dword [esp + 0x4c]
movq xmm0, qword [esp + 0xcc]
lea eax, [edx + ebx]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0xd4]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0xdc]
movq qword [eax + 0x10], xmm0
mov eax, 3
jmp 0x47f178
movsd xmm1, qword [esp + 0x94]
movapd xmm0, xmm3
subsd xmm0, qword [0x5ff758]
comisd xmm1, xmm0
jbe 0x47ef0d
mov eax, 1
cmp dword [esp + 0x34], eax
jle 0x47ef02
mov ecx, dword [esp + 0x58]
movq xmm0, qword [ecx + ebx]
movq qword [ecx + ebx - 0x18], xmm0
movq xmm0, qword [ecx + ebx + 8]
lea eax, [ecx + ebx]
movq qword [eax - 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [eax - 8], xmm0
mov edx, dword [esp + 0x4c]
movq xmm0, qword [edx + ebx]
lea eax, [edx + ebx]
movq qword [eax - 0x18], xmm0
movq xmm0, qword [eax + 8]
movq qword [eax - 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [eax - 8], xmm0
jmp 0x47ef0d
jle 0x47f18c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x5c]
push edx
push eax
mov ecx, edi
call fcn.0046be50
jmp 0x47f1a1
mov ecx, dword [esp + 0x34]
push 0
push 0
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, edi
call fcn.0046bdf0
mov ebx, eax
test ebx, ebx
je 0x47f242
cmp dword [esp + 0x44], 1
jle 0x47f204
cmp dword [ebx + 0xc], 0x13
je 0x47f204
push 0xe0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x104], eax
mov byte [esp + 0x2c0], 3
test eax, eax
je 0x47f1e6
push ebx
mov ecx, eax
call fcn.005162a0
mov dword [esp + 0x38], eax
jmp 0x47f1ee
mov dword [esp + 0x38], 0
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
mov byte [esp + 0x2c4], 2
call eax
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x47f212
mov dword [esp + 0x40], ebx
jmp 0x47f242
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
push ebx
mov dword [esp + 0x108], ecx
call eax
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x47f233
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x70]
movsd xmm2, qword [esp + 0x74]
inc eax
cmp eax, dword [esp + 0x44]
movsd qword [esp + 0x64], xmm2
mov dword [esp + 0x70], eax
jl 0x47e60c
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x2c0], 1
test eax, eax
je 0x47f27e
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
fld qword [esp + 0x1fc]
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x1fc]
fstp qword [esp]
call eax
fld qword [esp + 0x204]
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x204]
fstp qword [esp]
call eax
mov eax, dword [esp + 0x4c]
xor esi, esi
cmp eax, esi
je 0x47f2d4
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], esi
cmp eax, esi
je 0x47f2ee
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fld qword [esp + 0x1fc]
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x1fc]
fstp qword [esp]
call eax
fld qword [esp + 0x204]
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [esp + 0x204]
fstp qword [esp]
call eax
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
cmp eax, ebx
je 0x47f360
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
je 0x47f376
push eax
call esi
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc