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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
cmp byte [0x1018c006], 0
mov dword [ebp - 0x24], ecx
je 0x100c1a0c
cmp dword [0x1018c07c], 0
je 0x100c1a0c
mov ecx, dword [0x10257670]
push edi
push 0
call fcn.1009eb30
mov edi, eax
mov dword [ebp - 0x20], edi
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
je 0x100c1a0b
cmp dword [ebp + 8], 4
jne 0x100c1a0b
mov eax, dword [0x1024d16c]
push ebx
push esi
call eax
mov ecx, dword [0x102576c0]
call fcn.100cb430
mov edi, dword [edi + 4]
xor ebx, ebx
mov dword [ebp + 8], edi
xor eax, eax
mov edi, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov edi, dword [edi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 8]
je 0x100c17d2
mov ebx, dword [ebp + 8]
mov edi, dword [edi]
mov dword [ebp - 8], edi
test edi, edi
je 0x100c17b8
cmp edi, dword [0x1018c07c]
je 0x100c17b8
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
call dword [eax + 0x28]
imul ebx, eax, 0xe8ec
add ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
cmp dword [ebx + 0x14], edi
je 0x100c14b1
cmp dword [ebx + 0x14], 0
mov byte [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
je 0x100c0f74
mov dword [ebx + 0x14], 0
lea ecx, [ebx + 0xe8d8]
mov dword [ebx + 0xe8d0], 0
mov dword [ebx + 0xe8d4], 0
call fcn.100783c0
push 0x2d8
lea edi, [ebx + 0xf8]
mov word [ebx + 0x18], 0
lea eax, [edi + 0x3104]
mov word [ebx + 0x1c], 0
push 0
push eax
mov byte [ebx + 0x1e], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0xe8cc], 0
mov dword [ebx + 0x78], 0
mov word [ebx + 0x7c], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xf4], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xec], 0
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 - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x140], xmm0
movups xmmword [ebp - 0x130], xmm0
movups xmmword [ebp - 0x120], xmm0
push 0x60
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
lea edi, [ebx + 0x34d4]
lea eax, [edi + 0x3104]
push 0
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 - 0x150], 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x14c], 0
push 0
push eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x130], xmm0
movups xmmword [ebp - 0x120], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
lea edi, [ebx + 0x68b0]
lea eax, [edi + 0x3104]
push 0
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 - 0x150], 0
push 0x60
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x130], xmm0
push 0
movups xmmword [ebp - 0x120], xmm0
lea eax, [ebp - 0x10c]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
lea edi, [ebx + 0x9c8c]
lea eax, [edi + 0x3104]
push 0
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 - 0x150], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
push 0x60
push 0
push eax
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x130], xmm0
movups xmmword [ebp - 0x120], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0x1b8]
mov ecx, 0x41
lea esi, [ebp - 0x150]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebx + 0xe868], 0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [ebp - 0x1b8]
mov eax, dword [ebp - 8]
add esp, 0x24
movups xmmword [ebx + 0xe86c], xmm0
movups xmm0, xmmword [ebp - 0x1a8]
movups xmmword [ebx + 0xe87c], xmm0
movups xmm0, xmmword [ebp - 0x198]
movups xmmword [ebx + 0xe88c], xmm0
movups xmm0, xmmword [ebp - 0x188]
movups xmmword [ebx + 0xe89c], xmm0
movups xmm0, xmmword [ebp - 0x178]
movups xmmword [ebx + 0xe8ac], xmm0
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [ebx + 0xe8bc], xmm0
mov dword [ebx + 0x14], eax
jmp 0x100c17b5
mov eax, dword [0x1024c85c]
test al, 1
jne 0x100c14ce
or eax, 1
mov dword [0x1024c85c], eax
mov eax, dword [0x1024c854]
mov dword [0x1024c858], eax
jmp 0x100c14d3
mov eax, dword [0x1024c858]
cmp dword [eax + edi], 0
jne 0x100c178f
mov eax, dword [0x1024c864]
test al, 1
jne 0x100c14fa
or eax, 1
mov dword [0x1024c864], eax
mov eax, dword [0x1024c850]
mov dword [0x1024c860], eax
jmp 0x100c14ff
mov eax, dword [0x1024c860]
cmp dword [eax + edi], 0
jle 0x100c178f
cmp byte [0x10254b80], 0
je 0x100c156a
mov ecx, dword [0x1024ca88]
test cl, 1
jne 0x100c1534
mov edx, dword [0x1024ca80]
or ecx, 1
mov dword [0x1024ca88], ecx
mov dword [0x1024ca84], edx
jmp 0x100c153a
mov edx, dword [0x1024ca84]
mov eax, dword [0x1018c07c]
mov eax, dword [edx + eax]
test cl, 1
jne 0x100c155c
mov edx, dword [0x1024ca80]
or ecx, 1
mov dword [0x1024ca88], ecx
mov dword [0x1024ca84], edx
cmp dword [edx + edi], eax
je 0x100c156a
mov eax, dword [0x1018e688]
mov byte [eax + edi], 1
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x100c15a4
lea ecx, [ebx + 0xe8d8]
mov dword [ebx + 4], 0
call fcn.100783c0
mov dword [ebx + 0xe8d0], 0
mov dword [ebx + 0xe8d4], 0
jmp 0x100c17b5
mov eax, dword [0x10238564]
mov ecx, dword [eax + edi]
movss xmm0, dword [ecx + 0x294]
ucomiss xmm0, dword [ebx + 0xc]
lahf
test ah, 0x44
jp 0x100c161a
mov eax, dword [0x1024d68c]
mov ecx, dword [0x1024ceb4]
test al, 1
jne 0x100c15df
or eax, 1
mov dword [0x1024d68c], eax
lea eax, [ecx + 4]
mov dword [0x1024d688], eax
jmp 0x100c15e4
mov eax, dword [0x1024d688]
movss xmm0, dword [eax + edi]
mov eax, dword [0x1024cf40]
test al, 1
jne 0x100c160a
or eax, 1
mov dword [0x1024cf3c], ecx
mov dword [0x1024cf40], eax
movss dword [ecx + edi], xmm0
jmp 0x100c17b5
mov ecx, dword [0x1024cf3c]
movss dword [ecx + edi], xmm0
jmp 0x100c17b5
mov eax, dword [ecx + 0x294]
mov dword [ebx + 0xc], eax
mov ecx, dword [0x1024d68c]
mov eax, dword [0x1024ceb4]
test cl, 1
jne 0x100c1647
or ecx, 1
lea edx, [eax + 4]
mov dword [0x1024d68c], ecx
mov dword [0x1024d688], edx
jmp 0x100c164d
mov edx, dword [0x1024d688]
mov ecx, dword [0x1024cf40]
test cl, 1
jne 0x100c1668
or ecx, 1
mov dword [0x1024cf3c], eax
mov dword [0x1024cf40], ecx
jmp 0x100c166d
mov eax, dword [0x1024cf3c]
movss xmm0, dword [edx + edi]
comiss xmm0, dword [eax + edi]
jae 0x100c17b5
mov eax, dword [0x10238560]
mov ecx, dword [eax + edi]
test ecx, ecx
je 0x100c17b5
mov eax, dword [0x10257574]
test al, 1
jne 0x100c16ac
or eax, 1
mov dword [0x10257574], eax
mov eax, dword [0x1024d4d4]
add eax, 0xfffffffc
mov dword [0x10257570], eax
jmp 0x100c16b1
mov eax, dword [0x10257570]
movss xmm0, dword [ebx + 8]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x100c16f7
mov dword [ecx + 0x60], edi
call fcn.1005edb0
mov eax, dword [0x10257574]
test al, 1
jne 0x100c16e8
or eax, 1
mov dword [0x10257574], eax
mov eax, dword [0x1024d4d4]
add eax, 0xfffffffc
mov dword [0x10257570], eax
jmp 0x100c16ed
mov eax, dword [0x10257570]
movss xmm0, dword [eax + edi]
movss dword [ebx + 8], xmm0
mov edx, dword [0x1018c07c]
test edx, edx
je 0x100c174a
mov eax, dword [0x1024ca88]
test al, 1
jne 0x100c1720
mov ecx, dword [0x1024ca80]
or eax, 1
mov dword [0x1024ca88], eax
mov dword [0x1024ca84], ecx
jmp 0x100c1726
mov ecx, dword [0x1024ca84]
mov edx, dword [ecx + edx]
test al, 1
jne 0x100c1741
mov ecx, dword [0x1024ca80]
or eax, 1
mov dword [0x1024ca88], eax
mov dword [0x1024ca84], ecx
cmp edx, dword [ecx + edi]
jne 0x100c174a
mov al, 1
jmp 0x100c174c
xor al, al
mov byte [ebx], al
lea eax, [ebp - 0x10]
mov ecx, dword [0x1023e810]
push eax
push 0x100c25c0
call fcn.100bd4a0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
cmp esi, dword [ebp - 0xc]
je 0x100c177a
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
mov dword [ebp - 0x18], esi
jmp 0x100c17b5
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.1007b000
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x100c17b5
cmp byte [ebx], 0
jne 0x100c17ae
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov esi, dword [0x102576c0]
call dword [eax + 0x28]
mov dword [esi + eax*4 + 0x13fc], 0
mov dword [ebx + 0x14], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x18]
add edi, 0xc
mov dword [ebp - 4], edi
cmp edi, ebx
jne 0x100c0f11
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 8], ebx
cmp ebx, esi
je 0x100c18a2
nop word [eax + eax]
mov eax, dword [0x1023e810]
mov ecx, dword [ebx]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 4]
lea edi, [eax + 0xc0]
mov dword [ebp + 8], eax
push edi
mov dword [ebp - 4], ecx
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100c1a20
cmp dword [edi + 0x2c], 0x7fffffff
je 0x100c1a12
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
lea eax, [ecx + 0x98]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [ebp - 0x3c], xmm0
nop dword [eax]
mov eax, dword [ebp - 0x3c]
movq xmm0, qword [eax + 0x120]
movq qword [ebp - 0x2c], xmm0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
nop
cmp dword [ebp - 0x30], eax
ja 0x100c1881
jb 0x100c1863
cmp dword [ebp - 0x34], ecx
jae 0x100c1881
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x158]
push eax
lea ecx, [ecx + 0x78]
call fcn.10073a70
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100c188d
push edi
push esi
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x100c1840
push edi
call sub.MSVCP140.dll__Mtx_unlock
add ebx, 8
add esp, 4
cmp ebx, dword [ebp - 0x18]
jne 0x100c17e0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp + 8], esi
cmp edi, esi
je 0x100c19d0
mov eax, esi
nop word [eax + eax]
mov esi, dword [edi]
test esi, esi
je 0x100c19c5
cmp esi, dword [0x1018c07c]
je 0x100c19c5
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x24]
imul eax, eax, 0xe8ec
cmp dword [eax + ecx + 0x14], esi
jne 0x100c19c2
mov eax, dword [0x1024c85c]
test al, 1
jne 0x100c190f
or eax, 1
mov dword [0x1024c85c], eax
mov eax, dword [0x1024c854]
mov dword [0x1024c858], eax
jmp 0x100c1914
mov eax, dword [0x1024c858]
cmp dword [eax + esi], 0
jne 0x100c19c2
mov eax, dword [0x1024c864]
test al, 1
jne 0x100c193b
or eax, 1
mov dword [0x1024c864], eax
mov eax, dword [0x1024c850]
mov dword [0x1024c860], eax
jmp 0x100c1940
mov eax, dword [0x1024c860]
cmp dword [eax + esi], 0
jle 0x100c19c2
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c19c2
mov eax, dword [0x1024d68c]
mov ecx, dword [0x1024ceb4]
test al, 1
jne 0x100c197b
or eax, 1
lea edx, [ecx + 4]
mov dword [0x1024d68c], eax
mov dword [0x1024d688], edx
jmp 0x100c1981
mov edx, dword [0x1024d688]
mov eax, dword [0x1024cf40]
test al, 1
jne 0x100c199a
or eax, 1
mov dword [0x1024cf3c], ecx
mov dword [0x1024cf40], eax
jmp 0x100c19a0
mov ecx, dword [0x1024cf3c]
movss xmm0, dword [edx + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c19c2
cmp dword [esi + 0x28c0], 0xffffffff
je 0x100c19c2
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x1b0]
call eax
mov eax, dword [ebp + 8]
add edi, 0xc
cmp edi, eax
jne 0x100c18c0
mov edx, dword [ebp - 8]
pop esi
pop ebx
test edx, edx
je 0x100c1a0b
mov ecx, dword [ebp - 0xc]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100c1a01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c1a01
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10102d1a
add esp, 8
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