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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
cmp byte [0x101cf006], 0
mov dword [ebp - 0x24], ecx
je 0x100c668c
cmp dword [0x101cf098], 0
je 0x100c668c
cmp byte [section..data], 0
jne 0x100c668c
mov ecx, dword [0x102a3950]
push 0
call fcn.100a2030
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x100c668c
cmp dword [ebp + 8], 4
jne 0x100c668c
mov ecx, dword [0x102a0104]
push ebx
push esi
push edi
call ecx
xor esi, esi
mov eax, 0x903aa0a3
lea edi, [esi + 0x20]
nop dword [eax]
mov ecx, esi
mov edx, 1
shl edx, cl
mov ecx, edx
and edx, 0x903aa06f
and ecx, eax
cmp ecx, edx
jne 0x100c5b1c
btr eax, esi
jmp 0x100c5b1f
bts eax, esi
inc esi
sub edi, 1
jne 0x100c5b00
push eax
push dword [0x101cf098]
call fcn.100f7980
mov ecx, dword [0x102a39a0]
add esp, 8
call fcn.100d0290
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov esi, dword [eax + 4]
mov dword [ebp + 8], esi
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp + 8]
je 0x100c646f
mov ebx, dword [ebp + 8]
nop dword [eax]
mov esi, dword [esi]
mov dword [ebp - 4], esi
test esi, esi
je 0x100c6458
cmp esi, dword [0x101cf098]
jne 0x100c5be5
test byte [0x1029bcec], 1
jne 0x100c5b9f
mov eax, dword [0x1029bce4]
or dword [0x1029bcec], 1
mov dword [0x1029bce8], eax
mov eax, dword [0x1029bce8]
cmp dword [eax + esi], 0
jne 0x100c6458
test byte [0x1029bcf4], 1
jne 0x100c5bc8
mov eax, dword [0x1029bce0]
or dword [0x1029bcf4], 1
mov dword [0x1029bcf0], eax
mov eax, dword [0x1029bcf0]
cmp dword [eax + esi], 0
jle 0x100c6458
push esi
call fcn.100f7b50
add esp, 4
jmp 0x100c6458
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [ebp - 0x10], ecx
call dword [eax + 0x28]
imul ebx, eax, 0x118f4
add ebx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
cmp dword [ebx + 0x14], esi
je 0x100c614f
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 0x100c5c32
mov dword [ebx + 0x14], 0
lea ecx, [ebx + 0x118e0]
mov dword [ebx + 0x118d8], 0
mov dword [ebx + 0x118dc], 0
call fcn.100789e0
push 0x2d8
lea edi, [ebx + 0x100]
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 + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x118d4], 0
mov dword [ebx + 0x80], 0
mov word [ebx + 0x84], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0xf4], 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 - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
movups xmmword [ebp - 0x148], xmm0
push 0xc0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0
push 0
push eax
movups xmmword [ebp - 0x138], xmm0
movups xmmword [ebp - 0x128], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x158]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
lea edi, [ebx + 0x34dc]
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
push 0xc0
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x154], 0
push 0
push eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x138], xmm0
movups xmmword [ebp - 0x128], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x41
lea esi, [ebp - 0x158]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
lea edi, [ebx + 0x68b8]
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
push 0xc0
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x154], 0
push 0
push eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x138], xmm0
movups xmmword [ebp - 0x128], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
lea esi, [ebp - 0x158]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x9c94]
push 0x2d8
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
push 0xc0
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x154], 0
push 0
push eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x138], xmm0
movups xmmword [ebp - 0x128], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x60
lea eax, [ebp - 0x1b8]
mov ecx, 0x41
lea esi, [ebp - 0x158]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebx + 0xe870], 0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [ebp - 0x1b8]
mov eax, dword [ebp - 4]
add esp, 0x3c
mov edi, dword [ebp - 0x18]
movups xmmword [ebx + 0x11874], xmm0
movups xmm0, xmmword [ebp - 0x1a8]
movups xmmword [ebx + 0x11884], xmm0
movups xmm0, xmmword [ebp - 0x198]
movups xmmword [ebx + 0x11894], xmm0
movups xmm0, xmmword [ebp - 0x188]
movups xmmword [ebx + 0x118a4], xmm0
movups xmm0, xmmword [ebp - 0x178]
movups xmmword [ebx + 0x118b4], xmm0
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [ebx + 0x118c4], xmm0
mov dword [ebx + 0x14], eax
jmp 0x100c6455
mov eax, dword [0x1029bcec]
test al, 1
jne 0x100c616c
or eax, 1
mov dword [0x1029bcec], eax
mov eax, dword [0x1029bce4]
mov dword [0x1029bce8], eax
jmp 0x100c6171
mov eax, dword [0x1029bce8]
cmp dword [eax + esi], 0
jne 0x100c6430
mov eax, dword [0x1029bcf4]
test al, 1
jne 0x100c6198
or eax, 1
mov dword [0x1029bcf4], eax
mov eax, dword [0x1029bce0]
mov dword [0x1029bcf0], eax
jmp 0x100c619d
mov eax, dword [0x1029bcf0]
cmp dword [eax + esi], 0
jle 0x100c6430
cmp byte [0x1028ea3c], 0
je 0x100c620a
mov eax, dword [0x1029e1f8]
mov edx, dword [0x1029e1f0]
test al, 1
jne 0x100c61d1
or eax, 1
mov ecx, edx
mov dword [0x1029e1f8], eax
mov dword [0x1029e1f4], ecx
jmp 0x100c61d7
mov ecx, dword [0x1029e1f4]
mov edi, dword [ecx + esi]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x18]
test al, 1
jne 0x100c61f4
or eax, 1
mov ecx, edx
mov dword [0x1029e1f8], eax
mov dword [0x1029e1f4], ecx
mov eax, dword [0x101cf098]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + eax]
je 0x100c620a
mov eax, dword [0x101cfff0]
mov byte [eax + esi], 1
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x100c6244
lea ecx, [ebx + 0x118e0]
mov dword [ebx + 4], 0
call fcn.100789e0
mov dword [ebx + 0x118d8], 0
mov dword [ebx + 0x118dc], 0
jmp 0x100c6455
mov eax, dword [0x101d01fc]
mov eax, dword [eax + esi]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [ebx + 0xc]
lahf
test ah, 0x44
jp 0x100c62ba
mov eax, dword [0x102a4f3c]
mov ecx, dword [0x1029e658]
test al, 1
jne 0x100c627f
or eax, 1
mov dword [0x102a4f3c], eax
lea eax, [ecx + 4]
mov dword [0x102a4f38], eax
jmp 0x100c6284
mov eax, dword [0x102a4f38]
movss xmm0, dword [eax + esi]
mov eax, dword [0x1029e6ec]
test al, 1
jne 0x100c62aa
or eax, 1
mov dword [0x1029e6e8], ecx
mov dword [0x1029e6ec], eax
movss dword [ecx + esi], xmm0
jmp 0x100c6455
mov ecx, dword [0x1029e6e8]
movss dword [ecx + esi], xmm0
jmp 0x100c6455
movss dword [ebx + 0xc], xmm0
mov eax, dword [0x1029e6ec]
mov edx, dword [0x1029e658]
test al, 1
jne 0x100c62e0
or eax, 1
mov ecx, edx
mov dword [0x1029e6ec], eax
mov dword [0x1029e6e8], ecx
jmp 0x100c62e6
mov ecx, dword [0x1029e6e8]
mov eax, dword [0x102a4f3c]
test al, 1
jne 0x100c6301
or eax, 1
mov dword [0x102a4f3c], eax
lea eax, [edx + 4]
mov dword [0x102a4f38], eax
jmp 0x100c6306
mov eax, dword [0x102a4f38]
movss xmm0, dword [eax + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c6455
push esi
call fcn.100f7b50
mov eax, dword [0x1027efa4]
add esp, 4
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x100c6455
mov eax, dword [0x102a3844]
test al, 1
jne 0x100c634e
or eax, 1
mov dword [0x102a3844], eax
mov eax, dword [0x102a045c]
add eax, 0xfffffffc
mov dword [0x102a3840], eax
jmp 0x100c6353
mov eax, dword [0x102a3840]
movss xmm0, dword [ebx + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100c6395
mov dword [ecx + 0x60], esi
call fcn.1005fac0
mov eax, dword [0x102a3844]
test al, 1
jne 0x100c638a
or eax, 1
mov dword [0x102a3844], eax
mov eax, dword [0x102a045c]
add eax, 0xfffffffc
mov dword [0x102a3840], eax
jmp 0x100c638f
mov eax, dword [0x102a3840]
mov eax, dword [eax + esi]
mov dword [ebx + 8], eax
mov edx, dword [0x101cf098]
test edx, edx
je 0x100c63e8
mov eax, dword [0x1029e1f8]
test al, 1
jne 0x100c63be
mov ecx, dword [0x1029e1f0]
or eax, 1
mov dword [0x1029e1f8], eax
mov dword [0x1029e1f4], ecx
jmp 0x100c63c4
mov ecx, dword [0x1029e1f4]
mov edx, dword [ecx + edx]
test al, 1
jne 0x100c63df
mov ecx, dword [0x1029e1f0]
or eax, 1
mov dword [0x1029e1f8], eax
mov dword [0x1029e1f4], ecx
cmp edx, dword [ecx + esi]
jne 0x100c63e8
mov al, 1
jmp 0x100c63ea
xor al, al
mov byte [ebx], al
lea eax, [ebp - 0xc]
mov ecx, dword [0x102853d8]
push eax
push 0x100c74c0
call fcn.100c2350
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
cmp edi, dword [ebp - 8]
je 0x100c6418
mov dword [edi], eax
mov dword [edi + 4], edx
add edi, 8
mov dword [ebp - 0x18], edi
jmp 0x100c6455
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.100c2180
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], eax
jmp 0x100c6455
cmp byte [ebx], 0
jne 0x100c644e
mov ecx, dword [ebp - 0x10]
mov esi, dword [0x102a39a0]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [esi + eax*4 + 0x13fc], 0
mov dword [ebx + 0x14], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x30]
add esi, 0xc
mov dword [ebp - 0x30], esi
cmp esi, ebx
jne 0x100c5b70
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
cmp ebx, edi
je 0x100c652f
nop word [eax + eax]
mov eax, dword [0x102853d8]
mov ecx, dword [ebx]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 4]
lea esi, [eax + 0xc0]
mov dword [ebp + 8], eax
push esi
mov dword [ebp - 0xc], ecx
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x100c6692
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
lea eax, [ecx + 0x98]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x44]
movq xmm0, qword [eax + 0x120]
movq qword [ebp - 0x2c], xmm0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
nop
cmp dword [ebp - 0x38], eax
ja 0x100c650e
jb 0x100c64f3
cmp dword [ebp - 0x3c], ecx
jae 0x100c650e
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ecx + 0x78]
call fcn.100743a0
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x100c651a
push esi
push edi
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x100c64d0
push esi
call sub.MSVCP140.dll__Mtx_unlock
add ebx, 8
add esp, 4
cmp ebx, dword [ebp - 0x18]
jne 0x100c6480
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
mov dword [ebp + 8], esi
cmp ebx, esi
je 0x100c6650
mov eax, esi
mov esi, dword [ebx]
test esi, esi
je 0x100c6645
cmp esi, dword [0x101cf098]
je 0x100c6645
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x24]
imul eax, eax, 0x118f4
cmp dword [eax + ecx + 0x14], esi
jne 0x100c6642
mov eax, dword [0x1029bcec]
test al, 1
jne 0x100c6593
or eax, 1
mov dword [0x1029bcec], eax
mov eax, dword [0x1029bce4]
mov dword [0x1029bce8], eax
jmp 0x100c6598
mov eax, dword [0x1029bce8]
cmp dword [eax + esi], 0
jne 0x100c6642
mov eax, dword [0x1029bcf4]
test al, 1
jne 0x100c65bf
or eax, 1
mov dword [0x1029bcf4], eax
mov eax, dword [0x1029bce0]
mov dword [0x1029bcf0], eax
jmp 0x100c65c4
mov eax, dword [0x1029bcf0]
cmp dword [eax + esi], 0
jle 0x100c6642
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100c6642
mov eax, dword [0x1029e6ec]
mov edx, dword [0x1029e658]
test al, 1
jne 0x100c65fa
or eax, 1
mov ecx, edx
mov dword [0x1029e6ec], eax
mov dword [0x1029e6e8], ecx
jmp 0x100c6600
mov ecx, dword [0x1029e6e8]
mov eax, dword [0x102a4f3c]
test al, 1
jne 0x100c661b
or eax, 1
mov dword [0x102a4f3c], eax
lea eax, [edx + 4]
mov dword [0x102a4f38], eax
jmp 0x100c6620
mov eax, dword [0x102a4f38]
movss xmm0, dword [eax + esi]
comiss xmm0, dword [ecx + esi]
jae 0x100c6642
cmp dword [esi + 0x28c0], 0xffffffff
je 0x100c6642
mov eax, dword [esi]
mov ecx, esi
push 1
mov eax, dword [eax + 0x1b0]
call eax
mov eax, dword [ebp + 8]
add ebx, 0xc
cmp ebx, eax
jne 0x100c6544
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
test edx, edx
je 0x100c668c
mov ecx, dword [ebp - 8]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100c6682
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c6682
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10138f1a
add esp, 8
mov esp, ebp
pop ebp
ret 4
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3