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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [ebp + 8]
cmp dword [ecx], 2
mov ebx, edx
mov esi, ecx
call 0x482cce
pop edi
jne 0x482e6f
movss xmm2, dword [ebx]
movss xmm3, dword [ebx + 8]
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm5, dword [eax + 0xc]
movss xmm4, dword [ebx + 0xc]
cmp byte [esi + 0xb8], 0
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm0
movss dword [esp + 8], xmm2
movss xmm2, dword [ebx + 4]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x28], xmm3
movss dword [esp + 0xc], xmm2
movss xmm2, dword [eax + 8]
movss dword [esp + 0x34], xmm2
je 0x482f31
movss xmm2, dword [0x6461a0]
movss xmm1, dword [esi + 0xa8]
movss xmm5, dword [esp + 8]
addss xmm3, xmm2
ucomiss xmm3, xmm1
jb 0x482fcc
movss xmm3, dword [0x646138]
movss xmm6, dword [esi + 0xb0]
movaps xmm0, xmm4
movaps xmm4, xmm5
addss xmm4, xmm3
ucomiss xmm6, xmm4
movaps xmm4, xmm0
jb 0x482fcc
movss xmm7, dword [esi + 0xac]
addss xmm2, xmm4
ucomiss xmm2, xmm7
jb 0x482fcc
movss xmm0, dword [esi + 0xb4]
addss xmm3, dword [esp + 0xc]
ucomiss xmm0, xmm3
jb 0x482fcc
movss dword [esp + 4], xmm5
movss dword [esp], xmm1
movss dword [esp + 8], xmm4
movss dword [esp + 0x40], xmm6
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x3c], xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_fminf
fstp xword [esp + 0x4c]
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [esp + 0x3c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fminf
fstp xword [esp + 0xc]
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x40]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
fstp xword [esp + 0x28]
movss xmm0, dword [esp + 8]
movss xmm1, dword [esp + 0x44]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
fld xword [esp + 0x4c]
fstp dword [esi + 0xa8]
fld xword [esp + 0xc]
fstp dword [esi + 0xac]
fld xword [esp + 0x28]
fstp dword [esi + 0xb0]
fstp dword [esi + 0xb4]
movzx eax, byte [esi + 0xbd]
add edi, dword [eax*4 + 0x4833f4]
jmp edi
mov ecx, dword [esi + 0x74]
movss xmm1, dword [eax]
movss xmm5, dword [eax + 4]
movss xmm4, dword [eax + 8]
movss xmm7, dword [eax + 0xc]
mov dword [esp + 0x24], ebx
mov al, byte [ecx + 0x215]
mov cl, byte [ecx + 0x216]
mov edx, ecx
or dl, al
je 0x482fae
mov edi, dword [esi + 0x78]
mov edx, dword [esi + 0x10]
mov ch, al
cmp edx, edi
mov eax, edi
mov dword [esp + 0xc], edi
jbe 0x482ec1
mov edi, dword [esi + 8]
mov eax, dword [esp + 0xc]
movss xmm0, dword [edi + eax*4]
mov edi, dword [esp + 0xc]
movss xmm3, dword [esi + 0x58]
cmp edx, edi
ja 0x482ecd
movaps xmm0, xmm3
mov edx, dword [esi + 0x7c]
mov edi, dword [esi + 0x1c]
movaps xmm6, xmm4
movss dword [esp + 0x28], xmm1
subss xmm6, xmm1
cmp edi, edx
jbe 0x482eec
mov ebx, dword [esi + 0x14]
movss xmm1, dword [ebx + edx*4]
ucomiss xmm6, xmm0
movaps xmm2, xmm7
seta ah
test cl, cl
subss xmm2, xmm5
setne cl
test ch, ch
setne bl
cmp edi, edx
ja 0x482f0c
movss xmm1, dword [esi + 0x5c]
ucomiss xmm2, xmm1
movss dword [esp + 8], xmm2
seta al
and bl, ah
jne 0x483011
and cl, al
jne 0x483011
mov edi, dword [esp + 0xc]
jmp 0x483130
mov dword [esp + 0x24], ebx
mov bl, byte [esi + 0xbd]
cmp bl, 2
jae 0x483283
movss xmm0, dword [esp + 0xc]
movss xmm2, dword [esi + 0xac]
movss xmm1, dword [esi + 0xb4]
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_fminf
fstp dword [esi + 0xac]
movss xmm0, dword [esp + 8]
movss xmm1, dword [esp + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
movzx eax, bl
fstp dword [esi + 0xb4]
add edi, dword [eax*4 + 0x4833f4]
mov ebx, dword [esp + 0x24]
jmp edi
mov edi, dword [esi + 0x78]
movss xmm3, dword [esi + 0x58]
subss xmm4, xmm1
subss xmm7, xmm5
movaps xmm6, xmm4
movss dword [esp + 8], xmm7
jmp 0x483130
movzx eax, byte [esi + 0xbd]
mov ecx, dword [eax*4 + 0x4833e4]
add ecx, edi
jmp ecx
mov edx, dword [esi + 0x70]
lea ecx, [esp + 0x68]
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x18], xmm7
call fcn.0048207b
movss xmm0, dword [esp + 0x28]
lea edi, [esp + 0x58]
lea ecx, [esp + 0x68]
mov dword [esp + 4], 0xffe6d8ad
mov dword [esp], 0x3f800000
mov edx, edi
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 8], xmm0
movss xmm0, dword [esp + 0x18]
movss dword [edi + 0xc], xmm0
xorps xmm0, xmm0
call fcn.0048209a
test bl, bl
mov dword [edi], 0x40200000
mov dword [edi + 4], 0xff0000c8
je 0x483114
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x1c]
lea ebx, [esp + 0x68]
lea edi, [esp + 0x58]
mov ecx, ebx
mov edx, edi
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x28]
movaps xmm2, xmm0
call fcn.00484362
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x28]
movss xmm2, dword [esp + 0x20]
mov ecx, ebx
mov edx, edi
addss xmm1, dword [esp + 0x18]
mulss xmm1, dword [0x6460f0]
movss dword [esp], xmm1
call fcn.00484362
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x1c]
mov ecx, ebx
mov edx, edi
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm0
call fcn.00484362
lea ecx, [esp + 0x88]
call fcn.0041a650
mov edi, dword [esp + 0xc]
movss xmm3, dword [esp + 0x38]
movss xmm6, dword [esp + 0x34]
lea ebx, [esi + 0x20]
movss dword [esp + 4], xmm3
movss dword [esp], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
fstp xword [esp + 0xc]
lea edx, [edi + 1]
mov ecx, ebx
mov eax, dword [esi + 0x28]
cmp eax, edx
cmova edx, eax
call fcn.0042a612
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
mov dword [esp], edi
mov dword [esp + 4], 0x811ac8
call fcn.00484348
movss xmm0, dword [eax]
fld xword [esp + 0xc]
fstp dword [esp + 4]
movss dword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
fstp xword [esp + 0xc]
mov dword [esp], edi
mov dword [esp + 4], 0x811ad8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
call fcn.00484348
fld xword [esp + 0xc]
fstp dword [eax]
movss xmm0, dword [esi + 0x5c]
movss xmm1, dword [esp + 8]
mov edi, dword [esi + 0x7c]
movss dword [esp], xmm1
movss dword [esp + 4], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
fstp xword [esp + 0xc]
lea edx, [edi + 1]
lea ecx, [esi + 0x2c]
mov eax, dword [esi + 0x34]
cmp eax, edx
cmova edx, eax
call fcn.0042a612
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], 0x811ae8
call fcn.00484348
movss xmm0, dword [eax]
fld xword [esp + 0xc]
fstp dword [esp + 4]
movss dword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
fstp xword [esp + 0xc]
mov dword [esp], edi
mov dword [esp + 4], 0x811af8
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
call fcn.00484348
fld xword [esp + 0xc]
fstp dword [eax]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x78]
cmp ecx, eax
jbe 0x483238
mov edx, dword [esi + 8]
movss xmm0, dword [edx + eax*4]
mov ebx, dword [esp + 0x24]
cmp ecx, eax
ja 0x483245
movss xmm0, dword [esi + 0x58]
addss xmm0, dword [esi + 0x50]
inc eax
addss xmm0, dword [esi + 0xa8]
movss dword [esi + 0xa8], xmm0
mov dword [esi + 0x78], eax
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
lea edx, [esp + 0x68]
mov ecx, esi
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call fcn.00484390
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movss xmm0, dword [esp + 8]
movss xmm2, dword [esi + 0xa8]
movss xmm1, dword [esi + 0xb0]
movss dword [esp + 4], xmm0
movss dword [esp + 0xc], xmm1
movss dword [esp], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_fminf
fstp dword [esi + 0xa8]
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaxf
movzx eax, bl
fstp dword [esi + 0xb0]
add edi, dword [eax*4 + 0x4833f4]
mov ebx, dword [esp + 0x24]
jmp edi