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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
mov eax, dword [0x101903b8]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
mov esi, edx
mov dword [esp + 0x34], ecx
push edi
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.1002bb20
mov ecx, esi
mov dword [esi + 4], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.10029e10
mov ecx, dword [esi + 0x54]
xor edi, edi
mov byte [esp + 0xb], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ecx
lea edx, [edi + 8]
test ecx, ecx
jle 0x1002e75c
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x1002e75c
mov ecx, dword [0x10270558]
test ecx, ecx
je 0x1002e741
inc dword [ecx + 0xac]
push dword [0x10270550]
imul eax, eax, 0x54
push eax
call fcn.10005790
add esp, 8
mov dword [esp + 0x28], eax
mov edx, 8
mov esi, dword [esi + 0x3c]
mov dword [esp + 0x40], esi
test esi, esi
jle 0x1002e79d
cmp esi, 8
mov ecx, esi
cmovl ecx, edx
test ecx, ecx
jle 0x1002e79d
mov eax, dword [0x10270558]
test eax, eax
je 0x1002e782
inc dword [eax + 0xac]
push dword [0x10270550]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10005790
add esp, 8
mov dword [esp + 0x3c], eax
mov edi, eax
imul ecx, dword [esp + 0x48], 0x54
push ecx
push 0
push dword [esp + 0x30]
call fcn.1012c3d0
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call fcn.1012c3d0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x20], 0
cmp dword [eax + 0x54], 0
jle 0x1002e8d2
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x4c], eax
add esi, 0x34
mov ecx, dword [esp + 0x14]
xor edx, edx
mov edi, dword [ecx + 0x5c]
add edi, eax
mov dword [esi - 4], 0xffffffff
cmp dword [ecx + 0x3c], edx
jle 0x1002e91d
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1002e831
mov ecx, dword [ecx + 0x44]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002e81b
mov dword [esi - 4], edx
mov eax, edx
jmp 0x1002e81e
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0x14]
inc edx
cmp edx, dword [ecx + 0x3c]
jl 0x1002e804
cmp eax, 0xffffffff
je 0x1002e91d
push dword [ebp + 8]
lea ecx, [esi - 0x34]
push edi
push dword [esp + 0x40]
call fcn.1002de10
test al, al
je 0x1002e91d
mov eax, dword [edi + 0x40]
mov edx, 0x10186238
shr eax, 8
and al, 1
or byte [esp + 0xb], al
mov eax, dword [esi - 4]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x30]
test eax, eax
mov dword [esp + 0x18], ecx
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1002e894
movzx eax, word [edx + 2]
test ax, ax
je 0x1002e890
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1002e875
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add eax, 0x78
mov dword [edi + edx*8 + 4], ecx
add esi, 0x54
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], eax
cmp ecx, dword [edx + 0x54]
jl 0x1002e7e6
mov eax, dword [esp + 0x48]
xor esi, esi
mov dword [esp + 0x2c], esi
test eax, eax
jle 0x1002ec6d
mov esi, dword [esp + 0x28]
add esi, 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], esi
mov eax, dword [esi - 0x14]
mov edi, dword [esi - 0x10]
add edi, 0x20
sar edi, 5
lea ecx, [eax + eax*2]
mov eax, dword [esi - 4]
mov dword [esp + 0xc], ecx
cmp edi, eax
jle 0x1002e93c
test eax, eax
je 0x1002e927
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esi - 4]
jmp 0x1002e92c
mov byte [esp + 0xb], 0
jmp 0x1002f798
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [esi - 8]
push eax
call fcn.1001e6a0
lea eax, [edi*4]
mov dword [esi - 8], edi
push eax
push 0
push dword [esi]
call fcn.1012c3d0
mov edx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esp + 0x3c]
lea ecx, [edx*8 + 0xc]
add ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [ecx], 0
jne 0x1002e9c8
mov edi, dword [eax + edx*8 + 4]
mov eax, dword [ecx + 4]
add edi, 0x20
sar edi, 5
mov dword [esp + 0x38], eax
cmp edi, eax
jle 0x1002e9ad
test eax, eax
je 0x1002e993
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x38]
jmp 0x1002e998
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.1001e6a0
mov ecx, dword [esp + 0x18]
lea eax, [edi*4]
mov dword [ecx], edi
push eax
push 0
push dword [ecx + 8]
call fcn.1012c3d0
mov edx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esi - 0x18]
mov dword [esp + 0x30], eax
movzx ecx, word [eax]
test cx, cx
je 0x1002ea9d
nop dword [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x1002ea99
movzx edi, cx
cmp edi, eax
ja 0x1002ea7e
mov eax, dword [esp + 0x3c]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0x38], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x1002ea69
mov eax, dword [esp + 0x44]
push edi
push dword [eax - 0x2c]
call fcn.100cb800
add esp, 8
test eax, eax
je 0x1002ea69
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x2c]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x30]
inc edi
mov edx, dword [esp + 0xc]
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1002e9f8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
add eax, 4
mov dword [esp + 0x30], eax
movzx ecx, word [eax]
test cx, cx
jne 0x1002e9e0
mov esi, dword [esp + 0x44]
add esi, 0x54
sub dword [esp + 0x20], 1
mov dword [esp + 0x44], esi
jne 0x1002e8f3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
add edx, 0x50
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], eax
mov esi, dword [edx - 0x18]
cmp esi, dword [edx - 4]
jle 0x1002eb41
mov eax, dword [0x10270558]
test eax, eax
je 0x1002ead9
inc dword [eax + 0xac]
push dword [0x10270550]
mov eax, esi
shl eax, 5
push eax
call fcn.10005790
mov edx, dword [esp + 0x14]
add esp, 8
mov dword [esp + 0x38], eax
mov edi, dword [edx]
test edi, edi
je 0x1002eb3c
mov ecx, dword [edx - 8]
shl ecx, 5
push ecx
push edi
push eax
call fcn.1012be50
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [edx]
test ecx, ecx
je 0x1002eb25
mov eax, dword [0x10270558]
test eax, eax
je 0x1002eb25
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
mov edx, dword [esp + 0x14]
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [edx], eax
mov dword [edx - 4], esi
mov ecx, dword [edx - 0xc]
mov esi, ecx
mov eax, dword [edx - 0x14]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x68], eax
cmp ecx, eax
jae 0x1002ec19
mov eax, dword [esi]
mov dword [esp + 0x38], eax
test eax, eax
je 0x1002ec08
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x38], eax
je 0x1002ebfe
mov ecx, dword [edx - 8]
mov eax, esi
sub eax, dword [esp + 0x34]
lea esi, [edx - 8]
shl eax, 3
xorps xmm0, xmm0
and eax, 0xffffffe0
movaps xmmword [esp + 0x90], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0x98], eax
mov eax, dword [edx - 4]
cmp ecx, eax
jne 0x1002ebe1
inc ecx
test eax, eax
je 0x1002ebc6
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x1002ebcb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002f940
mov ecx, dword [esi]
xorps xmm0, xmm0
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 8]
shl ecx, 5
movups xmmword [eax + ecx], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [eax + ecx + 0x10], xmm0
inc dword [esi]
mov esi, dword [esp + 0x18]
inc edi
cmp edi, 0x20
jb 0x1002eb70
add esi, 4
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x68]
jb 0x1002eb60
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x1002ec57
mov eax, dword [0x10270558]
mov dword [edx - 0x10], 0
mov dword [edx - 0x14], 0
test eax, eax
je 0x1002ec3d
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
mov edx, dword [esp + 0x14]
add esp, 8
mov dword [edx - 0xc], 0
add edx, 0x54
sub dword [esp + 0x20], 1
mov dword [esp + 0xc], edx
jne 0x1002eac2
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x40], 0
jle 0x1002ecc8
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
add edi, 0x14
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x1002ecbc
mov eax, dword [0x10270558]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x1002eca3
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
mov eax, dword [esp + 0x48]
add esp, 8
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [esp + 0x40], eax
jne 0x1002ec80
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x1002ecf6
mov eax, dword [0x10270558]
test eax, eax
je 0x1002ecdf
dec dword [eax + 0xac]
push dword [0x10270550]
push edi
call fcn.100057a0
add esp, 8
mov dword [esp + 0x3c], 0
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
call fcn.1002dae0
mov eax, dword [esp + 0x5c]
lea eax, [eax + eax*2]
shl eax, 3
push eax
mov eax, dword [esp + 0x68]
push 0
push eax
mov dword [esp + 0x44], eax
call fcn.1012c3d0
xor eax, eax
add esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov eax, dword [0x10270558]
test eax, eax
je 0x1002ed57
inc dword [eax + 0xac]
push dword [0x10270550]
push 0x40000
call fcn.10005790
add esp, 8
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x5c]
push eax
call fcn.1001e720
mov ecx, dword [esp + 0x48]
xor eax, eax
movss xmm0, dword [0x101878cc]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], edi
test ecx, ecx
jle 0x1002f087
mov eax, dword [esp + 0x64]
xor edx, edx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x44], eax
add esi, 0x48
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
cmp dword [esi - 0x10], 0
je 0x1002f05c
mov edx, dword [esp + 0x38]
lea eax, [edi + edi*2]
add edi, dword [esi - 0x10]
mov dword [esp + 0x54], edi
lea eax, [edx + eax*8]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
movss dword [esp + 0x34], xmm1
lahf
test ah, 0x44
jnp 0x1002ee48
mov byte [esp + 0x13], 1
xor edi, edi
nop
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10188100]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1014ea30
movss xmm1, dword [esp + 0x34]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + edi + 0xd8], dl
inc edi
cmp edi, 0x100
jb 0x1002ee00
jmp 0x1002ee4d
mov byte [esp + 0x13], 0
cmp dword [esi], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
jle 0x1002f058
xor ecx, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], ecx
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.100cb800
add esp, 8
test eax, eax
je 0x1002f037
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.100cc1c0
add esp, 0xc
test eax, eax
jne 0x1002f037
mov eax, dword [esi - 0x30]
mov ecx, dword [eax + 0x54]
mov eax, dword [esi - 0x2c]
mov dword [esp + 0x18], ecx
test al, 0x20
je 0x1002eeca
push ecx
call fcn.100d36b0
mov eax, dword [esi - 0x2c]
add esp, 4
mov ecx, dword [esp + 0x18]
test al, 0x40
je 0x1002eed7
push ecx
call fcn.100d37a0
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0x18
je 0x1002f037
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [esp + 0x3c], eax
call fcn.100ce5f0
add esp, 8
test eax, eax
jne 0x1002f037
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0xc]
sar eax, 6
movd xmm0, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [esp + 0x30]
imul eax, ecx
shl eax, 2
mov dword [esp + 0x30], eax
add eax, edx
cmp eax, 0x40000
jle 0x1002efd2
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [0x10270558]
test eax, eax
je 0x1002ef97
inc dword [eax + 0xac]
push dword [0x10270550]
push 0x40000
call fcn.10005790
add esp, 8
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x5c]
push eax
call fcn.1001e720
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
jmp 0x1002efda
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [esp + 0xd8]
add ecx, edx
add edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
xor edx, edx
cmp byte [esp + 0x13], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [esp + 0x24]
call fcn.1002e010
mov edx, dword [esp + 0x2c]
mov eax, dword [esi - 0x20]
mov ecx, dword [edi]
add ecx, dword [esp + 0x20]
mov dword [eax + edx + 4], ecx
mov eax, dword [esi - 0x20]
mov ecx, dword [edi + 4]
add ecx, dword [esp + 0x20]
mov dword [eax + edx + 8], ecx
mov ecx, dword [esi - 0x20]
mov eax, dword [ecx + edx + 8]
imul eax, dword [ecx + edx + 4]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x58]
inc eax
add dword [esp + 0x2c], 0x18
add ecx, 0x20
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ecx
cmp eax, dword [esi]
jl 0x1002ee77
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
add esi, 0x54
movss xmm0, dword [0x101878cc]
add edx, 0x78
sub dword [esp + 0x24], 1
mov edi, dword [esp + 0x54]
mov dword [esp + 0x50], edx
jne 0x1002edc1
mov eax, dword [esp + 0x1c]
jmp 0x1002f097
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 8]
mov dword [esi + 0x28], 0
test edi, edi
jg 0x1002f10b
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1002f0c2
sqrtsd xmm0, xmm0
jmp 0x1002f0c7
call fcn.10150570
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10187bc4]
jb 0x1002f0e7
mov edi, 0x1000
jmp 0x1002f10b
comiss xmm0, dword [0x10187bc0]
jb 0x1002f0f7
mov edi, 0x800
jmp 0x1002f10b
comiss xmm0, dword [0x10187bb0]
mov edi, 0x200
mov eax, 0x400
cmovae edi, eax
mov dword [esi + 0x24], edi
xor ecx, ecx
sub edi, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
test edi, edi
jle 0x1002f157
cmp edi, 8
mov eax, edi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002f157
mov ecx, dword [0x10270558]
test ecx, ecx
je 0x1002f13c
inc dword [ecx + 0xac]
push dword [0x10270550]
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.10005790
add esp, 8
mov dword [esp + 0x34], eax
mov ecx, eax
mov esi, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x18]
push ecx
mov ecx, 0x8000
sub ecx, esi
mov edx, dword [edi + 0x24]
push ecx
sub edx, esi
lea ecx, [esp + 0xac]
call fcn.1001f350
add esp, 0xc
lea edx, [esp + 0xa0]
mov ecx, edi
call fcn.1002b660
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x1002f1fc
mov esi, dword [esp + 0x28]
add esi, 0x38
mov dword [esp + 0x54], eax
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x1002f1ee
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xa0]
push eax
call fcn.1002e4e0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1002f1ee
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0x14], 0
je 0x1002f1e6
mov ecx, dword [edx + eax + 0x10]
add ecx, dword [edx + eax + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x18
cmp edi, dword [esi]
jl 0x1002f1c1
add esi, 0x54
sub dword [esp + 0x54], 1
jne 0x1002f1a0
mov edi, dword [esp + 0x14]
test byte [edi], 1
mov esi, dword [edi + 0x28]
jne 0x1002f229
lea ecx, [esi - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov esi, ecx
sar esi, 0x10
or esi, ecx
mov eax, dword [edi + 0x24]
inc esi
movss xmm2, dword [0x101878cc]
movaps xmm1, xmm2
mov dword [edi + 0x28], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [esp + 0xb], 0
divss xmm2, xmm0
mov eax, dword [0x10270558]
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x30], xmm2
je 0x1002f288
shl esi, 2
test eax, eax
je 0x1002f277
inc dword [eax + 0xac]
push dword [0x10270550]
push esi
call fcn.10005790
mov dword [edi + 0x20], eax
jmp 0x1002f2a1
test eax, eax
je 0x1002f292
inc dword [eax + 0xac]
push dword [0x10270550]
push esi
call fcn.10005790
mov dword [edi + 0x1c], eax
push esi
push 0
push eax
call fcn.1012c3d0
mov ecx, dword [esp + 0x5c]
xor al, al
add esp, 0x14
mov byte [esp + 0x13], al
test ecx, ecx
jle 0x1002f631
mov eax, dword [esp + 0x28]
xor edx, edx
add eax, 8
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], ecx
cmp dword [eax + 0x30], 0
je 0x1002f612
mov ecx, dword [edi + 0x5c]
movss xmm0, dword [eax - 4]
add ecx, edx
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax]
mov dword [esp + 0x54], ecx
cmp byte [ecx + 0x3c], 0
mov esi, dword [ecx + 0x74]
mov dword [esp + 0x78], esi
movss dword [esp + 0x50], xmm0
jne 0x1002f33a
mov ecx, esi
call fcn.1002bed0
mov ecx, dword [esp + 0x54]
movss xmm0, dword [esp + 0x24]
movss xmm1, dword [esp + 0x50]
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edi
movss dword [esi + 0x50], xmm0
movss dword [esi + 0x54], xmm1
jmp 0x1002f343
movzx eax, word [esi + 0x38]
movss xmm0, dword [esi + 0x50]
addss xmm0, dword [0x1018787c]
inc eax
mov dword [esp + 0x58], 0
mov word [esi + 0x38], ax
movss xmm1, dword [ecx + 0x28]
movss dword [esp + 0x30], xmm1
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x30], 0
addss xmm0, dword [ecx + 0x2c]
movss dword [esp + 0x2c], xmm0
jle 0x1002f603
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], edx
nop word [eax + eax]
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp dword [eax + 4], 0
jne 0x1002f3ba
cmp dword [eax + 8], 0
je 0x1002f5d7
mov esi, dword [eax + 0xc]
sub esp, 0x20
mov eax, dword [eax + 0x10]
movd xmm4, dword [edi + 0xc]
add eax, dword [esp + 0x94]
movd xmm3, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x34]
cvtdq2ps xmm4, xmm4
mov dword [esp + 0x44], eax
add eax, ecx
add esi, dword [esp + 0x94]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x34]
cvtdq2ps xmm3, xmm3
addss xmm4, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm3, xmm1
movd xmm2, dword [esi + 0x24]
movd xmm1, dword [edx + 0x28]
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edx, dword [edi]
mov esi, dword [esp + 0x3c]
cvtdq2ps xmm1, xmm1
lea eax, [edx + esi]
cvtdq2ps xmm2, xmm2
divss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
divss xmm0, xmm2
movss dword [esp + 0x14], xmm0
movd xmm0, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, dword [esp + 0x98]
divss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push dword [esp + 0x78]
call fcn.1002c5d0
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x1002f4bf
or dword [ecx + eax*8 - 0x28], 1
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0xc], esi
mov eax, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x50], eax
imul eax, dword [esp + 0x24]
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x1002f54f
add eax, ecx
add eax, dword [esp + 0x1c]
cmp dword [edi + 4], 0
mov dword [esp + 0x1c], eax
jle 0x1002f5cb
lea ecx, [edx*4]
mov dword [esp + 0x6c], ecx
xor ecx, ecx
test edx, edx
jle 0x1002f52c
add esi, 3
nop
mov edx, dword [esp + 0x1c]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x1002f510
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
add eax, dword [esp + 0x50]
inc ecx
add esi, dword [esp + 0x6c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], esi
cmp ecx, dword [edi + 4]
jl 0x1002f506
jmp 0x1002f5cb
mov ecx, dword [esp + 0x1c]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x1c], ecx
jle 0x1002f5cb
mov eax, dword [esp + 0x50]
shl eax, 2
mov dword [esp + 0x50], eax
lea eax, [edx*4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc]
xor esi, esi
test edx, edx
jle 0x1002f5ad
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [esp + 0x6c]
cmp esi, edx
jl 0x1002f591
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
add ecx, dword [esp + 0x50]
inc esi
add eax, dword [esp + 0x7c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
cmp esi, dword [edi + 4]
jl 0x1002f583
movss xmm1, dword [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
inc ecx
add dword [esp + 0x20], 0x20
add dword [esp + 0x4c], 0x18
mov edx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x4c]
jl 0x1002f3a0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], ecx
jne 0x1002f2d4
mov al, byte [esp + 0x13]
xor esi, esi
mov byte [edi + 0x19], al
cmp dword [esp + 0x40], esi
jle 0x1002f670
mov edi, dword [esp + 0x44]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1002f656
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f656
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
inc esi
add esp, 8
cmp esi, dword [esp + 0x40]
jl 0x1002f640
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x1002f6ec
mov esi, dword [esp + 0x28]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1002f6a8
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f699
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
add esp, 8
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1002f6cd
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f6be
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
add esp, 8
mov eax, dword [esi]
test eax, eax
je 0x1002f6e2
push eax
call fcn.100cb350
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x48], 1
jne 0x1002f683
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1002f71a
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f703
dec dword [eax + 0xac]
push dword [0x10270550]
push esi
call fcn.100057a0
add esp, 8
mov dword [esp + 0x28], 0
mov ecx, edi
call fcn.1002bbf0
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xb], 1
test ecx, ecx
je 0x1002f74c
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f73d
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
add esp, 8
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x1002f772
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f763
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
add esp, 8
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1002f798
mov eax, dword [0x10270558]
test eax, eax
je 0x1002f789
dec dword [eax + 0xac]
push dword [0x10270550]
push ecx
call fcn.100057a0
add esp, 8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1002f7bf
mov ecx, dword [0x10270558]
test ecx, ecx
je 0x1002f7b0
dec dword [ecx + 0xac]
push dword [0x10270550]
push eax
call fcn.100057a0
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1002f7e6
mov ecx, dword [0x10270558]
test ecx, ecx
je 0x1002f7d7
dec dword [ecx + 0xac]
push dword [0x10270550]
push eax
call fcn.100057a0
add esp, 8
mov ecx, dword [esp + 0x1dc]
mov al, byte [esp + 0xb]
pop edi
pop esi
xor ecx, esp
call fcn.100c9808
mov esp, ebp
pop ebp
ret