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

Disassembly:
sub esp, 0x998
push ebx
push ebp
mov ebp, ecx
mov ebx, edx
push esi
push edi
xor ecx, ecx
mov dword [esp + 0x1c], ebx
mov edi, dword [ebp + 0x11fc]
mov dword [esp + 0x30], ebp
test edi, edi
jle 0x5622b2
movss xmm1, dword [0x5f4648]
lea eax, [esp + 0x38]
sub edx, eax
lea eax, [esp + 0x38]
movaps xmm0, xmm1
lea eax, [eax + ecx*4]
divss xmm0, dword [eax + edx]
movss dword [eax], xmm0
mulss xmm0, xmm0
movss dword [esp + ecx*4 + 0x48], xmm0
inc ecx
cmp ecx, edi
jl 0x562290
cmp byte [ebp + 0x12b9], 2
jne 0x5624ed
push dword [ebp + 0x1208]
lea edx, [esp + 0x4c]
push edi
push dword [ebp + 0x1204]
lea eax, [ebx + 0xe4]
push edx
push eax
push dword [esp + 0x9c0]
lea ecx, [ebx + 0x368]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0xc0]
push ecx
lea ecx, [ebx + 0x90]
call fcn.0056daa0
add esp, 0x1c
lea eax, [esp + 0xa8]
lea edx, [ebp + 0x12a0]
lea ecx, [ebx + 0x90]
push dword [ebp + 0x11fc]
push dword [ebp + 0x1248]
push dword [ebp + 0x124c]
push eax
lea eax, [ebp + 0x12bc]
push eax
call fcn.00561fd0
add esp, 0x14
cmp dword [esp + 0x9b4], 0
jne 0x562380
mov eax, dword [ebp + 0x1688]
add eax, dword [ebp + 0x1220]
movss xmm1, dword [0x5f46c0]
cvtsi2ss xmm0, eax
mulss xmm0, dword [ebx + 0x368]
mulss xmm0, dword [0x5f4598]
comiss xmm0, xmm1
ja 0x56237a
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x56237a
movaps xmm1, xmm0
cvttss2si eax, xmm1
jmp 0x562382
xor al, al
mov byte [ebp + 0x12bd], al
mov edi, dword [esp + 0x9b0]
movsx eax, al
movsx eax, word [eax*2 + 0x5e3944]
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x5f4530]
movss dword [ebx + 0xe0], xmm0
xor ebx, ebx
mov edx, dword [ebp + 0x1238]
mov esi, dword [ebp + 0x11fc]
mov ecx, dword [ebp + 0x1204]
mov dword [esp + 0x2c], esi
lea eax, [edx*4]
mov dword [esp + 0x28], ebx
sub edi, eax
test esi, esi
jle 0x5624e0
lea eax, [ecx*4]
add edx, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [esp + 0x3a8]
add ecx, 0x94
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov esi, edi
movss xmm2, dword [esp + ebx*4 + 0x38]
movss xmm3, dword [ecx - 4]
movss xmm4, dword [ecx]
movss xmm5, dword [ecx + 4]
movss xmm6, dword [ecx + 8]
movss xmm7, dword [ecx + 0xc]
shl eax, 2
sub esi, eax
test edx, edx
jle 0x5624b3
mov ecx, dword [esp + 0x20]
mov ebx, edi
mov edx, ebp
sub ebx, ebp
mov edi, edi
movss xmm1, dword [ebx + edx]
movaps xmm0, xmm3
movss dword [edx], xmm1
mulss xmm0, dword [esi + 8]
subss xmm1, xmm0
movaps xmm0, xmm4
movss dword [edx], xmm1
mulss xmm0, dword [esi + 4]
subss xmm1, xmm0
movaps xmm0, xmm5
movss dword [edx], xmm1
mulss xmm0, dword [esi]
subss xmm1, xmm0
movaps xmm0, xmm6
movss dword [edx], xmm1
mulss xmm0, dword [esi - 4]
subss xmm1, xmm0
movaps xmm0, xmm7
movss dword [edx], xmm1
mulss xmm0, dword [esi - 8]
add esi, 4
subss xmm1, xmm0
mulss xmm1, xmm2
movss dword [edx], xmm1
add edx, 4
sub ecx, 1
jne 0x562440
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + edx*4]
add edi, dword [esp + 0x34]
inc ebx
add eax, 4
mov dword [esp + 0x28], ebx
add ecx, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp ebx, dword [esp + 0x2c]
jl 0x562405
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
jmp 0x56269a
mov ebx, dword [ebp + 0x1238]
lea esi, [esp + 0x3a8]
mov ecx, dword [esp + 0x9b0]
mov dword [esp + 0x20], esi
lea eax, [ebx*4]
sub ecx, eax
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
test edi, edi
jle 0x562672
mov edx, dword [ebp + 0x1204]
mov edi, ecx
movss xmm1, dword [esp + eax*4 + 0x38]
add edx, ebx
mov eax, edx
xor ebx, ebx
and eax, 0xfffc
sub edi, esi
mov dword [esp + 0x24], eax
test eax, eax
je 0x5625a8
lea eax, [esi + 4]
add ecx, 0xc
mov esi, dword [esp + 0x24]
dec esi
shr esi, 2
inc esi
lea ebx, [esi*4]
lea esp, [esp]
lea eax, [eax + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0xc]
lea ecx, [ecx + 0x10]
movss dword [eax - 0x14], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + edi - 0x10]
movss dword [eax - 0x10], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0x14]
movss dword [eax - 0xc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0x10]
movss dword [eax - 8], xmm0
sub esi, 1
jne 0x562560
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp ebx, edx
jge 0x562636
mov eax, edx
sub eax, ebx
cmp eax, 4
jl 0x562613
lea eax, [esi + 4]
mov esi, edx
sub esi, ebx
lea ecx, [ecx + ebx*4]
sub esi, 4
lea eax, [eax + ebx*4]
shr esi, 2
add ecx, 0xc
inc esi
lea ebx, [ebx + esi*4]
lea eax, [eax + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0xc]
lea ecx, [ecx + 0x10]
movss dword [eax - 0x14], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + edi - 0x10]
movss dword [eax - 0x10], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0x14]
movss dword [eax - 0xc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ecx - 0x10]
movss dword [eax - 8], xmm0
sub esi, 1
jne 0x5625d3
mov esi, dword [esp + 0x20]
cmp ebx, edx
jge 0x562636
lea eax, [esi + ebx*4]
sub edx, ebx
lea eax, [eax + 4]
movaps xmm0, xmm1
mulss xmm0, dword [edi + eax - 4]
movss dword [eax - 4], xmm0
sub edx, 1
jne 0x562620
mov ecx, dword [ebp + 0x1204]
mov ebx, dword [ebp + 0x1238]
mov edi, dword [ebp + 0x11fc]
lea eax, [ebx + ecx]
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
lea eax, [eax + ecx*4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
cmp eax, edi
jl 0x562520
mov ebx, dword [esp + 0x1c]
lea eax, [edi + edi*4]
shl eax, 2
push eax
push 0
lea eax, [ebx + 0x90]
push eax
call fcn.00585a40
lea eax, [ebx + 0x368]
add esp, 0xc
mov dword [eax], 0
cmp dword [ebp + 0x1254], 0
je 0x5626b1
mov dword [esp + 0x24], 0x3c23d70a
fld dword [esp + 0x24]
jmp 0x5626e0
fld dword [eax]
fmul dword [0x5f45cc]
fld qword [0x5f46c8]
fxch st(1)
call fcn.0059a700
fmul dword [0x5f4534]
fld dword [ebx + 0x35c]
fmul dword [0x5f460c]
fadd dword [0x5f45bc]
fdivp st(1)
push ecx
lea eax, [esp + 0x3ac]
mov ecx, ebp
fstp dword [esp]
push eax
lea edx, [esp + 0x50]
call fcn.0056d5e0
lea eax, [ebp + 0x11ac]
mov ecx, ebp
push eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x74]
lea eax, [esp + 0x54]
push eax
call fcn.0056b150
mov eax, dword [ebp + 0x1238]
lea ecx, [ebx + 0x10]
movss xmm1, dword [0x5f4538]
lea edi, [esp + 0x78]
mov dword [esp + 0x38], ecx
mov ebx, ecx
mov ecx, 2
add esp, 0x10
mov dword [esp + 0x18], ecx
lea esp, [esp]
xor esi, esi
test eax, eax
jle 0x562775
mov ecx, edi
mov edx, ebx
lea ebx, [ebx]
movsx eax, word [ecx]
lea edx, [edx + 4]
inc esi
lea ecx, [ecx + 2]
cvtsi2ss xmm0, eax
mulss xmm0, xmm1
movss dword [edx - 4], xmm0
mov eax, dword [ebp + 0x1238]
cmp esi, eax
jl 0x562750
mov ecx, dword [esp + 0x18]
add edi, 0x20
add ebx, 0x40
sub ecx, 1
mov dword [esp + 0x18], ecx
jne 0x562740
mov ebx, dword [ebp + 0x1238]
lea ecx, [esp + 0xa8]
mov edi, dword [ebp + 0x1204]
mov esi, dword [ebp + 0x11fc]
lea ebp, [esp + 0xa8]
mov edx, dword [esp + 0x28]
push ebx
lea eax, [edi + ebx]
add eax, eax
lea ebp, [ebp + ebx*4]
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3b0]
push eax
call fcn.00569d10
add esp, 0xc
mov edx, edi
mov ecx, ebp
call fcn.005685a0
mov ecx, dword [esp + 0x1c]
lea eax, [edi + ebx]
lea eax, [eax*4]
add eax, ebp
mov dword [esp + 0x30], eax
fld dword [ecx]
fmul st(0), st(0)
fmulp st(1)
fstp dword [ecx + 0x36c]
mov ecx, eax
call fcn.005685a0
mov eax, dword [esp + 0x1c]
fld dword [eax + 4]
fmul st(0), st(0)
fmulp st(1)
fstp dword [eax + 0x370]
cmp esi, 4
jne 0x562866
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x3a8]
push ebx
push dword [esp + 0x28]
lea eax, [edi + ebx]
lea eax, [ecx + eax*8]
push eax
lea edx, [edx + 0x40]
lea ecx, [esp + 0xb4]
call fcn.00569d10
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov edx, edi
mov ecx, ebp
call fcn.005685a0
fld dword [ebx + 8]
mov ecx, dword [esp + 0x30]
fmul st(0), st(0)
fmulp st(1)
fstp dword [ebx + 0x374]
call fcn.005685a0
fld dword [ebx + 0xc]
fmul st(0), st(0)
fmulp st(1)
fstp dword [ebx + 0x378]
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x48]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x998
ret