Function at 0x100c45d0
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 0x101d8c9c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x1021b380]
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.100c2120
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.100bfec0
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 - 0x174], 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 0x100c4716
cmp edx, 8
mov edi, edx
cmovl edi, dword [ebp - 0x15c]
test edi, edi
jle 0x100c4716
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c46e9
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 0x100c4774
cmp eax, 8
mov edi, eax
cmovl edi, dword [ebp - 0x15c]
test edi, edi
jle 0x100c4774
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c4748
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 - 0x174], 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 - 0x178], eax
cmp dword [ecx + 0x54], 0
jle 0x100c48e9
xor eax, eax
add edi, 0x34
mov dword [ebp - 0x18c], 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 0x100c494b
or esi, 0xffffffff
nop dword [eax]
mov eax, esi
cmp esi, 0xffffffff
jne 0x100c482d
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 0x100c481f
mov dword [edi - 4], edx
mov esi, edx
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, esi
cmp edx, dword [ecx + 0x3c]
jl 0x100c4800
cmp eax, 0xffffffff
je 0x100c494b
mov esi, dword [ebp - 0x15c]
push ecx
push esi
push dword [ebp - 0x154]
lea ecx, [edi - 0x34]
call fcn.100c4250
test al, al
je 0x100c494b
mov eax, dword [edi - 4]
mov edx, 0x10206600
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 0x100c4897
movzx eax, word [edx + 2]
test ax, ax
je 0x100c4891
mov ecx, eax
cmp dword [edi], ecx
cmovge ecx, dword [edi]
add edx, 4
mov dword [edi], ecx
cmp word [edx], 0
jne 0x100c4876
mov ecx, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x174]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x18c]
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 - 0x18c], eax
cmp esi, dword [ecx + 0x54]
jl 0x100c47d7
mov edi, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
xor esi, esi
mov dword [ebp - 0x168], esi
test eax, eax
jle 0x100c4c5c
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 - 0x1a4], esi
mov dword [ebp - 0x154], eax
cmp edi, eax
jle 0x100c4982
test eax, eax
je 0x100c4957
cdq
sub eax, edx
mov edx, dword [ebp - 0x158]
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x154]
jmp 0x100c495c
mov byte [ebp - 0x149], 0
jmp 0x100c5c38
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.100b4840
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x154]
jmp 0x100c4985
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 - 0x174]
add esp, 0xc
cmp dword [eax + esi*8 + 0xc], 0
lea edi, [eax + esi*8]
jne 0x100c49f9
mov esi, dword [eax + esi*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x100c49e1
test eax, eax
je 0x100c49cc
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x100c49d1
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.100b4840
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 - 0x1a8], eax
cmp word [eax], 0
je 0x100c4ae1
movzx ecx, word [eax + 2]
test cx, cx
je 0x100c4ae1
movzx edi, word [eax]
cmp edi, ecx
ja 0x100c4ac8
nop word [eax + eax]
mov eax, dword [ebp - 0x1a4]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x174]
sar esi, 5
mov dword [ebp - 0x154], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100c4aaf
mov eax, dword [ebp - 0x158]
push edi
push dword [eax - 0x2c]
call fcn.10177640
mov edx, dword [ebp - 0x158]
add esp, 8
test eax, eax
je 0x100c4ab5
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x174]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x174]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x1a4]
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 - 0x1a8]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100c4a30
mov eax, dword [ebp - 0x1a8]
add eax, 4
mov dword [ebp - 0x1a8], eax
cmp word [eax], 0
jne 0x100c4a12
add edx, 0x54
sub dword [ebp - 0x15c], 1
mov dword [ebp - 0x158], edx
jne 0x100c4910
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.100c5d90
mov ecx, dword [esi - 4]
mov edx, ecx
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x15c], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x19c], eax
cmp ecx, eax
jae 0x100c4c0d
nop
mov eax, dword [edx]
mov dword [ebp - 0x154], eax
test eax, eax
je 0x100c4bf2
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x154], eax
je 0x100c4be8
mov ecx, dword [esi]
mov eax, edx
sub eax, dword [ebp - 0x1a0]
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 0x100c4bbe
inc ecx
test eax, eax
je 0x100c4ba3
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x100c4ba8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100c5d90
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 0x100c4b52
add edx, 4
mov dword [ebp - 0x15c], edx
cmp edx, dword [ebp - 0x19c]
jb 0x100c4b40
mov edi, dword [ebp - 0x164]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100c4c42
mov eax, dword [0x102ba550]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100c4c31
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x178]
add esp, 4
mov dword [esi - 4], 0
add esi, 0x54
sub edi, 1
mov dword [ebp - 0x164], edi
jne 0x100c4b10
mov esi, dword [ebp - 0x168]
jmp 0x100c4c64
xor esi, esi
mov dword [ebp - 0x168], esi
cmp dword [ebp - 0x160], 0
jle 0x100c4ccb
mov edi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x160]
add edi, 0x14
mov esi, dword [ebp - 0x178]
mov ecx, dword [edi]
test ecx, ecx
je 0x100c4cb7
mov eax, dword [0x102ba550]
mov dword [edi - 4], 0
mov dword [edi - 8], 0
test eax, eax
je 0x100c4ca5
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 0x100c4c82
mov esi, dword [ebp - 0x168]
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x100c4d11
mov ecx, dword [0x102ba550]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1d4], 0
test ecx, ecx
je 0x100c4cf9
dec dword [ecx + 0x374]
push eax
call dword [ebp - 0x178]
add esp, 4
xor eax, eax
mov dword [ebp - 0x174], 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 0x100c4d7c
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100c4d7c
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c4d5b
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 - 0x1ac], 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 [0x102ba550]
push 0x40000
test eax, eax
je 0x100c4dc9
inc dword [eax + 0x374]
call edi
mov esi, eax
add esp, 4
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c4ddf
inc dword [eax + 0x374]
push 0x20
call edi
movss xmm0, dword [0x1020785c]
xor ecx, ecx
mov dword [ebp - 0x1a4], eax
add esp, 4
mov dword [ebp - 0x1d8], eax
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x1a8], eax
xor esi, esi
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1dc], 8
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x154], esi
test eax, eax
jle 0x100c53b7
mov edi, dword [ebp - 0x17c]
xor edx, edx
add edi, 0x48
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1b8], edi
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [edi - 0x10]
test edx, edx
je 0x100c5386
mov eax, esi
add esi, edx
shl eax, 4
add eax, dword [ebp - 0x15c]
mov dword [edi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x154], esi
movss dword [ebp - 0x1b4], xmm1
lahf
test ah, 0x44
jnp 0x100c4eea
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 + 0x102082c0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.101d1980
movss xmm1, dword [ebp - 0x1b4]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x118], dl
inc esi
cmp esi, 0x100
jb 0x100c4ea0
jmp 0x100c4ef1
mov byte [ebp - 0x169], 0
cmp dword [edi], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1c0], 0
movss xmm0, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movss dword [ebp - 0x1b0], xmm0
movss xmm0, dword [eax + 0x18]
mov dword [ebp - 0x1c4], ecx
movss dword [ebp - 0x1c8], xmm0
jle 0x100c537e
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x1b4], ecx
nop dword [eax]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [ebp - 0x1bc], eax
push dword [eax + 0x14]
push dword [edi - 0x30]
call fcn.10177640
add esp, 8
test eax, eax
je 0x100c534b
push dword [edi - 0x28]
push eax
push dword [edi - 0x30]
call fcn.10177fb0
add esp, 0xc
test eax, eax
jne 0x100c534b
test byte [edi - 0x2c], 0x20
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
je 0x100c4f8d
push esi
call fcn.1017eeb0
add esp, 4
test byte [edi - 0x2c], 0x40
je 0x100c4f9c
push esi
call fcn.1017efb0
add esp, 4
lea eax, [esi + 0x18]
test eax, eax
je 0x100c5345
mov eax, dword [edi - 0x30]
push dword [edi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x198], eax
call fcn.1017a240
mov ecx, dword [ebp - 0x1bc]
add esp, 8
test eax, eax
je 0x100c4fcd
xor esi, esi
jmp 0x100c501e
mov eax, dword [edi - 0x30]
mov esi, dword [eax + 0x54]
mov eax, dword [esi + 0x50]
add esi, 0x4c
mov dword [ecx], eax
mov eax, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [edi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [edi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x198]
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 - 0x1ac]
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x194], eax
add eax, edx
cmp eax, 0x40000
jle 0x100c50a2
xor eax, eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5056
inc dword [eax + 0x374]
push 0x40000
call dword [ebp - 0x180]
add esp, 4
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.100b48e0
mov ecx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a4], eax
jmp 0x100c50a8
mov eax, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1a8]
mov edi, dword [eax + edi*4 - 4]
xor eax, eax
add edi, edx
add edx, dword [ebp - 0x194]
cmp byte [ebp - 0x169], al
mov dword [ecx + 0x18], edi
lea ecx, [ebp - 0x118]
cmove ecx, eax
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1bc]
mov edx, dword [esi]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x168], edi
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x184], esi
mov ecx, dword [eax + 8]
movzx eax, byte [eax + 0x12]
sub eax, 1
mov dword [ebp - 0x188], ecx
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x160]
je 0x100c5204
sub dword [ebp - 0x194], 1
jne 0x100c52d4
test ecx, ecx
jne 0x100c517b
test edx, edx
je 0x100c52d4
nop
push eax
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esi, dword [ebp - 0x188]
add esp, 0xc
add edi, dword [ebp - 0x190]
sub dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x160]
jne 0x100c5150
jmp 0x100c52d4
test edx, edx
je 0x100c52d4
mov ecx, dword [ebp - 0x190]
nop dword [eax]
test eax, eax
je 0x100c51e0
mov edx, dword [ebp - 0x160]
sub esi, edi
mov ecx, edi
mov dword [ebp - 0x194], esi
mov edi, esi
mov esi, dword [ebp - 0x198]
nop dword [eax]
movzx eax, byte [ecx + edi]
lea ecx, [ecx + 1]
mov al, byte [eax + esi]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100c51b0
mov edi, dword [ebp - 0x168]
mov esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x190]
add esi, dword [ebp - 0x188]
add edi, ecx
sub edx, 1
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x158], edx
jne 0x100c5190
jmp 0x100c52d4
test ecx, ecx
je 0x100c5224
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 0x100c5232
mov byte [ebp - 0x16a], 0
mov byte [ebp - 0x16b], 0xff
test edx, edx
je 0x100c52d4
mov ecx, dword [ebp - 0x158]
xor edx, edx
mov byte [ebp - 0x149], 0
test eax, eax
je 0x100c52a7
nop dword [eax]
mov edi, edx
and edi, 7
jne 0x100c525f
mov al, byte [esi]
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 edi, edi
lea eax, [esi + 1]
cmovne eax, esi
mov esi, eax
mov eax, dword [ebp - 0x160]
cmp edx, eax
jb 0x100c5250
mov edi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
mov esi, dword [ebp - 0x184]
add esi, dword [ebp - 0x188]
add edi, dword [ebp - 0x190]
sub ecx, 1
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x158], ecx
jne 0x100c5240
mov edx, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x18c]
mov eax, dword [edx]
add eax, dword [ebp - 0x1c4]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1b0]
cvttss2si ecx, xmm0
mov word [eax + esi + 4], cx
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1c4]
movd xmm0, eax
mov eax, dword [edi - 0x20]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x1c8]
cvttss2si ecx, xmm0
mov word [eax + esi + 6], cx
mov eax, dword [edi - 0x20]
movzx ecx, word [eax + esi + 6]
movzx eax, word [eax + esi + 4]
imul ecx, eax
add dword [ebp - 0x164], ecx
jmp 0x100c534b
mov esi, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x1c0]
add esi, 0x10
mov ecx, dword [ebp - 0x1b4]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x18c], esi
cmp eax, dword [edi]
jl 0x100c4f40
mov eax, dword [ebp - 0x150]
movss xmm0, dword [0x1020785c]
mov edx, dword [ebp - 0x19c]
add edi, 0x54
mov esi, dword [ebp - 0x154]
add edx, 0x78
sub dword [ebp - 0x1a0], 1
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x19c], edx
jne 0x100c4e58
mov ecx, dword [ebp - 0x164]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.1000d600
mov edi, dword [ebp - 0x150]
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [edi + 0x28], 0
inc eax
test esi, esi
jg 0x100c5417
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10207b48]
jb 0x100c53f3
mov esi, 0x1000
jmp 0x100c5417
comiss xmm0, dword [0x10207b40]
jb 0x100c5403
mov esi, 0x800
jmp 0x100c5417
comiss xmm0, dword [0x10207b24]
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 0x100c5484
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100c547e
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5461
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.100c4450
add esp, 0xc
lea edx, [ebp - 0x148]
mov ecx, edi
call fcn.100c2190
mov esi, dword [ebp - 0x170]
test esi, esi
jle 0x100c5536
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 0x100c551e
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x148]
push eax
call fcn.100b55b0
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100c551e
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x100c5516
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 0x100c54f0
add esi, 0x54
sub dword [ebp - 0x154], 1
jne 0x100c54d0
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x170]
test byte [edi + 4], 1
mov eax, dword [edi + 0x28]
jne 0x100c5564
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 [0x1020785c]
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 [0x102ba550]
movss dword [edi + 0x2c], xmm2
movss dword [edi + 0x30], xmm1
test eax, eax
je 0x100c55aa
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 0x100c5ae8
mov ecx, dword [ebp - 0x17c]
xor eax, eax
movss xmm3, dword [0x102077ec]
add ecx, 8
mov edx, esi
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x188], edx
nop dword [eax]
cmp dword [ecx + 0x30], 0
je 0x100c5ac7
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 - 0x190], edx
lea eax, [esi + 0x4c]
lea edx, [esi + 0x38]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x164], edx
jne 0x100c56a4
mov ecx, esi
call fcn.100c2720
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x150]
movss xmm0, dword [ebp - 0x1c8]
movss xmm3, dword [0x102077ec]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x190]
mov dword [eax], edi
mov eax, dword [ebp - 0x164]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1b0]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x154]
movss dword [esi + 0x50], xmm0
jmp 0x100c56b6
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x190], 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 - 0x198], xmm4
mov dword [ebp - 0x1b4], 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 - 0x194], xmm5
mov dword [ebp - 0x1c8], eax
jle 0x100c5ab4
add esi, 0x20
xor edx, edx
xor eax, eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 0x1c0], eax
nop dword [eax]
mov edi, dword [ecx + 0x48]
add edi, eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x1ac], 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 - 0x1b8], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x19c], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x154], ecx
mov edx, dword [eax + 0x24]
mov esi, edx
imul esi, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x150]
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 4]
mov dword [ebp - 0x1b0], edx
add esi, dword [ebp - 0x19c]
add esi, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x1a0], eax
test edi, edi
jle 0x100c57f2
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x1a0]
dec edi
mov ecx, dword [ebp - 0x154]
add esp, 0xc
add esi, dword [ebp - 0x1b0]
add eax, ecx
mov dword [ebp - 0x1a0], eax
test edi, edi
jg 0x100c57a5
mov edi, dword [ebp - 0x150]
movss xmm3, dword [0x102077ec]
movss xmm4, dword [ebp - 0x198]
movss xmm5, dword [ebp - 0x194]
mov edx, dword [edi + 0x24]
jmp 0x100c57f8
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x1bc]
movss xmm2, dword [esi + 0x10]
movss xmm0, dword [ecx + 0x34]
comiss xmm0, xmm2
movss dword [ebp - 0x154], xmm0
ja 0x100c5840
movss xmm0, dword [ecx + 0x38]
movaps xmm1, xmm4
minss xmm0, xmm2
ucomiss xmm2, xmm0
movss dword [ebp - 0x154], xmm0
movss dword [ebp - 0x1b0], xmm0
lahf
test ah, 0x44
jnp 0x100c5860
cmp byte [ecx + 0x1c], 0
movaps xmm1, xmm0
subss xmm1, xmm2
mulss xmm1, xmm3
je 0x100c585c
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 - 0x1b0], xmm2
addss xmm1, xmm5
movss dword [ebp - 0x1ac], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1a0], xmm1
addss xmm0, xmm1
movss xmm1, dword [0x1020785c]
movaps xmm2, xmm1
movss dword [ebp - 0x160], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp - 0x19c]
add eax, edx
divss xmm2, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [ebp - 0x19c], xmm0
movd xmm0, dword [edi + 0x28]
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 0x1b8]
divss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x1b8], 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.100c3c50
mov eax, dword [edi]
mov edi, dword [edi + 8]
movss xmm0, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x190]
lea edx, [eax + eax*4]
movss xmm3, dword [0x102077ec]
movss dword [edi + edx*8 - 0x20], xmm0
movss xmm0, dword [ebp - 0x1a0]
movss dword [edi + edx*8 - 0x1c], xmm0
movss xmm0, dword [ebp - 0x1ac]
movss dword [edi + edx*8 - 0x18], xmm0
movss xmm0, dword [ebp - 0x160]
movss dword [edi + edx*8 - 0x14], xmm0
movss xmm0, dword [ebp - 0x19c]
movss dword [edi + edx*8 - 0x10], xmm0
movss xmm0, dword [ebp - 0x1b8]
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 0x100c5a04
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 - 0x198]
movss xmm5, dword [ebp - 0x194]
mov eax, dword [eax]
mov byte [esi + 0x58], 1
movss xmm0, dword [edi + edx*8 - 4]
subss xmm0, dword [edi + edx*8 - 0xc]
movd xmm1, dword [eax + 0x28]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movss xmm0, dword [edi + edx*8 - 8]
subss xmm0, dword [edi + edx*8 - 0x10]
addss xmm1, dword [0x102078a4]
mov edx, dword [ebp - 0x1c4]
add edx, 0x10
mov dword [ebp - 0x1c4], edx
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x102078a4]
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [ebp - 0x1c0]
add eax, 0x1c
mov dword [ebp - 0x1c0], eax
add dword [esi + 0x54], ecx
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x184]
inc esi
mov dword [ebp - 0x1b4], esi
cmp esi, dword [ecx + 0x30]
jl 0x100c5730
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x188]
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 - 0x188], edx
jne 0x100c5600
xor esi, esi
cmp dword [ebp - 0x1a8], esi
jle 0x100c5b27
mov edi, dword [ebp - 0x1a4]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100c5b0e
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5b0e
dec dword [eax + 0x374]
push ecx
call dword [ebp - 0x178]
inc esi
add esp, 4
cmp esi, dword [ebp - 0x1a8]
jl 0x100c5af8
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x170]
test eax, eax
jle 0x100c5bb3
mov esi, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x178]
add esi, 0x18
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100c5b64
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5b5e
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 0x100c5b84
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5b7e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
test eax, eax
je 0x100c5b9d
push eax
call fcn.101771c0
add esp, 4
mov dword [esi], 0
mov byte [ebp - 4], 8
add esi, 0x54
sub dword [ebp - 0x170], 1
jne 0x100c5b44
mov edi, dword [ebp - 0x150]
mov ecx, edi
call fcn.100c22f0
mov byte [ebp - 0x149], 1
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1e4]
test ecx, ecx
je 0x100c5bec
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5bde
dec dword [eax + 0x374]
mov esi, dword [ebp - 0x178]
push ecx
call esi
add esp, 4
jmp 0x100c5bf2
mov esi, dword [ebp - 0x178]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1a4]
test ecx, ecx
je 0x100c5c15
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5c0f
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 0x100c5c38
mov eax, dword [0x102ba550]
test eax, eax
je 0x100c5c32
dec dword [eax + 0x374]
push ecx
call esi
add esp, 4
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x100c5c64
mov ecx, dword [0x102ba550]
test ecx, ecx
je 0x100c5c56
dec dword [ecx + 0x374]
mov esi, dword [ebp - 0x178]
push eax
call esi
add esp, 4
jmp 0x100c5c6a
mov esi, dword [ebp - 0x178]
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x100c5c91
mov ecx, dword [0x102ba550]
test ecx, ecx
je 0x100c5c8b
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.101d03f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret