Function at 0x4c7200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f1941
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x615cbc]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
fldz
xorps xmm0, xmm0
mov edi, ecx
mov eax, dword [edi + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [edi + 0xc]
mov ebx, dword [edi + ecx*4]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x1dc]
push eax
lea ecx, [esp + 0x138]
lea edx, [esi + 0x130]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], edx
movsd qword [esp + 0x1e4], xmm0
movsd qword [esp + 0x1ec], xmm0
call fcn.0046a050
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x138]
push eax
lea edx, [esp + 0x78]
push edx
call fcn.004a8ae0
lea ecx, [esp + 0x74]
call fcn.004a88b0
fld qword [0x616240]
mov eax, dword [esp + 0x1c]
movsd xmm2, qword [ebx + 0x100]
subsd xmm2, qword [esp + 0x13c]
movsd xmm5, qword [eax + 0x10]
movsd xmm3, qword [eax + 8]
movsd xmm4, qword [eax]
fcompi st(1)
fstp st(0)
mulsd xmm2, xmm5
jbe 0x4c7711
movsd xmm1, qword [ebx + 0xf0]
subsd xmm1, qword [esp + 0x12c]
movsd xmm0, qword [ebx + 0xf8]
subsd xmm0, qword [esp + 0x134]
mov eax, dword [ebx]
mov edx, dword [eax + 0x90]
mulsd xmm0, xmm3
mulsd xmm1, xmm4
addsd xmm0, xmm1
movsd xmm1, qword [ebx + 0x140]
addsd xmm0, xmm2
movsd xmm2, qword [ebx + 0x138]
mulsd xmm2, xmm4
mulsd xmm1, xmm3
addsd xmm1, xmm2
movsd xmm2, qword [ebx + 0x148]
mulsd xmm2, xmm5
addsd xmm1, xmm2
divsd xmm0, xmm1
xorpd xmm0, xmmword [0x5fc740]
movsd qword [esp + 0xd4], xmm0
xorps xmm0, xmm0
push 0
lea ecx, [esp + 0xd8]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [0x616648]
push ecx
mov ecx, ebx
movsd qword [esp + 0xec], xmm0
call edx
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4c73a1
mov eax, 3
jmp 0x4c8323
xorps xmm0, xmm0
movsd qword [esp + 0x84], xmm0
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x154], xmm0
movsd qword [esp + 0x14c], xmm0
movsd qword [esp + 0x144], xmm0
movsd qword [esp + 0x19c], xmm0
movsd qword [esp + 0x194], xmm0
movsd qword [esp + 0x18c], xmm0
movsd qword [esp + 0x16c], xmm0
movsd qword [esp + 0x164], xmm0
movsd qword [esp + 0x15c], xmm0
movsd qword [esp + 0x94], xmm0
movsd qword [esp + 0x8c], xmm0
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x18]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x148]
push ecx
addsd xmm0, xmm1
mulsd xmm0, qword [0x5fb9c8]
movsd qword [esp + 0x74], xmm0
mov edx, dword [eax]
mov edx, dword [edx + 0x80]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, esi
call fcn.0046af30
movq xmm0, qword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x74]
movq qword [esp + 0x8c], xmm0
movq xmm0, qword [eax + 8]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, esi
movq qword [esp + 0x9c], xmm0
call edx
movq xmm0, qword [eax]
movq qword [esp + 0x18c], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x194], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, ebx
movq qword [esp + 0x1a4], xmm0
call fcn.0046af30
movq xmm0, qword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x74]
movq qword [esp + 0x8c], xmm0
movq xmm0, qword [eax + 8]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, ebx
movq qword [esp + 0x9c], xmm0
call edx
movq xmm0, qword [eax]
movq qword [esp + 0x15c], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x164], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0x15c]
movq qword [esp + 0x16c], xmm0
push eax
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esp + 0x194]
call fcn.004a8ae0
cmp dword [edi + 8], 1
movsd xmm2, qword [esp + 0x114]
movq xmm0, qword [esp + 0x11c]
movq xmm1, qword [esp + 0x124]
jne 0x4c7589
movsd xmm3, qword [0x5fc740]
xorpd xmm2, xmm3
xorpd xmm0, xmm3
xorpd xmm1, xmm3
mulsd xmm0, qword [esp + 0x14c]
mulsd xmm2, qword [esp + 0x144]
mulsd xmm1, qword [esp + 0x154]
mov ebx, dword [esp + 0x1c]
addsd xmm0, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x4c75da
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xe0]
push edx
call fcn.005c1090
add esp, 8
fld qword [esp + 0xd4]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x22c]
fld qword [esp + 0xec]
fstp qword [esp]
call fcn.004ae130
fld qword [esp + 0xd4]
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x20c]
fld qword [esp + 0xf4]
mov dword [esp + 0x350], 0
fstp qword [esp]
call fcn.004ae130
push 0x88
mov byte [esp + 0x344], 1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x340], 2
test eax, eax
je 0x4c766b
lea ecx, [esp + 0x1fc]
push ecx
lea edx, [esp + 0x220]
push edx
mov ecx, eax
call fcn.004ac780
jmp 0x4c766d
xor eax, eax
fld qword [0x5ff758]
mov ecx, dword [edi + 0xc]
mov edx, dword [esi]
sub esp, 0x10
fstp qword [esp + 8]
mov dword [esp + ecx*4 + 0x34], eax
fld qword [edi + 0x38]
mov eax, dword [edx + 0x94]
fstp qword [esp]
push ebx
mov ecx, esi
mov byte [esp + 0x354], 1
call eax
mov ecx, dword [edi + 8]
mov dword [esp + ecx*4 + 0x24], eax
mov eax, dword [eax + 0xc]
cmp eax, 0xe
je 0x4c76f8
mov edx, dword [edi + 0xc]
mov esi, dword [esp + edx*4 + 0x24]
push 0xa0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x340], 3
test eax, eax
je 0x4c76d9
push esi
mov ecx, eax
call fcn.004d9380
jmp 0x4c76db
xor eax, eax
mov ecx, dword [edi + 0xc]
mov byte [esp + 0x340], 1
mov dword [esp + ecx*4 + 0x24], eax
test esi, esi
je 0x4c76f8
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0x18
push ecx
push edx
push ebx
mov ecx, edi
call fcn.004af6e0
jmp 0x4c8317
movsd xmm1, qword [ebx + 0xc8]
movsd xmm0, qword [ebx + 0x80]
addsd xmm0, xmm1
movsd xmm1, qword [ebx + 0xf0]
subsd xmm1, qword [esp + 0x12c]
movapd xmm6, xmm0
movsd xmm0, qword [ebx + 0xf8]
subsd xmm0, qword [esp + 0x134]
mulsd xmm0, xmm3
mulsd xmm1, xmm4
addsd xmm0, xmm1
movsd xmm1, qword [ebx + 0x140]
addsd xmm0, xmm2
movsd xmm2, qword [ebx + 0x138]
mulsd xmm1, xmm3
mulsd xmm2, xmm4
addsd xmm1, xmm2
movsd xmm2, qword [ebx + 0x148]
mulsd xmm2, xmm5
addsd xmm1, xmm2
divsd xmm0, xmm1
xorpd xmm0, xmmword [0x5fc740]
movsd xmm1, qword [0x5fb270]
movsd qword [esp + 0x1b4], xmm0
movsd xmm0, qword [0x5fc880]
divsd xmm0, xmm6
comisd xmm1, xmm0
mov esi, 0xc
movsd qword [esp + 0x6c], xmm0
jbe 0x4c7801
fld1
fsub qword [esp + 0x6c]
call sub.MSVCR90.dll__CIacos
fdivr qword [0x616650]
fst qword [esp + 0x64]
fldz
movsd xmm0, qword [esp + 0x64]
fcompi st(1)
fstp st(0)
jbe 0x4c77ee
subsd xmm0, qword [0x5fb9c8]
jmp 0x4c77f6
addsd xmm0, qword [0x5fb9c8]
cvttsd2si eax, xmm0
cmp eax, 0xc
jle 0x4c7801
mov esi, eax
movsd xmm5, qword [0x616648]
movsd xmm1, qword [ebx + 0x30]
movsd xmm4, qword [ebx + 0x38]
xorps xmm2, xmm2
lea eax, [esi*4]
cvtsi2sd xmm0, eax
movapd xmm3, xmm5
divsd xmm3, xmm0
movapd xmm0, xmm4
subsd xmm0, xmm1
mulsd xmm0, qword [0x5fc870]
subsd xmm1, xmm0
comisd xmm2, xmm1
movsd qword [esp + 0x6c], xmm1
jbe 0x4c7853
movapd xmm1, xmm2
movsd qword [esp + 0x6c], xmm1
addsd xmm0, xmm4
comisd xmm0, xmm5
movsd qword [esp + 0x64], xmm0
jbe 0x4c786d
movapd xmm0, xmm5
movsd qword [esp + 0x64], xmm0
subsd xmm0, xmm1
movapd xmm4, xmm0
divsd xmm4, xmm3
cvttsd2si esi, xmm4
inc esi
cmp esi, 3
movsd qword [esp + 0x8c], xmm0
mov dword [esp + 0x20], esi
jge 0x4c789c
mov dword [esp + 0x20], 3
mov esi, dword [esp + 0x20]
lea ecx, [esi - 1]
cvtsi2sd xmm3, ecx
xor eax, eax
divsd xmm0, xmm3
push esi
lea ecx, [esp + 0x38]
movsd qword [esp + 0x1a8], xmm0
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xb0], xmm2
movsd qword [esp + 0xa8], xmm2
movsd qword [esp + 0xd0], xmm2
movsd qword [esp + 0xc8], xmm2
movsd qword [esp + 0xc0], xmm2
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
call fcn.00412980
xor eax, eax
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x344], 4
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
call fcn.00412980
xor eax, eax
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x344], 5
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
call fcn.00412b00
xor eax, eax
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x344], 6
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], eax
call fcn.00412b00
xor ecx, ecx
mov byte [esp + 0x340], 7
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x4c7db5
movsd xmm0, qword [esp + 0x9c]
jmp 0x4c79a4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
fldz
mov edi, ecx
shl edi, 4
lea eax, [edi + edx]
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x1b4]
movsd qword [eax + 8], xmm0
mov eax, dword [esp + 0x4c]
lea esi, [ecx + ecx*2]
mov ecx, dword [esp + 0x40]
sub esp, 8
add esi, esi
fstp qword [esp]
add eax, edi
add esi, esi
push eax
add esi, esi
lea edx, [esi + ecx]
lea eax, [esp + 0x108]
push eax
mov ecx, ebx
mov dword [esp + 0x34], edx
call fcn.0046a050
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x24]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebx + 0x138]
push eax
mov eax, dword [esp + 0x34]
movq qword [ecx + 0x10], xmm0
mov edx, dword [esp + 0x44]
add eax, 0x130
push eax
lea ecx, [esp + 0x134]
push ecx
lea ecx, [esi + edx]
call fcn.004a91c0
fstp st(0)
mov eax, dword [esp + 0x40]
lea ecx, [esi + eax]
push ecx
lea edx, [esp + 0x118]
push edx
mov ecx, ebx
call fcn.0046af30
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x11c]
movsd qword [edi + eax + 8], xmm0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
lea eax, [esi + ecx]
lea ecx, [edi + edx]
push eax
lea edx, [esp + 0xd8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.0046af30
cmp dword [esp + 0x1c], 0
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x24]
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
jle 0x4c7d66
mov eax, dword [esp + 0x4c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x74]
add eax, edi
push eax
lea eax, [esp + 0x100]
push eax
mov ecx, ebx
call edx
movq xmm0, qword [eax]
movq qword [esp + 0xa4], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xac], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [esp + 0x58]
add eax, edi
mov edi, dword [esp + 0x30]
mov edx, dword [edi]
mov edx, dword [edx + 0x74]
push eax
lea eax, [esp + 0x100]
push eax
mov ecx, edi
movq qword [esp + 0xbc], xmm0
call edx
movq xmm0, qword [eax]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xc4], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0xac]
movq qword [esp + 0xd4], xmm0
call fcn.004a8ae0
mov edx, dword [esp + 0x34]
movq xmm0, qword [esp + 0x74]
lea eax, [esi + edx]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x7c]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x84]
movq qword [eax + 0x10], xmm0
mov eax, dword [esp + 0x34]
lea ecx, [esi + eax]
call fcn.004a8b50
fstp st(0)
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esi + eax]
subsd xmm0, qword [esi + eax - 0x18]
movsd xmm1, qword [esi + eax + 8]
subsd xmm1, qword [esi + eax - 0x10]
movsd xmm2, qword [esi + eax + 0x10]
subsd xmm2, qword [esi + eax - 8]
mov eax, dword [esp + 0x34]
movsd xmm3, qword [esi + eax + 8]
add esi, eax
mulsd xmm3, xmm1
movsd xmm1, qword [esi]
mulsd xmm1, xmm0
movsd xmm0, qword [esi + 0x10]
mulsd xmm0, xmm2
addsd xmm3, xmm1
addsd xmm3, xmm0
xorps xmm0, xmm0
comisd xmm0, xmm3
jbe 0x4c7c0e
movsd xmm0, qword [0x5fc740]
movsd xmm1, qword [esi]
xorpd xmm1, xmm0
movsd qword [esi], xmm1
movsd xmm1, qword [esi + 8]
xorpd xmm1, xmm0
movsd qword [esi + 8], xmm1
movsd xmm1, qword [esi + 0x10]
xorpd xmm1, xmm0
movsd qword [esi + 0x10], xmm1
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x1c], 1
jne 0x4c7d6a
mov eax, dword [esp + 0x4c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x74]
push eax
lea ecx, [esp + 0x100]
push ecx
mov ecx, ebx
call edx
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x58]
movq qword [esp + 0xa4], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xac], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [edi]
mov eax, dword [eax + 0x74]
push ecx
lea edx, [esp + 0x100]
push edx
mov ecx, edi
movq qword [esp + 0xbc], xmm0
call eax
movq xmm0, qword [eax]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 8]
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x78]
movq qword [esp + 0xc8], xmm0
movq xmm0, qword [eax + 0x10]
push edx
lea ecx, [esp + 0xac]
movq qword [esp + 0xd4], xmm0
call fcn.004a8ae0
movq xmm0, qword [esp + 0x74]
mov eax, dword [esp + 0x34]
movq qword [eax], xmm0
mov ecx, dword [esp + 0x34]
movq xmm0, qword [esp + 0x7c]
movq qword [ecx + 8], xmm0
mov edx, dword [esp + 0x34]
movq xmm0, qword [esp + 0x84]
movq qword [edx + 0x10], xmm0
mov ecx, dword [esp + 0x34]
call fcn.004a8b50
fstp st(0)
mov eax, dword [esp + 0x40]
movsd xmm0, qword [eax + 0x18]
subsd xmm0, qword [eax]
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x28]
subsd xmm1, qword [eax + 8]
subsd xmm2, qword [eax + 0x10]
mov eax, dword [esp + 0x34]
mulsd xmm0, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm3, xmm1
addsd xmm3, xmm0
movsd xmm0, qword [eax + 0x10]
mulsd xmm0, xmm2
addsd xmm3, xmm0
xorps xmm0, xmm0
comisd xmm0, xmm3
jbe 0x4c7d6a
movsd xmm0, qword [0x5fc740]
movsd xmm1, qword [eax]
xorpd xmm1, xmm0
movsd qword [eax], xmm1
movsd xmm1, qword [eax + 8]
xorpd xmm1, xmm0
movsd qword [eax + 8], xmm1
movsd xmm1, qword [eax + 0x10]
xorpd xmm1, xmm0
movsd qword [eax + 0x10], xmm1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0xfffffffe
cmp edx, ecx
jne 0x4c7d81
movsd xmm0, qword [esp + 0x64]
jmp 0x4c7d93
movsd xmm0, qword [esp + 0x9c]
addsd xmm0, qword [esp + 0x1a4]
inc edx
cmp edx, dword [esp + 0x20]
movsd qword [esp + 0x9c], xmm0
mov dword [esp + 0x1c], edx
jl 0x4c79a0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
jmp 0x4c7db9
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x8c]
movsd xmm1, qword [0x5fc860]
subsd xmm0, qword [0x616648]
andpd xmm0, xmm1
movsd xmm1, qword [0x5ff760]
comisd xmm1, xmm0
jbe 0x4c7e11
lea ecx, [esi + esi*2]
movq xmm0, qword [eax + ecx*8 - 0x18]
lea ecx, [eax + ecx*8 - 0x18]
movq qword [eax], xmm0
movq xmm0, qword [ecx + 8]
mov edx, dword [esp + 0x34]
movq qword [edx + 8], xmm0
mov eax, dword [esp + 0x34]
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
fld qword [0x5ff788]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x5c]
fld qword [edi + 0x38]
fstp qword [esp]
push edx
fld qword [edi + eax*8 + 0x18]
mov eax, dword [edi + eax*4]
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x5c]
push edx
push esi
sub esp, 8
fstp qword [esp]
push eax
fld qword [edi + ecx*8 + 0x18]
mov ecx, dword [edi + ecx*4]
sub esp, 8
fstp qword [esp]
push ecx
lea ecx, [esp + 0x278]
call fcn.00562b60
cmp byte [esp + 0x23c], 0
mov byte [esp + 0x340], 8
je 0x4c7ea1
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x244]
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x24c]
mov dword [esp + edx*4 + 0x24], eax
mov edx, dword [esp + 0x248]
mov dword [esp + ecx*4 + 0x24], edx
jmp 0x4c7f62
push 0xe0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x340], 9
test eax, eax
je 0x4c7ed2
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x44]
push edx
push esi
mov ecx, eax
call fcn.005094b0
jmp 0x4c7ed4
xor eax, eax
push 0x88
mov byte [esp + 0x344], 8
mov esi, eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x340], 0xa
test eax, eax
je 0x4c7f0f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
push ecx
push edx
push ecx
mov ecx, eax
call fcn.004a5b50
jmp 0x4c7f11
xor eax, eax
mov ecx, dword [edi + 0xc]
push 0x88
mov byte [esp + 0x344], 8
mov dword [esp + ecx*4 + 0x28], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x340], 0xb
test eax, eax
je 0x4c7f51
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push ecx
push edx
push ecx
mov ecx, eax
call fcn.004a5b50
jmp 0x4c7f53
xor eax, eax
mov ecx, dword [edi + 8]
mov byte [esp + 0x340], 8
mov dword [esp + ecx*4 + 0x24], eax
xorps xmm0, xmm0
mov edx, dword [ebx]
mov edx, dword [edx + 0x90]
movsd qword [esp + 0x1e4], xmm0
movsd xmm0, qword [esp + 0x6c]
push 0
lea eax, [esp + 0x1e8]
movsd qword [esp + 0x1f0], xmm0
movsd xmm0, qword [esp + 0x68]
push eax
mov ecx, ebx
movsd qword [esp + 0x1fc], xmm0
call edx
mov dword [esp + 0x20], eax
test eax, eax
je 0x4c8077
test esi, esi
je 0x4c7fbc
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push 0xe0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x340], 0xc
test eax, eax
je 0x4c7feb
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.005162a0
mov dword [esp + 0x1c], eax
jmp 0x4c7ff3
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x138]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x130
push eax
lea edx, [esp + 0x134]
push edx
mov byte [esp + 0x34c], 8
call fcn.00518230
mov ecx, dword [esp + 0x1c]
mov esi, eax
test ecx, ecx
je 0x4c802f
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esp + eax*4 + 0x24]
test ecx, ecx
je 0x4c804e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
fld qword [0x5ff758]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [edi + 0x38]
fstp qword [esp]
push esi
call eax
mov ecx, dword [edi + 8]
mov dword [esp + ecx*4 + 0x24], eax
xorps xmm0, xmm0
movsd qword [esp + 0x1cc], xmm0
movsd qword [esp + 0x1c4], xmm0
movsd qword [esp + 0x1bc], xmm0
movsd qword [esp + 0x184], xmm0
movsd qword [esp + 0x17c], xmm0
movsd qword [esp + 0x174], xmm0
movsd qword [esp + 0xf4], xmm0
movsd qword [esp + 0xec], xmm0
movsd xmm1, qword [esi + 0x10]
movsd xmm0, qword [esi + 0x18]
lea eax, [esp + 0x1ac]
push eax
addsd xmm0, xmm1
mulsd xmm0, qword [0x5fb9c8]
lea ecx, [esp + 0x178]
movsd qword [esp + 0x1b0], xmm0
mov edx, dword [esi]
mov edx, dword [edx + 0x80]
push ecx
lea eax, [esp + 0x1c4]
push eax
mov ecx, esi
call edx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0046af30
movq xmm0, qword [eax]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
movq qword [esp + 0xec], xmm0
movq xmm0, qword [eax + 8]
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x100]
push eax
movq qword [esp + 0xfc], xmm0
call edx
movq xmm0, qword [eax]
movq qword [esp + 0xa4], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xac], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0xd8]
push ecx
mov ecx, ebx
movq qword [esp + 0xbc], xmm0
call fcn.0046af30
movq xmm0, qword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x74]
movq qword [esp + 0xec], xmm0
movq xmm0, qword [eax + 8]
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x100]
push ecx
mov ecx, ebx
movq qword [esp + 0xfc], xmm0
call edx
movq xmm0, qword [eax]
movq qword [esp + 0xbc], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0xc4], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0xac]
movq qword [esp + 0xd4], xmm0
call fcn.004a8ae0
movsd xmm2, qword [esp + 0xfc]
movq xmm0, qword [esp + 0x104]
movq xmm1, qword [esp + 0x10c]
cmp dword [edi + 8], 1
jne 0x4c8242
movsd xmm3, qword [0x5fc740]
xorpd xmm2, xmm3
xorpd xmm0, xmm3
xorpd xmm1, xmm3
mulsd xmm0, qword [esp + 0x17c]
mulsd xmm2, qword [esp + 0x174]
mulsd xmm1, qword [esp + 0x184]
mov ebx, dword [esp + 0x28]
addsd xmm0, xmm2
addsd xmm0, xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x4c828f
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x24]
push 0x18
push ebx
push ecx
push esi
mov ecx, edi
call fcn.004af6e0
xor ebx, ebx
cmp dword [edi + 0x50], ebx
je 0x4c82ad
mov ecx, edi
call fcn.004c5270
lea ecx, [esp + 0x23c]
mov byte [esp + 0x340], 7
call fcn.00560aa0
mov eax, dword [esp + 0x58]
mov esi, dword [sym.imp.MSVCR90.dll_free]
cmp eax, ebx
je 0x4c82d5
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
cmp eax, ebx
je 0x4c82eb
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
je 0x4c8301
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
cmp eax, ebx
je 0x4c8317
push eax
call esi
add esp, 4
xor eax, eax
cmp dword [edi + 0x50], eax
setg al
dec eax
and eax, 3
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.00423eca
mov esp, ebp
pop ebp
ret