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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f8
mov eax, dword [0x10160380]
xor eax, esp
mov dword [esp + 0x1f4], eax
push esi
mov esi, edx
mov dword [esp + 0x18], ecx
push edi
mov ecx, 0x101a157a
mov dword [esp + 0x18], esi
call fcn.10137ff6
mov ecx, esi
call fcn.10028380
mov ecx, esi
mov dword [esi + 8], 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.10026820
mov ecx, dword [esi + 0x54]
xor edi, edi
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ecx
lea eax, [edi + 8]
mov dword [esp + 0x58], edx
test ecx, ecx
jle 0x1002ad70
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1002ad6e
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x1002ad56
inc dword [ecx + 0x374]
imul eax, eax, 0x54
push eax
call edx
mov edx, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x40], eax
mov eax, 8
jmp 0x1002ad70
mov eax, ecx
mov esi, dword [esi + 0x3c]
mov dword [esp + 0x34], esi
test esi, esi
jle 0x1002ada8
cmp esi, 8
mov ecx, esi
cmovl ecx, eax
test ecx, ecx
jle 0x1002ada8
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002ad96
inc dword [eax + 0x374]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call edx
add esp, 4
mov dword [esp + 0x3c], eax
mov edi, eax
imul ecx, dword [esp + 0x38], 0x54
push ecx
push 0
push dword [esp + 0x48]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + esi*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], eax
cmp dword [ecx + 0x54], 0
jle 0x1002aeed
mov edi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x44], eax
add edi, 0x34
nop word [eax + eax]
mov ecx, dword [ecx + 0x5c]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x3c], edx
jle 0x1002af43
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x1002ae4b
mov eax, dword [esp + 0x24]
or esi, esi
mov ecx, dword [ecx + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x1002ae3f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [esp + 0x18]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x1002ae22
cmp eax, 0xffffffff
je 0x1002af43
mov esi, dword [esp + 0x24]
push ecx
push esi
push dword [esp + 0x24]
lea ecx, [edi - 0x34]
call fcn.1002a340
test al, al
je 0x1002af43
mov eax, dword [edi - 4]
mov edx, 0x1015a378
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x24], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x1002aeaf
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1002aeab
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1002ae90
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
inc dword [esi + ecx*8]
mov ecx, dword [edi]
cmp dword [esi + edx*8 + 4], ecx
cmovge ecx, dword [esi + edx*8 + 4]
add eax, 0x78
mov dword [esi + edx*8 + 4], ecx
add edi, 0x54
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
inc esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], eax
cmp esi, dword [ecx + 0x54]
jl 0x1002ae00
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x2c], esi
test eax, eax
jle 0x1002b1fb
mov edx, dword [esp + 0x40]
add edx, 0x44
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
nop
mov eax, dword [edx - 0x14]
mov edi, dword [edx - 0x10]
add edi, 0x20
sar edi, 5
lea esi, [eax + eax*2]
mov eax, dword [edx - 4]
mov dword [esp + 0x50], esi
mov dword [esp + 0x1c], eax
cmp edi, eax
jle 0x1002af72
test eax, eax
je 0x1002af4d
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x1c]
jmp 0x1002af52
mov byte [esp + 0x17], 0
jmp 0x1002be58
mov ecx, 8
add edx, 0xfffffff8
mov eax, edi
cmp ecx, edi
mov dword [esp + 0x1c], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001b100
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x1002af75
lea eax, [edx - 8]
mov dword [eax], edi
lea eax, [edi*4]
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x48]
add esp, 0xc
cmp dword [eax + esi*8 + 0xc], 0
lea edi, [eax + esi*8]
jne 0x1002afe7
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x1002afcf
test eax, eax
je 0x1002afba
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x1002afbf
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001b100
lea eax, [esi*4]
mov dword [edi + 0xc], esi
push eax
push 0
push dword [edi + 0x14]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0x18]
mov dword [esp + 0x54], eax
cmp word [eax], 0
je 0x1002b0a3
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1002b0a3
movzx edi, word [eax]
cmp edi, ecx
ja 0x1002b08e
mov eax, dword [esp + 0x50]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [esp + 0x3c]
sar esi, 5
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x1002b07d
mov eax, dword [esp + 0x20]
push edi
push dword [eax - 0x2c]
call fcn.100e1860
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x1002b081
inc dword [edx - 0xc]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
or dword [eax + esi*4], ecx
mov eax, dword [esp + 0x50]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x1002b014
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x54], eax
cmp word [eax], 0
jne 0x1002b000
add edx, 0x54
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], edx
jne 0x1002af10
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
add esi, 0x48
mov edi, eax
mov dword [esp + 0x28], eax
push dword [esi - 0x10]
mov ecx, esi
call fcn.1002c070
mov ecx, dword [esi - 4]
mov edx, ecx
mov eax, dword [esi - 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x24], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x70], eax
cmp ecx, eax
jae 0x1002b1b2
nop
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002b19d
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x1c], eax
je 0x1002b193
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [esp + 0x74]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [esp + 0xb0], xmm0
add eax, edi
movzx eax, ax
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x1002b168
inc ecx
test eax, eax
je 0x1002b14f
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1002b154
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002c070
mov edx, dword [esp + 0x24]
xorps xmm0, xmm0
mov eax, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
inc edi
cmp edi, 0x20
jl 0x1002b100
add edx, 4
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x70]
jb 0x1002b0f0
mov edi, dword [esp + 0x28]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x1002b1e5
mov eax, dword [0x1018ff68]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x1002b1d6
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x4c]
add esp, 4
mov dword [esi - 4], 0
add esi, 0x54
sub edi, 1
mov dword [esp + 0x28], edi
jne 0x1002b0c6
mov esi, dword [esp + 0x2c]
jmp 0x1002b201
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x1002b257
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x1002b247
mov eax, dword [0x1018ff68]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x1002b237
dec dword [eax + 0x374]
push ecx
call esi
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [esp + 0x34], eax
jne 0x1002b214
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1002b27e
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002b26e
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x3c], 0
xor ecx, ecx
mov dword [esp + 0x24], ecx
test esi, esi
jle 0x1002b2be
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002b2be
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x1002b2a9
inc dword [ecx + 0x374]
mov edi, dword [esp + 0x58]
shl eax, 4
push eax
call edi
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
jmp 0x1002b2c2
mov edi, dword [esp + 0x58]
shl esi, 4
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x7c], eax
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002b2e6
inc dword [eax + 0x374]
push 0x40000
call edi
mov ecx, dword [0x1018ff68]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x1002b302
inc dword [ecx + 0x374]
push 0x20
call edi
movss xmm0, dword [0x1015bd20]
xor ecx, ecx
mov dword [esp + 0x54], eax
add esp, 4
mov dword [esp + 0x9c], eax
mov dword [eax], esi
mov eax, 1
mov dword [esp + 0x54], eax
xor esi, esi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x98], 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x1002b816
mov edi, dword [esp + 0x40]
xor edx, edx
add edi, 0x48
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], edx
mov dword [esp + 0x44], edi
nop word [eax + eax]
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [edi - 0x10]
test edx, edx
je 0x1002b7f1
mov eax, esi
add esi, edx
shl eax, 4
add eax, dword [esp + 0x24]
mov dword [edi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [esp + 0x1c], esi
movss dword [esp + 0x6c], xmm1
lahf
test ah, 0x44
jnp 0x1002b3f8
mov byte [esp + 0x31], 1
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1015c4a0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101382b0
movss xmm1, dword [esp + 0x6c]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [esp + esi + 0xf8], dl
inc esi
cmp esi, 0x100
jb 0x1002b3b0
jmp 0x1002b3fd
mov byte [esp + 0x31], 0
cmp dword [edi], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], 0
movss xmm0, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 0x18]
mov dword [esp + 0x88], ecx
movss dword [esp + 0x80], xmm0
jle 0x1002b7e9
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x6c], ecx
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x5c], eax
push dword [eax + 0x14]
push dword [edi - 0x30]
call fcn.100e1860
add esp, 8
test eax, eax
je 0x1002b7bc
push dword [edi - 0x28]
push eax
push dword [edi - 0x30]
call fcn.100e21d0
add esp, 0xc
test eax, eax
jne 0x1002b7bc
test byte [edi - 0x2c], 0x20
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
je 0x1002b492
push esi
call fcn.100e90d0
add esp, 4
test byte [edi - 0x2c], 0x40
je 0x1002b4a1
push esi
call fcn.100e91d0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1002b7b8
mov eax, dword [edi - 0x30]
push dword [edi - 0x24]
mov esi, dword [eax + 0x54]
push esi
call fcn.100e4460
add esp, 8
test eax, eax
je 0x1002b4ca
mov ecx, dword [esp + 0x5c]
xor edi, edi
jmp 0x1002b51f
mov eax, dword [edi - 0x30]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [edx], eax
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ecx - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edx + 8], eax
mov eax, dword [ecx - 0x30]
mov ecx, edx
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 eax, dword [ecx + 4]
imul eax, dword [ecx]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x64], eax
add eax, edx
cmp eax, 0x40000
jle 0x1002b590
xor eax, eax
mov dword [esp + 0x7c], eax
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002b54f
inc dword [eax + 0x374]
push 0x40000
call dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
lea ecx, [esp + 0x94]
push eax
call fcn.1002bfc0
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
jmp 0x1002b594
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov esi, dword [eax + esi*4 - 4]
lea eax, [esp + 0xf8]
add esi, edx
add edx, dword [esp + 0x64]
mov dword [ecx + 0x18], esi
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x7c], edx
xor edx, edx
cmp byte [esp + 0x31], dl
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x4c]
cmove eax, edx
mov edx, dword [edi]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 8]
movzx ecx, byte [ecx + 0x12]
sub ecx, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], edi
je 0x1002b6a8
sub dword [esp + 0x64], 1
jne 0x1002b74b
test eax, eax
jne 0x1002b643
test edx, edx
je 0x1002b74b
nop dword [eax]
push ecx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [esp + 0x58]
add esp, 0xc
add esi, dword [esp + 0x34]
sub dword [esp + 0x20], 1
mov ecx, dword [esp + 0x2c]
jne 0x1002b620
jmp 0x1002b74b
test edx, edx
je 0x1002b74b
mov eax, dword [esp + 0x34]
nop
test ecx, ecx
je 0x1002b689
mov edx, dword [esp + 0x2c]
mov ecx, esi
sub edi, esi
mov esi, dword [esp + 0x68]
movzx eax, byte [ecx + edi]
lea ecx, [ecx + 1]
mov al, byte [eax + esi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1002b660
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add edi, dword [esp + 0x4c]
add esi, eax
sub edx, 1
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x20], edx
jne 0x1002b650
jmp 0x1002b74b
test eax, eax
je 0x1002b6c2
mov cl, byte [eax]
mov al, byte [eax + 0xff]
mov byte [esp + 0x32], cl
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x33], al
jmp 0x1002b6cc
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0xff
test edx, edx
je 0x1002b74b
mov eax, dword [esp + 0x20]
xor edx, edx
mov byte [esp + 0x17], 0
test ecx, ecx
je 0x1002b72b
nop
mov esi, edx
and esi, 7
jne 0x1002b6ed
mov al, byte [edi]
mov byte [esp + 0x17], al
cmp byte [esp + 0x17], 0
movzx eax, byte [esp + 0x33]
movzx ecx, byte [esp + 0x32]
cmovl ecx, eax
mov eax, dword [esp + 0x84]
shl byte [esp + 0x17], 1
mov byte [eax + edx], cl
inc edx
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 1]
test esi, esi
cmovne eax, edi
mov edi, eax
cmp edx, ecx
jb 0x1002b6e0
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
add edi, dword [esp + 0x4c]
add esi, dword [esp + 0x34]
sub eax, 1
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x20], eax
jne 0x1002b6d4
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x78]
mov eax, dword [edx]
add eax, dword [esp + 0x88]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x90]
cvttss2si ecx, xmm0
mov word [esi + eax + 4], cx
mov eax, dword [edx + 4]
add eax, dword [esp + 0x88]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x80]
cvttss2si ecx, xmm0
mov word [esi + eax + 6], cx
mov eax, dword [edi - 0x20]
movzx ecx, word [esi + eax + 6]
movzx eax, word [esi + eax + 4]
imul ecx, eax
add dword [esp + 0x28], ecx
jmp 0x1002b7bc
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x8c]
add esi, 0x10
mov ecx, dword [esp + 0x6c]
inc eax
add ecx, 0x1c
mov dword [esp + 0x8c], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], esi
cmp eax, dword [edi]
jl 0x1002b447
mov eax, dword [esp + 0x18]
movss xmm0, dword [0x1015bd20]
mov edx, dword [esp + 0x70]
add edi, 0x54
mov esi, dword [esp + 0x1c]
add edx, 0x78
sub dword [esp + 0x74], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], edx
jne 0x1002b370
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
test esi, esi
jg 0x1002b873
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1015bfe0]
jb 0x1002b84f
mov esi, 0x1000
jmp 0x1002b873
comiss xmm0, dword [0x1015bfdc]
jb 0x1002b85f
mov esi, 0x800
jmp 0x1002b873
comiss xmm0, dword [0x1015bfc4]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x24], esi
xor ecx, ecx
sub esi, dword [edi + 0x10]
mov dword [esp + 0x60], ecx
test esi, esi
jle 0x1002b8b5
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002b8b5
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x1002b8a4
inc dword [ecx + 0x374]
shl eax, 3
push eax
call dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x60], eax
mov ecx, eax
mov edx, dword [edi + 0x24]
push esi
push ecx
push ecx
lea ecx, [esp + 0xd4]
call fcn.1002a550
add esp, 0xc
lea edx, [esp + 0xc8]
mov ecx, edi
call fcn.10028400
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x1002b94f
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
add esi, 0x38
mov dword [esp + 0x1c], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x1002b93d
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xc8]
push eax
call fcn.1002aaa0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1002b93d
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1002b935
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x28], ecx
cmovge ecx, dword [eax + 0x28]
mov dword [eax + 0x28], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x1002b911
add esi, 0x54
sub dword [esp + 0x1c], 1
jne 0x1002b8f0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x1002b97d
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 [0x1015bd20]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x24]
movaps xmm2, xmm1
mov dword [edi + 0x28], ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm1, xmm0
mov eax, dword [0x1018ff68]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x1002b9c3
inc dword [eax + 0x374]
push ecx
call dword [esp + 0x5c]
mov ecx, dword [edi + 0x28]
add esp, 4
imul ecx, dword [edi + 0x24]
mov dword [edi + 0x1c], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
jle 0x1002bd41
mov ecx, dword [esp + 0x40]
xor eax, eax
movss xmm3, dword [0x1015bcc4]
add ecx, 8
mov edx, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], edx
nop dword [eax + eax]
cmp dword [ecx + 0x30], 0
je 0x1002bd26
mov esi, dword [edi + 0x5c]
movss xmm0, dword [ecx - 4]
add esi, eax
movss dword [esp + 0x80], xmm0
movss xmm0, dword [ecx]
mov dword [esp + 0x7c], esi
cmp byte [esi + 0x3c], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x6c], edx
movss dword [esp + 0x90], xmm0
lea edi, [edx + 0x4c]
jne 0x1002ba90
mov ecx, edx
call fcn.10028880
mov edx, dword [esp + 0x6c]
mov eax, dword [esi + 0x10]
movss xmm0, dword [esp + 0x80]
movss xmm3, dword [0x1015bcc4]
mov ecx, dword [esp + 0x44]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x90]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x3c], esi
mov dword [edx + 0x38], eax
movss dword [edx + 0x50], xmm0
movss xmm0, dword [edi]
inc word [edx + 0x40]
addss xmm0, xmm3
cmp dword [ecx + 0x30], 0
mov edi, dword [esp + 0x18]
movss xmm2, dword [esi + 0x28]
movss dword [esp + 0x64], xmm2
cvttss2si eax, xmm0
mov edx, dword [edi + 0x10]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x8c], 0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [esi + 0x2c]
movss dword [esp + 0x78], xmm6
jle 0x1002bd17
xor esi, esi
xor eax, eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x88], eax
nop dword [eax]
mov edi, dword [ecx + 0x48]
add edi, eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x90], edi
movzx ecx, word [eax + esi + 8]
movzx eax, word [eax + esi + 0xa]
add ecx, edx
add eax, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [esp + 0x28]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x18]
add esi, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
add esi, dword [edx + 0x1c]
test edi, edi
jle 0x1002bb92
nop dword [eax]
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
dec edi
mov ecx, dword [esp + 0x8c]
add esp, 0xc
add esi, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x1c], eax
test edi, edi
jg 0x1002bb50
mov edi, dword [esp + 0x18]
movss xmm2, dword [esp + 0x64]
movss xmm3, dword [0x1015bcc4]
movss xmm6, dword [esp + 0x78]
mov ecx, dword [edi + 0x24]
jmp 0x1002bb98
mov ecx, dword [esp + 0x74]
mov edi, edx
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x7c]
movss xmm1, dword [esi + 0x10]
movss xmm5, dword [edx + 0x34]
comiss xmm5, xmm1
ja 0x1002bbd0
movss xmm5, dword [edx + 0x38]
movaps xmm0, xmm2
minss xmm5, xmm1
ucomiss xmm1, xmm5
movss dword [esp + 0x80], xmm5
lahf
test ah, 0x44
jnp 0x1002bbf0
cmp byte [edx + 0x1c], 0
movaps xmm0, xmm5
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1002bbec
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movd xmm4, dword [esi + 8]
sub esp, 0x1c
movss xmm1, dword [0x1015bd20]
cvtdq2ps xmm4, xmm4
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x44]
add eax, edx
movaps xmm2, xmm1
movss dword [esp + 0x18], xmm5
addss xmm4, xmm0
movd xmm3, dword [esi + 0xc]
movd xmm0, dword [edi + 0x28]
cvtdq2ps xmm0, xmm0
mov edi, dword [esp + 0x8c]
cvtdq2ps xmm3, xmm3
divss xmm2, xmm0
movd xmm0, ecx
addss xmm3, xmm6
cvtdq2ps xmm0, xmm0
mov ecx, dword [esi]
divss xmm1, xmm0
movd xmm0, eax
lea eax, [ecx + edi]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [esi + 0x14]
mulss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movd xmm0, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movaps xmm2, xmm4
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [esp + 4], xmm0
movd xmm0, ecx
mov ecx, dword [esp + 0x88]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [esp], xmm0
push eax
call fcn.10028ce0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x68]
add eax, 0x1c
movss xmm2, dword [esp + 0x64]
add esi, 0x10
cmp edx, dword [ecx + 0x30]
movss xmm3, dword [0x1015bcc4]
movss xmm6, dword [esp + 0x78]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x68], esi
jl 0x1002baf0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x20], 0
add ecx, 0x54
add eax, 0x78
sub edx, 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
jne 0x1002ba10
xor esi, esi
cmp dword [esp + 0x54], esi
jle 0x1002bd79
mov edi, dword [esp + 0x50]
nop dword [eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1002bd66
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002bd66
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x4c]
inc esi
add esp, 4
cmp esi, dword [esp + 0x54]
jl 0x1002bd50
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x1002bdeb
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
add esi, 0x18
nop dword [eax]
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1002bdac
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002bda6
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1002bdc8
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002bdc2
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002bddd
push eax
call fcn.100e13e0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x38], 1
jne 0x1002bd90
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.10028520
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x17], 1
test ecx, ecx
je 0x1002be1a
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002be0e
dec dword [eax + 0x374]
mov esi, dword [esp + 0x48]
push ecx
call esi
add esp, 4
jmp 0x1002be1e
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1002be3b
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002be35
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1002be58
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002be52
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1002be7b
mov eax, dword [0x1018ff68]
test eax, eax
je 0x1002be6f
dec dword [eax + 0x374]
mov esi, dword [esp + 0x48]
push ecx
call esi
add esp, 4
jmp 0x1002be7f
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1002be9d
mov ecx, dword [0x1018ff68]
test ecx, ecx
je 0x1002be97
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x1fc]
mov al, byte [esp + 0x17]
pop edi
pop esi
xor ecx, esp
call fcn.100dfbc8
mov esp, ebp
pop ebp
ret