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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push esi
xor esi, esi
mov dword [esp + 0x18], ecx
cmp byte [0x101cb8a8], 0
push edi
mov dword [esp + 0x14], esi
je 0x100a0ab7
cmp dword [0x101cba58], esi
je 0x100a0ab7
cmp byte [0x101cb8a0], 0
jne 0x100a0ab7
push 0x101d5ca8
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100a0074
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [0x101cb8a8], 0
je 0x100a0aa9
cmp dword [0x101cba58], esi
je 0x100a0aa9
cmp byte [0x101cb8a0], 0
jne 0x100a0aa9
mov edi, dword [0x101d3868]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
cmp ecx, eax
je 0x100a0aa9
mov eax, dword [ebp + 8]
sub eax, 3
je 0x100a0342
sub eax, 2
jne 0x100a0aa9
mov eax, dword [esp + 0x10]
nop
mov edi, dword [ecx]
test edi, edi
je 0x100a032e
mov eax, dword [0x101cc0d8]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [0x101d39c4]
mov dword [esp + 0x18], edx
cmp eax, dword [edx + 4]
jle 0x100a012f
push 0x101d39c4
call fcn.100d2315
add esp, 4
cmp dword [0x101d39c4], 0xffffffff
jne 0x100a0127
mov eax, dword [0x101d39cc]
push 0x101d39c4
mov dword [0x101d39c8], eax
call fcn.100d22cb
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d39c8]
cmp dword [eax + edi], 0
jne 0x100a032a
mov eax, dword [0x101d39d4]
cmp eax, dword [edx + 4]
jle 0x100a0178
push 0x101d39d4
call fcn.100d2315
add esp, 4
cmp dword [0x101d39d4], 0xffffffff
jne 0x100a0178
mov eax, dword [0x101d39d0]
push 0x101d39d4
mov dword [0x101d39c0], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d39c0]
cmp dword [eax + edi], 0
jle 0x100a0326
cmp edi, dword [0x101cba58]
je 0x100a0326
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x3508
add eax, dword [esp + 0x1c]
je 0x100a0314
cmp dword [eax + 0x3504], 0
je 0x100a0314
cmp dword [eax + 4], 1
jl 0x100a0314
mov ecx, dword [eax + 0x34fc]
dec ecx
and ecx, dword [eax + 0x3500]
mov eax, dword [eax + 0x34f8]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
test eax, eax
je 0x100a0326
lea ecx, [eax + 0x19c]
test ecx, ecx
je 0x100a0326
push 0x1800
add eax, 0x1c74
push ecx
push eax
mov dword [esp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x2c]
lea ecx, [edi + 4]
add esp, 0xc
movq xmm0, qword [eax + 0x50]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [ecx]
movq qword [esp + 0x38], xmm0
mov eax, dword [eax + 4]
call eax
mov ecx, 0x80
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
movss xmm3, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
subss xmm3, dword [esp + 0x40]
movq qword [esp + 0x2c], xmm0
add eax, 0x1c
movss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x30]
subss xmm1, dword [esp + 0x38]
subss xmm2, dword [esp + 0x3c]
nop
movaps xmm0, xmm1
addss xmm0, dword [eax - 0x10]
movss dword [eax - 0x10], xmm0
movaps xmm0, xmm2
addss xmm0, dword [eax]
movss dword [eax], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x100a0270
mov ecx, edi
call fcn.10056620
mov eax, dword [edi + 0x290c]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push dword [esp + 0x1c]
push dword [edi + 0x2900]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x101cc824]
add esp, 0xc
test eax, eax
je 0x100a02d4
or esi, 1
add eax, 2
jmp 0x100a02d9
or esi, 2
xor eax, eax
mov eax, dword [eax]
mov ecx, esi
mov dword [esp + 0x14], esi
and esi, 0xfffffffd
and cl, 2
cmove esi, dword [esp + 0x14]
mov eax, dword [eax + edi + 4]
mov ecx, esi
and ecx, 0xfffffffe
mov edx, esi
and dl, 1
cmove ecx, esi
mov dword [esp + 0x14], ecx
test eax, eax
je 0x100a030e
push eax
mov ecx, edi
call dword [0x101cc2c0]
mov esi, dword [esp + 0x14]
jmp 0x100a0326
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov byte [eax + 0x101cb9a4], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add ecx, 0xc
mov dword [esp + 0xc], ecx
cmp ecx, eax
jne 0x100a00d0
jmp 0x100a0aa9
mov ecx, dword [0x101d38a4]
call fcn.100a7170
mov esi, dword [edi + 8]
mov dword [esp + 0x10], esi
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], esi
cmp esi, eax
je 0x100a0a87
nop word [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x100a0a74
cmp esi, dword [0x101cba58]
je 0x100a0a74
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x28]
call eax
imul edi, eax, 0x3508
add edi, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
cmp dword [edi + 0x14], esi
je 0x100a0550
lea ecx, [edi + 0x34f4]
mov byte [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 + 0x14], 0
mov dword [edi + 0x34ec], 0
mov dword [edi + 0x34f0], 0
call fcn.10068570
push 0x32d8
lea eax, [edi + 0x1b4]
mov word [edi + 0x18], 0
push 0
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [edi + 0x1a], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 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 + 0x64], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xa4], 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
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x14], esi
jmp 0x100a0a70
mov eax, dword [0x101cc0d8]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101d39c4]
mov dword [esp + 0xc], ecx
cmp eax, dword [ecx + 4]
jle 0x100a05a1
push 0x101d39c4
call fcn.100d2315
add esp, 4
cmp dword [0x101d39c4], 0xffffffff
jne 0x100a059d
mov eax, dword [0x101d39cc]
push 0x101d39c4
mov dword [0x101d39c8], eax
call fcn.100d22cb
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d39c8]
cmp dword [eax + esi], 0
jne 0x100a099d
mov eax, dword [0x101d39d4]
cmp eax, dword [ecx + 4]
jle 0x100a05ee
push 0x101d39d4
call fcn.100d2315
add esp, 4
cmp dword [0x101d39d4], 0xffffffff
jne 0x100a05ea
mov eax, dword [0x101d39d0]
push 0x101d39d4
mov dword [0x101d39c0], eax
call fcn.100d22cb
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d39c0]
cmp dword [eax + esi], 0
jle 0x100a099d
cmp byte [0x101d0bb8], 0
je 0x100a06f4
mov edx, dword [0x101d3a84]
cmp edx, dword [ecx + 4]
jle 0x100a0651
push 0x101d3a84
call fcn.100d2315
mov edx, dword [0x101d3a84]
add esp, 4
cmp edx, 0xffffffff
jne 0x100a064d
mov eax, dword [0x101d3a74]
push 0x101d3a84
mov dword [0x101d3a60], eax
call fcn.100d22cb
mov edx, dword [0x101d3a84]
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d3a60]
mov eax, dword [eax + esi]
mov dword [esp + 0x18], eax
mov eax, dword [0x101cba58]
mov dword [esp + 0x24], eax
cmp edx, dword [ecx + 4]
jle 0x100a069b
push 0x101d3a84
call fcn.100d2315
add esp, 4
cmp dword [0x101d3a84], 0xffffffff
jne 0x100a069b
mov eax, dword [0x101d3a74]
push 0x101d3a84
mov dword [0x101d3a60], eax
call fcn.100d22cb
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, dword [0x101d3a60]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + eax]
mov ecx, dword [esp + 0xc]
je 0x100a06f4
mov eax, dword [0x101d3f3c]
cmp eax, dword [ecx + 4]
jle 0x100a06eb
push 0x101d3f3c
call fcn.100d2315
add esp, 4
cmp dword [0x101d3f3c], 0xffffffff
jne 0x100a06eb
mov eax, dword [0x101d3b7c]
push 0x101d3f3c
mov dword [0x101d3f2c], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3f2c]
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 0x100a07c3
mov dword [edi + 4], 0
cmp byte [edi], 0
jne 0x100a0a70
mov edi, dword [esp + 0x14]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
imul esi, eax, 0x5c
push 0
push 0x101494b5
add esi, 0x101d5dd8
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.10044cb0
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.1004dab0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
lea eax, [eax + eax*2]
mov dword [eax*4 + 0x101d3f40], 0
mov dword [eax*4 + 0x101d3f44], 0
mov dword [eax*4 + 0x101d3f48], 0
jmp 0x100a0a70
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d3b44]
cmp eax, dword [ecx + 4]
jle 0x100a0805
push 0x101d3b44
call fcn.100d2315
add esp, 4
cmp dword [0x101d3b44], 0xffffffff
jne 0x100a0801
mov eax, dword [0x101d3b1c]
push 0x101d3b44
mov dword [0x101d3b64], eax
call fcn.100d22cb
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d3b64]
mov dword [esp + 0x24], eax
mov eax, dword [0x101d3f28]
cmp eax, dword [ecx + 4]
jle 0x100a084f
push 0x101d3f28
call fcn.100d2315
add esp, 4
cmp dword [0x101d3f28], 0xffffffff
jne 0x100a084b
mov eax, dword [0x101d3b1c]
add eax, 4
push 0x101d3f28
mov dword [0x101d4254], eax
call fcn.100d22cb
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + esi]
mov eax, dword [0x101d4254]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a0a70
mov eax, dword [esi + 0x2970]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0x10]
lahf
test ah, 0x44
jnp 0x100a0a70
movss dword [edi + 0x10], xmm0
mov edx, dword [esi + 0x3874]
mov dword [esp + 0x18], edx
test edx, edx
je 0x100a0a70
mov eax, dword [0x101d3db4]
cmp eax, dword [ecx + 4]
jle 0x100a08df
push 0x101d3db4
call fcn.100d2315
add esp, 4
cmp dword [0x101d3db4], 0xffffffff
jne 0x100a08db
mov eax, dword [0x101d3bcc]
add eax, 0xfffffffc
push 0x101d3db4
mov dword [0x101d3d40], eax
call fcn.100d22cb
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [0x101d3d40]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a094f
mov ecx, edx
mov dword [edx + 0x60], esi
call dword [0x101cc294]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x101d3db4]
cmp eax, dword [ecx + 4]
jle 0x100a093f
push 0x101d3db4
call fcn.100d2315
add esp, 4
cmp dword [0x101d3db4], 0xffffffff
jne 0x100a093f
mov eax, dword [0x101d3bcc]
add eax, 0xfffffffc
push 0x101d3db4
mov dword [0x101d3d40], eax
call fcn.100d22cb
add esp, 4
mov eax, dword [0x101d3d40]
mov eax, dword [eax + esi]
mov dword [edi + 8], eax
jmp 0x100a0a70
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [0x101d7830]
lea eax, [esp + 0x34]
push eax
call fcn.100a0fc0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100a0a70
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100a0a70
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100a0992
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100a0a70
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100a0a70
cmp byte [edi], 0
jne 0x100a0a69
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
imul esi, eax, 0x5c
push 0
push 0x101494b5
add esi, 0x101d5dd8
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.10044cb0
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.1004dab0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esp + 0x14]
mov esi, dword [0x101d38a4]
lea eax, [eax + eax*2]
mov dword [eax*4 + 0x101d3f40], 0
mov dword [eax*4 + 0x101d3f44], 0
mov dword [eax*4 + 0x101d3f48], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov dword [esi + eax*4 + 0xee4], 0
mov dword [edi + 0x14], 0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
add esi, 0xc
mov dword [esp + 0x20], esi
cmp esi, eax
jne 0x100a0370
mov esi, dword [0x101d7830]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100a0aa9
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_yield]
nop word [eax + eax]
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x100a0aa0
push 0x101d5ca8
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4