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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x10266a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x13c], eax
call fcn.100230d0
add esp, 4
mov dword [edi + 8], 0
mov ecx, edi
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.10022aa0
mov ecx, dword [edi + 0x54]
xor ebx, ebx
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x160], ecx
lea edx, [ebx + 8]
test ecx, ecx
jle 0x1002e56a
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x1002e56a
imul eax, eax, 0x54
push eax
call fcn.10015e20
add esp, 4
mov dword [ebp - 0x15c], eax
lea edx, [ebx + 8]
push esi
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0x174], esi
test esi, esi
jle 0x1002e59b
cmp esi, 8
mov ecx, esi
cmovl ecx, edx
test ecx, ecx
jle 0x1002e59b
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10015e20
add esp, 4
mov dword [ebp - 0x14c], eax
mov ebx, eax
imul ecx, dword [ebp - 0x160], 0x54
push ecx
push 0
push dword [ebp - 0x15c]
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x154], 0
cmp dword [edi + 0x54], 0
jle 0x1002e6e1
mov edi, dword [ebp - 0x15c]
xor eax, eax
mov dword [ebp - 0x144], eax
add edi, 0x34
nop word [eax + eax]
mov ecx, dword [ebp - 0x138]
xor edx, edx
mov ebx, dword [ecx + 0x5c]
add ebx, eax
mov dword [edi - 4], 0xffffffff
cmp dword [ecx + 0x3c], edx
jle 0x1002e741
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x1002e637
mov ecx, dword [ecx + 0x44]
or esi, esi
mov eax, dword [ebx + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002e629
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x1002e610
cmp eax, 0xffffffff
je 0x1002e741
push dword [ebp + 0x10]
lea ecx, [edi - 0x34]
push ebx
push dword [ebp - 0x13c]
call fcn.1002f750
test al, al
je 0x1002e741
mov eax, dword [edi - 4]
mov edx, dword [ebx + 0x30]
lea esi, [eax + eax*2]
test edx, edx
jne 0x1002e674
mov ecx, dword [ebp - 0x138]
call fcn.10022b30
mov edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1002e69b
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1002e69b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1002e680
mov ebx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x144]
inc dword [ebx + esi*8]
mov ecx, dword [edi]
cmp dword [ebx + esi*8 + 4], ecx
cmovge ecx, dword [ebx + esi*8 + 4]
add eax, 0x78
mov dword [ebx + esi*8 + 4], ecx
add edi, 0x54
mov ecx, dword [ebp - 0x154]
inc ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], ecx
cmp ecx, dword [edx + 0x54]
jl 0x1002e5f0
mov eax, dword [ebp - 0x160]
xor esi, esi
mov dword [ebp - 0x150], esi
test eax, eax
jle 0x1002eb02
mov edx, dword [ebp - 0x15c]
add edx, 0x44
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
nop dword [eax]
mov eax, dword [edx - 0x14]
mov esi, dword [edx - 0x10]
mov ecx, dword [edx - 4]
add esi, 0x20
sar esi, 5
lea ebx, [eax + eax*2]
mov dword [ebp - 0x154], ebx
cmp esi, ecx
jle 0x1002e7a9
test ecx, ecx
je 0x1002e748
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x140]
sar eax, 1
add eax, ecx
jmp 0x1002e74d
xor bl, bl
jmp 0x1002f711
mov eax, 8
cmp eax, esi
mov edi, esi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e7a9
lea eax, [edi*4]
push eax
call fcn.10015e20
mov edx, dword [ebp - 0x140]
add esp, 4
mov dword [ebp - 0x13c], eax
cmp dword [edx], 0
je 0x1002e7a4
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x140]
push dword [eax]
call fcn.10015e50
mov edx, dword [ebp - 0x140]
add esp, 0x10
mov eax, dword [ebp - 0x13c]
mov dword [edx], eax
mov dword [edx - 4], edi
lea eax, [esi*4]
mov dword [edx - 8], esi
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x14c]
add esp, 0xc
cmp dword [edx + ebx*8 + 0xc], 0
jne 0x1002e87b
mov esi, dword [edx + ebx*8 + 4]
mov ecx, dword [edx + ebx*8 + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, ecx
jle 0x1002e861
test ecx, ecx
je 0x1002e7f8
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x14c]
sar eax, 1
add eax, ecx
jmp 0x1002e7fd
mov eax, 8
cmp eax, esi
mov edi, esi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e861
lea eax, [edi*4]
push eax
call fcn.10015e20
mov ecx, dword [ebp - 0x14c]
add esp, 4
mov dword [ebp - 0x13c], eax
mov edx, dword [ecx + ebx*8 + 0x14]
test edx, edx
je 0x1002e853
mov ecx, dword [ecx + ebx*8 + 0xc]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x14c]
push dword [eax + ebx*8 + 0x14]
call fcn.10015e50
mov eax, dword [ebp - 0x13c]
add esp, 0x10
mov edx, dword [ebp - 0x14c]
mov dword [edx + ebx*8 + 0x14], eax
mov dword [edx + ebx*8 + 0x10], edi
lea eax, [esi*4]
mov dword [edx + ebx*8 + 0xc], esi
push eax
push 0
push dword [edx + ebx*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x140]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x148], eax
cmp word [eax], 0
je 0x1002e943
nop dword [eax]
nop dword [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1002e943
movzx edi, word [eax]
cmp edi, ecx
ja 0x1002e92a
mov eax, dword [ebp - 0x154]
mov ecx, edi
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov esi, edi
mov ecx, dword [ebp - 0x14c]
sar esi, 5
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], ebx
jne 0x1002e91b
push edi
push dword [edx - 0x2c]
call fcn.1010ec60
mov edx, dword [ebp - 0x140]
add esp, 8
test eax, eax
je 0x1002e91b
inc dword [edx - 0xc]
mov ecx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x14c]
inc dword [eax + ecx*8 + 8]
mov eax, dword [edx]
or dword [eax + esi*4], ebx
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + ecx*8 + 0x14]
or dword [eax + esi*4], ebx
inc dword [ebp - 0x150]
mov eax, dword [ebp - 0x148]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1002e8b4
mov eax, dword [ebp - 0x148]
add eax, 4
mov dword [ebp - 0x148], eax
cmp word [eax], 0
jne 0x1002e8a0
add edx, 0x54
sub dword [ebp - 0x144], 1
mov dword [ebp - 0x140], edx
jne 0x1002e710
mov edi, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
add edi, 0x50
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x144], ecx
mov esi, dword [edi - 0x18]
cmp esi, dword [edi - 4]
jle 0x1002e9bf
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
call fcn.10015e20
mov ebx, eax
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x1002e9ba
mov ecx, dword [edi - 8]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi]
call fcn.10015e50
add esp, 0x10
mov dword [edi], ebx
mov dword [edi - 4], esi
mov ecx, dword [edi - 0xc]
mov edx, ecx
mov eax, dword [edi - 0x14]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x154], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x178], eax
cmp ecx, eax
jae 0x1002eabf
mov ebx, dword [edx]
mov dword [ebp - 0x17c], ebx
test ebx, ebx
je 0x1002eaae
xor esi, esi
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
je 0x1002ea9e
mov ebx, dword [edi - 4]
mov eax, edx
sub eax, dword [ebp - 0x13c]
xorps xmm0, xmm0
mov ecx, dword [edi - 8]
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0x1b8], xmm0
add eax, esi
movzx eax, ax
mov dword [ebp - 0x1b4], eax
cmp ecx, ebx
jne 0x1002ea61
inc ecx
test ebx, ebx
je 0x1002ea45
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x1002ea4a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [edi - 8]
call fcn.1002f950
mov edx, dword [ebp - 0x154]
xorps xmm0, xmm0
mov eax, dword [edi - 8]
mov ebx, dword [ebp - 0x17c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [ebp - 0x1b8]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [edi - 8]
mov edi, dword [ebp - 0x148]
inc esi
cmp esi, 0x20
jl 0x1002e9f6
mov eax, dword [ebp - 0x178]
add edx, 4
mov dword [ebp - 0x154], edx
cmp edx, eax
jb 0x1002e9e4
mov eax, dword [edi - 0xc]
test eax, eax
je 0x1002eae4
push eax
mov dword [edi - 0x10], 0
mov dword [edi - 0x14], 0
call fcn.10015e50
add esp, 4
mov dword [edi - 0xc], 0
add edi, 0x54
sub dword [ebp - 0x144], 1
mov dword [ebp - 0x148], edi
jne 0x1002e974
mov esi, dword [ebp - 0x150]
jmp 0x1002eb04
xor esi, esi
mov ebx, dword [ebp - 0x174]
test ebx, ebx
jle 0x1002eb42
mov edi, dword [ebp - 0x14c]
add edi, 0x14
mov eax, dword [edi]
test eax, eax
je 0x1002eb3a
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10015e50
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub ebx, 1
jne 0x1002eb17
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x1002eb5f
push eax
call fcn.10015e50
add esp, 4
mov dword [ebp - 0x14c], 0
xor ecx, ecx
mov dword [ebp - 0x154], ecx
test esi, esi
jle 0x1002eb90
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002eb90
shl eax, 4
push eax
call fcn.10015e20
add esp, 4
mov dword [ebp - 0x154], eax
mov ecx, eax
shl esi, 4
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
push 0x40000
mov dword [ebp - 0x194], eax
call fcn.10015e20
push 0x20
mov esi, eax
call fcn.10015e20
mov ebx, dword [ebp - 0x160]
add esp, 0x14
movss xmm1, dword [0x101716c4]
xor edi, edi
mov dword [ebp - 0x170], eax
mov dword [eax], esi
xor eax, eax
mov dword [ebp - 0x184], 8
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x144], eax
test ebx, ebx
jle 0x1002f12f
mov ebx, dword [ebp - 0x15c]
xor edx, edx
mov ecx, dword [ebp - 0x160]
add ebx, 0x18
mov esi, dword [ebp - 0x138]
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x13c], ecx
nop
mov ecx, dword [esi + 0x5c]
add ecx, edx
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1002f0f6
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [ebp - 0x154]
mov dword [ebx + 0x10], eax
movss xmm0, dword [ecx + 0x44]
ucomiss xmm0, xmm1
mov dword [ebp - 0x19c], edi
lahf
test ah, 0x44
jnp 0x1002ec72
push ecx
lea eax, [ebp - 0x104]
movss dword [esp], xmm0
push eax
mov byte [ebp - 0x156], 1
call fcn.10022f80
add esp, 8
jmp 0x1002ec79
mov byte [ebp - 0x156], 0
cmp dword [ebx + 0x30], 0
movss xmm0, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
movss dword [ebp - 0x1a8], xmm0
movss xmm0, dword [esi + 0x18]
mov dword [ebp - 0x1a4], eax
movss dword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x18c], 0
jle 0x1002f0f6
mov eax, dword [ebp - 0x140]
xor edi, edi
inc eax
mov dword [ebp - 0x174], edi
xor ecx, ecx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x190], ecx
nop dword [eax]
mov edx, dword [ebx + 0x38]
add edx, ecx
mov dword [ebp - 0x148], edx
push dword [edx + 0x14]
push dword [ebx]
call fcn.1010ec60
add esp, 8
test eax, eax
je 0x1002f0bc
push dword [ebx + 8]
push eax
push dword [ebx]
call fcn.1010f5d0
add esp, 0xc
test eax, eax
jne 0x1002f0bc
test byte [ebx + 4], 0x20
mov eax, dword [ebx]
mov esi, dword [eax + 0x54]
je 0x1002ed1a
push esi
call fcn.10116500
add esp, 4
test byte [ebx + 4], 0x40
je 0x1002ed29
push esi
call fcn.10116600
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1002f0bc
mov eax, dword [ebx]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x54]
push esi
call fcn.10111860
mov ecx, dword [ebp - 0x148]
add esp, 8
test eax, eax
je 0x1002ed53
xor edi, edi
jmp 0x1002ed9b
mov eax, dword [ebx]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [ecx], eax
mov eax, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x10], xmm0
mov ebx, dword [ecx + 4]
imul ebx, dword [ecx]
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x164], edi
lea eax, [ebx + edx]
cmp eax, 0x40000
jle 0x1002ee8e
xor eax, eax
push 0x40000
mov dword [ebp - 0x194], eax
call fcn.10015e20
mov esi, dword [ebp - 0x184]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x150], ecx
cmp dword [ebp - 0x140], esi
jne 0x1002ee64
test esi, esi
je 0x1002edf5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1002edfa
mov eax, 8
mov esi, dword [ebp - 0x180]
cmp eax, esi
cmovg esi, eax
cmp esi, dword [ebp - 0x184]
jle 0x1002ee64
lea eax, [esi*4]
push eax
call fcn.10015e20
mov edx, dword [ebp - 0x170]
add esp, 4
mov dword [ebp - 0x168], eax
test edx, edx
je 0x1002ee52
mov ecx, dword [ebp - 0x140]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x170]
call fcn.10015e50
mov eax, dword [ebp - 0x168]
add esp, 0x10
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x184], esi
mov esi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0x194]
mov dword [eax + esi*4], ecx
inc esi
inc dword [ebp - 0x180]
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x140], esi
jmp 0x1002ee9a
mov esi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x170]
mov esi, dword [eax + esi*4 - 4]
xor eax, eax
add esi, edx
add edx, ebx
cmp byte [ebp - 0x156], al
lea ebx, [ebp - 0x104]
mov dword [ebp - 0x194], edx
mov edx, dword [ebp - 0x164]
cmove ebx, eax
mov eax, dword [ecx]
mov dword [ecx + 0x18], esi
mov ecx, dword [edi]
mov dword [ebp - 0x150], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x1a0], eax
mov eax, dword [edx + 8]
movzx edx, byte [edx + 0x12]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x198], edi
sub edx, 1
je 0x1002efa8
sub edx, 1
jne 0x1002f04d
test ebx, ebx
jne 0x1002ef47
test ecx, ecx
je 0x1002f04d
mov ebx, ecx
nop dword [eax]
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x164]
add esp, 0xc
add esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x1a0]
sub ebx, 1
jne 0x1002ef20
jmp 0x1002f04d
test ecx, ecx
je 0x1002f04d
mov edx, dword [ebp - 0x150]
test eax, eax
je 0x1002ef8a
mov ecx, esi
sub edi, esi
mov edx, eax
nop
movzx eax, byte [edi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + ebx]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1002ef60
mov edi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x150]
add edi, dword [ebp - 0x164]
add esi, edx
sub ecx, 1
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x188], ecx
jne 0x1002ef55
jmp 0x1002f04d
test ebx, ebx
je 0x1002efc8
mov dl, byte [ebx]
mov byte [ebp - 0x169], dl
mov dl, byte [ebx + 0xff]
mov bh, byte [ebp - 0x169]
mov byte [ebp - 0x155], dl
jmp 0x1002efd1
xor bh, bh
mov byte [ebp - 0x155], 0xff
test ecx, ecx
je 0x1002f04d
xor bl, bl
xor edx, edx
test eax, eax
je 0x1002f024
nop dword [eax]
mov esi, edx
and esi, 7
jne 0x1002efe9
mov bl, byte [edi]
movzx eax, byte [ebp - 0x155]
test bl, bl
movzx ecx, bh
cmovs ecx, eax
mov eax, dword [ebp - 0x168]
add bl, bl
mov byte [edx + eax], cl
inc edx
test esi, esi
lea eax, [edi + 1]
cmovne eax, edi
mov edi, eax
mov eax, dword [ebp - 0x1a0]
cmp edx, eax
jb 0x1002efe0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x188]
mov edi, dword [ebp - 0x198]
add edi, dword [ebp - 0x164]
add esi, dword [ebp - 0x150]
sub ecx, 1
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x188], ecx
jne 0x1002efd5
mov edx, dword [ebp - 0x148]
mov ebx, dword [ebp - 0x178]
mov edi, dword [ebp - 0x174]
mov eax, dword [edx]
add eax, dword [ebp - 0x1a4]
movd xmm0, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1a8]
cvttss2si ecx, xmm0
mov word [eax + edi + 4], cx
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1a4]
movd xmm0, eax
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1ac]
cvttss2si ecx, xmm0
mov word [eax + edi + 6], cx
mov eax, dword [ebx + 0x10]
movzx ecx, word [eax + edi + 6]
movzx eax, word [eax + edi + 4]
imul ecx, eax
add dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x18c]
add edi, 0x10
mov ecx, dword [ebp - 0x190]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x174], edi
cmp eax, dword [ebx + 0x30]
jl 0x1002ecd0
mov esi, dword [ebp - 0x138]
mov edi, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x17c]
add ebx, 0x54
movss xmm1, dword [0x101716c4]
add edx, 0x78
sub dword [ebp - 0x13c], 1
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x17c], edx
jne 0x1002ec20
mov eax, dword [ebp - 0x144]
mov ebx, dword [ebp - 0x160]
mov edi, dword [ebp - 0x138]
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
test esi, esi
jg 0x1002f18e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10175320]
jb 0x1002f16a
mov esi, 0x1000
jmp 0x1002f18e
comiss xmm0, dword [0x1017531c]
jb 0x1002f17a
mov esi, 0x800
jmp 0x1002f18e
comiss xmm0, dword [0x10175318]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x24], esi
xor ecx, ecx
sub esi, dword [edi + 0x10]
mov dword [ebp - 0x148], ecx
test esi, esi
jle 0x1002f1c5
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002f1c5
shl eax, 3
push eax
call fcn.10015e20
add esp, 4
mov dword [ebp - 0x148], eax
mov ecx, eax
push esi
push ecx
push 0x8000
push dword [edi + 0x24]
lea eax, [ebp - 0x134]
push eax
call fcn.1002d180
lea eax, [ebp - 0x134]
push eax
push edi
call fcn.10022fe0
add esp, 0x1c
test ebx, ebx
jle 0x1002f278
mov esi, dword [ebp - 0x15c]
add esi, 0x38
mov dword [ebp - 0x13c], ebx
mov eax, dword [esi]
test eax, eax
je 0x1002f25e
push eax
push dword [esi - 0x10]
lea eax, [ebp - 0x134]
push eax
call fcn.1002d2f0
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x1002f25e
mov ebx, dword [ebp - 0x138]
xor edx, edx
nop dword [eax]
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1002f250
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [ebx + 0x28], ecx
cmovge ecx, dword [ebx + 0x28]
mov dword [ebx + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1002f230
mov ebx, dword [ebp - 0x13c]
add esi, 0x54
sub ebx, 1
mov dword [ebp - 0x13c], ebx
jne 0x1002f202
mov edi, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x160]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x1002f2a6
lea ecx, [eax - 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 eax, ecx
sar eax, 0x10
or eax, ecx
movss xmm1, dword [0x101716c4]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [edi + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
imul eax, ecx
divss xmm2, xmm0
push eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm2
divss xmm1, xmm0
movss dword [edi + 0x30], xmm1
call fcn.10015e20
mov ecx, dword [edi + 0x28]
imul ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test ebx, ebx
jle 0x1002f647
mov ebx, dword [ebp - 0x15c]
xor eax, eax
mov ecx, dword [ebp - 0x160]
add ebx, 4
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x184], ecx
cmp dword [ebx + 0x34], 0
je 0x1002f626
mov esi, dword [edi + 0x5c]
sub esp, 8
movss xmm0, dword [ebx + 4]
add esi, eax
mov dword [ebp - 0x1ac], esi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebx]
mov edi, dword [esi + 0x74]
movss dword [esp], xmm0
push esi
push edi
push dword [ebp - 0x138]
mov dword [ebp - 0x1a4], edi
call fcn.10023140
movss xmm0, dword [edi + 0x4c]
add esp, 0x14
cmp dword [ebx + 0x34], 0
movss xmm3, dword [0x10171698]
mov edi, dword [ebp - 0x138]
addss xmm0, xmm3
movss xmm2, dword [esi + 0x28]
movss dword [ebp - 0x144], xmm2
mov dword [ebp - 0x174], 0
mov ecx, dword [edi + 0x10]
cvttss2si eax, xmm0
mov dword [ebp - 0x150], ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [esi + 0x2c]
movss dword [ebp - 0x168], xmm6
jle 0x1002f613
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x190], eax
mov edx, dword [ebx + 0x4c]
add edx, eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x17c], edx
movzx edi, word [eax + esi + 8]
movzx eax, word [eax + esi + 0xa]
add edi, ecx
mov ebx, dword [edx + 0x18]
add eax, ecx
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x178], eax
mov eax, dword [edx]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ecx + 0x24]
mov esi, ecx
imul esi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x19c], ecx
add esi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x13c]
add esi, edi
mov edi, dword [edx + 4]
test edi, edi
jle 0x1002f47c
push eax
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x13c]
dec edi
add esi, dword [ebp - 0x19c]
add esp, 0xc
add ebx, eax
test edi, edi
jg 0x1002f435
mov esi, dword [ebp - 0x138]
movss xmm2, dword [ebp - 0x144]
movss xmm3, dword [0x10171698]
movss xmm6, dword [ebp - 0x168]
mov ecx, dword [esi + 0x24]
mov edx, dword [ebp - 0x17c]
jmp 0x1002f482
mov esi, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x1ac]
movss xmm1, dword [edx + 0x10]
movss xmm5, dword [ebx + 0x34]
comiss xmm5, xmm1
ja 0x1002f4b4
movss xmm5, dword [ebx + 0x38]
movaps xmm0, xmm2
minss xmm5, xmm1
ucomiss xmm1, xmm5
movss dword [ebp - 0x19c], xmm5
lahf
test ah, 0x44
jnp 0x1002f4d4
cmp byte [ebx + 0x1c], 0
movaps xmm0, xmm5
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1002f4d0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movd xmm4, dword [edx + 8]
sub esp, 0x24
movss xmm1, dword [0x101716c4]
cvtdq2ps xmm4, xmm4
mov ebx, dword [ebp - 0x178]
mov edi, dword [ebp - 0x1a8]
movd xmm3, dword [edx + 0xc]
movaps xmm2, xmm1
addss xmm4, xmm0
mov edx, dword [edx + 4]
movd xmm0, dword [esi + 0x28]
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp - 0x17c]
lea eax, [ebx + edx]
movss dword [esp + 0x20], xmm5
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esi]
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
movd xmm0, eax
addss xmm3, xmm6
cvtdq2ps xmm0, xmm0
lea eax, [edi + ecx]
mulss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [esi + 0x14]
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x14], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [esp + 0xc], xmm0
movd xmm0, ecx
mov ecx, dword [ebp - 0x1a4]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push eax
call fcn.10020930
mov ecx, dword [ebp - 0x174]
mov ebx, dword [ebp - 0x164]
inc ecx
mov eax, dword [ebp - 0x190]
mov esi, dword [ebp - 0x18c]
add eax, 0x1c
movss xmm2, dword [ebp - 0x144]
add esi, 0x10
cmp ecx, dword [ebx + 0x34]
movss xmm3, dword [0x10171698]
movss xmm6, dword [ebp - 0x168]
mov dword [ebp - 0x174], ecx
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], esi
jl 0x1002f3d2
mov edi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x184]
mov dword [ebx + 0x24], 0
add ebx, 0x54
add eax, 0x78
sub ecx, 1
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x184], ecx
jne 0x1002f324
mov ebx, dword [ebp - 0x140]
xor esi, esi
test ebx, ebx
jle 0x1002f676
mov edi, dword [ebp - 0x170]
nop dword [eax]
push dword [edi + esi*4]
call fcn.10015e50
inc esi
add esp, 4
cmp esi, ebx
jl 0x1002f660
mov edi, dword [ebp - 0x138]
mov ebx, dword [ebp - 0x160]
test ebx, ebx
jle 0x1002f6cd
mov esi, dword [ebp - 0x15c]
add esi, 0x18
nop dword [eax]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1002f6a0
push eax
call fcn.10015e50
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1002f6b0
push eax
call fcn.10015e50
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002f6c5
push eax
call fcn.1010e7e0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub ebx, 1
jne 0x1002f690
push edi
call fcn.10022cc0
mov eax, dword [ebp - 0x148]
add esp, 4
mov bl, 1
test eax, eax
je 0x1002f6eb
push eax
call fcn.10015e50
add esp, 4
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x1002f6fe
push eax
call fcn.10015e50
add esp, 4
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x1002f711
push eax
call fcn.10015e50
add esp, 4
mov eax, dword [ebp - 0x14c]
pop esi
test eax, eax
je 0x1002f725
push eax
call fcn.10015e50
add esp, 4
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1002f738
push eax
call fcn.10015e50
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.1010c1a2
mov esp, ebp
pop ebp
ret