Function at 0x1002ac60
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, 0x101a157e
mov dword [esp + 0x18], esi
call fcn.10138266
mov ecx, esi
call fcn.10028340
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.100267e0
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 0x1002ad30
cmp ecx, 8
mov eax, ecx
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x1002ad2e
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x1002ad16
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 0x1002ad30
mov eax, ecx
mov esi, dword [esi + 0x3c]
mov dword [esp + 0x34], esi
test esi, esi
jle 0x1002ad68
cmp esi, 8
mov ecx, esi
cmovl ecx, eax
test ecx, ecx
jle 0x1002ad68
mov eax, dword [0x10190058]
test eax, eax
je 0x1002ad56
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 0x1002aead
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 0x1002af03
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x1002ae0b
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 0x1002adff
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [esp + 0x18]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x1002ade2
cmp eax, 0xffffffff
je 0x1002af03
mov esi, dword [esp + 0x24]
push ecx
push esi
push dword [esp + 0x24]
lea ecx, [edi - 0x34]
call fcn.1002a300
test al, al
je 0x1002af03
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 0x1002ae6f
nop
movzx eax, word [edx + 2]
test ax, ax
je 0x1002ae6b
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x1002ae50
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 0x1002adc0
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x2c], esi
test eax, eax
jle 0x1002b1bb
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 0x1002af32
test eax, eax
je 0x1002af0d
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x1c]
jmp 0x1002af12
mov byte [esp + 0x17], 0
jmp 0x1002be18
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.1001b0c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x1002af35
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 0x1002afa7
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x1002af8f
test eax, eax
je 0x1002af7a
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x1002af7f
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1001b0c0
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 0x1002b063
nop dword [eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x1002b063
movzx edi, word [eax]
cmp edi, ecx
ja 0x1002b04e
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 0x1002b03d
mov eax, dword [esp + 0x20]
push edi
push dword [eax - 0x2c]
call fcn.100e1ac0
mov edx, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x1002b041
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 0x1002afd4
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x54], eax
cmp word [eax], 0
jne 0x1002afc0
add edx, 0x54
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], edx
jne 0x1002aed0
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.1002c030
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 0x1002b172
nop
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002b15d
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x1c], eax
je 0x1002b153
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 0x1002b128
inc ecx
test eax, eax
je 0x1002b10f
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1002b114
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002c030
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 0x1002b0c0
add edx, 4
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x70]
jb 0x1002b0b0
mov edi, dword [esp + 0x28]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x1002b1a5
mov eax, dword [0x10190058]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x1002b196
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 0x1002b086
mov esi, dword [esp + 0x2c]
jmp 0x1002b1c1
xor esi, esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x1002b217
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x1002b207
mov eax, dword [0x10190058]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x1002b1f7
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 0x1002b1d4
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1002b23e
mov eax, dword [0x10190058]
test eax, eax
je 0x1002b22e
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 0x1002b27e
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002b27e
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x1002b269
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 0x1002b282
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 [0x10190058]
test eax, eax
je 0x1002b2a6
inc dword [eax + 0x374]
push 0x40000
call edi
mov ecx, dword [0x10190058]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x1002b2c2
inc dword [ecx + 0x374]
push 0x20
call edi
movss xmm0, dword [0x1015bd40]
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 0x1002b7d6
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 0x1002b7b1
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 0x1002b3b8
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 + 0x1015c4b0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10138520
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 0x1002b370
jmp 0x1002b3bd
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 0x1002b7a9
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.100e1ac0
add esp, 8
test eax, eax
je 0x1002b77c
push dword [edi - 0x28]
push eax
push dword [edi - 0x30]
call fcn.100e2430
add esp, 0xc
test eax, eax
jne 0x1002b77c
test byte [edi - 0x2c], 0x20
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
je 0x1002b452
push esi
call fcn.100e9330
add esp, 4
test byte [edi - 0x2c], 0x40
je 0x1002b461
push esi
call fcn.100e9430
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x1002b778
mov eax, dword [edi - 0x30]
push dword [edi - 0x24]
mov esi, dword [eax + 0x54]
push esi
call fcn.100e46c0
add esp, 8
test eax, eax
je 0x1002b48a
mov ecx, dword [esp + 0x5c]
xor edi, edi
jmp 0x1002b4df
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 0x1002b550
xor eax, eax
mov dword [esp + 0x7c], eax
mov eax, dword [0x10190058]
test eax, eax
je 0x1002b50f
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.1002bf80
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 0x1002b554
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 0x1002b668
sub dword [esp + 0x64], 1
jne 0x1002b70b
test eax, eax
jne 0x1002b603
test edx, edx
je 0x1002b70b
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 0x1002b5e0
jmp 0x1002b70b
test edx, edx
je 0x1002b70b
mov eax, dword [esp + 0x34]
nop
test ecx, ecx
je 0x1002b649
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 0x1002b620
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 0x1002b610
jmp 0x1002b70b
test eax, eax
je 0x1002b682
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 0x1002b68c
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0xff
test edx, edx
je 0x1002b70b
mov eax, dword [esp + 0x20]
xor edx, edx
mov byte [esp + 0x17], 0
test ecx, ecx
je 0x1002b6eb
nop
mov esi, edx
and esi, 7
jne 0x1002b6ad
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 0x1002b6a0
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 0x1002b694
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 0x1002b77c
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 0x1002b407
mov eax, dword [esp + 0x18]
movss xmm0, dword [0x1015bd40]
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 0x1002b330
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
test esi, esi
jg 0x1002b833
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
sqrtss xmm0, xmm0
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1015bff8]
jb 0x1002b80f
mov esi, 0x1000
jmp 0x1002b833
comiss xmm0, dword [0x1015bff4]
jb 0x1002b81f
mov esi, 0x800
jmp 0x1002b833
comiss xmm0, dword [0x1015bfdc]
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 0x1002b875
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x1002b875
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x1002b864
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.1002a510
add esp, 0xc
lea edx, [esp + 0xc8]
mov ecx, edi
call fcn.100283c0
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x1002b90f
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 0x1002b8fd
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xc8]
push eax
call fcn.1002aa60
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x1002b8fd
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x1002b8f5
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 0x1002b8d1
add esi, 0x54
sub dword [esp + 0x1c], 1
jne 0x1002b8b0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x1002b93d
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 [0x1015bd40]
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 [0x10190058]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x1002b983
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 0x1002bd01
mov ecx, dword [esp + 0x40]
xor eax, eax
movss xmm3, dword [0x1015bce4]
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 0x1002bce6
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 0x1002ba50
mov ecx, edx
call fcn.10028840
mov edx, dword [esp + 0x6c]
mov eax, dword [esi + 0x10]
movss xmm0, dword [esp + 0x80]
movss xmm3, dword [0x1015bce4]
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 0x1002bcd7
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 0x1002bb52
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 0x1002bb10
mov edi, dword [esp + 0x18]
movss xmm2, dword [esp + 0x64]
movss xmm3, dword [0x1015bce4]
movss xmm6, dword [esp + 0x78]
mov ecx, dword [edi + 0x24]
jmp 0x1002bb58
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 0x1002bb90
movss xmm5, dword [edx + 0x38]
movaps xmm0, xmm2
minss xmm5, xmm1
ucomiss xmm1, xmm5
movss dword [esp + 0x80], xmm5
lahf
test ah, 0x44
jnp 0x1002bbb0
cmp byte [edx + 0x1c], 0
movaps xmm0, xmm5
subss xmm0, xmm1
mulss xmm0, xmm3
je 0x1002bbac
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
movd xmm4, dword [esi + 8]
sub esp, 0x1c
movss xmm1, dword [0x1015bd40]
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.10028ca0
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 [0x1015bce4]
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 0x1002bab0
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 0x1002b9d0
xor esi, esi
cmp dword [esp + 0x54], esi
jle 0x1002bd39
mov edi, dword [esp + 0x50]
nop dword [eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1002bd26
mov eax, dword [0x10190058]
test eax, eax
je 0x1002bd26
dec dword [eax + 0x374]
push ecx
call dword [esp + 0x4c]
inc esi
add esp, 4
cmp esi, dword [esp + 0x54]
jl 0x1002bd10
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x1002bdab
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 0x1002bd6c
mov eax, dword [0x10190058]
test eax, eax
je 0x1002bd66
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1002bd88
mov eax, dword [0x10190058]
test eax, eax
je 0x1002bd82
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x1002bd9d
push eax
call fcn.100e1640
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x38], 1
jne 0x1002bd50
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.100284e0
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x17], 1
test ecx, ecx
je 0x1002bdda
mov eax, dword [0x10190058]
test eax, eax
je 0x1002bdce
dec dword [eax + 0x374]
mov esi, dword [esp + 0x48]
push ecx
call esi
add esp, 4
jmp 0x1002bdde
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1002bdfb
mov eax, dword [0x10190058]
test eax, eax
je 0x1002bdf5
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1002be18
mov eax, dword [0x10190058]
test eax, eax
je 0x1002be12
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1002be3b
mov eax, dword [0x10190058]
test eax, eax
je 0x1002be2f
dec dword [eax + 0x374]
mov esi, dword [esp + 0x48]
push ecx
call esi
add esp, 4
jmp 0x1002be3f
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1002be5d
mov ecx, dword [0x10190058]
test ecx, ecx
je 0x1002be57
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.100dfe28
mov esp, ebp
pop ebp
ret