Function at 0x100a5950
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 [0x1020da64], 0
push edi
mov dword [esp + 0x14], esi
je 0x100a638d
cmp dword [0x1020dc14], esi
je 0x100a638d
cmp byte [0x1020da60], 0
jne 0x100a638d
push 0x10217d74
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100a59a4
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
cmp byte [0x1020da64], 0
je 0x100a637f
cmp dword [0x1020dc14], esi
je 0x100a637f
cmp byte [0x1020da60], 0
jne 0x100a637f
mov edi, dword [0x10215994]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
cmp ecx, eax
je 0x100a637f
mov eax, dword [ebp + 8]
sub eax, 3
je 0x100a5c72
sub eax, 2
jne 0x100a637f
mov eax, dword [esp + 0x10]
nop
mov edi, dword [ecx]
test edi, edi
je 0x100a5c5e
mov eax, dword [0x1020e298]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [0x10215b44]
mov dword [esp + 0x18], edx
cmp eax, dword [edx + 4]
jle 0x100a5a5f
push 0x10215b44
call fcn.100d7b55
add esp, 4
cmp dword [0x10215b44], 0xffffffff
jne 0x100a5a57
mov eax, dword [0x10215b4c]
push 0x10215b44
mov dword [0x10215b48], eax
call fcn.100d7b0b
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10215b48]
cmp dword [eax + edi], 0
jne 0x100a5c5a
mov eax, dword [0x10215b54]
cmp eax, dword [edx + 4]
jle 0x100a5aa8
push 0x10215b54
call fcn.100d7b55
add esp, 4
cmp dword [0x10215b54], 0xffffffff
jne 0x100a5aa8
mov eax, dword [0x10215b50]
push 0x10215b54
mov dword [0x10215b40], eax
call fcn.100d7b0b
add esp, 4
mov eax, dword [0x10215b40]
cmp dword [eax + edi], 0
jle 0x100a5c56
cmp edi, dword [0x1020dc14]
je 0x100a5c56
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 0x100a5c44
cmp dword [eax + 0x3500], 0
je 0x100a5c44
cmp dword [eax + 4], 1
jl 0x100a5c44
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 0x100a5c56
lea ecx, [eax + 0x198]
test ecx, ecx
je 0x100a5c56
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 0x100a5ba0
mov ecx, edi
call fcn.100567e0
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 [0x1020e9b8]
add esp, 0xc
test eax, eax
je 0x100a5c04
or esi, 1
add eax, 2
jmp 0x100a5c09
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 0x100a5c3e
push eax
mov ecx, edi
call dword [0x1020e460]
mov esi, dword [esp + 0x14]
jmp 0x100a5c56
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov byte [eax + 0x1020db60], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add ecx, 0xc
mov dword [esp + 0xc], ecx
cmp ecx, eax
jne 0x100a5a00
jmp 0x100a637f
mov ecx, dword [0x102159d0]
call fcn.100ad500
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 0x100a6363
nop word [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x100a6350
cmp esi, dword [0x1020dc14]
je 0x100a6350
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 0x100a5e76
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.10067d00
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 0x100a634c
mov eax, dword [0x1020e298]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10215b44]
mov dword [esp + 0xc], ecx
cmp eax, dword [ecx + 4]
jle 0x100a5ec7
push 0x10215b44
call fcn.100d7b55
add esp, 4
cmp dword [0x10215b44], 0xffffffff
jne 0x100a5ec3
mov eax, dword [0x10215b4c]
push 0x10215b44
mov dword [0x10215b48], eax
call fcn.100d7b0b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10215b48]
cmp dword [eax + esi], 0
jne 0x100a629e
mov eax, dword [0x10215b54]
cmp eax, dword [ecx + 4]
jle 0x100a5f14
push 0x10215b54
call fcn.100d7b55
add esp, 4
cmp dword [0x10215b54], 0xffffffff
jne 0x100a5f10
mov eax, dword [0x10215b50]
push 0x10215b54
mov dword [0x10215b40], eax
call fcn.100d7b0b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10215b40]
cmp dword [eax + esi], 0
jle 0x100a629e
cmp byte [0x10212c80], 0
je 0x100a601a
mov edx, dword [0x10215e68]
cmp edx, dword [ecx + 4]
jle 0x100a5f77
push 0x10215e68
call fcn.100d7b55
mov edx, dword [0x10215e68]
add esp, 4
cmp edx, 0xffffffff
jne 0x100a5f73
mov eax, dword [0x10215d68]
push 0x10215e68
mov dword [0x10215e54], eax
call fcn.100d7b0b
mov edx, dword [0x10215e68]
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10215e54]
mov eax, dword [eax + esi]
mov dword [esp + 0x18], eax
mov eax, dword [0x1020dc14]
mov dword [esp + 0x24], eax
cmp edx, dword [ecx + 4]
jle 0x100a5fc1
push 0x10215e68
call fcn.100d7b55
add esp, 4
cmp dword [0x10215e68], 0xffffffff
jne 0x100a5fc1
mov eax, dword [0x10215d68]
push 0x10215e68
mov dword [0x10215e54], eax
call fcn.100d7b0b
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, dword [0x10215e54]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + eax]
mov ecx, dword [esp + 0xc]
je 0x100a601a
mov eax, dword [0x10216314]
cmp eax, dword [ecx + 4]
jle 0x100a6011
push 0x10216314
call fcn.100d7b55
add esp, 4
cmp dword [0x10216314], 0xffffffff
jne 0x100a6011
mov eax, dword [0x10215cfc]
push 0x10216314
mov dword [0x10216304], eax
call fcn.100d7b0b
add esp, 4
mov eax, dword [0x10216304]
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 0x100a60c4
mov dword [edi + 4], 0
cmp byte [edi], 0
jne 0x100a634c
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 + 0x10217eac]
mov byte [esi*4 + 0x10217ea8], 0
call fcn.10045350
mov dword [esi*4 + 0x10217ec4], 0
mov dword [esi*4 + 0x10217ec8], 0
mov byte [esi*4 + 0x10217ecc], 0
mov dword [esi*4 + 0x10217ed4], 0
mov dword [esi*4 + 0x10217ed0], 0
mov dword [esi*4 + 0x10217ed8], 0
mov dword [esi*4 + 0x10217ee0], 0
mov dword [esi*4 + 0x10217edc], 0
jmp 0x100a634c
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10215cc0]
cmp eax, dword [ecx + 4]
jle 0x100a6106
push 0x10215cc0
call fcn.100d7b55
add esp, 4
cmp dword [0x10215cc0], 0xffffffff
jne 0x100a6102
mov eax, dword [0x10215c90]
push 0x10215cc0
mov dword [0x10215cdc], eax
call fcn.100d7b0b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10215cdc]
mov dword [esp + 0x24], eax
mov eax, dword [0x102162fc]
cmp eax, dword [ecx + 4]
jle 0x100a6150
push 0x102162fc
call fcn.100d7b55
add esp, 4
cmp dword [0x102162fc], 0xffffffff
jne 0x100a614c
mov eax, dword [0x10215c90]
add eax, 4
push 0x102162fc
mov dword [0x10216320], eax
call fcn.100d7b0b
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + esi]
mov eax, dword [0x10216320]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a634c
mov eax, dword [esi + 0x2970]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0x10]
lahf
test ah, 0x44
jnp 0x100a634c
movss dword [edi + 0x10], xmm0
mov edx, dword [esi + 0x3874]
mov dword [esp + 0x18], edx
test edx, edx
je 0x100a634c
mov eax, dword [0x10216024]
cmp eax, dword [ecx + 4]
jle 0x100a61e0
push 0x10216024
call fcn.100d7b55
add esp, 4
cmp dword [0x10216024], 0xffffffff
jne 0x100a61dc
mov eax, dword [0x10215d50]
add eax, 0xfffffffc
push 0x10216024
mov dword [0x10215fb0], eax
call fcn.100d7b0b
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [0x10215fb0]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100a6250
mov ecx, edx
mov dword [edx + 0x60], esi
call dword [0x1020e438]
mov ecx, dword [esp + 0xc]
mov eax, dword [0x10216024]
cmp eax, dword [ecx + 4]
jle 0x100a6240
push 0x10216024
call fcn.100d7b55
add esp, 4
cmp dword [0x10216024], 0xffffffff
jne 0x100a6240
mov eax, dword [0x10215d50]
add eax, 0xfffffffc
push 0x10216024
mov dword [0x10215fb0], eax
call fcn.100d7b0b
add esp, 4
mov eax, dword [0x10215fb0]
mov eax, dword [eax + esi]
mov dword [edi + 8], eax
jmp 0x100a634c
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [0x10219300]
lea eax, [esp + 0x34]
push eax
call fcn.100a68a0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x100a634c
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100a634c
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100a6293
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100a634c
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100a634c
cmp byte [edi], 0
jne 0x100a6345
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 + 0x10217eac]
mov byte [esi*4 + 0x10217ea8], 0
call fcn.10045350
mov ecx, dword [esp + 0x14]
mov dword [esi*4 + 0x10217ec4], 0
mov dword [esi*4 + 0x10217ec8], 0
mov byte [esi*4 + 0x10217ecc], 0
mov dword [esi*4 + 0x10217ed4], 0
mov dword [esi*4 + 0x10217ed0], 0
mov dword [esi*4 + 0x10217ed8], 0
mov dword [esi*4 + 0x10217ee0], 0
mov dword [esi*4 + 0x10217edc], 0
mov eax, dword [ecx]
mov esi, dword [0x102159d0]
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 0x100a5ca0
mov esi, dword [0x10219300]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100a637f
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_yield]
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x100a6376
push 0x10217d74
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4