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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
mov dword [esp + 0x14], ecx
xor esi, esi
push edi
mov ecx, 0x101a157a
mov dword [esp + 0x10], esi
call fcn.10137ff6
cmp byte [0x10199cc4], 0
je 0x100afcde
cmp dword [0x10199e74], esi
je 0x100afcde
cmp byte [0x10199cc0], 0
jne 0x100afcde
push 0x10199c8c
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100af2af
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x10199cb8], 0x7fffffff
jne 0x100af2cd
push 6
mov dword [0x10199cb8], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp byte [0x10199cc4], 0
je 0x100afcd0
cmp dword [0x10199e74], esi
je 0x100afcd0
cmp byte [0x10199cc0], 0
jne 0x100afcd0
mov edi, dword [0x10197878]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp ecx, eax
je 0x100afcd0
mov eax, dword [ebp + 8]
sub eax, 3
je 0x100af5a0
sub eax, 2
jne 0x100afcd0
mov eax, dword [esp + 0xc]
nop dword [eax + eax]
mov edi, dword [ecx]
test edi, edi
je 0x100af58c
mov eax, dword [0x1018ff40]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [0x10197a5c]
mov dword [esp + 0x14], edx
cmp eax, dword [edx + 4]
jle 0x100af38f
push 0x10197a5c
call fcn.100dfc27
add esp, 4
cmp dword [0x10197a5c], 0xffffffff
jne 0x100af387
mov eax, dword [0x10197a64]
push 0x10197a5c
mov dword [0x10197a60], eax
call fcn.100dfbd6
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov eax, dword [0x10197a60]
cmp dword [eax + edi], 0
jne 0x100af588
mov eax, dword [0x10197a6c]
cmp eax, dword [edx + 4]
jle 0x100af3d8
push 0x10197a6c
call fcn.100dfc27
add esp, 4
cmp dword [0x10197a6c], 0xffffffff
jne 0x100af3d8
mov eax, dword [0x10197a68]
push 0x10197a6c
mov dword [0x10197a58], eax
call fcn.100dfbd6
add esp, 4
mov eax, dword [0x10197a58]
cmp dword [eax + edi], 0
jle 0x100af584
cmp edi, dword [0x10199e74]
je 0x100af584
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 0x100af572
cmp dword [eax + 0x3500], 0
je 0x100af572
cmp dword [eax + 4], 1
jl 0x100af572
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 0x100af584
lea ecx, [eax + 0x198]
test ecx, ecx
je 0x100af584
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 0x100af4d0
mov ecx, edi
call fcn.10059210
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 [0x101907a0]
add esp, 0xc
test eax, eax
je 0x100af534
or esi, 1
add eax, 2
jmp 0x100af539
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 0x100af56c
push eax
mov ecx, edi
call dword [0x101900e0]
mov esi, dword [esp + 0x10]
jmp 0x100af584
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov byte [eax + 0x10199dc0], 1
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add ecx, 0xc
mov dword [esp + 8], ecx
cmp ecx, eax
jne 0x100af330
jmp 0x100afcd0
mov ecx, dword [0x101978b4]
call fcn.100b6950
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 0x100afcb4
mov esi, dword [esi]
test esi, esi
je 0x100afca1
cmp esi, dword [0x10199e74]
je 0x100afca1
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 0x100af7c7
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.1006ab20
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 0x100afc9d
mov eax, dword [0x1018ff40]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10197a5c]
mov dword [esp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x100af818
push 0x10197a5c
call fcn.100dfc27
add esp, 4
cmp dword [0x10197a5c], 0xffffffff
jne 0x100af814
mov eax, dword [0x10197a64]
push 0x10197a5c
mov dword [0x10197a60], eax
call fcn.100dfbd6
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197a60]
cmp dword [eax + esi], 0
jne 0x100afbef
mov eax, dword [0x10197a6c]
cmp eax, dword [ecx + 4]
jle 0x100af865
push 0x10197a6c
call fcn.100dfc27
add esp, 4
cmp dword [0x10197a6c], 0xffffffff
jne 0x100af861
mov eax, dword [0x10197a68]
push 0x10197a6c
mov dword [0x10197a58], eax
call fcn.100dfbd6
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197a58]
cmp dword [eax + esi], 0
jle 0x100afbef
cmp byte [0x10194b08], 0
je 0x100af96b
mov edx, dword [0x10197d80]
cmp edx, dword [ecx + 4]
jle 0x100af8c8
push 0x10197d80
call fcn.100dfc27
mov edx, dword [0x10197d80]
add esp, 4
cmp edx, 0xffffffff
jne 0x100af8c4
mov eax, dword [0x10197c80]
push 0x10197d80
mov dword [0x10197d6c], eax
call fcn.100dfbd6
mov edx, dword [0x10197d80]
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197d6c]
mov eax, dword [eax + esi]
mov dword [esp + 0x14], eax
mov eax, dword [0x10199e74]
mov dword [esp + 0x20], eax
cmp edx, dword [ecx + 4]
jle 0x100af912
push 0x10197d80
call fcn.100dfc27
add esp, 4
cmp dword [0x10197d80], 0xffffffff
jne 0x100af912
mov eax, dword [0x10197c80]
push 0x10197d80
mov dword [0x10197d6c], eax
call fcn.100dfbd6
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10197d6c]
mov edx, dword [esp + 0x14]
cmp edx, dword [ecx + eax]
mov ecx, dword [esp + 8]
je 0x100af96b
mov eax, dword [0x1019822c]
cmp eax, dword [ecx + 4]
jle 0x100af962
push 0x1019822c
call fcn.100dfc27
add esp, 4
cmp dword [0x1019822c], 0xffffffff
jne 0x100af962
mov eax, dword [0x10197c14]
push 0x1019822c
mov dword [0x1019821c], eax
call fcn.100dfbd6
add esp, 4
mov eax, dword [0x1019821c]
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 0x100afa15
mov dword [edi + 4], 0
cmp byte [edi], 0
jne 0x100afc9d
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 0x1015552e
lea ecx, [esi*4 + 0x1018e7cc]
mov byte [esi*4 + 0x1018e7c8], 0
call fcn.10047e80
mov dword [esi*4 + 0x1018e7e4], 0
mov dword [esi*4 + 0x1018e7e8], 0
mov byte [esi*4 + 0x1018e7ec], 0
mov dword [esi*4 + 0x1018e7f4], 0
mov dword [esi*4 + 0x1018e7f0], 0
mov dword [esi*4 + 0x1018e7f8], 0
mov dword [esi*4 + 0x1018e800], 0
mov dword [esi*4 + 0x1018e7fc], 0
jmp 0x100afc9d
mov ecx, dword [esp + 8]
mov eax, dword [0x10198214]
cmp eax, dword [ecx + 4]
jle 0x100afa5a
push 0x10198214
call fcn.100dfc27
add esp, 4
cmp dword [0x10198214], 0xffffffff
jne 0x100afa56
mov eax, dword [0x10197bac]
add eax, 4
push 0x10198214
mov dword [0x10198238], eax
call fcn.100dfbd6
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10198238]
mov dword [esp + 0x20], eax
mov eax, dword [0x10197bd8]
cmp eax, dword [ecx + 4]
jle 0x100afaa1
push 0x10197bd8
call fcn.100dfc27
add esp, 4
cmp dword [0x10197bd8], 0xffffffff
jne 0x100afa9d
mov eax, dword [0x10197bac]
push 0x10197bd8
mov dword [0x10197bf8], eax
call fcn.100dfbd6
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197bf8]
movss xmm0, dword [eax + esi]
mov eax, dword [esp + 0x20]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100afc9d
mov eax, dword [esi + 0x2970]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0x10]
lahf
test ah, 0x44
jnp 0x100afc9d
movss dword [edi + 0x10], xmm0
mov edx, dword [esi + 0x3874]
mov dword [esp + 0x14], edx
test edx, edx
je 0x100afc9d
mov eax, dword [0x10197f3c]
cmp eax, dword [ecx + 4]
jle 0x100afb31
push 0x10197f3c
call fcn.100dfc27
add esp, 4
cmp dword [0x10197f3c], 0xffffffff
jne 0x100afb2d
mov eax, dword [0x10197c68]
add eax, 0xfffffffc
push 0x10197f3c
mov dword [0x10197ec8], eax
call fcn.100dfbd6
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x10197ec8]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100afba1
mov ecx, edx
mov dword [edx + 0x60], esi
call dword [0x101900b0]
mov ecx, dword [esp + 8]
mov eax, dword [0x10197f3c]
cmp eax, dword [ecx + 4]
jle 0x100afb91
push 0x10197f3c
call fcn.100dfc27
add esp, 4
cmp dword [0x10197f3c], 0xffffffff
jne 0x100afb91
mov eax, dword [0x10197c68]
add eax, 0xfffffffc
push 0x10197f3c
mov dword [0x10197ec8], eax
call fcn.100dfbd6
add esp, 4
mov eax, dword [0x10197ec8]
mov eax, dword [eax + esi]
mov dword [edi + 8], eax
jmp 0x100afc9d
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [0x1019a298]
lea eax, [esp + 0x30]
push eax
call fcn.100b0150
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100afc9d
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100afc9d
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100afbe4
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100afc9d
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100afc9d
cmp byte [edi], 0
jne 0x100afc96
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 0x1015552e
lea ecx, [esi*4 + 0x1018e7cc]
mov byte [esi*4 + 0x1018e7c8], 0
call fcn.10047e80
mov ecx, dword [esp + 0x10]
mov dword [esi*4 + 0x1018e7e4], 0
mov dword [esi*4 + 0x1018e7e8], 0
mov byte [esi*4 + 0x1018e7ec], 0
mov dword [esi*4 + 0x1018e7f4], 0
mov dword [esi*4 + 0x1018e7f0], 0
mov dword [esi*4 + 0x1018e7f8], 0
mov dword [esi*4 + 0x1018e800], 0
mov dword [esi*4 + 0x1018e7fc], 0
mov eax, dword [ecx]
mov esi, dword [0x101978b4]
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 0x100af5c5
mov esi, dword [0x1019a298]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100afcd0
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_yield]
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x100afcc7
push 0x10199c8c
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4