Function at 0x100a5f50
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 [0x102230fc], 0
push edi
mov dword [esp + 0x14], esi
je 0x100a698d
cmp dword [0x102232ac], esi
je 0x100a698d
cmp byte [0x102230f8], 0
jne 0x100a698d
push 0x1022d3d4
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100a5fa4
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [0x102230fc], 0
je 0x100a697f
cmp dword [0x102232ac], esi
je 0x100a697f
cmp byte [0x102230f8], 0
jne 0x100a697f
mov edi, dword [0x1022aff4]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
cmp ecx, eax
je 0x100a697f
mov eax, dword [ebp + 8]
sub eax, 3
je 0x100a6272
sub eax, 2
jne 0x100a697f
mov eax, dword [esp + 0x10]
nop
mov edi, dword [ecx]
test edi, edi
je 0x100a625e
mov eax, dword [0x10223928]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [0x1022b1a4]
mov dword [esp + 0x18], edx
cmp eax, dword [edx + 4]
jle 0x100a605f
push 0x1022b1a4
call fcn.100d8275
add esp, 4
cmp dword [0x1022b1a4], 0xffffffff
jne 0x100a6057
mov eax, dword [0x1022b1ac]
push 0x1022b1a4
mov dword [0x1022b1a8], eax
call fcn.100d822b
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b1a8]
cmp dword [eax + edi], 0
jne 0x100a625a
mov eax, dword [0x1022b1b4]
cmp eax, dword [edx + 4]
jle 0x100a60a8
push 0x1022b1b4
call fcn.100d8275
add esp, 4
cmp dword [0x1022b1b4], 0xffffffff
jne 0x100a60a8
mov eax, dword [0x1022b1b0]
push 0x1022b1b4
mov dword [0x1022b1a0], eax
call fcn.100d822b
add esp, 4
mov eax, dword [0x1022b1a0]
cmp dword [eax + edi], 0
jle 0x100a6256
cmp edi, dword [0x102232ac]
je 0x100a6256
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
imul eax, eax, 0x3504
add eax, dword [esp + 0x1c]
je 0x100a6244
cmp dword [eax + 0x3500], 0
je 0x100a6244
cmp dword [eax + 4], 1
jl 0x100a6244
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 + 0x20], eax
test eax, eax
je 0x100a6256
lea ecx, [eax + 0x198]
test ecx, ecx
je 0x100a6256
push 0x1800
add eax, 0x1c70
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 + 0x4c]
mov eax, dword [eax + 0x54]
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 0x100a61a0
mov ecx, edi
call fcn.10056850
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 [0x10224048]
add esp, 0xc
test eax, eax
je 0x100a6204
or esi, 1
add eax, 2
jmp 0x100a6209
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 0x100a623e
push eax
mov ecx, edi
call dword [0x10223af4]
mov esi, dword [esp + 0x14]
jmp 0x100a6256
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov byte [eax + 0x102231f8], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add ecx, 0xc
mov dword [esp + 0xc], ecx
cmp ecx, eax
jne 0x100a6000
jmp 0x100a697f
mov ecx, dword [0x1022b030]
call fcn.100adaf0
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 0x100a6963
nop word [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x100a6950
cmp esi, dword [0x102232ac]
je 0x100a6950
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x28]
call eax
imul edi, eax, 0x3504
add edi, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
cmp dword [edi + 0x14], esi
je 0x100a6476
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.10067d40
push 0x32d8
lea eax, [edi + 0x1b0]
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
mov dword [edi + 0x14], esi
jmp 0x100a694c
mov eax, dword [0x10223928]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1022b1a4]
mov dword [esp + 0xc], ecx
cmp eax, dword [ecx + 4]
jle 0x100a64c7
push 0x1022b1a4
call fcn.100d8275
add esp, 4
cmp dword [0x1022b1a4], 0xffffffff
jne 0x100a64c3
mov eax, dword [0x1022b1ac]
push 0x1022b1a4
mov dword [0x1022b1a8], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b1a8]
cmp dword [eax + esi], 0
jne 0x100a689e
mov eax, dword [0x1022b1b4]
cmp eax, dword [ecx + 4]
jle 0x100a6514
push 0x1022b1b4
call fcn.100d8275
add esp, 4
cmp dword [0x1022b1b4], 0xffffffff
jne 0x100a6510
mov eax, dword [0x1022b1b0]
push 0x1022b1b4
mov dword [0x1022b1a0], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b1a0]
cmp dword [eax + esi], 0
jle 0x100a689e
cmp byte [0x102282e0], 0
je 0x100a661a
mov edx, dword [0x1022b4c8]
cmp edx, dword [ecx + 4]
jle 0x100a6577
push 0x1022b4c8
call fcn.100d8275
mov edx, dword [0x1022b4c8]
add esp, 4
cmp edx, 0xffffffff
jne 0x100a6573
mov eax, dword [0x1022b3c0]
push 0x1022b4c8
mov dword [0x1022b4b4], eax
call fcn.100d822b
mov edx, dword [0x1022b4c8]
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b4b4]
mov eax, dword [eax + esi]
mov dword [esp + 0x18], eax
mov eax, dword [0x102232ac]
mov dword [esp + 0x24], eax
cmp edx, dword [ecx + 4]
jle 0x100a65c1
push 0x1022b4c8
call fcn.100d8275
add esp, 4
cmp dword [0x1022b4c8], 0xffffffff
jne 0x100a65c1
mov eax, dword [0x1022b3c0]
push 0x1022b4c8
mov dword [0x1022b4b4], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, dword [0x1022b4b4]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + eax]
mov ecx, dword [esp + 0xc]
je 0x100a661a
mov eax, dword [0x1022b974]
cmp eax, dword [ecx + 4]
jle 0x100a6611
push 0x1022b974
call fcn.100d8275
add esp, 4
cmp dword [0x1022b974], 0xffffffff
jne 0x100a6611
mov eax, dword [0x1022b35c]
push 0x1022b974
mov dword [0x1022b964], eax
call fcn.100d822b
add esp, 4
mov eax, dword [0x1022b964]
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 0x100a66c4
mov dword [edi + 4], 0
cmp byte [edi], 0
jne 0x100a694c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
shl esi, 4
add esi, eax
push 0
push 0x1014f4a5
lea ecx, [esi*4 + 0x1022d50c]
mov byte [esi*4 + 0x1022d508], 0
call fcn.100453b0
mov dword [esi*4 + 0x1022d524], 0
mov dword [esi*4 + 0x1022d528], 0
mov byte [esi*4 + 0x1022d52c], 0
mov dword [esi*4 + 0x1022d534], 0
mov dword [esi*4 + 0x1022d530], 0
mov dword [esi*4 + 0x1022d538], 0
mov dword [esi*4 + 0x1022d540], 0
mov dword [esi*4 + 0x1022d53c], 0
jmp 0x100a694c
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b320]
cmp eax, dword [ecx + 4]
jle 0x100a6706
push 0x1022b320
call fcn.100d8275
add esp, 4
cmp dword [0x1022b320], 0xffffffff
jne 0x100a6702
mov eax, dword [0x1022b2f0]
push 0x1022b320
mov dword [0x1022b340], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b340]
mov dword [esp + 0x24], eax
mov eax, dword [0x1022b95c]
cmp eax, dword [ecx + 4]
jle 0x100a6750
push 0x1022b95c
call fcn.100d8275
add esp, 4
cmp dword [0x1022b95c], 0xffffffff
jne 0x100a674c
mov eax, dword [0x1022b2f0]
add eax, 4
push 0x1022b95c
mov dword [0x1022b980], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + esi]
mov eax, dword [0x1022b980]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a694c
mov eax, dword [esi + 0x2970]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0x10]
lahf
test ah, 0x44
jnp 0x100a694c
movss dword [edi + 0x10], xmm0
mov edx, dword [esi + 0x3874]
mov dword [esp + 0x18], edx
test edx, edx
je 0x100a694c
mov eax, dword [0x1022b688]
cmp eax, dword [ecx + 4]
jle 0x100a67e0
push 0x1022b688
call fcn.100d8275
add esp, 4
cmp dword [0x1022b688], 0xffffffff
jne 0x100a67dc
mov eax, dword [0x1022b3ac]
add eax, 0xfffffffc
push 0x1022b688
mov dword [0x1022b610], eax
call fcn.100d822b
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [0x1022b610]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a6850
mov ecx, edx
mov dword [edx + 0x60], esi
call dword [0x10223ac4]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x1022b688]
cmp eax, dword [ecx + 4]
jle 0x100a6840
push 0x1022b688
call fcn.100d8275
add esp, 4
cmp dword [0x1022b688], 0xffffffff
jne 0x100a6840
mov eax, dword [0x1022b3ac]
add eax, 0xfffffffc
push 0x1022b688
mov dword [0x1022b610], eax
call fcn.100d822b
add esp, 4
mov eax, dword [0x1022b610]
mov eax, dword [eax + esi]
mov dword [edi + 8], eax
jmp 0x100a694c
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [0x1022e960]
lea eax, [esp + 0x34]
push eax
call fcn.100a6ea0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100a694c
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100a694c
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100a6893
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100a694c
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100a694c
cmp byte [edi], 0
jne 0x100a6945
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, eax
shl esi, 4
add esi, eax
push 0
push 0x1014f4a5
lea ecx, [esi*4 + 0x1022d50c]
mov byte [esi*4 + 0x1022d508], 0
call fcn.100453b0
mov ecx, dword [esp + 0x14]
mov dword [esi*4 + 0x1022d524], 0
mov dword [esi*4 + 0x1022d528], 0
mov byte [esi*4 + 0x1022d52c], 0
mov dword [esi*4 + 0x1022d534], 0
mov dword [esi*4 + 0x1022d530], 0
mov dword [esi*4 + 0x1022d538], 0
mov dword [esi*4 + 0x1022d540], 0
mov dword [esi*4 + 0x1022d53c], 0
mov eax, dword [ecx]
mov esi, dword [0x1022b030]
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 0x100a62a0
mov esi, dword [0x1022e960]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100a697f
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_yield]
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x100a6976
push 0x1022d3d4
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4