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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
cmp byte [0x101ac005], 0
push edi
mov edi, ecx
mov dword [ebp - 4], edi
je 0x100c25ca
cmp dword [0x101ac07c], 0
je 0x100c25ca
mov ecx, dword [0x102782d0]
push ebx
push 0
call fcn.1009e920
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
je 0x100c25c9
cmp dword [ebp + 8], 4
jne 0x100c25c9
mov eax, dword [0x10274b14]
push esi
call eax
mov ecx, dword [0x10278328]
call fcn.100ccab0
mov ebx, dword [ebx + 4]
xor ecx, ecx
mov dword [ebp + 8], ebx
xor eax, eax
mov ebx, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov ebx, dword [ebx]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ebx
cmp ebx, dword [ebp + 8]
je 0x100c23a4
mov ecx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100c238a
cmp ebx, dword [0x101ac07c]
jne 0x100c1ae8
test byte [0x102741dc], 1
jne 0x100c1a9f
mov eax, dword [0x102741d4]
or dword [0x102741dc], 1
mov dword [0x102741d8], eax
mov eax, dword [0x102741d8]
cmp dword [eax + ebx], 0
jne 0x100c238a
test byte [0x102741e4], 1
jne 0x100c1ac8
mov eax, dword [0x102741d0]
or dword [0x102741e4], 1
mov dword [0x102741e0], eax
mov eax, dword [0x102741e0]
cmp dword [eax + ebx], 0
jle 0x100c238a
mov ecx, dword [0x10278300]
push ebx
call fcn.100f10f0
jmp 0x100c2387
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 0x28]
imul eax, eax, 0xe8ec
add edi, eax
mov dword [ebp - 8], edi
cmp dword [edi + 0x14], ebx
je 0x100c2077
cmp dword [edi + 0x14], 0
mov byte [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
je 0x100c1b31
mov dword [edi + 0x14], 0
lea ecx, [edi + 0xe8d8]
mov dword [edi + 0xe8d0], 0
mov dword [edi + 0xe8d4], 0
call fcn.10078130
mov word [edi + 0x18], 0
mov word [edi + 0x1c], 0
mov byte [edi + 0x1e], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0xe8cc], 0
mov dword [edi + 0x78], 0
mov word [edi + 0x7c], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], 0
add edi, 0xf8
push 0x2d8
push 0
lea eax, [edi + 0x3104]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea eax, [edi + 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea eax, [edi + 0x1904]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
movups xmmword [ebp - 0x13c], xmm0
movups xmmword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x11c], xmm0
push 0x60
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
add edi, 0x34d4
push 0x2d8
push 0
lea eax, [edi + 0x3104]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
lea eax, [edi + 0x104]
push 0x1800
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea eax, [edi + 0x1904]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x148], 0
push 0
push eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x11c], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
add edi, 0x68b0
push 0x2d8
push 0
lea eax, [edi + 0x3104]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea eax, [edi + 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
lea eax, [edi + 0x1904]
push 0x1800
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x11c], xmm0
push 0x60
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
add edi, 0x9c8c
push 0x2d8
push 0
lea eax, [edi + 0x3104]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea eax, [edi + 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x1800
lea eax, [edi + 0x1904]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
mov dword [ebp - 0x14c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
push 0x60
push 0
push eax
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x10c], 0
movups xmmword [ebp - 0x12c], xmm0
movups xmmword [ebp - 0x11c], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x1b4]
push 0x60
push 0
push eax
mov dword [esi + 0xe868], 0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [ebp - 0x1b4]
add esp, 0x24
movups xmmword [esi + 0xe86c], xmm0
movups xmm0, xmmword [ebp - 0x1a4]
movups xmmword [esi + 0xe87c], xmm0
movups xmm0, xmmword [ebp - 0x194]
movups xmmword [esi + 0xe88c], xmm0
movups xmm0, xmmword [ebp - 0x184]
movups xmmword [esi + 0xe89c], xmm0
movups xmm0, xmmword [ebp - 0x174]
movups xmmword [esi + 0xe8ac], xmm0
movups xmm0, xmmword [ebp - 0x164]
movups xmmword [esi + 0xe8bc], xmm0
mov dword [esi + 0x14], ebx
jmp 0x100c2384
mov eax, dword [0x102741dc]
test al, 1
jne 0x100c2094
or eax, 1
mov dword [0x102741dc], eax
mov eax, dword [0x102741d4]
mov dword [0x102741d8], eax
jmp 0x100c2099
mov eax, dword [0x102741d8]
cmp dword [eax + ebx], 0
jne 0x100c235e
mov eax, dword [0x102741e4]
test al, 1
jne 0x100c20c0
or eax, 1
mov dword [0x102741e4], eax
mov eax, dword [0x102741d0]
mov dword [0x102741e0], eax
jmp 0x100c20c5
mov eax, dword [0x102741e0]
cmp dword [eax + ebx], 0
jle 0x100c235e
cmp byte [0x10266e08], 0
je 0x100c2130
mov ecx, dword [0x10274408]
test cl, 1
jne 0x100c20fa
mov edx, dword [0x10274400]
or ecx, 1
mov dword [0x10274408], ecx
mov dword [0x10274404], edx
jmp 0x100c2100
mov edx, dword [0x10274404]
mov eax, dword [0x101ac07c]
mov eax, dword [edx + eax]
test cl, 1
jne 0x100c2122
mov edx, dword [0x10274400]
or ecx, 1
mov dword [0x10274408], ecx
mov dword [0x10274404], edx
cmp dword [edx + ebx], eax
je 0x100c2130
mov eax, dword [0x101ae688]
mov byte [eax + ebx], 1
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x100c216a
lea ecx, [edi + 0xe8d8]
mov dword [edi + 4], 0
call fcn.10078130
mov dword [edi + 0xe8d0], 0
mov dword [edi + 0xe8d4], 0
jmp 0x100c2384
mov eax, dword [0x10258564]
mov ecx, dword [eax + ebx]
movss xmm0, dword [ecx + 0x294]
ucomiss xmm0, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x100c21e0
mov eax, dword [0x1027503c]
mov ecx, dword [0x10274854]
test al, 1
jne 0x100c21a5
or eax, 1
mov dword [0x1027503c], eax
lea eax, [ecx + 4]
mov dword [0x10275038], eax
jmp 0x100c21aa
mov eax, dword [0x10275038]
movss xmm0, dword [eax + ebx]
mov eax, dword [0x102748e0]
test al, 1
jne 0x100c21d0
or eax, 1
mov dword [0x102748dc], ecx
mov dword [0x102748e0], eax
movss dword [ecx + ebx], xmm0
jmp 0x100c2384
mov ecx, dword [0x102748dc]
movss dword [ecx + ebx], xmm0
jmp 0x100c2384
mov eax, dword [ecx + 0x294]
mov dword [edi + 0xc], eax
mov eax, dword [0x102748e0]
mov edx, dword [0x10274854]
test al, 1
jne 0x100c220a
or eax, 1
mov ecx, edx
mov dword [0x102748e0], eax
mov dword [0x102748dc], ecx
jmp 0x100c2210
mov ecx, dword [0x102748dc]
mov eax, dword [0x1027503c]
test al, 1
jne 0x100c222b
or eax, 1
mov dword [0x1027503c], eax
lea eax, [edx + 4]
mov dword [0x10275038], eax
jmp 0x100c2230
mov eax, dword [0x10275038]
movss xmm0, dword [eax + ebx]
comiss xmm0, dword [ecx + ebx]
jae 0x100c2384
mov ecx, dword [0x10278300]
push ebx
call fcn.100f10f0
mov eax, dword [0x10258560]
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x100c2384
mov eax, dword [0x102781c4]
test al, 1
jne 0x100c227b
or eax, 1
mov dword [0x102781c4], eax
mov eax, dword [0x10274e84]
add eax, 0xfffffffc
mov dword [0x102781c0], eax
jmp 0x100c2280
mov eax, dword [0x102781c0]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + ebx]
lahf
test ah, 0x44
jnp 0x100c22c6
mov dword [ecx + 0x60], ebx
call fcn.1005f330
mov eax, dword [0x102781c4]
test al, 1
jne 0x100c22b7
or eax, 1
mov dword [0x102781c4], eax
mov eax, dword [0x10274e84]
add eax, 0xfffffffc
mov dword [0x102781c0], eax
jmp 0x100c22bc
mov eax, dword [0x102781c0]
movss xmm0, dword [eax + ebx]
movss dword [edi + 8], xmm0
mov edx, dword [0x101ac07c]
test edx, edx
je 0x100c2319
mov eax, dword [0x10274408]
test al, 1
jne 0x100c22ef
mov ecx, dword [0x10274400]
or eax, 1
mov dword [0x10274408], eax
mov dword [0x10274404], ecx
jmp 0x100c22f5
mov ecx, dword [0x10274404]
mov edx, dword [ecx + edx]
test al, 1
jne 0x100c2310
mov ecx, dword [0x10274400]
or eax, 1
mov dword [0x10274408], eax
mov dword [0x10274404], ecx
cmp edx, dword [ecx + ebx]
jne 0x100c2319
mov al, 1
jmp 0x100c231b
xor al, al
mov byte [edi], al
lea eax, [ebp - 8]
mov ecx, dword [0x1025e930]
push eax
push 0x100c3300
call fcn.100be0d0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp esi, dword [ebp - 0x10]
je 0x100c2349
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
mov dword [ebp - 0x20], esi
jmp 0x100c2384
lea eax, [ebp - 0x18]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.10079f50
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x100c2384
cmp byte [edi], 0
jne 0x100c237d
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov esi, dword [0x10278328]
call dword [eax + 0x28]
mov dword [esi + eax*4 + 0x13fc], 0
mov dword [edi + 0x14], 0
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x20]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
cmp ebx, ecx
jne 0x100c1a73
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov ebx, ecx
cmp ebx, esi
je 0x100c2472
nop
mov eax, dword [0x1025e930]
mov ecx, dword [ebx]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 4]
lea edi, [eax + 0xc0]
mov dword [ebp + 8], eax
push edi
mov dword [ebp - 0x14], ecx
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100c25df
cmp dword [edi + 0x2c], 0x7fffffff
je 0x100c25d1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
lea eax, [ecx + 0x98]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [ebp - 0x38], xmm0
nop dword [eax]
mov eax, dword [ebp - 0x38]
movq xmm0, qword [eax + 0x120]
movq qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
nop
cmp dword [ebp - 0x2c], eax
ja 0x100c2451
jb 0x100c2433
cmp dword [ebp - 0x30], ecx
jae 0x100c2451
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ecx + 0x78]
call fcn.100740f0
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100c245d
push edi
push esi
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x100c2410
push edi
call sub.MSVCP140.dll__Mtx_unlock
add ebx, 8
add esp, 4
cmp ebx, dword [ebp - 0x20]
jne 0x100c23b0
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ebx
je 0x100c258f
mov esi, dword [edi]
test esi, esi
je 0x100c2584
cmp esi, dword [0x101ac07c]
je 0x100c2584
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp - 4]
imul eax, eax, 0xe8ec
cmp dword [eax + ecx + 0x14], esi
jne 0x100c2584
mov eax, dword [0x102741dc]
test al, 1
jne 0x100c24d1
or eax, 1
mov dword [0x102741dc], eax
mov eax, dword [0x102741d4]
mov dword [0x102741d8], eax
jmp 0x100c24d6
mov eax, dword [0x102741d8]
cmp dword [eax + esi], 0
jne 0x100c2584
mov eax, dword [0x102741e4]
test al, 1
jne 0x100c24fd
or eax, 1
mov dword [0x102741e4], eax
mov eax, dword [0x102741d0]
mov dword [0x102741e0], eax
jmp 0x100c2502
mov eax, dword [0x102741e0]
cmp dword [eax + esi], 0
jle 0x100c2584
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c2584
mov eax, dword [0x1027503c]
mov ecx, dword [0x10274854]
test al, 1
jne 0x100c253d
or eax, 1
lea edx, [ecx + 4]
mov dword [0x1027503c], eax
mov dword [0x10275038], edx
jmp 0x100c2543
mov edx, dword [0x10275038]
mov eax, dword [0x102748e0]
test al, 1
jne 0x100c255c
or eax, 1
mov dword [0x102748dc], ecx
mov dword [0x102748e0], eax
jmp 0x100c2562
mov ecx, dword [0x102748dc]
movss xmm0, dword [edx + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c2584
cmp dword [esi + 0x28c0], 0xffffffff
je 0x100c2584
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x1b0]
call eax
add edi, 0xc
cmp edi, ebx
jne 0x100c2482
mov edx, dword [ebp - 8]
pop esi
test edx, edx
je 0x100c25c9
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100c25bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c25bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010682a
add esp, 8
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi + 0x2c], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3