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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
push esi
push edi
mov edi, dword [0x629148]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x60], ecx
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
mov dword [esp + 0x18], eax
cmp byte [eax + 0xaf], 0
je 0x48c9c4
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [edi + 0x46a8], 1
movss xmm2, dword [edi + 0x37c8]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bb8]
movss dword [esp + 0x84], xmm2
je 0x48c9f4
movss xmm0, dword [edi + 0x46ac]
jmp 0x48c9fc
movss xmm0, dword [eax + 0x1a0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x48ca41
cmp dword [eax + 0x190], 0
movss xmm1, dword [eax + 0x228]
jne 0x48ca1e
cmp dword [edi + 0x4a04], 0
je 0x48ca26
movss xmm1, dword [eax + 0x1f8]
subss xmm1, dword [eax + 0xf0]
addss xmm1, xmm0
movss xmm0, dword [0x4c60b8]
maxss xmm0, xmm1
xorps xmm1, xmm1
test byte [ebp + 8], 0x10
cvttss2si esi, xmm0
mov dword [esp + 0x14], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
jne 0x48ca61
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x37dc]
movss dword [esp + 0x74], xmm1
subss xmm0, xmm1
mov dword [esp + 0x44], ecx
movss dword [esp + 0x70], xmm0
cmp ecx, 0xffffffff
jae 0x48ca9e
mov esi, ecx
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x48ca9a
cmp cl, 0x23
jne 0x48ca90
cmp byte [esi + 1], cl
je 0x48ca9a
inc esi
mov dword [esp + 0x44], esi
cmp esi, 0xffffffff
jb 0x48ca80
mov esi, dword [esp + 0x14]
mov dword [edi + 0x46a8], 0
call fcn.004645e0
mov ecx, dword [esp + 0x60]
call fcn.00461cf0
mov eax, dword [edi + 0x5994]
mov dword [esp + 0x8c], eax
test eax, eax
jne 0x48cae1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5994], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0x88], ecx
test cl, 0x20
je 0x48caff
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x48cb12
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.00490cc0
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x48cb27
mov eax, dword [edi + 0x5990]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x48cb3c
mov eax, dword [edi + 0x5990]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x48cb51
mov eax, dword [edi + 0x5990]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x48cb66
mov eax, dword [edi + 0x5990]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5990]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [ebp + 8], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x78], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm2
test dl, dl
je 0x48cbcd
movss xmm3, dword [eax + 0xc]
jmp 0x48cbd5
movss xmm3, dword [0x4c60b8]
movss xmm6, dword [0x4c601c]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x2c], xmm3
cmp eax, 0x10100000
jne 0x48cc0b
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.00454c80
add esp, 4
jmp 0x48ccba
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x48ccd9
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x48cc36
movss xmm4, dword [0x4c6230]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x48cc53
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4c621c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x1c]
minss xmm0, xmm2
movss dword [esp + 0x28], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [0x4c6130]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x4c64f0]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm1
call fcn.0048c880
add esp, 8
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 8]
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x2c]
comiss xmm0, dword [0x4c600c]
movss xmm4, dword [0x4c6220]
movss xmm6, dword [0x4c6078]
jb 0x48ccf7
movaps xmm5, xmm6
jmp 0x48ccfa
movaps xmm5, xmm4
comiss xmm1, dword [0x4c600c]
movss xmm7, dword [0x4c61c4]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x50], eax
jb 0x48cd20
movaps xmm0, xmm6
jmp 0x48cd23
movaps xmm0, xmm4
comiss xmm2, dword [0x4c600c]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x54], eax
jb 0x48cd41
movaps xmm0, xmm6
jmp 0x48cd44
movaps xmm0, xmm4
comiss xmm3, dword [0x4c600c]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x58], eax
jb 0x48cd60
movaps xmm4, xmm6
cmp dword [edi + 0x381c], 0
mulss xmm3, xmm7
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
movss xmm2, dword [eax + 0xf0]
movss xmm3, dword [eax + 0xf4]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x34], xmm3
jne 0x48cdab
movss xmm1, dword [esp + 0x74]
jmp 0x48cdae
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
test ecx, 0x300000
je 0x48d0b9
test cl, 0x20
jne 0x48d0b9
mov edx, dword [esp + 0x4c]
movss xmm2, dword [edi + 0x37dc]
movss xmm1, dword [esp + 0x70]
movaps xmm0, xmm2
push 0
lea eax, [edx - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push 0
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x4c60b8]
movaps xmm4, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm4, xmm0
movss xmm0, dword [esp + 0x78]
addss xmm2, xmm4
movss dword [esp + 0x18], xmm4
mulss xmm2, xmm3
movss xmm3, dword [0x4c6208]
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x88], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x629148]
push eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3bb8]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3bb4]
push eax
movss dword [esp + 0x90], xmm1
call fcn.0047b350
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x4c60b0]
movss xmm1, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x48cec7
xor edx, edx
jmp 0x48ced6
mov edx, ecx
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
cmp dword [esp + 0x4c], 0
jbe 0x48d330
and ecx, 8
shl edx, 4
mov dword [esp + 0x3c], ecx
xor esi, esi
mov dword [esp + 0x6c], edx
mov ecx, 0xff
test esi, esi
je 0x48cf19
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.004643d0
movss xmm1, dword [esp + 0x10]
mov ecx, 0xff
mov edx, dword [esp + 0x6c]
lea eax, [esi + 1]
cmp eax, dword [esp + 0x4c]
jge 0x48cf27
movaps xmm0, xmm1
jmp 0x48cf2d
movss xmm0, dword [esp + 0x7c]
mov eax, dword [0x629148]
or dword [eax + 0x46a8], 1
cmp dword [esp + 0x80], 0
movss dword [eax + 0x46ac], xmm0
je 0x48cfb2
cmp byte [esp + 0x78], 0
je 0x48cf57
xorps xmm0, xmm0
jmp 0x48cf5f
movss xmm0, dword [0x4c60b8]
movss xmm3, dword [0x4c6034]
lea eax, [esp + 0x38]
push ecx
push dword [edx + 0x4c5ef8]
mov ecx, dword [esi*4 + 0x4c5ee8]
mov edx, 8
push eax
lea eax, [esp + 0x70]
movss dword [esp + 0x44], xmm0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x74], 0
lea eax, [eax + esi*4]
push eax
call fcn.00485a50
mov cl, byte [esp + 0x22]
add esp, 0x14
or cl, al
or byte [esp + 0xf], cl
mov byte [esp + 0xe], cl
jmp 0x48cffc
movss xmm3, dword [0x4c60b8]
mov eax, ecx
xor ecx, ecx
cmp byte [esp + 0x78], cl
push ecx
push dword [edx + 0x4c5f50]
cmovne eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x6c], eax
lea edx, [ecx + 4]
mov ecx, dword [esi*4 + 0x4c5ee8]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
lea eax, [eax + esi*4]
push eax
call fcn.00485a50
add esp, 0x14
or byte [esp + 0xe], al
cmp dword [esp + 0x3c], 0
jne 0x48d08f
mov eax, dword [0x629148]
cmp byte [eax + 0x371f], 0
mov edx, dword [eax + 0x3e48]
mov dword [esp + 0x38], edx
je 0x48d08f
cmp byte [eax + 0x44f0], 0
jne 0x48d08f
mov ecx, 0x20
call fcn.00458ce0
test al, al
je 0x48d08f
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, 0x4c42b4
push eax
call fcn.00454590
mov edx, dword [esp + 0x3c]
mov ecx, eax
add esp, 4
mov dword [esp + 0x64], ecx
mov eax, dword [edx]
cmp dword [eax + 0x3e7c], ecx
jne 0x48d085
push ecx
push 0x4c42b4
mov edx, 0xb
call fcn.0046b160
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edx, 1
call fcn.00465030
mov edx, dword [esp + 0x6c]
inc esi
movss xmm1, dword [esp + 0x10]
add edx, 4
mov ecx, 0xff
mov dword [esp + 0x6c], edx
cmp esi, dword [esp + 0x4c]
jl 0x48cef6
mov esi, dword [esp + 0x14]
jmp 0x48d32d
test ecx, 0x400000
je 0x48d340
test cl, 0x20
jne 0x48d340
test dl, dl
je 0x48d15e
mov eax, dword [esp + 0x5c]
mov ecx, 0xff
mov dword [esp + 0x10], ecx
test eax, eax
jns 0x48d0f1
mov dword [esp + 0x14], 0
jmp 0x48d0fd
cmp eax, 0xff
cmovg eax, ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x58]
test edx, edx
jns 0x48d109
xor edx, edx
jmp 0x48d10e
cmp edx, ecx
cmovg edx, ecx
mov ecx, dword [esp + 0x54]
test ecx, ecx
jns 0x48d11a
xor ecx, ecx
jmp 0x48d128
cmp ecx, 0xff
mov eax, 0xff
cmovg ecx, eax
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x48d134
xor eax, eax
jmp 0x48d13e
cmp eax, 0xff
cmovg eax, dword [esp + 0x10]
push dword [esp + 0x14]
push edx
push ecx
push eax
push 0x4c42a0
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.004544b0
add esp, 0x1c
jmp 0x48d1b9
mov edx, dword [esp + 0x58]
mov eax, 0xff
mov dword [esp + 0x10], eax
test edx, edx
jns 0x48d173
xor edx, edx
jmp 0x48d178
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
jns 0x48d184
xor ecx, ecx
jmp 0x48d189
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x48d195
xor eax, eax
jmp 0x48d19f
cmp eax, 0xff
cmovg eax, dword [esp + 0x10]
push edx
push ecx
push eax
push 0x4c42c4
lea eax, [esp + 0xb0]
push 0x40
push eax
call fcn.004544b0
add esp, 0x18
mov eax, dword [0x629148]
xor edx, edx
movss xmm5, dword [esp + 0x70]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x46a8], 1
movss dword [eax + 0x46ac], xmm5
lea eax, [esp + 0x6c]
push 6
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x74], 0
push 0x40
push eax
mov dword [esp + 0x80], 0
call fcn.00488ee0
add esp, 0x18
test al, al
je 0x48d299
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa0]
nop
mov al, byte [ecx]
cmp al, 0x23
je 0x48d22e
cmp al, 0x20
je 0x48d22e
cmp al, 9
jne 0x48d231
inc ecx
jmp 0x48d220
cmp byte [esp + 0x48], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0xff
je 0x48d27c
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x4c42e4
push ecx
call fcn.004521d0
add esp, 0x18
jmp 0x48d299
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
push 0x4c42d4
push ecx
call fcn.004521d0
add esp, 0x14
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x48d330
mov eax, dword [0x629148]
cmp byte [eax + 0x371f], 0
mov edx, dword [eax + 0x3e48]
mov dword [esp + 0x14], edx
je 0x48d330
cmp byte [eax + 0x44f0], 0
jne 0x48d330
mov ecx, 0x20
call fcn.00458ce0
test al, al
je 0x48d32d
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, 0x4c4308
push eax
call fcn.00454590
mov edx, dword [esp + 0x18]
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
mov eax, dword [edx]
cmp dword [eax + 0x3e7c], ecx
jne 0x48d323
push ecx
push 0x4c4308
mov edx, 0xb
call fcn.0046b160
mov ecx, dword [esp + 0x44]
add esp, 8
mov edx, 1
call fcn.00465030
mov ecx, dword [ebp + 8]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
test cl, 0x10
jne 0x48d5f0
test cl, 0x20
jne 0x48d36f
cmp dword [edi + 0x381c], 0
je 0x48d36f
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [edi + 0x37dc]
jmp 0x48d372
xorps xmm1, xmm1
cmp byte [esp + 0x48], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf4], xmm3
movss dword [eax + 0xf0], xmm0
mov eax, dword [esp + 0x1c]
je 0x48d39b
movss xmm1, dword [eax + 0xc]
jmp 0x48d3a3
movss xmm1, dword [0x4c60b8]
movss xmm0, dword [eax]
lea edx, [esp + 0x90]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.00490360
add esp, 8
test al, al
je 0x48d47e
test byte [ebp + 8], 4
jne 0x48d47e
movups xmm0, xmmword [esp + 0x90]
mov ecx, 0x4c4318
movups xmmword [edi + 0x59a8], xmm0
call fcn.00464fb0
movss xmm1, dword [edi + 0x46c8]
movss xmm0, dword [edi + 0x37d8]
addss xmm0, dword [edi + 0x46d4]
mov eax, dword [0x629148]
addss xmm1, dword [0x4c600c]
or dword [eax + 0x46f8], 1
movss dword [eax + 0x470c], xmm0
movss dword [eax + 0x4708], xmm1
mov dword [eax + 0x4710], 0
mov dword [eax + 0x4714], 0
mov dword [eax + 0x46fc], 1
jmp 0x48d483
mov eax, dword [0x629148]
test byte [ebp + 8], 8
jne 0x48d510
cmp byte [eax + 0x371f], 0
mov edx, dword [eax + 0x3e48]
mov dword [esp + 0x14], edx
je 0x48d510
cmp byte [eax + 0x44f0], 0
jne 0x48d510
mov ecx, 0x20
call fcn.00458ce0
test al, al
je 0x48d510
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, 0x4c4310
push eax
call fcn.00454590
mov edx, dword [esp + 0x18]
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
mov eax, dword [edx]
cmp dword [eax + 0x3e7c], ecx
jne 0x48d506
push ecx
push 0x4c4310
mov edx, 0xb
call fcn.0046b160
mov ecx, dword [esp + 0x44]
add esp, 8
mov edx, 1
call fcn.00465030
mov ecx, str.picker
call fcn.004654c0
test al, al
je 0x48d5ed
mov eax, dword [edi + 0x3e48]
cmp word [eax + 0xb6], 1
jne 0x48d5e8
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
cmp ecx, eax
je 0x48d595
push 0
mov edx, eax
call fcn.004813b0
mov ecx, dword [0x629148]
add esp, 4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x48d595
movss xmm1, dword [0x4c6230]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.00464040
mov eax, dword [0x629148]
mov ecx, 0x4c4320
movss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x4c6144]
mov edx, dword [esp + 0x1c]
or dword [eax + 0x46a8], 1
movss dword [eax + 0x46ac], xmm0
lea eax, [edi + 0x59a8]
push eax
mov eax, dword [esp + 0x8c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.0048dc40
add esp, 8
or byte [esp + 0xe], al
call fcn.00465540
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x44]
je 0x48d653
test cl, cl
js 0x48d653
movss xmm1, dword [edi + 0x37dc]
xorps xmm0, xmm0
call fcn.004643d0
test byte [ebp + 8], 0x20
je 0x48d61c
movss xmm0, dword [esp + 0x74]
jmp 0x48d62b
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x37dc]
movss xmm1, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
addss xmm1, xmm0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
push 0
movss dword [eax + 0xf0], xmm1
call fcn.004813b0
add esp, 4
cmp byte [esp + 0xe], 0
je 0x48d84c
cmp dword [esp + 0x10], 0
jne 0x48d84c
cmp byte [esp + 0xf], 0
jne 0x48d684
movups xmm0, xmmword [esp + 0x50]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x4c64e0]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x48d76d
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x28]
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x24]
movss xmm2, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
movss dword [edi + 0x599c], xmm0
movss dword [edi + 0x59a0], xmm1
call fcn.00454c80
movss xmm1, dword [esp + 0x24]
xorps xmm5, xmm5
mov eax, dword [edi + 0x5994]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x5998], eax
movss xmm4, dword [0x4c60b8]
jbe 0x48d6f5
xorps xmm0, xmm0
jmp 0x48d6fc
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x4c61c4]
movss xmm6, dword [0x4c6078]
movss xmm2, dword [esp + 0x24]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x48d728
xorps xmm0, xmm0
jmp 0x48d72f
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0x28]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x48d750
xorps xmm4, xmm4
jmp 0x48d754
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x59a4], eax
jmp 0x48d782
movss xmm3, dword [esp + 0x28]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x20]
mov eax, dword [ebp + 8]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x48d826
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x48d7b4
movss xmm5, dword [0x4c6230]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x48d7ce
movss xmm0, dword [0x4c621c]
movaps xmm4, xmm1
subss xmm0, xmm5
movaps xmm1, xmm6
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm4
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm4
movss dword [esp + 0x28], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x4c6130]
addss xmm0, dword [0x4c601c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4c601c]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x4c64f0]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm2
cmp byte [esp + 0x48], 0
mov esi, dword [esp + 0x1c]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x48d850
movss xmm0, dword [esp + 0x2c]
movss dword [esi + 0xc], xmm0
jmp 0x48d850
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x8c], 0
jne 0x48d864
mov dword [edi + 0x5994], 0
mov eax, dword [0x629148]
mov eax, dword [eax + 0x3e48]
dec dword [eax + 0xe4]
call fcn.00464710
test byte [edi + 0x46c4], 1
je 0x48d9c1
test dword [ebp + 8], 0x200
jne 0x48d9c1
call fcn.00469c20
test al, al
je 0x48d9c1
mov ecx, 0x4c433c
mov byte [esp + 0xf], 0
call fcn.00469ce0
test eax, eax
je 0x48d8ce
mov eax, dword [eax]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, 0x4c4334
call fcn.00469ce0
mov ecx, eax
test ecx, ecx
je 0x48d8f8
mov eax, dword [esp + 0x4c]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x48d903
cmp byte [esp + 0xf], 0
je 0x48d9a7
test dword [ebp + 8], 0x10000000
je 0x48d9a7
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x48d936
movss xmm5, dword [0x4c6230]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x48d939
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x48d956
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x4c621c]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4c6130]
addss xmm0, dword [0x4c601c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x4c601c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x4c64f0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x629148]
cmp byte [eax + 0x49aa], 0
mov byte [eax + 0x4966], 0
je 0x48d9c1
call fcn.00469940
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x48d9e1
mov eax, dword [edi + 0x3e94]
test eax, eax
je 0x48d9e1
cmp dword [edi + 0x3eb0], ecx
jne 0x48d9e1
mov dword [edi + 0x46bc], eax
mov cl, byte [esp + 0xe]
test cl, cl
je 0x48da1b
mov eax, dword [edi + 0x46bc]
test eax, eax
je 0x48da1b
mov ecx, dword [0x629148]
mov edx, dword [ecx + 0x3e94]
cmp edx, eax
je 0x48da07
test edx, edx
jne 0x48da10
mov word [ecx + 0x3ea4], 0x101
or dword [ecx + 0x46c4], 4
mov cl, byte [esp + 0xe]
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret