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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x1029ad64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], eax
call fcn.100236a0
add esp, 4
mov dword [ebx + 8], 0
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.10023070
mov ecx, dword [ebx + 0x54]
xor edi, edi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x164], ecx
lea edx, [edi + 8]
test ecx, ecx
jle 0x1002e34a
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x1002e34a
imul eax, eax, 0x54
push eax
call fcn.10016320
add esp, 4
mov dword [ebp - 0x158], eax
lea edx, [edi + 8]
push esi
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x178], esi
test esi, esi
jle 0x1002e37b
cmp esi, 8
mov ecx, esi
cmovl ecx, edx
test ecx, ecx
jle 0x1002e37b
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10016320
add esp, 4
mov dword [ebp - 0x13c], eax
mov edi, eax
imul ecx, dword [ebp - 0x164], 0x54
push ecx
push 0
push dword [ebp - 0x158]
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x150], 0
cmp dword [ebx + 0x54], 0
jle 0x1002e4b1
mov esi, dword [ebp - 0x158]
xor eax, eax
mov dword [ebp - 0x140], eax
add esi, 0x34
mov edi, dword [ebx + 0x5c]
xor edx, edx
add edi, eax
mov dword [esi - 4], 0xffffffff
cmp dword [ebx + 0x3c], edx
jle 0x1002e515
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1002e40a
mov ecx, dword [ebx + 0x44]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002e3f8
mov dword [esi - 4], edx
mov eax, edx
jmp 0x1002e3fb
mov eax, dword [esi - 4]
inc edx
cmp edx, dword [ebx + 0x3c]
jl 0x1002e3e1
cmp eax, 0xffffffff
je 0x1002e515
push dword [ebp + 0x10]
lea ebx, [esi - 0x34]
push edi
push dword [ebp - 0x148]
mov ecx, ebx
call fcn.1002f5b0
test al, al
je 0x1002e515
mov eax, dword [ebx + 0x30]
mov edx, dword [edi + 0x30]
lea ebx, [eax + eax*2]
test edx, edx
jne 0x1002e440
mov ecx, dword [ebp - 0x14c]
call fcn.10023100
mov edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1002e46b
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1002e46b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1002e450
mov edi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
inc dword [edi + ebx*8]
mov ecx, dword [esi]
cmp dword [edi + ebx*8 + 4], ecx
cmovge ecx, dword [edi + ebx*8 + 4]
add eax, 0x78
mov dword [edi + ebx*8 + 4], ecx
add esi, 0x54
mov ecx, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x14c]
inc ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x140], eax
cmp ecx, dword [ebx + 0x54]
jl 0x1002e3c7
mov eax, dword [ebp - 0x164]
xor esi, esi
mov dword [ebp - 0x160], esi
test eax, eax
jle 0x1002e926
mov edx, dword [ebp - 0x158]
add edx, 0x44
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], 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 - 0x150], ebx
cmp esi, ecx
jle 0x1002e583
test ecx, ecx
je 0x1002e51c
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x144]
sar eax, 1
add eax, ecx
jmp 0x1002e521
xor bl, bl
jmp 0x1002f570
mov eax, 8
cmp eax, esi
mov edi, esi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e57d
lea eax, [edi*4]
push eax
call fcn.10016320
mov edx, dword [ebp - 0x144]
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [edx], 0
je 0x1002e578
mov ecx, dword [edx - 8]
shl ecx, 2
push ecx
push dword [edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x144]
push dword [eax]
call fcn.10016350
mov edx, dword [ebp - 0x144]
add esp, 0x10
mov eax, dword [ebp - 0x148]
mov dword [edx], eax
mov dword [edx - 4], edi
mov edi, dword [ebp - 0x13c]
lea eax, [esi*4]
mov dword [edx - 8], esi
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + ebx*8 + 0xc], 0
jne 0x1002e64f
mov esi, dword [edi + ebx*8 + 4]
mov ecx, dword [edi + ebx*8 + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, ecx
jle 0x1002e635
test ecx, ecx
je 0x1002e5c6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002e5cb
mov eax, 8
cmp eax, esi
mov edi, esi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e62f
lea eax, [edi*4]
push eax
call fcn.10016320
mov ecx, dword [ebp - 0x13c]
add esp, 4
mov dword [ebp - 0x148], eax
mov edx, dword [ecx + ebx*8 + 0x14]
test edx, edx
je 0x1002e627
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 - 0x13c]
push dword [eax + ebx*8 + 0x14]
call fcn.10016350
mov eax, dword [ebp - 0x148]
add esp, 0x10
mov ecx, dword [ebp - 0x13c]
mov dword [ecx + ebx*8 + 0x14], eax
mov dword [ecx + ebx*8 + 0x10], edi
mov edi, dword [ebp - 0x13c]
lea eax, [esi*4]
mov dword [edi + ebx*8 + 0xc], esi
push eax
push 0
push dword [edi + ebx*8 + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x144]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x138], eax
movzx ecx, word [eax]
test cx, cx
je 0x1002e71b
nop word [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x1002e715
movzx edi, cx
cmp edi, eax
ja 0x1002e6fa
mov eax, dword [ebp - 0x150]
mov ecx, edi
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
mov esi, edi
mov ecx, dword [ebp - 0x13c]
sar esi, 5
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], ebx
jne 0x1002e6eb
push edi
push dword [edx - 0x2c]
call fcn.1013c010
mov edx, dword [ebp - 0x144]
add esp, 8
test eax, eax
je 0x1002e6eb
inc dword [edx - 0xc]
mov ecx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x13c]
inc dword [eax + ecx*8 + 8]
mov eax, dword [edx]
or dword [eax + esi*4], ebx
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax + ecx*8 + 0x14]
or dword [eax + esi*4], ebx
inc dword [ebp - 0x160]
mov eax, dword [ebp - 0x138]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1002e684
mov eax, dword [ebp - 0x138]
add eax, 4
mov dword [ebp - 0x138], eax
movzx ecx, word [eax]
test cx, cx
jne 0x1002e670
mov edi, dword [ebp - 0x13c]
add edx, 0x54
sub dword [ebp - 0x140], 1
mov dword [ebp - 0x144], edx
jne 0x1002e4e0
mov esi, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x164]
add esi, 0x4c
mov dword [ebp - 0x140], ecx
mov edi, dword [esi - 0x14]
cmp edi, dword [esi]
jle 0x1002e792
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.10016320
mov ebx, eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e78d
mov ecx, dword [esi - 4]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 4]
call fcn.10016350
add esp, 0x10
mov dword [esi + 4], ebx
mov dword [esi], edi
mov ebx, dword [esi - 8]
mov edx, ebx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x150], ebx
lea eax, [ebx + ecx*4]
mov dword [ebp - 0x17c], eax
cmp ebx, eax
jae 0x1002e8eb
nop word [eax + eax]
mov ebx, dword [edx]
mov dword [ebp - 0x180], ebx
test ebx, ebx
je 0x1002e8da
xor edi, edi
mov dword [ebp - 0x138], edi
nop dword [eax + eax]
mov eax, 1
mov ecx, edi
shl eax, cl
test ebx, eax
je 0x1002e8c4
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [ebp - 0x148]
xorps xmm0, xmm0
mov ebx, dword [esi - 4]
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0x1b8], xmm0
add eax, edi
movzx eax, ax
mov dword [ebp - 0x1b4], eax
cmp ebx, ecx
jne 0x1002e88f
lea edi, [ebx + 1]
test ecx, ecx
je 0x1002e830
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002e835
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e889
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.10016320
mov ebx, eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e87e
mov ecx, dword [esi - 4]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 4]
call fcn.10016350
add esp, 0x10
mov dword [esi + 4], ebx
xorps xmm0, xmm0
mov ebx, dword [esi - 4]
mov dword [esi], edi
mov edi, dword [ebp - 0x138]
mov eax, dword [esi + 4]
lea ecx, [ebx*8]
mov edx, dword [ebp - 0x150]
sub ecx, ebx
mov ebx, dword [ebp - 0x180]
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 [esi - 4]
inc edi
mov dword [ebp - 0x138], edi
cmp edi, 0x20
jl 0x1002e7e0
mov eax, dword [ebp - 0x17c]
add edx, 4
mov dword [ebp - 0x150], edx
cmp edx, eax
jb 0x1002e7c0
mov eax, dword [esi - 8]
test eax, eax
je 0x1002e910
push eax
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
call fcn.10016350
add esp, 4
mov dword [esi - 8], 0
add esi, 0x54
sub dword [ebp - 0x140], 1
jne 0x1002e746
mov esi, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x178]
test ebx, ebx
jle 0x1002e96b
mov edi, dword [ebp - 0x13c]
add edi, 0x14
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x1002e963
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10016350
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub ebx, 1
jne 0x1002e940
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x1002e988
push eax
call fcn.10016350
add esp, 4
mov dword [ebp - 0x13c], 0
xor ecx, ecx
mov dword [ebp - 0x150], ecx
test esi, esi
jle 0x1002e9b9
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002e9b9
shl eax, 4
push eax
call fcn.10016320
add esp, 4
mov dword [ebp - 0x150], 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 - 0x1a0], eax
call fcn.10016320
push 0x20
mov esi, eax
call fcn.10016320
mov edi, dword [ebp - 0x164]
add esp, 0x14
movss xmm1, dword [0x1019e820]
mov dword [ebp - 0x174], eax
mov dword [eax], esi
mov esi, 1
xor eax, eax
mov dword [ebp - 0x18c], 8
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x190], eax
test edi, edi
jle 0x1002ef87
mov ebx, dword [ebp - 0x158]
xor edx, edx
add ebx, 0x18
mov dword [ebp - 0x148], edi
mov edi, dword [ebp - 0x14c]
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x188], ebx
mov ecx, dword [edi + 0x5c]
add ecx, edx
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1002ef4e
mov eax, dword [ebp - 0x190]
add dword [ebp - 0x190], edx
shl eax, 4
add eax, dword [ebp - 0x150]
mov dword [ebx + 0x10], eax
movss xmm0, dword [ecx + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002ea9b
push ecx
lea eax, [ebp - 0x104]
movss dword [esp], xmm0
push eax
mov byte [ebp - 0x152], 1
call fcn.10023550
add esp, 8
jmp 0x1002eaa2
mov byte [ebp - 0x152], 0
cmp dword [ebx + 0x30], 0
movss xmm0, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
movss dword [ebp - 0x1a8], xmm0
movss xmm0, dword [edi + 0x18]
mov dword [ebp - 0x1a4], eax
movss dword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x19c], 0
jle 0x1002ef4e
xor edi, edi
lea eax, [esi + 1]
xor ecx, ecx
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x178], ecx
mov eax, dword [ebx + 0x38]
add eax, ecx
mov dword [ebp - 0x144], eax
push dword [eax + 0x14]
push dword [ebx]
call fcn.1013c010
add esp, 8
test eax, eax
je 0x1002ef14
push dword [ebx + 8]
push eax
push dword [ebx]
call fcn.1013c980
add esp, 0xc
test eax, eax
jne 0x1002ef14
mov eax, dword [ebx]
mov esi, dword [eax + 0x54]
mov eax, dword [ebx + 4]
test al, 0x20
je 0x1002eb40
push esi
call fcn.101438b0
mov eax, dword [ebx + 4]
add esp, 4
test al, 0x40
je 0x1002eb4d
push esi
call fcn.101439b0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1002ef14
mov eax, dword [ebx]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x54]
push esi
call fcn.1013ec10
add esp, 8
test eax, eax
je 0x1002eb82
mov edx, dword [ebp - 0x144]
xor edi, edi
mov dword [ebp - 0x15c], edi
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
jmp 0x1002ebec
mov eax, dword [ebx]
mov edx, dword [ebp - 0x188]
mov edi, dword [eax + 0x54]
mov eax, dword [ebp - 0x144]
add edi, 0x4c
mov dword [ebp - 0x15c], edi
mov ebx, dword [edi + 4]
mov dword [eax], ebx
mov ecx, dword [edi]
mov edi, dword [ebp - 0x144]
mov dword [eax + 4], ecx
mov eax, dword [edx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [edx]
mov edx, edi
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, edi
mov edi, dword [ebp - 0x15c]
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x10], xmm0
mov dword [ebp - 0x184], ebx
imul ebx, ecx
mov ecx, dword [ebp - 0x1a0]
lea eax, [ebx + ecx]
cmp eax, 0x40000
jle 0x1002ece9
xor eax, eax
push 0x40000
mov dword [ebp - 0x1a0], eax
call fcn.10016320
mov esi, dword [ebp - 0x18c]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x138], ecx
cmp dword [ebp - 0x170], esi
jne 0x1002ecb7
test esi, esi
je 0x1002ec47
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1002ec4c
mov eax, 8
mov esi, dword [ebp - 0x194]
cmp eax, esi
cmovg esi, eax
cmp esi, dword [ebp - 0x18c]
jle 0x1002ecb7
lea eax, [esi*4]
push eax
call fcn.10016320
mov edx, dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x168], eax
test edx, edx
je 0x1002eca5
mov ecx, dword [ebp - 0x170]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x174]
push eax
call fcn.10016350
mov eax, dword [ebp - 0x168]
add esp, 0x10
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x18c], esi
mov esi, dword [ebp - 0x170]
mov eax, dword [ebp - 0x174]
mov edx, dword [ebp - 0x144]
mov dword [eax + esi*4], ecx
inc esi
mov eax, dword [edx]
inc dword [ebp - 0x194]
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x184], eax
jmp 0x1002ecef
mov esi, dword [ebp - 0x170]
mov eax, dword [ebp - 0x174]
mov esi, dword [eax + esi*4 - 4]
xor eax, eax
add esi, ecx
add ecx, ebx
cmp byte [ebp - 0x152], al
lea ebx, [ebp - 0x104]
mov dword [edx + 0x18], esi
mov edx, dword [ebp - 0x15c]
cmove ebx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x1a0], ecx
mov eax, dword [edx + 8]
mov ecx, dword [edi]
movzx edx, byte [edx + 0x12]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x138], edi
sub edx, 1
je 0x1002edf8
sub edx, 1
jne 0x1002eea5
test ebx, ebx
jne 0x1002ed97
test ecx, ecx
je 0x1002eea5
mov ebx, ecx
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x15c]
add esp, 0xc
add esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x160]
sub ebx, 1
jne 0x1002ed70
jmp 0x1002eea5
test ecx, ecx
je 0x1002eea5
mov edx, dword [ebp - 0x184]
test eax, eax
je 0x1002edda
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 0x1002edb0
mov edi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x184]
add edi, dword [ebp - 0x15c]
add esi, edx
sub ecx, 1
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x198], ecx
jne 0x1002eda5
jmp 0x1002eea5
test ebx, ebx
je 0x1002ee18
mov dl, byte [ebx]
mov byte [ebp - 0x169], dl
mov dl, byte [ebx + 0xff]
mov bh, byte [ebp - 0x169]
mov byte [ebp - 0x151], dl
jmp 0x1002ee21
xor bh, bh
mov byte [ebp - 0x151], 0xff
test ecx, ecx
je 0x1002eea5
nop dword [eax]
xor bl, bl
xor edx, edx
test eax, eax
je 0x1002ee7c
mov esi, edx
and esi, 7
jne 0x1002ee41
mov bl, byte [edi]
movzx eax, byte [ebp - 0x151]
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 - 0x160]
cmp edx, eax
jb 0x1002ee38
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x198]
mov edi, dword [ebp - 0x138]
add edi, dword [ebp - 0x15c]
add esi, dword [ebp - 0x184]
sub ecx, 1
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x198], ecx
jne 0x1002ee30
mov edx, dword [ebp - 0x144]
mov ebx, dword [ebp - 0x188]
mov edi, dword [ebp - 0x17c]
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 - 0x140], ecx
mov eax, dword [ebp - 0x19c]
add edi, 0x10
mov ecx, dword [ebp - 0x178]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x17c], edi
cmp eax, dword [ebx + 0x30]
jl 0x1002eaf2
mov esi, dword [ebp - 0x170]
mov edi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x180]
add ebx, 0x54
movss xmm1, dword [0x1019e820]
add edx, 0x78
sub dword [ebp - 0x148], 1
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x180], edx
jne 0x1002ea47
mov eax, dword [ebp - 0x140]
mov edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x14c]
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x28], 0
test esi, esi
jg 0x1002efe6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101a2484]
jb 0x1002efc2
mov esi, 0x1000
jmp 0x1002efe6
comiss xmm0, dword [0x101a2480]
jb 0x1002efd2
mov esi, 0x800
jmp 0x1002efe6
comiss xmm0, dword [0x101a247c]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [ebx + 0x24], esi
xor ecx, ecx
sub esi, dword [ebx + 0x10]
mov dword [ebp - 0x190], ecx
test esi, esi
jle 0x1002f01d
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002f01d
shl eax, 3
push eax
call fcn.10016320
add esp, 4
mov dword [ebp - 0x190], eax
mov ecx, eax
push esi
push ecx
push 0x8000
push dword [ebx + 0x24]
lea eax, [ebp - 0x134]
push eax
call fcn.1002cf60
lea eax, [ebp - 0x134]
push eax
push ebx
call fcn.100235b0
add esp, 0x1c
test edi, edi
jle 0x1002f0d8
mov esi, dword [ebp - 0x158]
mov ebx, edi
add esi, 0x38
mov dword [ebp - 0x148], edi
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x1002f0be
push eax
push dword [esi - 0x10]
lea eax, [ebp - 0x134]
push eax
call fcn.1002d0d0
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x1002f0be
mov ebx, dword [ebp - 0x14c]
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x1002f0b0
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 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 0x1002f090
mov ebx, dword [ebp - 0x148]
add esi, 0x54
sub ebx, 1
mov dword [ebp - 0x148], ebx
jne 0x1002f060
mov ebx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x164]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x28]
jne 0x1002f106
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 [0x1019e820]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x24]
movaps xmm2, xmm1
mov dword [ebx + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
imul eax, ecx
divss xmm2, xmm0
push eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x2c], xmm2
divss xmm1, xmm0
movss dword [ebx + 0x30], xmm1
call fcn.10016320
mov ecx, dword [ebx + 0x28]
imul ecx, dword [ebx + 0x24]
mov dword [ebx + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test edi, edi
jle 0x1002f4b5
mov eax, dword [ebp - 0x158]
xor edi, edi
mov ecx, dword [ebp - 0x164]
add eax, 4
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x18c], ecx
cmp dword [eax + 0x34], 0
je 0x1002f494
movss xmm0, dword [eax + 4]
sub esp, 8
mov ebx, dword [ebx + 0x5c]
add ebx, edi
mov dword [ebp - 0x180], ebx
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
mov esi, dword [ebx + 0x74]
movss dword [esp], xmm0
push ebx
push esi
push dword [ebp - 0x14c]
mov dword [ebp - 0x1a4], esi
call fcn.10023710
movss xmm0, dword [esi + 0x4c]
add esp, 0x14
movss xmm3, dword [0x1019e7f4]
movss xmm2, dword [ebx + 0x28]
addss xmm0, xmm3
movss dword [ebp - 0x168], xmm2
mov dword [ebp - 0x19c], 0
cvttss2si eax, xmm0
movd xmm6, eax
mov eax, dword [ebp - 0x140]
cvtdq2ps xmm6, xmm6
cmp dword [eax + 0x34], 0
addss xmm6, dword [ebx + 0x2c]
mov ebx, dword [ebp - 0x14c]
mov edx, dword [ebx + 0x10]
movss dword [ebp - 0x15c], xmm6
mov dword [ebp - 0x160], edx
jle 0x1002f487
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x138], esi
mov edi, dword [eax + 0x4c]
mov eax, dword [eax + 0x24]
add eax, ecx
mov dword [ebp - 0x148], edi
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
add ecx, edx
add eax, edx
mov dword [ebp - 0x17c], ecx
mov ecx, dword [edi + esi]
mov edx, dword [ebx + 0x24]
mov ebx, dword [edi + esi + 0x18]
mov esi, edx
imul esi, eax
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1ac], edx
add esi, dword [ebp - 0x17c]
add esi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x138]
mov edi, dword [edi + eax + 4]
test edi, edi
jle 0x1002f2ea
push ecx
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x1a8]
dec edi
add esi, dword [ebp - 0x1ac]
add esp, 0xc
add ebx, ecx
test edi, edi
jg 0x1002f296
mov ebx, dword [ebp - 0x148]
mov esi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x14c]
movss xmm2, dword [ebp - 0x168]
movss xmm3, dword [0x1019e7f4]
mov edi, dword [ebx + esi + 4]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebx + esi]
movss xmm6, dword [ebp - 0x15c]
jmp 0x1002f2f6
mov ebx, dword [ebp - 0x148]
mov esi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x180]
movss xmm1, dword [ebx + esi + 0x10]
movss xmm5, dword [eax + 0x34]
comiss xmm5, xmm1
ja 0x1002f327
movss xmm5, dword [eax + 0x38]
movaps xmm0, xmm2
minss xmm5, xmm1
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x1002f347
mov eax, dword [ebp - 0x180]
cmp byte [eax + 0x1c], 0
movaps xmm0, xmm5
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1002f343
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movd xmm4, dword [ebx + esi + 8]
sub esp, 0x24
mov eax, dword [ebp - 0x14c]
movss xmm2, dword [0x1019e820]
cvtdq2ps xmm4, xmm4
movaps xmm1, xmm2
movss dword [esp + 0x20], xmm5
addss xmm4, xmm0
movd xmm3, dword [ebx + esi + 0xc]
movd xmm0, dword [eax + 0x28]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x178]
add eax, edi
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
movd xmm0, edx
addss xmm3, xmm6
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp - 0x17c]
divss xmm2, xmm0
movd xmm0, eax
lea eax, [ecx + edx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [ebx + esi + 0x14]
mulss xmm0, xmm2
movss dword [esp + 0x18], xmm0
movd xmm0, dword [ebp - 0x178]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x10], xmm0
movd xmm0, edi
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.10020fc0
mov edx, dword [ebp - 0x19c]
add esi, 0x1c
mov eax, dword [ebp - 0x140]
inc edx
mov ecx, dword [ebp - 0x188]
movss xmm2, dword [ebp - 0x168]
add ecx, 0x10
movss xmm3, dword [0x1019e7f4]
cmp edx, dword [eax + 0x34]
movss xmm6, dword [ebp - 0x15c]
mov ebx, dword [ebp - 0x14c]
mov dword [ebp - 0x19c], edx
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x188], ecx
jl 0x1002f238
mov edi, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x18c]
mov dword [eax + 0x24], 0
add eax, 0x54
add edi, 0x78
sub ecx, 1
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x18c], ecx
jne 0x1002f184
mov ebx, dword [ebp - 0x170]
xor esi, esi
mov edi, dword [ebp - 0x174]
test ebx, ebx
jle 0x1002f4d7
push dword [edi + esi*4]
call fcn.10016350
inc esi
add esp, 4
cmp esi, ebx
jl 0x1002f4c7
mov ebx, dword [ebp - 0x164]
test ebx, ebx
jle 0x1002f52d
mov esi, dword [ebp - 0x158]
add esi, 0x18
nop word [eax + eax]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1002f500
push eax
call fcn.10016350
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1002f510
push eax
call fcn.10016350
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002f525
push eax
call fcn.1013bb90
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub ebx, 1
jne 0x1002f4f0
push dword [ebp - 0x14c]
call fcn.10023290
mov eax, dword [ebp - 0x190]
add esp, 4
mov bl, 1
test eax, eax
je 0x1002f550
push eax
call fcn.10016350
add esp, 4
test edi, edi
je 0x1002f55d
push edi
call fcn.10016350
add esp, 4
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x1002f570
push eax
call fcn.10016350
add esp, 4
mov eax, dword [ebp - 0x13c]
pop esi
test eax, eax
je 0x1002f584
push eax
call fcn.10016350
add esp, 4
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x1002f597
push eax
call fcn.10016350
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.10139242
mov esp, ebp
pop ebp
ret