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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x100d8054]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [esp + 0x24], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x1002b9d3
comiss xmm0, dword [ebx + 0x20]
jae 0x1002b9d3
mov esi, dword [0x101dbe34]
test esi, esi
je 0x1002b639
mov esi, dword [esi + 0x78]
jmp 0x1002b63b
xor esi, esi
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x1002b661
mov eax, dword [esi + 0x10]
cmp eax, dword [ebx + 0xc]
jge 0x1002b692
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi]
add eax, 0x1388
push 0
push edi
push 0
mov dword [esi + 0x10], eax
lea eax, [eax + eax*2]
mov edx, dword [ecx]
push 0x142
push 0x208
shl eax, 3
push eax
push ecx
call dword [edx + 0x68]
test eax, eax
js 0x1002b9d3
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x1002b6b5
mov eax, dword [esi + 0x14]
cmp eax, dword [ebx + 8]
jge 0x1002b6e2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 8], 0
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
add eax, 0x2710
push 0
push dword [esp + 0x24]
mov dword [esi + 0x14], eax
add eax, eax
mov edx, dword [ecx]
push 0
push 0x65
push 0x208
push eax
push ecx
call dword [edx + 0x6c]
test eax, eax
js 0x1002b9d3
mov dword [esp + 0x14], 0
lea edx, [esp + 0x14]
mov eax, dword [esi]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xec]
test eax, eax
js 0x1002b9d3
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x1002b9c9
mov eax, dword [esi]
lea edx, [esp + 0x50]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [esi]
lea edx, [esp + 0x90]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [esi]
lea edx, [esp + 0xd0]
push edx
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push 0x2000
push eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push ecx
call dword [edx + 0x2c]
test eax, eax
js 0x1002b9c9
mov ecx, dword [esi + 8]
lea eax, [esp + 0x30]
push 0x2000
push eax
mov eax, dword [ebx + 8]
mov edx, dword [ecx]
add eax, eax
push eax
push 0
push ecx
call dword [edx + 0x2c]
test eax, eax
jns 0x1002b7a7
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x1002b9c9
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [ebx + 4], ecx
jle 0x1002b884
nop word [eax + eax]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], 0
mov edi, dword [eax + ecx*4]
cmp dword [edi + 0x18], 0
mov esi, dword [edi + 0x20]
jle 0x1002b847
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
nop
mov eax, dword [esi]
lea esi, [esi + 0x14]
mov dword [ecx], eax
inc ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 8], 0
mov edx, dword [esi - 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00ff00
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x10]
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi - 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi - 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x10]
add ecx, 0x18
mov dword [esp + 0x10], ecx
cmp ebx, dword [edi + 0x18]
jl 0x1002b7e0
mov ebx, dword [esp + 0x24]
mov eax, dword [edi + 0xc]
add eax, eax
push eax
push dword [edi + 0x14]
push dword [esp + 0x38]
call fcn.10089890
mov ecx, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [esp + 0x30]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 4]
jl 0x1002b7c0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi]
push 0x18
push 0
push dword [edi]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [esi]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov eax, dword [esi]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x164]
mov ecx, ebx
call fcn.1002b250
mov ecx, dword [esp + 0x24]
xor edi, edi
xor edx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
movss xmm0, dword [ecx + 0x14]
movss xmm4, dword [ecx + 0x18]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x34], xmm4
cmp dword [ecx + 4], edx
jle 0x1002b980
mov eax, dword [ecx + 0x10]
xor esi, esi
mov dword [esp + 0x38], esi
mov ebx, dword [eax + edx*4]
cmp dword [ebx], esi
jle 0x1002b960
xor eax, eax
mov dword [esp + 0x3c], eax
mov edi, dword [ebx + 8]
add edi, eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1002b9f4
cmp eax, 0xffffffff
jne 0x1002b9e8
call fcn.1002b250
movss xmm4, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
inc esi
movss xmm0, dword [esp + 0x2c]
add eax, 0x28
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
cmp esi, dword [ebx]
jl 0x1002b916
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc edx
add eax, dword [ebx + 0xc]
add edi, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edx
cmp edx, dword [ecx + 4]
jl 0x1002b900
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
lea edx, [esp + 0x50]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi]
lea edx, [esp + 0x90]
push edx
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esi]
lea edx, [esp + 0xd0]
push edx
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10046dd3
mov esp, ebp
pop ebp
ret
push edi
push ebx
call eax
add esp, 8
jmp 0x1002b934
movss xmm3, dword [edi]
movss xmm2, dword [edi + 8]
subss xmm3, xmm0
movss xmm1, dword [edi + 4]
subss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x1002b93e
comiss xmm1, xmm0
jae 0x1002b93e
cvttss2si eax, xmm3
mov esi, dword [esp + 0x28]
push dword [edi + 0x10]
mov dword [esp + 0x44], eax
cvttss2si eax, xmm1
push 0
mov dword [esp + 0x4c], eax
cvttss2si eax, xmm2
mov dword [esp + 0x50], eax
cvttss2si eax, xmm0
mov dword [esp + 0x54], eax
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [esi]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov ecx, dword [esi]
mov eax, 0xaaaaaaab
mul dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
add eax, dword [esp + 0x1c]
mov esi, dword [ecx]
shr edx, 1
push edx
push eax
push dword [ebx + 0x18]
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 0x24]
add eax, edi
push 0
push eax
push 4
push ecx
call dword [esi + 0x148]
movss xmm4, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
jmp 0x1002b942