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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
cmp byte [0x1019e005], 0
push edi
mov edi, ecx
mov dword [ebp - 4], edi
je 0x100c6918
cmp dword [0x1019e080], 0
je 0x100c6918
cmp byte [section..data], 0
jne 0x100c6918
mov ecx, dword [0x102d3140]
push esi
push 0
call fcn.100a3360
mov esi, eax
mov dword [ebp - 0x28], esi
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
je 0x100c6917
cmp dword [ebp + 8], 4
jne 0x100c6917
mov eax, dword [0x102cf960]
push ebx
call eax
mov ecx, dword [0x1019e080]
call fcn.1005fae0
mov dword [eax], 0x6224
mov ecx, dword [0x102d3190]
call fcn.100d0840
mov esi, dword [esi + 4]
xor ecx, ecx
mov dword [ebp + 8], esi
xor eax, eax
mov esi, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp + 8]
je 0x100c66e0
mov ecx, dword [ebp + 8]
mov ebx, dword [esi]
test ebx, ebx
je 0x100c66c9
cmp ebx, dword [0x1019e080]
jne 0x100c5e23
test byte [0x102cf04c], 1
jne 0x100c5ddd
mov eax, dword [0x102cf044]
or dword [0x102cf04c], 1
mov dword [0x102cf048], eax
mov eax, dword [0x102cf048]
cmp dword [eax + ebx], 0
jne 0x100c66c9
test byte [0x102cf054], 1
jne 0x100c5e06
mov eax, dword [0x102cf040]
or dword [0x102cf054], 1
mov dword [0x102cf050], eax
mov eax, dword [0x102cf050]
cmp dword [eax + ebx], 0
jle 0x100c66c9
push ebx
call fcn.100f8660
add esp, 4
jmp 0x100c66c6
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 0x100c63b5
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 0x100c5e6c
mov dword [edi + 0x14], 0
lea ecx, [edi + 0xe8d8]
mov dword [edi + 0xe8d0], 0
mov dword [edi + 0xe8d4], 0
call fcn.10076b20
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 - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x134], xmm0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x114], xmm0
push 0x60
lea eax, [ebp - 0x100]
mov dword [ebp - 0x104], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x144]
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 - 0x144], 0
lea eax, [ebp - 0x100]
mov dword [ebp - 0x140], 0
push 0
push eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x114], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x144]
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 - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x114], xmm0
push 0x60
lea eax, [ebp - 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x144]
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 - 0x144], 0
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x100]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
push 0x60
push 0
push eax
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x114], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x1ac]
push 0x60
push 0
push eax
mov dword [esi + 0xe868], 0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [ebp - 0x1ac]
add esp, 0x24
movups xmmword [esi + 0xe86c], xmm0
movups xmm0, xmmword [ebp - 0x19c]
movups xmmword [esi + 0xe87c], xmm0
movups xmm0, xmmword [ebp - 0x18c]
movups xmmword [esi + 0xe88c], xmm0
movups xmm0, xmmword [ebp - 0x17c]
movups xmmword [esi + 0xe89c], xmm0
movups xmm0, xmmword [ebp - 0x16c]
movups xmmword [esi + 0xe8ac], xmm0
movups xmm0, xmmword [ebp - 0x15c]
movups xmmword [esi + 0xe8bc], xmm0
mov dword [esi + 0x14], ebx
mov esi, dword [ebp - 0xc]
jmp 0x100c66c3
mov eax, dword [0x102cf04c]
test al, 1
jne 0x100c63d2
or eax, 1
mov dword [0x102cf04c], eax
mov eax, dword [0x102cf044]
mov dword [0x102cf048], eax
jmp 0x100c63d7
mov eax, dword [0x102cf048]
cmp dword [eax + ebx], 0
jne 0x100c669a
mov eax, dword [0x102cf054]
test al, 1
jne 0x100c63fe
or eax, 1
mov dword [0x102cf054], eax
mov eax, dword [0x102cf040]
mov dword [0x102cf050], eax
jmp 0x100c6403
mov eax, dword [0x102cf050]
cmp dword [eax + ebx], 0
jle 0x100c669a
cmp byte [0x102c11a4], 0
je 0x100c646e
mov ecx, dword [0x102cf258]
test cl, 1
jne 0x100c6438
mov edx, dword [0x102cf250]
or ecx, 1
mov dword [0x102cf258], ecx
mov dword [0x102cf254], edx
jmp 0x100c643e
mov edx, dword [0x102cf254]
mov eax, dword [0x1019e080]
mov eax, dword [edx + eax]
test cl, 1
jne 0x100c6460
mov edx, dword [0x102cf250]
or ecx, 1
mov dword [0x102cf258], ecx
mov dword [0x102cf254], edx
cmp dword [edx + ebx], eax
je 0x100c646e
mov eax, dword [0x101ac480]
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 0x100c64a8
lea ecx, [edi + 0xe8d8]
mov dword [edi + 4], 0
call fcn.10076b20
mov dword [edi + 0xe8d0], 0
mov dword [edi + 0xe8d4], 0
jmp 0x100c66c3
mov eax, dword [0x102b0be8]
mov eax, dword [eax + ebx]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x100c651e
mov eax, dword [0x102d3ca4]
mov ecx, dword [0x102cf6b4]
test al, 1
jne 0x100c64e3
or eax, 1
mov dword [0x102d3ca4], eax
lea eax, [ecx + 4]
mov dword [0x102d3ca0], eax
jmp 0x100c64e8
mov eax, dword [0x102d3ca0]
movss xmm0, dword [eax + ebx]
mov eax, dword [0x102cf744]
test al, 1
jne 0x100c650e
or eax, 1
mov dword [0x102cf740], ecx
mov dword [0x102cf744], eax
movss dword [ecx + ebx], xmm0
jmp 0x100c66c3
mov ecx, dword [0x102cf740]
movss dword [ecx + ebx], xmm0
jmp 0x100c66c3
movss dword [edi + 0xc], xmm0
mov eax, dword [0x102cf744]
mov edx, dword [0x102cf6b4]
test al, 1
jne 0x100c6544
or eax, 1
mov ecx, edx
mov dword [0x102cf744], eax
mov dword [0x102cf740], ecx
jmp 0x100c654a
mov ecx, dword [0x102cf740]
mov eax, dword [0x102d3ca4]
test al, 1
jne 0x100c6565
or eax, 1
mov dword [0x102d3ca4], eax
lea eax, [edx + 4]
mov dword [0x102d3ca0], eax
jmp 0x100c656a
mov eax, dword [0x102d3ca0]
movss xmm0, dword [eax + ebx]
comiss xmm0, dword [ecx + ebx]
jae 0x100c66c3
push ebx
call fcn.100f8660
mov eax, dword [0x102b0be4]
add esp, 4
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x100c66c3
mov eax, dword [0x102d3044]
test al, 1
jne 0x100c65b2
or eax, 1
mov dword [0x102d3044], eax
mov eax, dword [0x102cfcc4]
add eax, 0xfffffffc
mov dword [0x102d3040], eax
jmp 0x100c65b7
mov eax, dword [0x102d3040]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + ebx]
lahf
test ah, 0x44
jnp 0x100c65f9
mov dword [ecx + 0x60], ebx
call fcn.1005ee20
mov eax, dword [0x102d3044]
test al, 1
jne 0x100c65ee
or eax, 1
mov dword [0x102d3044], eax
mov eax, dword [0x102cfcc4]
add eax, 0xfffffffc
mov dword [0x102d3040], eax
jmp 0x100c65f3
mov eax, dword [0x102d3040]
mov eax, dword [eax + ebx]
mov dword [edi + 8], eax
mov edx, dword [0x1019e080]
test edx, edx
je 0x100c664c
mov eax, dword [0x102cf258]
test al, 1
jne 0x100c6622
mov ecx, dword [0x102cf250]
or eax, 1
mov dword [0x102cf258], eax
mov dword [0x102cf254], ecx
jmp 0x100c6628
mov ecx, dword [0x102cf254]
mov edx, dword [ecx + edx]
test al, 1
jne 0x100c6643
mov ecx, dword [0x102cf250]
or eax, 1
mov dword [0x102cf258], eax
mov dword [0x102cf254], ecx
cmp edx, dword [ecx + ebx]
jne 0x100c664c
mov al, 1
jmp 0x100c664e
xor al, al
mov byte [edi], al
lea eax, [ebp - 8]
mov ecx, dword [0x102b70d8]
push eax
push 0x100c76b0
call fcn.100c2560
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp ebx, dword [ebp - 0x1c]
je 0x100c6685
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
add ebx, 8
mov dword [ebp - 0x14], ebx
jmp 0x100c66cc
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.10079a30
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x100c66c3
cmp byte [edi], 0
jne 0x100c66bc
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov esi, dword [0x102d3190]
call dword [eax + 0x28]
mov dword [esi + eax*4 + 0x13fc], 0
mov esi, dword [ebp - 0xc]
mov dword [edi + 0x14], 0
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
add esi, 0xc
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x100c5db1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov eax, ecx
mov dword [ebp - 0xc], ecx
cmp eax, ebx
je 0x100c67bb
mov esi, dword [ebp - 0x34]
mov edi, dword [0x102b70d8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
lea eax, [edi + 0xc0]
mov dword [ebp - 0x3c], ecx
push eax
mov dword [ebp + 8], eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100c692d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0x7fffffff
je 0x100c691f
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x98]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], eax
nop dword [eax]
movq xmm0, qword [edi + 0x120]
movq qword [ebp - 0x24], xmm0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
nop
cmp dword [ebp - 0x2c], eax
ja 0x100c678e
jb 0x100c6770
cmp dword [ebp - 0x30], ecx
jae 0x100c678e
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ecx + 0x78]
call fcn.10072390
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100c679d
push ebx
push esi
call sub.MSVCP140.dll__Cnd_wait
mov edi, dword [ebp - 0x38]
add esp, 8
jmp 0x100c6750
push ebx
call sub.MSVCP140.dll__Mtx_unlock
mov eax, dword [ebp - 0xc]
add esp, 4
mov esi, dword [ebp - 0x34]
add eax, 8
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x14]
jne 0x100c66f0
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ebx
je 0x100c68dd
nop dword [eax + eax]
mov esi, dword [edi]
test esi, esi
je 0x100c68d2
cmp esi, dword [0x1019e080]
je 0x100c68d2
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 0x100c68d2
mov eax, dword [0x102cf04c]
test al, 1
jne 0x100c681f
or eax, 1
mov dword [0x102cf04c], eax
mov eax, dword [0x102cf044]
mov dword [0x102cf048], eax
jmp 0x100c6824
mov eax, dword [0x102cf048]
cmp dword [eax + esi], 0
jne 0x100c68d2
mov eax, dword [0x102cf054]
test al, 1
jne 0x100c684b
or eax, 1
mov dword [0x102cf054], eax
mov eax, dword [0x102cf040]
mov dword [0x102cf050], eax
jmp 0x100c6850
mov eax, dword [0x102cf050]
cmp dword [eax + esi], 0
jle 0x100c68d2
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c68d2
mov eax, dword [0x102d3ca4]
mov ecx, dword [0x102cf6b4]
test al, 1
jne 0x100c688b
or eax, 1
lea edx, [ecx + 4]
mov dword [0x102d3ca4], eax
mov dword [0x102d3ca0], edx
jmp 0x100c6891
mov edx, dword [0x102d3ca0]
mov eax, dword [0x102cf744]
test al, 1
jne 0x100c68aa
or eax, 1
mov dword [0x102cf740], ecx
mov dword [0x102cf744], eax
jmp 0x100c68b0
mov ecx, dword [0x102cf740]
movss xmm0, dword [edx + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c68d2
cmp dword [esi + 0x28c0], 0xffffffff
je 0x100c68d2
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x1b0]
call eax
add edi, 0xc
cmp edi, ebx
jne 0x100c67d0
mov edx, dword [ebp - 8]
pop ebx
test edx, edx
je 0x100c6917
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100c690d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c690d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010f4da
add esp, 8
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [eax + 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