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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, dword [0x100a5ffc]
mov ebx, ecx
mov ecx, esi
mov byte [esp + 0xf], dl
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ecx
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov edi, dword [ecx + 0x3e40]
mov dword [esp + 0x48], edi
cmp byte [edi + 0xaf], 0
jne 0x10049334
mov ecx, dword [edi + 0xe4]
xor edx, edx
mov eax, dword [edi + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, ebx
call fcn.1001e540
mov ecx, dword [edi]
mov ebx, eax
add esp, 4
cmp dword [ecx + 0x3e74], ebx
jne 0x10048988
push ecx
push dword [esp + 0x54]
mov edx, 0xb
mov ecx, ebx
call fcn.100329f0
mov esi, dword [0x100a5ffc]
add esp, 8
mov eax, dword [esp + 0x50]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x100489a9
mov dl, byte [ecx]
test dl, dl
je 0x100489a9
cmp dl, 0x23
jne 0x100489a3
cmp byte [ecx + 1], dl
je 0x100489a9
inc ecx
cmp ecx, 0xffffffff
jb 0x10048993
movss xmm5, dword [esi + 0x3bd0]
xorps xmm2, xmm2
cmp eax, ecx
jne 0x100489c0
movss dword [esp + 0x58], xmm2
jmp 0x10048a0e
movss xmm3, dword [0x100965a8]
movaps xmm2, xmm5
push ecx
push ecx
push eax
push ecx
mov ecx, dword [esi + 0x3bcc]
lea eax, [esp + 0x28]
mov dword [esp], 0xbf800000
push eax
call fcn.10041a10
movss xmm0, dword [esp + 0x18]
xorps xmm2, xmm2
addss xmm0, dword [0x1009645c]
movss xmm5, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x37e0]
movss xmm4, dword [edi + 0xf0]
addss xmm0, xmm0
movss xmm7, dword [edi + 0xf4]
movaps xmm1, xmm4
mov eax, dword [esp + 0x4c]
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x74], xmm7
addss xmm0, dword [esi + 0x3bd0]
movss xmm6, dword [eax + 0x37e0]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm1, xmm0
movss dword [esp + 0xc], xmm0
addss xmm3, xmm5
movss dword [esp + 0x70], xmm1
movaps xmm1, xmm7
addss xmm1, xmm0
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esp + 0x58]
comiss xmm1, xmm2
jbe 0x10048a8a
addss xmm1, dword [eax + 0x37f4]
jmp 0x10048a8d
xorps xmm1, xmm1
addss xmm1, xmm0
movss dword [esp + 0x60], xmm4
movaps xmm0, xmm7
movss dword [esp + 0x64], xmm7
addss xmm0, xmm3
lea ecx, [esp + 0x18]
addss xmm1, xmm4
movss dword [esp + 0x6c], xmm0
subss xmm0, xmm7
movss dword [esp + 0x68], xmm1
subss xmm1, xmm4
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
movaps xmm1, xmm6
call fcn.1002be40
push 0
push 0
mov edx, ebx
lea ecx, [esp + 0x68]
call fcn.1002bfa0
add esp, 8
test al, al
je 0x10049334
movss xmm0, dword [esp + 0x70]
lea eax, [esp + 0x21]
addss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x10096418]
lea ecx, [esp + 0x60]
push 0
push eax
lea eax, [esp + 0x2a]
mov edx, ebx
mulss xmm0, xmm1
push eax
addss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x4c], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x80]
mulss xmm0, xmm1
addss xmm0, xmm1
cvttss2si edi, xmm0
mov dword [esp + 0x50], edi
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x10096464]
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
call fcn.10046c60
add esp, 0xc
mov byte [esp + 0x23], al
test al, al
je 0x10048b9b
mov ecx, dword [0x100a5ffc]
or dword [ecx + 0x46bc], 4
mov word [ecx + 0x3e9c], 0x101
push 1
mov edx, ebx
lea ecx, [esp + 0x64]
call fcn.1001fc30
mov edx, dword [esp + 0x4c]
add esp, 4
cmp byte [esp + 0x21], 0
mov al, byte [esp + 0x22]
mov ebx, dword [edx + 0x264]
je 0x10048bcb
test al, al
je 0x10048bcb
mov ecx, 9
jmp 0x10048bd5
xor ecx, ecx
test al, al
setne cl
add ecx, 7
movss xmm1, dword [0x10096464]
call fcn.1001f210
movss xmm7, dword [esp + 0x30]
mov dword [esp + 0x24], eax
test eax, 0xff000000
je 0x10048c3e
movss xmm0, dword [0x10096418]
comiss xmm0, xmm7
ja 0x10048c3e
push 0xf
push ecx
lea eax, [esp + 0x20]
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
movaps xmm2, xmm7
mov ecx, ebx
call fcn.1003d510
push dword [esp + 0x24]
mov ecx, ebx
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1003ce40
movss xmm7, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov dword [ebx + 0x54], 0
cmp byte [esp + 0x13], 0
je 0x100490b1
mov ebx, dword [edx + 0x264]
mov ecx, 0x12
movss xmm1, dword [0x10096464]
mov dword [esp + 0x80], ebx
call fcn.1001f210
movss xmm0, dword [esp + 0xc]
movss xmm1, dword [0x10096464]
mov dword [esp + 0x54], eax
divss xmm0, dword [0x100964e8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
subss xmm7, xmm1
test eax, 0xff000000
je 0x100490b1
movss xmm4, dword [0x10096418]
comiss xmm4, xmm7
ja 0x100490b1
push 0xf
push ecx
lea eax, [esp + 0x20]
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
movaps xmm2, xmm7
mov ecx, ebx
call fcn.1003d510
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], eax
cmp ecx, 3
jl 0x100490aa
test byte [ebx + 0x24], 4
mov eax, dword [ebx + 0x2c]
movss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x14], xmm0
je 0x10048ff7
mov eax, dword [esp + 0x54]
movss xmm0, dword [ebx + 0x8c]
and eax, 0xffffff
mov dword [esp + 0x84], eax
lea eax, [ecx + ecx]
push eax
mov dword [esp + 0x3c], eax
lea eax, [ecx*8 - 6]
add eax, ecx
movss dword [esp + 0x60], xmm0
push eax
mov ecx, ebx
call fcn.1003bec0
mov eax, dword [ebx + 0x28]
mov edi, 2
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
lea ecx, [eax + 1]
mov dword [esp + 0x34], ecx
movzx ecx, ax
mov dword [esp + 0xc], ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0x38]
lea edx, [ecx + edi*2]
inc edi
mov word [eax], cx
lea ecx, [edx - 2]
mov eax, dword [ebx + 0x38]
mov word [eax + 2], cx
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0xc]
mov word [eax + 4], dx
add dword [ebx + 0x38], 6
cmp edi, esi
jl 0x10048d60
mov edi, dword [ebx + 0x2c]
cmp esi, dword [edi + 0x30]
jle 0x10048ddb
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x10048dae
mov eax, dword [0x100a5ffc]
test eax, eax
je 0x10048da5
dec dword [eax + 0xb4]
push ecx
call fcn.100660c0
add esp, 4
mov eax, dword [0x100a5ffc]
test eax, eax
je 0x10048dbd
inc dword [eax + 0xb4]
lea eax, [esi*8]
push eax
call fcn.1006c159
mov dword [edi + 0x34], eax
add esp, 4
mov dword [edi + 0x30], esi
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x34]
jmp 0x10048dde
mov eax, dword [edi + 0x34]
movss xmm4, dword [0x100969b0]
lea ecx, [esi*8 - 8]
mov dword [esp + 0x3c], eax
xor edx, edx
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
nop
movss xmm2, dword [edx + eax]
movss xmm3, dword [edx + eax + 4]
subss xmm2, dword [ecx + eax]
subss xmm3, dword [ecx + eax + 4]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm0, xmm2
mulss xmm1, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10048e3f
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
xorps xmm2, xmm4
movss dword [ecx + ebx], xmm3
movss dword [ecx + ebx + 4], xmm2
mov ecx, edx
add edx, 8
sub dword [esp + 0xc], 1
jne 0x10048e00
mov esi, dword [esp + 0x2c]
lea edx, [eax + 4]
mov edi, dword [esp + 0x3c]
xor ecx, ecx
movss xmm7, dword [esp + 0x5c]
mov ebx, edi
movss xmm4, dword [0x10096418]
dec esi
movss xmm5, dword [0x1009637c]
sub ebx, eax
movss xmm6, dword [0x1009653c]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ecx
mulss xmm7, xmm4
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x5c]
movss xmm2, dword [edi + ecx*8]
addss xmm2, dword [edi + esi*8]
movss xmm3, dword [edx + eax]
addss xmm3, dword [edi + esi*8 + 4]
mulss xmm2, xmm4
mulss xmm3, xmm4
movaps xmm0, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm1, xmm0
comiss xmm1, xmm5
jbe 0x10048ef6
movss xmm0, dword [0x10096464]
divss xmm0, xmm1
movaps xmm1, xmm6
minss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm3, xmm1
mulss xmm2, xmm0
movss xmm0, dword [edx - 4]
mov eax, dword [ebx + 0x34]
movss xmm1, dword [esp + 0x14]
mulss xmm2, xmm7
mov edi, dword [esp + 0x54]
mulss xmm3, xmm7
subss xmm0, xmm2
movss dword [eax], xmm0
movss xmm0, dword [edx]
mov eax, dword [ebx + 0x34]
subss xmm0, xmm3
movss dword [eax + 4], xmm0
mov eax, dword [ebx + 0x34]
movss xmm0, dword [esp + 0x28]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x10], edi
addss xmm2, dword [edx - 4]
mov eax, dword [ebx + 0x34]
movss dword [eax + 0x14], xmm2
addss xmm3, dword [edx]
mov eax, dword [ebx + 0x34]
mov edx, dword [esp + 0x84]
movss dword [eax + 0x18], xmm3
mov eax, dword [ebx + 0x34]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x24], edx
mov eax, dword [esp + 0x60]
add dword [ebx + 0x34], 0x28
movzx edi, ax
mov eax, dword [ebx + 0x38]
lea edx, [edi + ecx*2]
mov word [eax], dx
lea ecx, [edi + esi*2]
mov eax, dword [ebx + 0x38]
mov word [eax + 2], cx
mov eax, dword [esp + 0x34]
movzx edi, ax
mov eax, dword [ebx + 0x38]
lea ecx, [edi + esi*2]
mov word [eax + 4], cx
mov eax, dword [ebx + 0x38]
mov word [eax + 6], cx
mov eax, dword [esp + 0xc]
lea ecx, [edi + eax*2]
mov eax, dword [ebx + 0x38]
mov edi, dword [esp + 0x3c]
mov word [eax + 8], cx
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0xc]
mov esi, ecx
inc ecx
mov dword [esp + 0xc], ecx
mov word [eax + 0xa], dx
mov edx, dword [esp + 0x24]
add dword [ebx + 0x38], 0xc
add edx, 8
mov dword [esp + 0x24], edx
cmp ecx, dword [esp + 0x2c]
jl 0x10048ea0
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
movzx eax, ax
jmp 0x100490a3
push ecx
add ecx, 0xfffffffe
lea eax, [ecx + ecx*2]
mov ecx, ebx
push eax
call fcn.1003bec0
mov eax, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x28]
movss xmm1, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], eax
nop
mov eax, dword [ebx + 0x34]
lea esi, [esi + 8]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x10], ecx
add dword [ebx + 0x34], 0x14
sub dword [esp + 0xc], 1
jne 0x10049020
mov esi, dword [esp + 0x40]
mov edx, 2
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov ecx, dword [ebx + 0x38]
mov ax, word [ebx + 0x28]
movzx edx, dx
mov word [ecx], ax
movzx ecx, word [ebx + 0x28]
mov eax, dword [ebx + 0x38]
dec cx
add cx, dx
mov word [eax + 2], cx
movzx ecx, word [ebx + 0x28]
mov eax, dword [ebx + 0x38]
add cx, dx
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x14], edx
mov word [eax + 4], cx
add dword [ebx + 0x38], 6
cmp edx, edi
jl 0x10049064
movzx eax, di
mov edi, dword [esp + 0x44]
add dword [ebx + 0x28], eax
mov dword [ebx + 0x54], 0
mov edx, dword [esp + 0x4c]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x37e8]
comiss xmm1, xmm0
movss dword [esp + 0x38], xmm1
jbe 0x100492b2
mov ebx, dword [esp + 0x48]
mov ecx, 6
movss xmm7, dword [0x10096464]
movaps xmm1, xmm7
mov ebx, dword [ebx + 0x264]
call fcn.1001f210
movd xmm0, esi
mov dword [esp + 0x34], eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm7
movss dword [esp + 0x60], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm7
movss xmm7, dword [0x10096418]
movss dword [esp + 0x64], xmm0
test eax, 0xff000000
je 0x100491d4
movss xmm0, dword [esp + 0x30]
comiss xmm7, xmm0
ja 0x100491d4
subss xmm0, xmm7
comiss xmm7, xmm0
jbe 0x10049186
mov ecx, dword [ebx + 0x58]
mov esi, dword [ebx + 0x54]
cmp esi, ecx
jne 0x1004916c
inc esi
test ecx, ecx
je 0x10049159
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004915e
mov eax, 8
cmp eax, esi
lea ecx, [ebx + 0x54]
cmovg esi, eax
push esi
call fcn.10033a30
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [ebx + 0x54]
jmp 0x100491a2
push 0xf
push ecx
lea eax, [esp + 0x68]
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
movaps xmm2, xmm0
mov ecx, ebx
call fcn.1003d510
movss xmm0, dword [esp + 0x38]
push ecx
movss dword [esp], xmm0
mov ecx, ebx
push 1
push dword [esp + 0x3c]
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.1003c0f0
movss xmm7, dword [0x10096418]
mov edx, dword [esp + 0x4c]
mov dword [ebx + 0x54], 0
mov eax, dword [esp + 0x48]
mov ecx, 5
movss xmm0, dword [edx + 0x37e8]
movss xmm1, dword [0x10096464]
movss dword [esp + 0x38], xmm0
mov edi, dword [eax + 0x264]
call fcn.1001f210
mov dword [esp + 0x34], eax
test eax, 0xff000000
je 0x100492b2
movss xmm0, dword [esp + 0x30]
comiss xmm7, xmm0
ja 0x100492b2
subss xmm0, xmm7
comiss xmm7, xmm0
jbe 0x1004926c
mov ecx, dword [edi + 0x58]
mov ebx, dword [edi + 0x54]
cmp ebx, ecx
jne 0x10049252
inc ebx
test ecx, ecx
je 0x1004923f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10049244
mov eax, 8
cmp eax, ebx
lea ecx, [edi + 0x54]
cmovg ebx, eax
push ebx
call fcn.10033a30
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x5c]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*8 + 4], edx
inc dword [edi + 0x54]
jmp 0x10049288
push 0xf
push ecx
lea eax, [esp + 0x20]
mov dword [esp], 0x40bc7edd
push eax
xorps xmm3, xmm3
movaps xmm2, xmm0
mov ecx, edi
call fcn.1003d510
movss xmm0, dword [esp + 0x38]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 1
push dword [esp + 0x3c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1003c0f0
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x54], 0
cmp byte [edx + 0x5a74], 0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [edx + 0x37f4]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [edx + 0x37e0]
movss dword [esp + 0x7c], xmm0
je 0x10049303
cmp byte [esp + 0x13], 0
lea ecx, [esp + 0x78]
mov eax, 0x10095f00
mov edx, 0x10095ef8
push 0
cmove edx, eax
call fcn.10031820
add esp, 4
movss xmm1, dword [esp + 0x58]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10049329
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x54]
xor edx, edx
push dword [esp + 0x7c]
push 1
call fcn.1001f5b0
add esp, 0xc
mov al, byte [esp + 0x23]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret