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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e967c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], ecx
mov ecx, esi
call fcn.100c2be0
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.100c0990
xor eax, eax
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x1cc], esi
mov eax, dword [ebp - 0x150]
mov byte [ebp - 4], 1
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x15c], 8
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x180], ecx
test edx, edx
jle 0x100c51b6
cmp edx, 8
mov edi, edx
cmovl edi, dword [ebp - 0x15c]
test edi, edi
jle 0x100c51b6
mov eax, dword [0x10323708]
test eax, eax
je 0x100c5189
inc dword [eax + 0x374]
imul eax, edi, 0x54
push eax
call ecx
mov ecx, dword [ebp - 0x180]
add esp, 4
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1f8], edi
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x1fc], edx
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x100c5214
cmp eax, 8
mov edi, eax
cmovl edi, dword [ebp - 0x15c]
test edi, edi
jle 0x100c5214
mov eax, dword [0x10323708]
test eax, eax
je 0x100c51e8
inc dword [eax + 0x374]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call ecx
mov edx, dword [ebp - 0x170]
mov esi, eax
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x1cc], esi
mov dword [ebp - 0x1d0], edi
mov edi, dword [ebp - 0x17c]
imul ecx, edx, 0x54
mov dword [ebp - 0x1d4], eax
push ecx
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x160]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x150]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x1a0], eax
cmp dword [ecx + 0x54], 0
jle 0x100c5389
xor eax, eax
add edi, 0x34
mov dword [ebp - 0x194], eax
mov ecx, dword [ecx + 0x5c]
xor edx, edx
add ecx, eax
mov dword [edi - 4], 0xffffffff
mov dword [ebp - 0x15c], ecx
mov ecx, dword [ebp - 0x150]
cmp dword [ecx + 0x3c], edx
jle 0x100c53eb
or esi, 0xffffffff
nop dword [eax]
mov eax, esi
cmp esi, 0xffffffff
jne 0x100c52cd
mov eax, dword [ebp - 0x15c]
or esi, esi
mov ecx, dword [ecx + 0x44]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x100c52bf
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x100c52a0
cmp eax, 0xffffffff
je 0x100c53eb
mov esi, dword [ebp - 0x15c]
push ecx
push esi
push dword [ebp - 0x154]
lea ecx, [edi - 0x34]
call fcn.100c4cf0
test al, al
je 0x100c53eb
mov eax, dword [edi - 4]
mov edx, 0x1026fdb8
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [ebp - 0x15c], ecx
cmovne edx, eax
mov dword [edi - 8], edx
cmp word [edx], 0
je 0x100c5337
movzx eax, word [edx + 2]
test ax, ax
je 0x100c5331
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x100c5316
mov ecx, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x178]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x194]
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 [ebp - 0x164]
mov ecx, dword [ebp - 0x150]
inc esi
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x194], eax
cmp esi, dword [ecx + 0x54]
jl 0x100c5277
mov edi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
xor esi, esi
mov dword [ebp - 0x168], esi
test eax, eax
jle 0x100c56fc
lea edx, [edi + 0x44]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], 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 [ebp - 0x1b0], esi
mov dword [ebp - 0x154], eax
cmp edi, eax
jle 0x100c5422
test eax, eax
je 0x100c53f7
cdq
sub eax, edx
mov edx, dword [ebp - 0x158]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x154]
jmp 0x100c53fc
mov byte [ebp - 0x149], 0
jmp 0x100c66d8
mov ecx, 8
add edx, 0xfffffff8
mov eax, edi
cmp ecx, edi
mov dword [ebp - 0x154], edx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100b52e0
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x154]
jmp 0x100c5425
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 [ebp - 0x178]
add esp, 0xc
cmp dword [eax + esi*8 + 0xc], 0
lea edi, [eax + esi*8]
jne 0x100c5499
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x100c5481
test eax, eax
je 0x100c546c
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100c5471
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100b52e0
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 [ebp - 0x158]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x1a4], eax
cmp word [eax], 0
je 0x100c5581
movzx ecx, word [eax + 2]
test cx, cx
je 0x100c5581
movzx edi, word [eax]
cmp edi, ecx
ja 0x100c5568
nop word [eax + eax]
mov eax, dword [ebp - 0x1b0]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x178]
sar esi, 5
mov dword [ebp - 0x154], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100c554f
mov eax, dword [ebp - 0x158]
push edi
push dword [eax - 0x2c]
call fcn.10179b40
mov edx, dword [ebp - 0x158]
add esp, 8
test eax, eax
je 0x100c5555
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x178]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x178]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x1b0]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x168]
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x1a4]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100c54d0
mov eax, dword [ebp - 0x1a4]
add eax, 4
mov dword [ebp - 0x1a4], eax
cmp word [eax], 0
jne 0x100c54b2
add edx, 0x54
sub dword [ebp - 0x15c], 1
mov dword [ebp - 0x158], edx
jne 0x100c53b0
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
add esi, 0x48
mov edi, eax
mov dword [ebp - 0x164], eax
nop
push dword [esi - 0x10]
mov ecx, esi
call fcn.100c6830
mov ecx, dword [esi - 4]
mov edx, ecx
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x15c], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x174], eax
cmp ecx, eax
jae 0x100c56ad
nop
mov eax, dword [edx]
mov dword [ebp - 0x154], eax
test eax, eax
je 0x100c5692
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x154], eax
je 0x100c5688
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [ebp - 0x19c]
xorps xmm0, xmm0
shl eax, 3
and eax, 0xffffffe0
movq qword [ebp - 0x214], xmm0
add eax, edi
movzx eax, ax
mov dword [ebp - 0x210], eax
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x100c565e
inc ecx
test eax, eax
je 0x100c5643
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100c5648
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100c6830
mov edx, dword [ebp - 0x15c]
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 [ebp - 0x214]
movq qword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x18], 0
inc dword [esi]
inc edi
cmp edi, 0x20
jl 0x100c55f2
add edx, 4
mov dword [ebp - 0x15c], edx
cmp edx, dword [ebp - 0x174]
jb 0x100c55e0
mov edi, dword [ebp - 0x164]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100c56e2
mov eax, dword [0x10323708]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100c56d1
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x1a0]
add esp, 4
mov dword [esi - 4], 0
add esi, 0x54
sub edi, 1
mov dword [ebp - 0x164], edi
jne 0x100c55b0
mov esi, dword [ebp - 0x168]
jmp 0x100c5704
xor esi, esi
mov dword [ebp - 0x168], esi
cmp dword [ebp - 0x160], 0
jle 0x100c576b
mov edi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x160]
add edi, 0x14
mov esi, dword [ebp - 0x1a0]
mov ecx, dword [edi]
test ecx, ecx
je 0x100c5757
mov eax, dword [0x10323708]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x100c5745
dec dword [eax + 0x374]
push ecx
call esi
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [edi], 0
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x160], eax
jne 0x100c5722
mov esi, dword [ebp - 0x168]
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x100c57b1
mov ecx, dword [0x10323708]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
test ecx, ecx
je 0x100c5799
dec dword [ecx + 0x374]
push eax
call dword [ebp - 0x1a0]
add esp, 4
xor eax, eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1cc], eax
xor eax, eax
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 6
test esi, esi
jle 0x100c581c
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100c581c
mov eax, dword [0x10323708]
test eax, eax
je 0x100c57fb
inc dword [eax + 0x374]
mov eax, edi
shl eax, 4
push eax
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x208], esi
shl esi, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1d8], eax
mov edi, dword [ebp - 0x180]
mov byte [ebp - 4], 7
mov eax, dword [0x10323708]
push 0x40000
test eax, eax
je 0x100c5869
inc dword [eax + 0x374]
call edi
mov esi, eax
add esp, 4
mov eax, dword [0x10323708]
test eax, eax
je 0x100c587f
inc dword [eax + 0x374]
push 0x20
call edi
mov edi, dword [ebp - 0x170]
xor ecx, ecx
movss xmm0, dword [0x10271024]
add esp, 4
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1d8], eax
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
mov dword [ebp - 0x1dc], 8
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x188], eax
test edi, edi
jle 0x100c5e57
mov esi, dword [ebp - 0x17c]
xor edx, edx
add esi, 0x48
mov dword [ebp - 0x154], edi
mov edi, dword [ebp - 0x150]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x194], esi
mov ecx, dword [edi + 0x5c]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x100c5e2c
add dword [ebp - 0x188], edx
shl eax, 4
add eax, dword [ebp - 0x15c]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
movss dword [ebp - 0x174], xmm1
lahf
test ah, 0x44
jnp 0x100c5990
mov byte [ebp - 0x169], 1
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10271aa0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101e1cf0
movss xmm1, dword [ebp - 0x174]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x100c5940
mov esi, dword [ebp - 0x194]
jmp 0x100c5997
mov byte [ebp - 0x169], 0
cmp dword [esi], 0
movss xmm0, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
movss dword [ebp - 0x1ac], xmm0
movss xmm0, dword [edi + 0x18]
mov dword [ebp - 0x1c4], eax
movss dword [ebp - 0x1c8], xmm0
mov dword [ebp - 0x1b4], 0
jle 0x100c5e1e
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x174], ecx
nop dword [eax]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x1bc], eax
push dword [eax + 0x14]
push dword [esi - 0x30]
call fcn.10179b40
add esp, 8
test eax, eax
je 0x100c5deb
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.1017a4b0
add esp, 0xc
test eax, eax
jne 0x100c5deb
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov edi, dword [eax + 0x54]
je 0x100c5a2d
push edi
call fcn.101813b0
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x100c5a3c
push edi
call fcn.101814b0
add esp, 4
lea eax, [edi + 0x18]
test eax, eax
je 0x100c5de5
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x190], eax
call fcn.1017c740
mov ecx, dword [ebp - 0x1bc]
add esp, 8
test eax, eax
je 0x100c5a6d
xor edi, edi
jmp 0x100c5abe
mov eax, dword [esi - 0x30]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
add edi, 0x4c
mov dword [ecx], eax
mov eax, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 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 [ebp - 0x1a8]
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x198], eax
add eax, edx
cmp eax, 0x40000
jle 0x100c5b42
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov eax, dword [0x10323708]
test eax, eax
je 0x100c5af6
inc dword [eax + 0x374]
push 0x40000
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.100b5380
mov ecx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b0], eax
jmp 0x100c5b48
mov eax, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1a4]
mov esi, dword [eax + esi*4 - 4]
xor eax, eax
add esi, edx
add edx, dword [ebp - 0x198]
cmp byte [ebp - 0x169], al
mov dword [ecx + 0x18], esi
lea ecx, [ebp - 0x118]
cmove ecx, eax
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1bc]
mov edx, dword [edi]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x168], esi
mov eax, dword [eax]
mov dword [ebp - 0x184], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x1b8], edi
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [ebp - 0x18c], ecx
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x160]
je 0x100c5ca4
sub dword [ebp - 0x198], 1
jne 0x100c5d74
test ecx, ecx
jne 0x100c5c1b
test edx, edx
je 0x100c5d74
nop
push eax
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add edi, dword [ebp - 0x18c]
add esp, 0xc
add esi, dword [ebp - 0x184]
sub dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x160]
jne 0x100c5bf0
jmp 0x100c5d74
test edx, edx
je 0x100c5d74
mov ecx, dword [ebp - 0x184]
nop dword [eax]
test eax, eax
je 0x100c5c80
mov edx, dword [ebp - 0x160]
sub edi, esi
mov ecx, esi
mov dword [ebp - 0x198], edi
mov esi, edi
mov edi, dword [ebp - 0x190]
nop dword [eax]
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 1]
mov al, byte [eax + edi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100c5c50
mov esi, dword [ebp - 0x168]
mov edi, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x184]
add edi, dword [ebp - 0x18c]
add esi, ecx
sub edx, 1
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x158], edx
jne 0x100c5c30
jmp 0x100c5d74
test ecx, ecx
je 0x100c5cc4
mov al, byte [ecx]
mov cl, byte [ecx + 0xff]
mov byte [ebp - 0x16a], al
mov eax, dword [ebp - 0x160]
mov byte [ebp - 0x16b], cl
jmp 0x100c5cd2
mov byte [ebp - 0x16a], 0
mov byte [ebp - 0x16b], 0xff
test edx, edx
je 0x100c5d74
mov ecx, dword [ebp - 0x158]
xor edx, edx
mov byte [ebp - 0x149], 0
test eax, eax
je 0x100c5d47
nop dword [eax]
mov esi, edx
and esi, 7
jne 0x100c5cff
mov al, byte [edi]
mov byte [ebp - 0x149], al
cmp byte [ebp - 0x149], 0
movzx eax, byte [ebp - 0x16b]
movzx ecx, byte [ebp - 0x16a]
cmovl ecx, eax
mov eax, dword [ebp - 0x168]
shl byte [ebp - 0x149], 1
mov byte [eax + edx], 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 0x100c5cf0
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
mov edi, dword [ebp - 0x1b8]
add edi, dword [ebp - 0x18c]
add esi, dword [ebp - 0x184]
sub ecx, 1
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x158], ecx
jne 0x100c5ce0
mov edx, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x194]
mov edi, dword [ebp - 0x1c0]
mov eax, dword [edx]
add eax, dword [ebp - 0x1c4]
movd xmm0, eax
mov eax, dword [esi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1ac]
cvttss2si ecx, xmm0
mov word [edi + eax + 4], cx
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1c4]
movd xmm0, eax
mov eax, dword [esi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1c8]
cvttss2si ecx, xmm0
mov word [edi + eax + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [edi + eax + 6]
movzx eax, word [edi + eax + 4]
imul ecx, eax
add dword [ebp - 0x164], ecx
jmp 0x100c5deb
mov edi, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b4]
add edi, 0x10
mov ecx, dword [ebp - 0x174]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x1c0], edi
cmp eax, dword [esi]
jl 0x100c59e0
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x188]
movss xmm0, dword [0x10271024]
mov edx, dword [ebp - 0x19c]
add esi, 0x54
add edx, 0x78
mov dword [ebp - 0x194], esi
sub dword [ebp - 0x154], 1
mov dword [ebp - 0x19c], edx
jne 0x100c58f8
mov ecx, dword [ebp - 0x164]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.1000d460
mov edi, dword [ebp - 0x150]
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
inc eax
test esi, esi
jg 0x100c5eb7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10271320]
jb 0x100c5e93
mov esi, 0x1000
jmp 0x100c5eb7
comiss xmm0, dword [0x10271318]
jb 0x100c5ea3
mov esi, 0x800
jmp 0x100c5eb7
comiss xmm0, dword [0x102712fc]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x24], esi
xor eax, eax
sub esi, dword [edi + 0x10]
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 8
test esi, esi
jle 0x100c5f24
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100c5f1e
mov eax, dword [0x10323708]
test eax, eax
je 0x100c5f01
inc dword [eax + 0x374]
lea eax, [edi*8]
push eax
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], edi
mov edi, dword [ebp - 0x150]
mov edx, dword [edi + 0x24]
push esi
push eax
push ecx
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x1ec], esi
call fcn.100c4ef0
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.100c2c50
mov esi, dword [ebp - 0x170]
test esi, esi
jle 0x100c5fd6
mov esi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
add esi, 0x38
mov dword [ebp - 0x154], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x100c5fbe
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x148]
push eax
call fcn.100b6050
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100c5fbe
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x100c5fb6
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x150]
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 0x100c5f90
add esi, 0x54
sub dword [ebp - 0x154], 1
jne 0x100c5f70
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x170]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x100c6004
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 [0x10271024]
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 [0x10323708]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x100c604a
inc dword [eax + 0x374]
push ecx
call dword [ebp - 0x180]
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 0x100c6588
mov ecx, dword [ebp - 0x17c]
xor eax, eax
movss xmm3, dword [0x10270fb4]
add ecx, 8
mov edx, esi
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1b8], edx
nop dword [eax]
cmp dword [ecx + 0x30], 0
je 0x100c6567
mov edi, dword [edi + 0x5c]
movss xmm0, dword [ecx - 4]
add edi, eax
movss dword [ebp - 0x1c8], xmm0
movss xmm0, dword [ecx]
mov dword [ebp - 0x1bc], edi
cmp byte [edi + 0x3c], 0
mov esi, dword [edi + 0x74]
mov dword [ebp - 0x1f0], esi
movss dword [ebp - 0x154], xmm0
lea edx, [esi + 0x3c]
mov dword [ebp - 0x188], edx
lea eax, [esi + 0x4c]
lea edx, [esi + 0x38]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x164], edx
jne 0x100c6144
mov ecx, esi
call fcn.100c31c0
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x150]
movss xmm0, dword [ebp - 0x1c8]
movss xmm3, dword [0x10270fb4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x188]
mov dword [eax], edi
mov eax, dword [ebp - 0x164]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1ac]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x154]
movss dword [esi + 0x50], xmm0
jmp 0x100c6156
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x164], edx
movss xmm0, dword [eax]
inc word [esi + 0x40]
addss xmm0, xmm3
movss xmm4, dword [edi + 0x28]
mov ecx, dword [ebp - 0x184]
movss dword [ebp - 0x194], xmm4
mov dword [ebp - 0x1c4], 0
cvttss2si eax, xmm0
cmp dword [ecx + 0x30], 0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
addss xmm5, dword [edi + 0x2c]
mov edi, dword [ebp - 0x150]
mov eax, dword [edi + 0x10]
movss dword [ebp - 0x1c0], xmm5
mov dword [ebp - 0x1c8], eax
jle 0x100c6554
add esi, 0x20
xor edx, edx
xor eax, eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x190], eax
nop dword [eax]
mov edi, dword [ecx + 0x48]
add edi, eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x1a8], edi
movzx ecx, word [eax + edx + 8]
movzx eax, word [eax + edx + 0xa]
add eax, dword [ebp - 0x1c8]
add ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x174], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x154], ecx
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x150]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [ebp - 0x1ac], edx
add esi, dword [ecx + 0x1c]
add esi, dword [ebp - 0x174]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x19c], eax
test edi, edi
jle 0x100c6292
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x19c]
dec edi
mov ecx, dword [ebp - 0x154]
add esp, 0xc
add esi, dword [ebp - 0x1ac]
add eax, ecx
mov dword [ebp - 0x19c], eax
test edi, edi
jg 0x100c6245
mov edi, dword [ebp - 0x150]
movss xmm3, dword [0x10270fb4]
movss xmm4, dword [ebp - 0x194]
movss xmm5, dword [ebp - 0x1c0]
mov edx, dword [edi + 0x24]
jmp 0x100c6298
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1bc]
movss xmm2, dword [esi + 0x10]
movss xmm0, dword [ecx + 0x34]
comiss xmm0, xmm2
movss dword [ebp - 0x154], xmm0
ja 0x100c62e0
movss xmm0, dword [ecx + 0x38]
movaps xmm1, xmm4
minss xmm0, xmm2
ucomiss xmm2, xmm0
movss dword [ebp - 0x154], xmm0
movss dword [ebp - 0x1ac], xmm0
lahf
test ah, 0x44
jnp 0x100c6300
cmp byte [ecx + 0x1c], 0
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm3
je 0x100c62fc
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm4
movd xmm2, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
movd xmm1, dword [esi + 0xc]
cvtdq2ps xmm1, xmm1
movzx esi, word [esi + 0x14]
addss xmm0, xmm2
movss dword [ebp - 0x1ac], xmm2
addss xmm1, xmm5
movss dword [ebp - 0x1a8], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x19c], xmm1
addss xmm0, xmm1
movss xmm1, dword [0x10271024]
movaps xmm2, xmm1
movss dword [ebp - 0x160], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp - 0x174]
add eax, edx
divss xmm2, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x174], xmm0
movd xmm0, dword [edi + 0x28]
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 0x1b4]
divss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x1b4], xmm0
movd xmm0, eax
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x168]
mov ecx, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x180], xmm0
movd xmm0, eax
mov eax, dword [edi]
cvtdq2ps xmm0, xmm0
inc eax
push eax
mulss xmm0, xmm1
movss dword [ebp - 0x158], xmm0
call fcn.100c46f0
mov eax, dword [edi]
mov edi, dword [edi + 8]
movss xmm0, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x188]
lea edx, [eax + eax*4]
movss xmm3, dword [0x10270fb4]
movss dword [edi + edx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x19c]
movss dword [edi + edx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x1a8]
movss dword [edi + edx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x160]
movss dword [edi + edx*8 - 0x14], xmm0
movss xmm0, dword [ebp - 0x174]
movss dword [edi + edx*8 - 0x10], xmm0
movss xmm0, dword [ebp - 0x1b4]
movss dword [edi + edx*8 - 0xc], xmm0
movss xmm0, dword [ebp - 0x180]
movss dword [edi + edx*8 - 8], xmm0
movss xmm0, dword [ebp - 0x158]
movss dword [edi + edx*8 - 4], xmm0
movss xmm0, dword [ebp - 0x154]
mov word [edi + edx*8 - 0x28], si
mov eax, dword [ecx]
addss xmm0, dword [eax + 0x20]
movss dword [edi + edx*8 - 0x24], xmm0
mov eax, dword [ecx]
cmp byte [eax + 0x1c], 0
je 0x100c64a4
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + edx*8 - 0x24], xmm0
mov eax, dword [ebp - 0x164]
mov esi, dword [ebp - 0x1f0]
movss xmm4, dword [ebp - 0x194]
movss xmm5, dword [ebp - 0x1c0]
mov eax, dword [eax]
mov byte [esi + 0x58], 1
movss xmm0, dword [edi + edx*8 - 8]
subss xmm0, dword [edi + edx*8 - 0x10]
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movd xmm0, dword [eax + 0x28]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [0x1027106c]
cvttss2si ecx, xmm1
movss xmm1, dword [edi + edx*8 - 4]
subss xmm1, dword [edi + edx*8 - 0xc]
mov edx, dword [ebp - 0x198]
add edx, 0x10
mov dword [ebp - 0x198], edx
mulss xmm1, xmm0
addss xmm1, dword [0x1027106c]
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [ebp - 0x190]
add eax, 0x1c
mov dword [ebp - 0x190], eax
add dword [esi + 0x54], ecx
mov esi, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x184]
inc esi
mov dword [ebp - 0x1c4], esi
cmp esi, dword [ecx + 0x30]
jl 0x100c61d0
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1b8]
mov dword [ecx + 0x20], 0
add ecx, 0x54
add eax, 0x78
sub edx, 1
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1b8], edx
jne 0x100c60a0
xor esi, esi
cmp dword [ebp - 0x1a4], esi
jle 0x100c65c7
mov edi, dword [ebp - 0x1b0]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100c65ae
mov eax, dword [0x10323708]
test eax, eax
je 0x100c65ae
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x1a0]
inc esi
add esp, 4
cmp esi, dword [ebp - 0x1a4]
jl 0x100c6598
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x170]
test eax, eax
jle 0x100c6653
mov esi, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x1a0]
add esi, 0x18
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100c6604
mov eax, dword [0x10323708]
test eax, eax
je 0x100c65fe
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100c6624
mov eax, dword [0x10323708]
test eax, eax
je 0x100c661e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x100c663d
push eax
call fcn.101796c0
add esp, 4
mov dword [esi], 0
mov byte [ebp - 4], 8
add esi, 0x54
sub dword [ebp - 0x170], 1
jne 0x100c65e4
mov edi, dword [ebp - 0x150]
mov ecx, edi
call fcn.100c2db0
mov byte [ebp - 0x149], 1
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1e4]
test ecx, ecx
je 0x100c668c
mov eax, dword [0x10323708]
test eax, eax
je 0x100c667e
dec dword [eax + 0x374]
mov esi, dword [ebp - 0x1a0]
push ecx
call esi
add esp, 4
jmp 0x100c6692
mov esi, dword [ebp - 0x1a0]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1b0]
test ecx, ecx
je 0x100c66b5
mov eax, dword [0x10323708]
test eax, eax
je 0x100c66af
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x15c]
test ecx, ecx
je 0x100c66d8
mov eax, dword [0x10323708]
test eax, eax
je 0x100c66d2
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x100c6704
mov ecx, dword [0x10323708]
test ecx, ecx
je 0x100c66f6
dec dword [ecx + 0x374]
mov esi, dword [ebp - 0x1a0]
push eax
call esi
add esp, 4
jmp 0x100c670a
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x100c6731
mov ecx, dword [0x10323708]
test ecx, ecx
je 0x100c672b
dec dword [ecx + 0x374]
push eax
call esi
add esp, 4
mov al, byte [ebp - 0x149]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret