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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x1025ab04]
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.100230d0
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.10022aa0
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 0x1002dd7a
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x1002dd7a
imul eax, eax, 0x54
push eax
call fcn.10015d50
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 0x1002ddab
cmp esi, 8
mov ecx, esi
cmovl ecx, edx
test ecx, ecx
jle 0x1002ddab
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.10015d50
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 0x1002dee1
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 0x1002df45
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x1002de3a
mov ecx, dword [ebx + 0x44]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002de28
mov dword [esi - 4], edx
mov eax, edx
jmp 0x1002de2b
mov eax, dword [esi - 4]
inc edx
cmp edx, dword [ebx + 0x3c]
jl 0x1002de11
cmp eax, 0xffffffff
je 0x1002df45
push dword [ebp + 0x10]
lea ebx, [esi - 0x34]
push edi
push dword [ebp - 0x148]
mov ecx, ebx
call fcn.1002efe0
test al, al
je 0x1002df45
mov eax, dword [ebx + 0x30]
mov edx, dword [edi + 0x30]
lea ebx, [eax + eax*2]
test edx, edx
jne 0x1002de70
mov ecx, dword [ebp - 0x14c]
call fcn.10022b30
mov edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1002de9b
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1002de9b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x1002de80
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 0x1002ddf7
mov eax, dword [ebp - 0x164]
xor esi, esi
mov dword [ebp - 0x160], esi
test eax, eax
jle 0x1002e356
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 0x1002dfb3
test ecx, ecx
je 0x1002df4c
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x144]
sar eax, 1
add eax, ecx
jmp 0x1002df51
xor bl, bl
jmp 0x1002efa0
mov eax, 8
cmp eax, esi
mov edi, esi
cmovg edi, eax
cmp edi, ecx
jle 0x1002dfad
lea eax, [edi*4]
push eax
call fcn.10015d50
mov edx, dword [ebp - 0x144]
add esp, 4
mov dword [ebp - 0x148], eax
cmp dword [edx], 0
je 0x1002dfa8
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.10015d80
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 0x1002e07f
mov esi, dword [edi + ebx*8 + 4]
mov ecx, dword [edi + ebx*8 + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, ecx
jle 0x1002e065
test ecx, ecx
je 0x1002dff6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002dffb
mov eax, 8
cmp eax, esi
mov edi, esi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e05f
lea eax, [edi*4]
push eax
call fcn.10015d50
mov ecx, dword [ebp - 0x13c]
add esp, 4
mov dword [ebp - 0x148], eax
mov edx, dword [ecx + ebx*8 + 0x14]
test edx, edx
je 0x1002e057
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.10015d80
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 0x1002e14b
nop word [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x1002e145
movzx edi, cx
cmp edi, eax
ja 0x1002e12a
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 0x1002e11b
push edi
push dword [edx - 0x2c]
call fcn.10107050
mov edx, dword [ebp - 0x144]
add esp, 8
test eax, eax
je 0x1002e11b
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 0x1002e0b4
mov eax, dword [ebp - 0x138]
add eax, 4
mov dword [ebp - 0x138], eax
movzx ecx, word [eax]
test cx, cx
jne 0x1002e0a0
mov edi, dword [ebp - 0x13c]
add edx, 0x54
sub dword [ebp - 0x140], 1
mov dword [ebp - 0x144], edx
jne 0x1002df10
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 0x1002e1c2
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.10015d50
mov ebx, eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e1bd
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.10015d80
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 0x1002e31b
nop word [eax + eax]
mov ebx, dword [edx]
mov dword [ebp - 0x180], ebx
test ebx, ebx
je 0x1002e30a
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 0x1002e2f4
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 0x1002e2bf
lea edi, [ebx + 1]
test ecx, ecx
je 0x1002e260
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002e265
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002e2b9
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.10015d50
mov ebx, eax
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e2ae
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.10015d80
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 0x1002e210
mov eax, dword [ebp - 0x17c]
add edx, 4
mov dword [ebp - 0x150], edx
cmp edx, eax
jb 0x1002e1f0
mov eax, dword [esi - 8]
test eax, eax
je 0x1002e340
push eax
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
call fcn.10015d80
add esp, 4
mov dword [esi - 8], 0
add esi, 0x54
sub dword [ebp - 0x140], 1
jne 0x1002e176
mov esi, dword [ebp - 0x160]
mov ebx, dword [ebp - 0x178]
test ebx, ebx
jle 0x1002e39b
mov edi, dword [ebp - 0x13c]
add edi, 0x14
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x1002e393
push eax
mov dword [edi - 4], 0
mov dword [edi - 8], 0
call fcn.10015d80
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub ebx, 1
jne 0x1002e370
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x1002e3b8
push eax
call fcn.10015d80
add esp, 4
mov dword [ebp - 0x13c], 0
xor ecx, ecx
mov dword [ebp - 0x150], ecx
test esi, esi
jle 0x1002e3e9
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002e3e9
shl eax, 4
push eax
call fcn.10015d50
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.10015d50
push 0x20
mov esi, eax
call fcn.10015d50
mov edi, dword [ebp - 0x164]
add esp, 0x14
movss xmm1, dword [0x1016869c]
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 0x1002e9b7
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 0x1002e97e
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 0x1002e4cb
push ecx
lea eax, [ebp - 0x104]
movss dword [esp], xmm0
push eax
mov byte [ebp - 0x152], 1
call fcn.10022f80
add esp, 8
jmp 0x1002e4d2
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 0x1002e97e
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.10107050
add esp, 8
test eax, eax
je 0x1002e944
push dword [ebx + 8]
push eax
push dword [ebx]
call fcn.10107930
add esp, 0xc
test eax, eax
jne 0x1002e944
mov eax, dword [ebx]
mov esi, dword [eax + 0x54]
mov eax, dword [ebx + 4]
test al, 0x20
je 0x1002e570
push esi
call fcn.1010e5c0
mov eax, dword [ebx + 4]
add esp, 4
test al, 0x40
je 0x1002e57d
push esi
call fcn.1010e6c0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1002e944
mov eax, dword [ebx]
push dword [ebx + 0xc]
mov esi, dword [eax + 0x54]
push esi
call fcn.10109c10
add esp, 8
test eax, eax
je 0x1002e5b2
mov edx, dword [ebp - 0x144]
xor edi, edi
mov dword [ebp - 0x15c], edi
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
jmp 0x1002e61c
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 0x1002e719
xor eax, eax
push 0x40000
mov dword [ebp - 0x1a0], eax
call fcn.10015d50
mov esi, dword [ebp - 0x18c]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x138], ecx
cmp dword [ebp - 0x170], esi
jne 0x1002e6e7
test esi, esi
je 0x1002e677
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1002e67c
mov eax, 8
mov esi, dword [ebp - 0x194]
cmp eax, esi
cmovg esi, eax
cmp esi, dword [ebp - 0x18c]
jle 0x1002e6e7
lea eax, [esi*4]
push eax
call fcn.10015d50
mov edx, dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x168], eax
test edx, edx
je 0x1002e6d5
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.10015d80
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 0x1002e71f
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 0x1002e828
sub edx, 1
jne 0x1002e8d5
test ebx, ebx
jne 0x1002e7c7
test ecx, ecx
je 0x1002e8d5
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 0x1002e7a0
jmp 0x1002e8d5
test ecx, ecx
je 0x1002e8d5
mov edx, dword [ebp - 0x184]
test eax, eax
je 0x1002e80a
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 0x1002e7e0
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 0x1002e7d5
jmp 0x1002e8d5
test ebx, ebx
je 0x1002e848
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 0x1002e851
xor bh, bh
mov byte [ebp - 0x151], 0xff
test ecx, ecx
je 0x1002e8d5
nop dword [eax]
xor bl, bl
xor edx, edx
test eax, eax
je 0x1002e8ac
mov esi, edx
and esi, 7
jne 0x1002e871
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 0x1002e868
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 0x1002e860
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 0x1002e522
mov esi, dword [ebp - 0x170]
mov edi, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x180]
add ebx, 0x54
movss xmm1, dword [0x1016869c]
add edx, 0x78
sub dword [ebp - 0x148], 1
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x180], edx
jne 0x1002e477
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 0x1002ea16
movd xmm0, eax
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1016c2f0]
jb 0x1002e9f2
mov esi, 0x1000
jmp 0x1002ea16
comiss xmm0, dword [0x1016c2ec]
jb 0x1002ea02
mov esi, 0x800
jmp 0x1002ea16
comiss xmm0, dword [0x1016c2e8]
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 0x1002ea4d
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002ea4d
shl eax, 3
push eax
call fcn.10015d50
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.1002c990
lea eax, [ebp - 0x134]
push eax
push ebx
call fcn.10022fe0
add esp, 0x1c
test edi, edi
jle 0x1002eb08
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 0x1002eaee
push eax
push dword [esi - 0x10]
lea eax, [ebp - 0x134]
push eax
call fcn.1002cb00
xor edi, edi
add esp, 0xc
cmp dword [esi], edi
jle 0x1002eaee
mov ebx, dword [ebp - 0x14c]
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x1002eae0
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 0x1002eac0
mov ebx, dword [ebp - 0x148]
add esi, 0x54
sub ebx, 1
mov dword [ebp - 0x148], ebx
jne 0x1002ea90
mov ebx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x164]
test byte [ebx + 4], 1
mov eax, dword [ebx + 0x28]
jne 0x1002eb36
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 [0x1016869c]
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.10015d50
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 0x1002eee5
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 0x1002eec4
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.10023140
movss xmm0, dword [esi + 0x4c]
add esp, 0x14
movss xmm3, dword [0x10168670]
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 0x1002eeb7
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 0x1002ed1a
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 0x1002ecc6
mov ebx, dword [ebp - 0x148]
mov esi, dword [ebp - 0x138]
mov eax, dword [ebp - 0x14c]
movss xmm2, dword [ebp - 0x168]
movss xmm3, dword [0x10168670]
mov edi, dword [ebx + esi + 4]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebx + esi]
movss xmm6, dword [ebp - 0x15c]
jmp 0x1002ed26
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 0x1002ed57
movss xmm5, dword [eax + 0x38]
movaps xmm0, xmm2
minss xmm5, xmm1
ucomiss xmm1, xmm5
lahf
test ah, 0x44
jnp 0x1002ed77
mov eax, dword [ebp - 0x180]
cmp byte [eax + 0x1c], 0
movaps xmm0, xmm5
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1002ed73
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 [0x1016869c]
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.100209f0
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 [0x10168670]
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 0x1002ec68
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 0x1002ebb4
mov ebx, dword [ebp - 0x170]
xor esi, esi
mov edi, dword [ebp - 0x174]
test ebx, ebx
jle 0x1002ef07
push dword [edi + esi*4]
call fcn.10015d80
inc esi
add esp, 4
cmp esi, ebx
jl 0x1002eef7
mov ebx, dword [ebp - 0x164]
test ebx, ebx
jle 0x1002ef5d
mov esi, dword [ebp - 0x158]
add esi, 0x18
nop word [eax + eax]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1002ef30
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1002ef40
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002ef55
push eax
call fcn.10106bf0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub ebx, 1
jne 0x1002ef20
push dword [ebp - 0x14c]
call fcn.10022cc0
mov eax, dword [ebp - 0x190]
add esp, 4
mov bl, 1
test eax, eax
je 0x1002ef80
push eax
call fcn.10015d80
add esp, 4
test edi, edi
je 0x1002ef8d
push edi
call fcn.10015d80
add esp, 4
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x1002efa0
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [ebp - 0x13c]
pop esi
test eax, eax
je 0x1002efb4
push eax
call fcn.10015d80
add esp, 4
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x1002efc7
push eax
call fcn.10015d80
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.10104522
mov esp, ebp
pop ebp
ret