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

Disassembly:
sub esp, 0x5c
mov edx, 0xfffffd0c
mov eax, 0x96
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edx
mov edx, dword [0x8d20f4]
cmp dword [edx + 0x360], 0
mov dword [esp + 0x40], eax
mov ecx, 0xffffffdc
mov dword [esp + 0x48], eax
mov eax, 0x14e
mov dword [esp + 0x1c], 0x350
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x24], 0x6a0
mov dword [esp + 0x28], 0x3e0
mov dword [esp + 0x2c], 0x270
mov dword [esp + 0x30], 0x2d0
mov dword [esp + 0x34], 0x5c0
mov dword [esp + 0x38], 0x520
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
je 0x4d29b3
push ebx
push ebp
mov ebp, dword [0x705898]
mov eax, dword [ebp + 0x3c4]
push esi
lea esi, [eax*8]
sub esi, eax
add esi, esi
add esi, esi
mov ecx, eax
shl ecx, 5
sub esi, eax
add ecx, 0x8e89b0
and ecx, 0xfffffff
shl esi, 4
add esi, edx
mov dword [esp + 0x1c], ecx
xor ecx, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
jmp 0x4d26e0
mov ebp, dword [0x705898]
mov edx, dword [0x8d20f4]
mov esi, dword [esp + 0x18]
nop
test ecx, ecx
mov eax, dword [edx + 0x364]
jne 0x4d26f6
mov edi, 0xfffffcb0
mov edx, 0xfffffdb0
jmp 0x4d2700
sub eax, 0x14
mov edi, 0x2d0
xor edx, edx
test eax, eax
jge 0x4d270a
xor edi, edi
xor edx, edx
jmp 0x4d2731
cmp eax, 0x22
jge 0x4d2731
cvtsi2ss xmm0, edi
mulss xmm0, dword [eax*4 + 0x69ce68]
cvttss2si edi, xmm0
cvtsi2ss xmm0, edx
mulss xmm0, dword [eax*4 + 0x69ce68]
cvttss2si edx, xmm0
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
sub eax, ecx
shl eax, 4
lea esi, [eax + esi + 0x10]
shl ecx, 5
mov eax, dword [esp + ecx + 0x30]
mov ebx, dword [esp + ecx + 0x2c]
add eax, edx
cvtsi2ss xmm0, eax
mulss xmm0, dword [ebp + 0x3b8]
cvttss2si eax, xmm0
and eax, 0xffff
or eax, 0x10000
mov dword [esp + 0x28], edx
cdq
shld edx, eax, 0x10
shl eax, 0x10
add ebx, edi
cvtsi2ss xmm0, ebx
mulss xmm0, dword [ebp + 0x3b4]
mov ebx, eax
mov dword [esp + 0x1c], edx
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or ebx, eax
mov eax, dword [esp + 0x1c]
or eax, edx
mov edx, dword [esp + ecx + 0x38]
add edx, dword [esp + 0x28]
mov dword [esi + 0x78], ebx
mov ebx, dword [esp + ecx + 0x34]
add ebx, edi
cmp ebx, 0x320
mov dword [esi + 0x7c], eax
jle 0x4d2859
mov ebp, dword [esp + ecx + 0x2c]
mov eax, ebx
mov ebx, dword [esp + ecx + 0x30]
sub eax, ebp
sub edx, ebx
sub edx, dword [esp + 0x28]
sub eax, edi
mov ebp, eax
imul ebp, eax
mov ebx, edx
imul ebx, edx
add ebx, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cvtsi2ss xmm0, edx
cvtsi2ss xmm1, eax
mov ebx, 0x320
fild dword [esp + 0x1c]
mov edx, ebx
sub edx, dword [esp + ecx + 0x2c]
divss xmm0, xmm1
fsqrt
sub edx, edi
cvtsi2ss xmm1, edx
mulss xmm0, xmm1
cvtsi2ss xmm1, dword [esp + ecx + 0x30]
mov eax, ebx
sub eax, dword [esp + ecx + 0x2c]
addss xmm0, xmm1
sub eax, edi
cvtsi2ss xmm1, ebp
mov dword [esp + 0x10], eax
addss xmm0, xmm1
cvttss2si edx, xmm0
mov eax, edx
sub eax, dword [esp + ecx + 0x30]
sub eax, ebp
mov ebp, eax
imul ebp, eax
mov eax, dword [esp + 0x10]
imul eax, eax
add ebp, eax
mov dword [esp + 0x1c], ebp
fild dword [esp + 0x1c]
fsqrt
fdiv st(1)
fstp dword [esi + 0x88]
fstp st(0)
mov ebp, dword [0x705898]
cvtsi2ss xmm0, edx
mulss xmm0, dword [ebp + 0x3b8]
cvttss2si eax, xmm0
and eax, 0xffff
or eax, 0x10000
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x10], edx
cvtsi2ss xmm0, ebx
mulss xmm0, dword [ebp + 0x3b4]
mov ebx, eax
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or ebx, eax
mov eax, dword [esp + 0x10]
or eax, edx
mov edx, dword [esp + ecx + 0x40]
add edx, dword [esp + 0x28]
mov dword [esi + 0x94], eax
cvtsi2ss xmm0, edx
mov dword [esi + 0x90], ebx
mov ebx, dword [0x705898]
mulss xmm0, dword [ebx + 0x3b8]
cvttss2si eax, xmm0
and eax, 0xffff
or eax, 0x10000
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov ebp, eax
mov eax, edx
mov edx, dword [esp + ecx + 0x3c]
mov dword [esp + 0x1c], eax
add edx, edi
cvtsi2ss xmm0, edx
mulss xmm0, dword [ebx + 0x3b4]
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or ebp, eax
mov eax, dword [esp + 0x1c]
or eax, edx
mov dword [esi + 0xac], eax
mov eax, dword [esp + ecx + 0x48]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + ecx + 0x44]
cvtsi2ss xmm0, eax
mov dword [esi + 0xa8], ebp
mov ebx, dword [0x705898]
mulss xmm0, dword [ebx + 0x3b8]
cvttss2si eax, xmm0
and eax, 0xffff
or eax, 0x10000
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov ebp, eax
add ecx, edi
mov eax, edx
mov dword [esp + 0x1c], eax
cvtsi2ss xmm0, ecx
mulss xmm0, dword [ebx + 0x3b4]
mov ecx, dword [esp + 0x14]
cvttss2si eax, xmm0
and eax, 0xffff
cdq
or ebp, eax
mov eax, dword [esp + 0x1c]
add ecx, 1
or eax, edx
cmp ecx, 2
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], eax
mov dword [esp + 0x14], ecx
jl 0x4d26cf
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
push 0x1b
push edx
push eax
call fcn.00550200
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret