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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
cmp byte [0x1019b005], 0
push edi
mov edi, ecx
mov dword [ebp - 4], edi
je 0x100c56c8
cmp dword [0x1019b080], 0
je 0x100c56c8
cmp byte [section..data], 0
jne 0x100c56c8
mov ecx, dword [0x1026bc60]
push esi
push 0
call fcn.100a20c0
mov esi, eax
mov dword [ebp - 0x28], esi
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
je 0x100c56c7
cmp dword [ebp + 8], 4
jne 0x100c56c7
mov eax, dword [0x10268494]
push ebx
call eax
mov ecx, dword [0x1019b080]
call fcn.1005f620
mov dword [eax], 0x6221
mov ecx, dword [0x1026bcb0]
call fcn.100cf3e0
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 0x100c5490
mov ecx, dword [ebp + 8]
mov ebx, dword [esi]
test ebx, ebx
je 0x100c5479
cmp ebx, dword [0x1019b080]
jne 0x100c4bd3
test byte [0x10267b8c], 1
jne 0x100c4b8d
mov eax, dword [0x10267b84]
or dword [0x10267b8c], 1
mov dword [0x10267b88], eax
mov eax, dword [0x10267b88]
cmp dword [eax + ebx], 0
jne 0x100c5479
test byte [0x10267b94], 1
jne 0x100c4bb6
mov eax, dword [0x10267b80]
or dword [0x10267b94], 1
mov dword [0x10267b90], eax
mov eax, dword [0x10267b90]
cmp dword [eax + ebx], 0
jle 0x100c5479
push ebx
call fcn.100f7180
add esp, 4
jmp 0x100c5476
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 0x100c5165
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 0x100c4c1c
mov dword [edi + 0x14], 0
lea ecx, [edi + 0xe8d8]
mov dword [edi + 0xe8d0], 0
mov dword [edi + 0xe8d4], 0
call fcn.10077550
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 0x100c5473
mov eax, dword [0x10267b8c]
test al, 1
jne 0x100c5182
or eax, 1
mov dword [0x10267b8c], eax
mov eax, dword [0x10267b84]
mov dword [0x10267b88], eax
jmp 0x100c5187
mov eax, dword [0x10267b88]
cmp dword [eax + ebx], 0
jne 0x100c544a
mov eax, dword [0x10267b94]
test al, 1
jne 0x100c51ae
or eax, 1
mov dword [0x10267b94], eax
mov eax, dword [0x10267b80]
mov dword [0x10267b90], eax
jmp 0x100c51b3
mov eax, dword [0x10267b90]
cmp dword [eax + ebx], 0
jle 0x100c544a
cmp byte [0x1025a020], 0
je 0x100c521e
mov ecx, dword [0x10267d98]
test cl, 1
jne 0x100c51e8
mov edx, dword [0x10267d90]
or ecx, 1
mov dword [0x10267d98], ecx
mov dword [0x10267d94], edx
jmp 0x100c51ee
mov edx, dword [0x10267d94]
mov eax, dword [0x1019b080]
mov eax, dword [edx + eax]
test cl, 1
jne 0x100c5210
mov edx, dword [0x10267d90]
or ecx, 1
mov dword [0x10267d98], ecx
mov dword [0x10267d94], edx
cmp dword [edx + ebx], eax
je 0x100c521e
mov eax, dword [0x1019d9a0]
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 0x100c5258
lea ecx, [edi + 0xe8d8]
mov dword [edi + 4], 0
call fcn.10077550
mov dword [edi + 0xe8d0], 0
mov dword [edi + 0xe8d4], 0
jmp 0x100c5473
mov eax, dword [0x1024a388]
mov eax, dword [eax + ebx]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0xc]
lahf
test ah, 0x44
jp 0x100c52ce
mov eax, dword [0x1026c7a4]
mov ecx, dword [0x102681e4]
test al, 1
jne 0x100c5293
or eax, 1
mov dword [0x1026c7a4], eax
lea eax, [ecx + 4]
mov dword [0x1026c7a0], eax
jmp 0x100c5298
mov eax, dword [0x1026c7a0]
movss xmm0, dword [eax + ebx]
mov eax, dword [0x10268274]
test al, 1
jne 0x100c52be
or eax, 1
mov dword [0x10268270], ecx
mov dword [0x10268274], eax
movss dword [ecx + ebx], xmm0
jmp 0x100c5473
mov ecx, dword [0x10268270]
movss dword [ecx + ebx], xmm0
jmp 0x100c5473
movss dword [edi + 0xc], xmm0
mov eax, dword [0x10268274]
mov edx, dword [0x102681e4]
test al, 1
jne 0x100c52f4
or eax, 1
mov ecx, edx
mov dword [0x10268274], eax
mov dword [0x10268270], ecx
jmp 0x100c52fa
mov ecx, dword [0x10268270]
mov eax, dword [0x1026c7a4]
test al, 1
jne 0x100c5315
or eax, 1
mov dword [0x1026c7a4], eax
lea eax, [edx + 4]
mov dword [0x1026c7a0], eax
jmp 0x100c531a
mov eax, dword [0x1026c7a0]
movss xmm0, dword [eax + ebx]
comiss xmm0, dword [ecx + ebx]
jae 0x100c5473
push ebx
call fcn.100f7180
mov eax, dword [0x1024a384]
add esp, 4
mov ecx, dword [eax + ebx]
test ecx, ecx
je 0x100c5473
mov eax, dword [0x1026bb64]
test al, 1
jne 0x100c5362
or eax, 1
mov dword [0x1026bb64], eax
mov eax, dword [0x102687f4]
add eax, 0xfffffffc
mov dword [0x1026bb60], eax
jmp 0x100c5367
mov eax, dword [0x1026bb60]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + ebx]
lahf
test ah, 0x44
jnp 0x100c53a9
mov dword [ecx + 0x60], ebx
call fcn.1005e960
mov eax, dword [0x1026bb64]
test al, 1
jne 0x100c539e
or eax, 1
mov dword [0x1026bb64], eax
mov eax, dword [0x102687f4]
add eax, 0xfffffffc
mov dword [0x1026bb60], eax
jmp 0x100c53a3
mov eax, dword [0x1026bb60]
mov eax, dword [eax + ebx]
mov dword [edi + 8], eax
mov edx, dword [0x1019b080]
test edx, edx
je 0x100c53fc
mov eax, dword [0x10267d98]
test al, 1
jne 0x100c53d2
mov ecx, dword [0x10267d90]
or eax, 1
mov dword [0x10267d98], eax
mov dword [0x10267d94], ecx
jmp 0x100c53d8
mov ecx, dword [0x10267d94]
mov edx, dword [ecx + edx]
test al, 1
jne 0x100c53f3
mov ecx, dword [0x10267d90]
or eax, 1
mov dword [0x10267d98], eax
mov dword [0x10267d94], ecx
cmp edx, dword [ecx + ebx]
jne 0x100c53fc
mov al, 1
jmp 0x100c53fe
xor al, al
mov byte [edi], al
lea eax, [ebp - 8]
mov ecx, dword [0x102507c0]
push eax
push 0x100c64f0
call fcn.100c12f0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp ebx, dword [ebp - 0x1c]
je 0x100c5435
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 0x100c547c
lea eax, [ebp - 0x24]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.1007a220
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x100c5473
cmp byte [edi], 0
jne 0x100c546c
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov esi, dword [0x1026bcb0]
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 0x100c4b61
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov eax, ecx
mov dword [ebp - 0xc], ecx
cmp eax, ebx
je 0x100c556b
mov esi, dword [ebp - 0x34]
mov edi, dword [0x102507c0]
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 0x100c56dd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0x7fffffff
je 0x100c56cf
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 0x100c553e
jb 0x100c5520
cmp dword [ebp - 0x30], ecx
jae 0x100c553e
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ecx + 0x78]
call fcn.10072e40
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100c554d
push ebx
push esi
call sub.MSVCP140.dll__Cnd_wait
mov edi, dword [ebp - 0x38]
add esp, 8
jmp 0x100c5500
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 0x100c54a0
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ebx
je 0x100c568d
nop dword [eax + eax]
mov esi, dword [edi]
test esi, esi
je 0x100c5682
cmp esi, dword [0x1019b080]
je 0x100c5682
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 0x100c5682
mov eax, dword [0x10267b8c]
test al, 1
jne 0x100c55cf
or eax, 1
mov dword [0x10267b8c], eax
mov eax, dword [0x10267b84]
mov dword [0x10267b88], eax
jmp 0x100c55d4
mov eax, dword [0x10267b88]
cmp dword [eax + esi], 0
jne 0x100c5682
mov eax, dword [0x10267b94]
test al, 1
jne 0x100c55fb
or eax, 1
mov dword [0x10267b94], eax
mov eax, dword [0x10267b80]
mov dword [0x10267b90], eax
jmp 0x100c5600
mov eax, dword [0x10267b90]
cmp dword [eax + esi], 0
jle 0x100c5682
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c5682
mov eax, dword [0x1026c7a4]
mov ecx, dword [0x102681e4]
test al, 1
jne 0x100c563b
or eax, 1
lea edx, [ecx + 4]
mov dword [0x1026c7a4], eax
mov dword [0x1026c7a0], edx
jmp 0x100c5641
mov edx, dword [0x1026c7a0]
mov eax, dword [0x10268274]
test al, 1
jne 0x100c565a
or eax, 1
mov dword [0x10268270], ecx
mov dword [0x10268274], eax
jmp 0x100c5660
mov ecx, dword [0x10268270]
movss xmm0, dword [edx + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c5682
cmp dword [esi + 0x28c0], 0xffffffff
je 0x100c5682
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x1b0]
call eax
add edi, 0xc
cmp edi, ebx
jne 0x100c5580
mov edx, dword [ebp - 8]
pop ebx
test edx, edx
je 0x100c56c7
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100c56bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c56bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010be7a
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