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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
cmp byte [0x1019e005], 0
push edi
mov edi, ecx
mov dword [ebp - 4], edi
je 0x100c8e76
cmp dword [0x1019e080], 0
je 0x100c8e76
cmp byte [section..data], 0
jne 0x100c8e76
mov ecx, dword [0x1035f9f0]
push ebx
push 0
call fcn.100a75f0
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
je 0x100c8e75
cmp dword [ebp + 8], 4
jne 0x100c8e75
mov eax, dword [0x103269b0]
call eax
cmp byte [0x1019e013], 0
mov ecx, dword [0x1019e080]
je 0x100c8211
call fcn.1005d760
mov dword [eax], 0x6221
jmp 0x100c821c
call fcn.1005d760
mov dword [eax], 0x6220
mov ecx, dword [0x1035fa44]
push esi
call fcn.100d2ab0
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 0x100c8c4d
mov ecx, dword [ebp + 8]
nop word [eax + eax]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100c8c36
cmp ebx, dword [0x1019e080]
jne 0x100c82d2
test byte [0x1032606c], 1
jne 0x100c828c
mov eax, dword [0x10326064]
or dword [0x1032606c], 1
mov dword [0x10326068], eax
mov eax, dword [0x10326068]
cmp dword [eax + ebx], 0
jne 0x100c8c36
test byte [0x10326074], 1
jne 0x100c82b5
mov eax, dword [0x10326060]
or dword [0x10326074], 1
mov dword [0x10326070], eax
mov eax, dword [0x10326070]
cmp dword [eax + ebx], 0
jle 0x100c8c36
push ebx
call fcn.100f8aa0
add esp, 4
jmp 0x100c8c33
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 0x28]
imul eax, eax, 0xe8e4
add edi, eax
mov dword [ebp - 8], edi
cmp dword [edi + 0x10], ebx
je 0x100c885e
lea ecx, [edi + 0xe8d0]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xe8c8], 0
mov dword [edi + 0xe8cc], 0
call fcn.1007a5f0
mov word [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov word [edi + 0x1a], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [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 + 0x44], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0xe8c4], 0
mov dword [edi + 0x7c], 0
mov word [edi + 0x80], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xe4], 0
add edi, 0xf0
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
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
push 0x60
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x140], 0
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 edi, dword [ebp - 8]
add edi, 0x34cc
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, 0x68a8
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
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
push 0x60
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], 0
push 0
push eax
movups xmmword [ebp - 0x13c], xmm0
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, 0x9c84
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 + 0xe860], 0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [ebp - 0x1b4]
add esp, 0x24
movups xmmword [esi + 0xe864], xmm0
movups xmm0, xmmword [ebp - 0x1a4]
movups xmmword [esi + 0xe874], xmm0
movups xmm0, xmmword [ebp - 0x194]
movups xmmword [esi + 0xe884], xmm0
movups xmm0, xmmword [ebp - 0x184]
movups xmmword [esi + 0xe894], xmm0
movups xmm0, xmmword [ebp - 0x174]
movups xmmword [esi + 0xe8a4], xmm0
movups xmm0, xmmword [ebp - 0x164]
movups xmmword [esi + 0xe8b4], xmm0
mov dword [esi + 0x10], ebx
jmp 0x100c8c2d
mov eax, dword [0x1032606c]
test al, 1
jne 0x100c887b
or eax, 1
mov dword [0x1032606c], eax
mov eax, dword [0x10326064]
mov dword [0x10326068], eax
jmp 0x100c8880
mov eax, dword [0x10326068]
cmp dword [eax + ebx], 0
jne 0x100c8b7c
mov eax, dword [0x10326074]
test al, 1
jne 0x100c88a7
or eax, 1
mov dword [0x10326074], eax
mov eax, dword [0x10326060]
mov dword [0x10326070], eax
jmp 0x100c88ac
mov eax, dword [0x10326070]
cmp dword [eax + ebx], 0
jle 0x100c8b7c
cmp byte [0x10317d2d], 0
je 0x100c8917
mov ecx, dword [0x10326278]
test cl, 1
jne 0x100c88e1
mov edx, dword [0x10326270]
or ecx, 1
mov dword [0x10326278], ecx
mov dword [0x10326274], edx
jmp 0x100c88e7
mov edx, dword [0x10326274]
mov eax, dword [0x1019e080]
mov eax, dword [edx + eax]
test cl, 1
jne 0x100c8909
mov edx, dword [0x10326270]
or ecx, 1
mov dword [0x10326278], ecx
mov dword [0x10326274], edx
cmp dword [edx + ebx], eax
je 0x100c8917
mov eax, dword [0x101b9820]
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 0x100c89e4
mov dword [edi], 0
mov ecx, dword [0x10325fec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100c895e
mov ecx, dword [0x1019e080]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [ebx + 8]
lea ecx, [ebx + 8]
mov esi, eax
call dword [edx + 0x28]
cmp eax, esi
jne 0x100c89a6
mov eax, dword [0x10326278]
mov edx, dword [0x10326270]
test al, 1
jne 0x100c897f
or eax, 1
mov ecx, edx
mov dword [0x10326278], eax
mov dword [0x10326274], ecx
jmp 0x100c8985
mov ecx, dword [0x10326274]
mov esi, dword [ecx + ebx]
test al, 1
jne 0x100c899c
or eax, 1
mov ecx, edx
mov dword [0x10326278], eax
mov dword [0x10326274], ecx
mov eax, dword [0x1019e080]
cmp esi, dword [ecx + eax]
je 0x100c89c0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 0x28]
imul ecx, eax, 0x34c
add ecx, 0x101ac1b8
call fcn.100c8ea0
lea ecx, [edi + 0xe8d0]
call fcn.1007a5f0
mov dword [edi + 0xe8c8], 0
mov dword [edi + 0xe8cc], 0
jmp 0x100c8c2d
mov eax, dword [0x103078cc]
mov eax, dword [eax + ebx]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 8]
lahf
test ah, 0x44
jp 0x100c8a5a
mov eax, dword [0x1036031c]
mov ecx, dword [0x10326704]
test al, 1
jne 0x100c8a1f
or eax, 1
mov dword [0x1036031c], eax
lea eax, [ecx + 4]
mov dword [0x10360318], eax
jmp 0x100c8a24
mov eax, dword [0x10360318]
movss xmm0, dword [eax + ebx]
mov eax, dword [0x10326794]
test al, 1
jne 0x100c8a4a
or eax, 1
mov dword [0x10326790], ecx
mov dword [0x10326794], eax
movss dword [ecx + ebx], xmm0
jmp 0x100c8c30
mov ecx, dword [0x10326790]
movss dword [ecx + ebx], xmm0
jmp 0x100c8c30
movss dword [edi + 8], xmm0
mov eax, dword [0x10326794]
mov edx, dword [0x10326704]
test al, 1
jne 0x100c8a80
or eax, 1
mov ecx, edx
mov dword [0x10326794], eax
mov dword [0x10326790], ecx
jmp 0x100c8a86
mov ecx, dword [0x10326790]
mov eax, dword [0x1036031c]
test al, 1
jne 0x100c8aa1
or eax, 1
mov dword [0x1036031c], eax
lea eax, [edx + 4]
mov dword [0x10360318], eax
jmp 0x100c8aa6
mov eax, dword [0x10360318]
movss xmm0, dword [eax + ebx]
comiss xmm0, dword [ecx + ebx]
jae 0x100c8c30
push ebx
call fcn.100f8aa0
mov eax, dword [0x103078c8]
add esp, 4
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x100c8c30
mov eax, dword [0x1035f8f4]
test al, 1
jne 0x100c8aee
or eax, 1
mov dword [0x1035f8f4], eax
mov eax, dword [0x10326d14]
add eax, 0xfffffffc
mov dword [0x1035f8f0], eax
jmp 0x100c8af3
mov eax, dword [0x1035f8f0]
movss xmm0, dword [edi + 4]
ucomiss xmm0, dword [eax + ebx]
lahf
test ah, 0x44
jnp 0x100c8b35
mov dword [ecx + 0x60], ebx
call fcn.1005ca70
mov eax, dword [0x1035f8f4]
test al, 1
jne 0x100c8b2a
or eax, 1
mov dword [0x1035f8f4], eax
mov eax, dword [0x10326d14]
add eax, 0xfffffffc
mov dword [0x1035f8f0], eax
jmp 0x100c8b2f
mov eax, dword [0x1035f8f0]
mov eax, dword [eax + ebx]
mov dword [edi + 4], eax
mov ecx, dword [0x1030c720]
lea eax, [ebp - 8]
push eax
push 0x100c9d90
call fcn.100c49f0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp esi, dword [ebp - 0x10]
je 0x100c8b64
mov dword [esi], eax
mov dword [esi + 4], edx
add esi, 8
mov dword [ebp - 0x20], esi
jmp 0x100c8c30
lea eax, [ebp - 0x18]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.1007d480
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x100c8c2d
mov ecx, dword [0x10325fec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100c8baa
mov ecx, dword [0x1019e080]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [ebx + 8]
lea ecx, [ebx + 8]
mov esi, eax
call dword [edx + 0x28]
cmp eax, esi
jne 0x100c8bf2
mov eax, dword [0x10326278]
mov edx, dword [0x10326270]
test al, 1
jne 0x100c8bcb
or eax, 1
mov ecx, edx
mov dword [0x10326278], eax
mov dword [0x10326274], ecx
jmp 0x100c8bd1
mov ecx, dword [0x10326274]
mov esi, dword [ecx + ebx]
test al, 1
jne 0x100c8be8
or eax, 1
mov ecx, edx
mov dword [0x10326278], eax
mov dword [0x10326274], ecx
mov eax, dword [0x1019e080]
cmp esi, dword [ecx + eax]
je 0x100c8c26
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 0x28]
imul ecx, eax, 0x34c
add ecx, 0x101ac1b8
call fcn.100c8ea0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov esi, dword [0x1035fa44]
call dword [eax + 0x28]
mov dword [esi + eax*4 + 0x1500], 0
mov dword [edi + 0x10], 0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
cmp ebx, ecx
jne 0x100c8260
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
mov ebx, ecx
cmp ebx, esi
je 0x100c8d22
nop word [eax + eax]
mov eax, dword [0x1030c720]
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 0x100c8e8b
cmp dword [edi + 0x2c], 0x7fffffff
je 0x100c8e7d
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 0x100c8d01
jb 0x100c8ce3
cmp dword [ebp - 0x30], ecx
jae 0x100c8d01
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ecx + 0x78]
call fcn.10075d40
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100c8d0d
push edi
push esi
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x100c8cc0
push edi
call sub.MSVCP140.dll__Mtx_unlock
add ebx, 8
add esp, 4
cmp ebx, dword [ebp - 0x20]
jne 0x100c8c60
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ebx
je 0x100c8e3b
mov esi, dword [edi]
test esi, esi
je 0x100c8e30
cmp esi, dword [0x1019e080]
je 0x100c8e30
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp - 4]
imul eax, eax, 0xe8e4
cmp dword [eax + ecx + 0x10], esi
jne 0x100c8e30
mov eax, dword [0x1032606c]
test al, 1
jne 0x100c8d81
or eax, 1
mov dword [0x1032606c], eax
mov eax, dword [0x10326064]
mov dword [0x10326068], eax
jmp 0x100c8d86
mov eax, dword [0x10326068]
cmp dword [eax + esi], 0
jne 0x100c8e30
mov eax, dword [0x10326074]
test al, 1
jne 0x100c8dad
or eax, 1
mov dword [0x10326074], eax
mov eax, dword [0x10326060]
mov dword [0x10326070], eax
jmp 0x100c8db2
mov eax, dword [0x10326070]
cmp dword [eax + esi], 0
jle 0x100c8e30
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c8e30
mov eax, dword [0x1036031c]
mov ecx, dword [0x10326704]
test al, 1
jne 0x100c8de9
or eax, 1
lea edx, [ecx + 4]
mov dword [0x1036031c], eax
mov dword [0x10360318], edx
jmp 0x100c8def
mov edx, dword [0x10360318]
mov eax, dword [0x10326794]
test al, 1
jne 0x100c8e08
or eax, 1
mov dword [0x10326790], ecx
mov dword [0x10326794], eax
jmp 0x100c8e0e
mov ecx, dword [0x10326790]
movss xmm0, dword [edx + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c8e30
cmp dword [esi + 0x28c0], 0xffffffff
je 0x100c8e30
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x1b0]
call eax
add edi, 0xc
cmp edi, ebx
jne 0x100c8d32
mov edx, dword [ebp - 8]
pop esi
test edx, edx
je 0x100c8e75
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100c8e6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c8e6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f64a
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