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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
cmp byte [0xa18e80], 0
push ebx
push ebp
push esi
push edi
jne 0x4c7b63
mov eax, dword [0xa230b8]
lea eax, [eax + eax*2 + 3]
add eax, eax
push eax
push 0x18
push 0
push 4
call fcn.004d2cd0
add esp, 0x10
mov esi, eax
call fcn.00437df0
xorps xmm0, xmm0
movss xmm1, dword [0x6db028]
movss xmm2, dword [0x6e2558]
movss xmm3, dword [0x6dd4e0]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
or ebp, 0xffffffff
add esi, 0x90
mov eax, 0xa1b0b8
fstp dword [esp + 0x18]
fild qword [0xa231b8]
fdiv dword [0xa23120]
movss dword [esi - 0x90], xmm0
movss dword [esi - 0x8c], xmm2
movss dword [esi - 0x74], xmm2
movss dword [esi - 0x5c], xmm3
movss dword [esi - 0x44], xmm3
movss dword [esi - 0x30], xmm0
movss dword [esi - 0x2c], xmm3
movss dword [esi - 0x18], xmm0
movss dword [esi - 0x14], xmm2
movss dword [esi - 0x10], xmm1
movss dword [esi - 0x28], xmm1
movss dword [esi - 0x40], xmm1
movss dword [esi - 0x58], xmm1
movss dword [esi - 0x70], xmm1
movss dword [esi - 0x88], xmm1
mov dword [esi - 0xc], ebp
mov dword [esi - 0x24], ebp
mov dword [esi - 0x3c], ebp
mov dword [esi - 0x54], ebp
mov dword [esi - 0x6c], ebp
mov dword [esi - 0x84], ebp
movss dword [esi - 8], xmm0
movss dword [esi - 0x20], xmm0
movss dword [esi - 0x38], xmm0
movss dword [esi - 0x50], xmm0
movss dword [esi - 0x68], xmm0
movss dword [esi - 0x80], xmm0
movss dword [esi - 4], xmm0
movss dword [esi - 0x1c], xmm0
movss dword [esi - 0x34], xmm0
movss dword [esi - 0x4c], xmm0
movss dword [esi - 0x64], xmm0
movss dword [esi - 0x7c], xmm0
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esi - 0x78]
fst dword [esi - 0x60]
fstp dword [esi - 0x48]
mov ebx, dword [0xa230b8]
add ebx, ebp
js 0x4c79a3
lea edi, [ebx + 1]
cmp edi, 4
jl 0x4c7853
shr edi, 2
mov ecx, edi
neg ecx
lea edx, [ebx + ecx*4]
mov dword [esp + 0x1c], edx
mov ecx, dword [0xa23110]
mov ebx, dword [eax]
mov edx, dword [0xa23114]
mov ebp, dword [eax + 4]
sub ebx, ecx
sbb ebp, edx
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x24], ebp
fild qword [esp + 0x20]
sub ebx, ecx
fld dword [0xa23120]
mov ecx, dword [eax + 0xc]
fld st(0)
sbb ecx, edx
fdivp st(2)
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
movzx ebx, byte [eax + 0x12]
movzx ecx, dl
shl ecx, 0x10
or ecx, ebx
and edx, 0xff00ff00
or ecx, edx
movss dword [esi + 4], xmm2
movss dword [esi + 0x1c], xmm2
movss dword [esi + 0x34], xmm3
movss dword [esi + 0x4c], xmm3
movss dword [esi + 0x64], xmm3
movss dword [esi + 0x7c], xmm2
movss dword [esi + 0x80], xmm1
movss dword [esi + 0x68], xmm1
movss dword [esi + 0x50], xmm1
movss dword [esi + 0x38], xmm1
movss dword [esi + 0x20], xmm1
movss dword [esi + 8], xmm1
mov dword [esi + 0x84], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc], ecx
movss dword [esi + 0x88], xmm0
movss dword [esi + 0x70], xmm0
movss dword [esi + 0x58], xmm0
movss dword [esi + 0x40], xmm0
movss dword [esi + 0x28], xmm0
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x8c], xmm0
movss dword [esi + 0x74], xmm0
fxch st(1)
movss dword [esi + 0x5c], xmm0
fstp dword [esp + 0x14]
movss dword [esi + 0x44], xmm0
fld dword [esp + 0x14]
movss dword [esi + 0x2c], xmm0
fmul st(2)
movss dword [esi + 0x14], xmm0
fstp dword [esp + 0x10]
fild qword [esp + 0x28]
movss xmm4, dword [esp + 0x10]
movss dword [esi + 0x78], xmm4
fdivrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fst dword [esi]
fld dword [esp + 0x14]
fst dword [esi + 0x18]
fst dword [esi + 0x30]
fstp dword [esi + 0x48]
fstp dword [esi + 0x60]
mov ebx, dword [eax + 0x20]
mov ecx, dword [0xa23110]
mov ebp, dword [eax + 0x24]
mov edx, dword [0xa23114]
sub ebx, ecx
sbb ebp, edx
mov dword [esp + 0x30], ebx
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x34], ebp
fild qword [esp + 0x30]
sub ebx, ecx
fld dword [0xa23120]
mov ecx, dword [eax + 0x2c]
fld st(0)
sbb ecx, edx
fdivp st(2)
mov edx, dword [eax + 0x30]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
movzx ebx, byte [eax + 0x32]
movzx ecx, dl
shl ecx, 0x10
or ecx, ebx
and edx, 0xff00ff00
or ecx, edx
movss dword [esi + 0x94], xmm2
movss dword [esi + 0xac], xmm2
movss dword [esi + 0xc4], xmm3
movss dword [esi + 0xdc], xmm3
movss dword [esi + 0xf4], xmm3
movss dword [esi + 0x10c], xmm2
movss dword [esi + 0x110], xmm1
movss dword [esi + 0xf8], xmm1
movss dword [esi + 0xe0], xmm1
movss dword [esi + 0xc8], xmm1
movss dword [esi + 0xb0], xmm1
movss dword [esi + 0x98], xmm1
mov dword [esi + 0x114], ecx
mov dword [esi + 0xfc], ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xb4], ecx
mov dword [esi + 0x9c], ecx
movss dword [esi + 0x118], xmm0
movss dword [esi + 0x100], xmm0
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xd0], xmm0
movss dword [esi + 0xb8], xmm0
movss dword [esi + 0xa0], xmm0
movss dword [esi + 0x11c], xmm0
movss dword [esi + 0x104], xmm0
fxch st(1)
movss dword [esi + 0xec], xmm0
fstp dword [esp + 0x14]
movss dword [esi + 0xd4], xmm0
fld dword [esp + 0x14]
movss dword [esi + 0xbc], xmm0
fmul st(2)
movss dword [esi + 0xa4], xmm0
fstp dword [esp + 0x10]
fild qword [esp + 0x38]
movss xmm4, dword [esp + 0x10]
movss dword [esi + 0x108], xmm4
fdivrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fst dword [esi + 0x90]
fld dword [esp + 0x14]
fst dword [esi + 0xa8]
fst dword [esi + 0xc0]
fstp dword [esi + 0xd8]
fstp dword [esi + 0xf0]
mov ebx, dword [eax + 0x40]
mov ecx, dword [0xa23110]
mov ebp, dword [eax + 0x44]
mov edx, dword [0xa23114]
sub ebx, ecx
sbb ebp, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
fild qword [esp + 0x40]
fld dword [0xa23120]
fld st(0)
fdivp st(2)
mov ebx, dword [eax + 0x48]
fxch st(1)
fstp dword [esp + 0x14]
sub ebx, ecx
mov ecx, dword [eax + 0x4c]
fld dword [esp + 0x14]
fmul st(2)
sbb ecx, edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x10]
mov dword [esp + 0x48], ebx
fild qword [esp + 0x48]
movzx ebx, byte [eax + 0x52]
movss xmm4, dword [esp + 0x10]
movzx ecx, dl
fdivrp st(1)
shl ecx, 0x10
or ecx, ebx
and edx, 0xff00ff00
or ecx, edx
movss dword [esi + 0x124], xmm2
movss dword [esi + 0x13c], xmm2
movss dword [esi + 0x154], xmm3
movss dword [esi + 0x16c], xmm3
movss dword [esi + 0x184], xmm3
movss dword [esi + 0x198], xmm4
movss dword [esi + 0x19c], xmm2
movss dword [esi + 0x1a0], xmm1
movss dword [esi + 0x188], xmm1
movss dword [esi + 0x170], xmm1
movss dword [esi + 0x158], xmm1
movss dword [esi + 0x140], xmm1
movss dword [esi + 0x128], xmm1
mov dword [esi + 0x1a4], ecx
mov dword [esi + 0x18c], ecx
mov dword [esi + 0x174], ecx
mov dword [esi + 0x15c], ecx
mov dword [esi + 0x144], ecx
mov dword [esi + 0x12c], ecx
movss dword [esi + 0x1a8], xmm0
movss dword [esi + 0x190], xmm0
movss dword [esi + 0x178], xmm0
movss dword [esi + 0x160], xmm0
movss dword [esi + 0x148], xmm0
movss dword [esi + 0x130], xmm0
movss dword [esi + 0x1ac], xmm0
movss dword [esi + 0x194], xmm0
movss dword [esi + 0x17c], xmm0
movss dword [esi + 0x164], xmm0
movss dword [esi + 0x14c], xmm0
movss dword [esi + 0x134], xmm0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fst dword [esi + 0x120]
fld dword [esp + 0x14]
fst dword [esi + 0x138]
fst dword [esi + 0x150]
fstp dword [esi + 0x168]
fstp dword [esi + 0x180]
mov ebx, dword [eax + 0x60]
mov ecx, dword [0xa23110]
mov ebp, dword [eax + 0x64]
mov edx, dword [0xa23114]
sub ebx, ecx
sbb ebp, edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
fild qword [esp + 0x50]
mov ebx, dword [eax + 0x68]
fld dword [0xa23120]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x10]
sub ebx, ecx
mov ecx, dword [eax + 0x6c]
sbb ecx, edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ebx
fild qword [esp + 0x58]
movzx ebx, byte [eax + 0x72]
movss xmm4, dword [esp + 0x10]
movzx ecx, dl
fdivrp st(1)
shl ecx, 0x10
or ecx, ebx
and edx, 0xff00ff00
or ecx, edx
movss dword [esi + 0x1b4], xmm2
movss dword [esi + 0x1cc], xmm2
movss dword [esi + 0x1e4], xmm3
movss dword [esi + 0x1fc], xmm3
movss dword [esi + 0x214], xmm3
movss dword [esi + 0x228], xmm4
movss dword [esi + 0x22c], xmm2
movss dword [esi + 0x230], xmm1
movss dword [esi + 0x218], xmm1
movss dword [esi + 0x200], xmm1
movss dword [esi + 0x1e8], xmm1
movss dword [esi + 0x1d0], xmm1
movss dword [esi + 0x1b8], xmm1
mov dword [esi + 0x234], ecx
mov dword [esi + 0x21c], ecx
mov dword [esi + 0x204], ecx
mov dword [esi + 0x1ec], ecx
mov dword [esi + 0x1d4], ecx
mov dword [esi + 0x1bc], ecx
movss dword [esi + 0x238], xmm0
movss dword [esi + 0x220], xmm0
movss dword [esi + 0x208], xmm0
movss dword [esi + 0x1f0], xmm0
movss dword [esi + 0x1d8], xmm0
movss dword [esi + 0x1c0], xmm0
movss dword [esi + 0x23c], xmm0
movss dword [esi + 0x224], xmm0
movss dword [esi + 0x20c], xmm0
movss dword [esi + 0x1f4], xmm0
movss dword [esi + 0x1dc], xmm0
movss dword [esi + 0x1c4], xmm0
add esi, 0x240
fstp dword [esp + 0x14]
sub eax, 0xffffff80
sub edi, 1
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fst dword [esi - 0x90]
fld dword [esp + 0x14]
fst dword [esi - 0x78]
fst dword [esi - 0x60]
fstp dword [esi - 0x48]
fstp dword [esi - 0x30]
jne 0x4c7264
mov ebx, dword [esp + 0x1c]
or ebp, 0xffffffff
test ebx, ebx
jl 0x4c79a3
mov ecx, dword [0xa23110]
mov edi, dword [eax]
mov edx, dword [0xa23114]
mov ebp, dword [eax + 4]
sub edi, ecx
sbb ebp, edx
mov dword [esp + 0x58], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x5c], ebp
fild qword [esp + 0x58]
sub edi, ecx
fld dword [0xa23120]
mov ecx, dword [eax + 0xc]
fld st(0)
sbb ecx, edx
fdivp st(2)
mov edx, dword [eax + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edi
movzx edi, byte [eax + 0x12]
movzx ecx, dl
shl ecx, 0x10
or ecx, edi
and edx, 0xff00ff00
or ecx, edx
movss dword [esi + 4], xmm2
movss dword [esi + 0x1c], xmm2
movss dword [esi + 0x34], xmm3
movss dword [esi + 0x4c], xmm3
movss dword [esi + 0x64], xmm3
movss dword [esi + 0x7c], xmm2
movss dword [esi + 0x80], xmm1
movss dword [esi + 0x68], xmm1
movss dword [esi + 0x50], xmm1
movss dword [esi + 0x38], xmm1
movss dword [esi + 0x20], xmm1
movss dword [esi + 8], xmm1
mov dword [esi + 0x84], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc], ecx
movss dword [esi + 0x88], xmm0
movss dword [esi + 0x70], xmm0
movss dword [esi + 0x58], xmm0
movss dword [esi + 0x40], xmm0
movss dword [esi + 0x28], xmm0
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x8c], xmm0
movss dword [esi + 0x74], xmm0
fxch st(1)
movss dword [esi + 0x5c], xmm0
fstp dword [esp + 0x1c]
movss dword [esi + 0x44], xmm0
fld dword [esp + 0x1c]
movss dword [esi + 0x2c], xmm0
fmul st(2)
movss dword [esi + 0x14], xmm0
add esi, 0x90
add eax, 0x20
sub ebx, 1
fstp dword [esp + 0x10]
fild qword [esp + 0x50]
movss xmm4, dword [esp + 0x10]
movss dword [esi - 0x18], xmm4
fdivrp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fst dword [esi - 0x90]
fld dword [esp + 0x14]
fst dword [esi - 0x78]
fst dword [esi - 0x60]
fstp dword [esi - 0x48]
fstp dword [esi - 0x30]
jns 0x4c785b
or ebp, 0xffffffff
push 0xa
fstp st(0)
push 0x18
push 0
push 2
call fcn.004d2cd0
mov ecx, eax
xorps xmm0, xmm0
cvttss2si eax, dword [esp + 0x28]
movss xmm1, dword [0x6dd3e0]
movss xmm2, dword [0x6dd4c4]
movss xmm3, dword [0x6dd4e0]
cdq
and edx, 3
add eax, edx
sar eax, 2
cvtsi2ss xmm4, eax
lea edx, [eax + eax]
movss dword [ecx + 0x30], xmm4
movss dword [ecx + 0x48], xmm4
cvtsi2ss xmm4, edx
add edx, eax
movss dword [ecx + 0x60], xmm4
movss dword [ecx + 0x78], xmm4
cvtsi2ss xmm4, edx
add esp, 0x10
add eax, edx
movss dword [ecx + 0x90], xmm4
movss dword [ecx + 0xa8], xmm4
cvtsi2ss xmm4, eax
movss dword [ecx], xmm0
movss dword [ecx + 0x18], xmm0
movss dword [ecx + 4], xmm2
movss dword [ecx + 0x1c], xmm3
movss dword [ecx + 0x20], xmm1
movss dword [ecx + 8], xmm1
mov dword [ecx + 0x24], ebp
mov dword [ecx + 0xc], ebp
movss dword [ecx + 0x2c], xmm0
movss dword [ecx + 0x14], xmm0
movss dword [ecx + 0x28], xmm0
movss dword [ecx + 0x10], xmm0
movss dword [ecx + 0x34], xmm2
movss dword [ecx + 0x4c], xmm3
movss dword [ecx + 0x50], xmm1
movss dword [ecx + 0x38], xmm1
mov dword [ecx + 0x54], ebp
mov dword [ecx + 0x3c], ebp
movss dword [ecx + 0x5c], xmm0
movss dword [ecx + 0x44], xmm0
movss dword [ecx + 0x58], xmm0
movss dword [ecx + 0x40], xmm0
movss dword [ecx + 0x64], xmm2
movss dword [ecx + 0x7c], xmm3
movss dword [ecx + 0x80], xmm1
movss dword [ecx + 0x68], xmm1
mov dword [ecx + 0x84], ebp
mov dword [ecx + 0x6c], ebp
movss dword [ecx + 0x8c], xmm0
movss dword [ecx + 0x74], xmm0
movss dword [ecx + 0x88], xmm0
movss dword [ecx + 0x70], xmm0
movss dword [ecx + 0x94], xmm2
movss dword [ecx + 0xac], xmm3
movss dword [ecx + 0xb0], xmm1
movss dword [ecx + 0x98], xmm1
mov dword [ecx + 0xb4], ebp
mov dword [ecx + 0x9c], ebp
movss dword [ecx + 0xbc], xmm0
movss dword [ecx + 0xa4], xmm0
movss dword [ecx + 0xb8], xmm0
movss dword [ecx + 0xa0], xmm0
movss dword [ecx + 0xc0], xmm4
movss dword [ecx + 0xd8], xmm4
movss dword [ecx + 0xc4], xmm2
movss dword [ecx + 0xdc], xmm3
movss dword [ecx + 0xe0], xmm1
movss dword [ecx + 0xc8], xmm1
mov dword [ecx + 0xe4], ebp
mov dword [ecx + 0xcc], ebp
movss dword [ecx + 0xec], xmm0
movss dword [ecx + 0xd4], xmm0
movss dword [ecx + 0xe8], xmm0
movss dword [ecx + 0xd0], xmm0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret