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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
xor esi, esi
mov dword [esp + 0x14], ecx
cmp byte [0x1020db44], 0
push edi
mov dword [esp + 0x10], esi
je 0x100a6a1e
cmp dword [0x1020dcf4], esi
je 0x100a6a1e
cmp byte [0x1020db40], 0
jne 0x100a6a1e
push 0x1021904c
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100a5ff5
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x10219078], 0x7fffffff
jne 0x100a6013
push 6
mov dword [0x10219078], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp byte [0x1020db44], 0
je 0x100a6a10
cmp dword [0x1020dcf4], esi
je 0x100a6a10
cmp byte [0x1020db40], 0
jne 0x100a6a10
mov edi, dword [0x10216c14]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp ecx, eax
je 0x100a6a10
mov eax, dword [ebp + 8]
sub eax, 3
je 0x100a62e0
sub eax, 2
jne 0x100a6a10
mov eax, dword [esp + 0xc]
nop
mov edi, dword [ecx]
test edi, edi
je 0x100a62cc
mov eax, dword [0x1020f4b0]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [0x10216e1c]
mov dword [esp + 0x14], edx
cmp eax, dword [edx + 4]
jle 0x100a60cf
push 0x10216e1c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e1c], 0xffffffff
jne 0x100a60c7
mov eax, dword [0x10216e24]
push 0x10216e1c
mov dword [0x10216e20], eax
call fcn.100d7b16
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov eax, dword [0x10216e20]
cmp dword [eax + edi], 0
jne 0x100a62c8
mov eax, dword [0x10216e2c]
cmp eax, dword [edx + 4]
jle 0x100a6118
push 0x10216e2c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e2c], 0xffffffff
jne 0x100a6118
mov eax, dword [0x10216e28]
push 0x10216e2c
mov dword [0x10216e18], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10216e18]
cmp dword [eax + edi], 0
jle 0x100a62c4
cmp edi, dword [0x1020dcf4]
je 0x100a62c4
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x3504
add eax, dword [esp + 0x18]
je 0x100a62b2
cmp dword [eax + 0x3500], 0
je 0x100a62b2
cmp dword [eax + 4], 1
jl 0x100a62b2
mov ecx, dword [eax + 0x34f8]
dec ecx
and ecx, dword [eax + 0x34fc]
mov eax, dword [eax + 0x34f4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100a62c4
lea ecx, [eax + 0x198]
test ecx, ecx
je 0x100a62c4
push 0x1800
add eax, 0x1c70
push ecx
push eax
mov dword [esp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
add esp, 0xc
mov eax, dword [eax + 4]
call eax
mov ecx, 0x80
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x30]
movq qword [esp + 0x28], xmm0
movss xmm1, dword [esp + 0x28]
movq xmm0, qword [eax + 0x4c]
mov eax, dword [eax + 0x54]
movss xmm2, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
subss xmm3, dword [esp + 0x3c]
movq qword [esp + 0x34], xmm0
add eax, 0x1c
subss xmm1, dword [esp + 0x34]
subss xmm2, dword [esp + 0x38]
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 0x100a6210
mov ecx, edi
call fcn.10057010
mov eax, dword [edi + 0x290c]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push dword [esp + 0x18]
push dword [edi + 0x2900]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x1020fbc0]
add esp, 0xc
test eax, eax
je 0x100a6274
or esi, 1
add eax, 2
jmp 0x100a6279
or esi, 2
xor eax, eax
mov eax, dword [eax]
mov ecx, esi
mov dword [esp + 0x10], esi
and esi, 0xfffffffd
test cl, 2
mov eax, dword [eax + edi + 4]
cmove esi, ecx
mov ecx, esi
mov edx, esi
and ecx, 0xfffffffe
test dl, 1
cmove ecx, esi
mov dword [esp + 0x10], ecx
test eax, eax
je 0x100a62ac
push eax
mov ecx, edi
call dword [0x1020f63c]
mov esi, dword [esp + 0x10]
jmp 0x100a62c4
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov byte [eax + 0x1020dc40], 1
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add ecx, 0xc
mov dword [esp + 8], ecx
cmp ecx, eax
jne 0x100a6070
jmp 0x100a6a10
mov ecx, dword [0x10216c4c]
call fcn.100adec0
mov esi, dword [edi + 8]
mov dword [esp + 0xc], esi
mov esi, dword [edi + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], esi
cmp esi, eax
je 0x100a69f4
mov esi, dword [esi]
test esi, esi
je 0x100a69e1
cmp esi, dword [0x1020dcf4]
je 0x100a69e1
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x28]
call eax
imul edi, eax, 0x3504
add edi, dword [esp + 0x18]
mov dword [esp + 0x24], edi
cmp dword [edi + 0x14], esi
je 0x100a6507
lea ecx, [edi + 0x34f0]
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 + 0x34e8], 0
mov dword [edi + 0x34ec], 0
call fcn.100687a0
push 0x2d8
lea eax, [edi + 0x19b0]
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 byte [edi + 0x1a], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x1b0]
push 0x1800
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x1c88]
push 0x1800
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x14], esi
jmp 0x100a69dd
mov eax, dword [0x1020f4b0]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10216e1c]
mov dword [esp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x100a6558
push 0x10216e1c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e1c], 0xffffffff
jne 0x100a6554
mov eax, dword [0x10216e24]
push 0x10216e1c
mov dword [0x10216e20], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216e20]
cmp dword [eax + esi], 0
jne 0x100a692f
mov eax, dword [0x10216e2c]
cmp eax, dword [ecx + 4]
jle 0x100a65a5
push 0x10216e2c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e2c], 0xffffffff
jne 0x100a65a1
mov eax, dword [0x10216e28]
push 0x10216e2c
mov dword [0x10216e18], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216e18]
cmp dword [eax + esi], 0
jle 0x100a692f
cmp byte [0x10213ec8], 0
je 0x100a66ab
mov edx, dword [0x10217140]
cmp edx, dword [ecx + 4]
jle 0x100a6608
push 0x10217140
call fcn.100d7b67
mov edx, dword [0x10217140]
add esp, 4
cmp edx, 0xffffffff
jne 0x100a6604
mov eax, dword [0x10217038]
push 0x10217140
mov dword [0x1021712c], eax
call fcn.100d7b16
mov edx, dword [0x10217140]
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x1021712c]
mov eax, dword [eax + esi]
mov dword [esp + 0x14], eax
mov eax, dword [0x1020dcf4]
mov dword [esp + 0x20], eax
cmp edx, dword [ecx + 4]
jle 0x100a6652
push 0x10217140
call fcn.100d7b67
add esp, 4
cmp dword [0x10217140], 0xffffffff
jne 0x100a6652
mov eax, dword [0x10217038]
push 0x10217140
mov dword [0x1021712c], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [0x1021712c]
mov edx, dword [esp + 0x14]
cmp edx, dword [ecx + eax]
mov ecx, dword [esp + 8]
je 0x100a66ab
mov eax, dword [0x102175e8]
cmp eax, dword [ecx + 4]
jle 0x100a66a2
push 0x102175e8
call fcn.100d7b67
add esp, 4
cmp dword [0x102175e8], 0xffffffff
jne 0x100a66a2
mov eax, dword [0x10216fd4]
push 0x102175e8
mov dword [0x102175d8], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x102175d8]
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 0x100a6755
mov dword [edi + 4], 0
cmp byte [edi], 0
jne 0x100a69dd
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
shl esi, 4
add esi, eax
push 0
push 0x1014f3ee
lea ecx, [esi*4 + 0x1020dd3c]
mov byte [esi*4 + 0x1020dd38], 0
call fcn.10046150
mov dword [esi*4 + 0x1020dd54], 0
mov dword [esi*4 + 0x1020dd58], 0
mov byte [esi*4 + 0x1020dd5c], 0
mov dword [esi*4 + 0x1020dd64], 0
mov dword [esi*4 + 0x1020dd60], 0
mov dword [esi*4 + 0x1020dd68], 0
mov dword [esi*4 + 0x1020dd70], 0
mov dword [esi*4 + 0x1020dd6c], 0
jmp 0x100a69dd
mov ecx, dword [esp + 8]
mov eax, dword [0x102175d0]
cmp eax, dword [ecx + 4]
jle 0x100a679a
push 0x102175d0
call fcn.100d7b67
add esp, 4
cmp dword [0x102175d0], 0xffffffff
jne 0x100a6796
mov eax, dword [0x10216f6c]
add eax, 4
push 0x102175d0
mov dword [0x102175f4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175f4]
mov dword [esp + 0x20], eax
mov eax, dword [0x10216f98]
cmp eax, dword [ecx + 4]
jle 0x100a67e1
push 0x10216f98
call fcn.100d7b67
add esp, 4
cmp dword [0x10216f98], 0xffffffff
jne 0x100a67dd
mov eax, dword [0x10216f6c]
push 0x10216f98
mov dword [0x10216fb4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216fb4]
movss xmm0, dword [eax + esi]
mov eax, dword [esp + 0x20]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a69dd
mov eax, dword [esi + 0x2970]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0x10]
lahf
test ah, 0x44
jnp 0x100a69dd
movss dword [edi + 0x10], xmm0
mov edx, dword [esi + 0x3874]
mov dword [esp + 0x14], edx
test edx, edx
je 0x100a69dd
mov eax, dword [0x102172fc]
cmp eax, dword [ecx + 4]
jle 0x100a6871
push 0x102172fc
call fcn.100d7b67
add esp, 4
cmp dword [0x102172fc], 0xffffffff
jne 0x100a686d
mov eax, dword [0x10217024]
add eax, 0xfffffffc
push 0x102172fc
mov dword [0x10217288], eax
call fcn.100d7b16
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x10217288]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a68e1
mov ecx, edx
mov dword [edx + 0x60], esi
call dword [0x1020f668]
mov ecx, dword [esp + 8]
mov eax, dword [0x102172fc]
cmp eax, dword [ecx + 4]
jle 0x100a68d1
push 0x102172fc
call fcn.100d7b67
add esp, 4
cmp dword [0x102172fc], 0xffffffff
jne 0x100a68d1
mov eax, dword [0x10217024]
add eax, 0xfffffffc
push 0x102172fc
mov dword [0x10217288], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10217288]
mov eax, dword [eax + esi]
mov dword [edi + 8], eax
jmp 0x100a69dd
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [0x10219490]
lea eax, [esp + 0x30]
push eax
call fcn.100a6e70
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100a69dd
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100a69dd
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100a6924
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100a69dd
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100a69dd
cmp byte [edi], 0
jne 0x100a69d6
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
shl esi, 4
add esi, eax
push 0
push 0x1014f3ee
lea ecx, [esi*4 + 0x1020dd3c]
mov byte [esi*4 + 0x1020dd38], 0
call fcn.10046150
mov ecx, dword [esp + 0x10]
mov dword [esi*4 + 0x1020dd54], 0
mov dword [esi*4 + 0x1020dd58], 0
mov byte [esi*4 + 0x1020dd5c], 0
mov dword [esi*4 + 0x1020dd64], 0
mov dword [esi*4 + 0x1020dd60], 0
mov dword [esi*4 + 0x1020dd68], 0
mov dword [esi*4 + 0x1020dd70], 0
mov dword [esi*4 + 0x1020dd6c], 0
mov eax, dword [ecx]
mov esi, dword [0x10216c4c]
mov eax, dword [eax + 0x28]
call eax
mov dword [esi + eax*4 + 0xee4], 0
mov dword [edi + 0x14], 0
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
add esi, 0xc
mov dword [esp + 0x1c], esi
cmp esi, eax
jne 0x100a6305
mov esi, dword [0x10219490]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100a6a10
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_yield]
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x100a6a07
push 0x1021904c
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4