Function at 0x100afc20
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, 0x101a157e
mov dword [esp + 0x10], esi
call fcn.10138266
cmp byte [0x10199dac], 0
je 0x100b06ae
cmp dword [0x10199f5c], esi
je 0x100b06ae
cmp byte [0x10199da8], 0
jne 0x100b06ae
push 0x10199d78
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100afc7f
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x10199da4], 0x7fffffff
jne 0x100afc9d
push 6
mov dword [0x10199da4], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp byte [0x10199dac], 0
je 0x100b06a0
cmp dword [0x10199f5c], esi
je 0x100b06a0
cmp byte [0x10199da8], 0
jne 0x100b06a0
mov edi, dword [0x10197968]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
cmp ecx, eax
je 0x100b06a0
mov eax, dword [ebp + 8]
sub eax, 3
je 0x100aff70
sub eax, 2
jne 0x100b06a0
mov eax, dword [esp + 0xc]
nop dword [eax + eax]
mov edi, dword [ecx]
test edi, edi
je 0x100aff5c
mov eax, dword [0x10190030]
mov edx, dword fs:[0x2c]
mov edx, dword [edx + eax*4]
mov eax, dword [0x10197b4c]
mov dword [esp + 0x14], edx
cmp eax, dword [edx + 4]
jle 0x100afd5f
push 0x10197b4c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b4c], 0xffffffff
jne 0x100afd57
mov eax, dword [0x10197b54]
push 0x10197b4c
mov dword [0x10197b50], eax
call fcn.100dfe36
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov eax, dword [0x10197b50]
cmp dword [eax + edi], 0
jne 0x100aff58
mov eax, dword [0x10197b5c]
cmp eax, dword [edx + 4]
jle 0x100afda8
push 0x10197b5c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b5c], 0xffffffff
jne 0x100afda8
mov eax, dword [0x10197b58]
push 0x10197b5c
mov dword [0x10197b48], eax
call fcn.100dfe36
add esp, 4
mov eax, dword [0x10197b48]
cmp dword [eax + edi], 0
jle 0x100aff54
cmp edi, dword [0x10199f5c]
je 0x100aff54
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 0x100aff42
cmp dword [eax + 0x3500], 0
je 0x100aff42
cmp dword [eax + 4], 1
jl 0x100aff42
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 0x100aff54
lea ecx, [eax + 0x198]
test ecx, ecx
je 0x100aff54
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 0x100afea0
mov ecx, edi
call fcn.100591a0
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 [0x10190890]
add esp, 0xc
test eax, eax
je 0x100aff04
or esi, 1
add eax, 2
jmp 0x100aff09
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 0x100aff3c
push eax
mov ecx, edi
call dword [0x101901d0]
mov esi, dword [esp + 0x10]
jmp 0x100aff54
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov byte [eax + 0x10199ea8], 1
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add ecx, 0xc
mov dword [esp + 8], ecx
cmp ecx, eax
jne 0x100afd00
jmp 0x100b06a0
mov ecx, dword [0x101979a4]
call fcn.100b7330
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 0x100b0684
mov esi, dword [esi]
test esi, esi
je 0x100b0671
cmp esi, dword [0x10199f5c]
je 0x100b0671
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 0x100b0197
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.1006aac0
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 0x100b066d
mov eax, dword [0x10190030]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10197b4c]
mov dword [esp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x100b01e8
push 0x10197b4c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b4c], 0xffffffff
jne 0x100b01e4
mov eax, dword [0x10197b54]
push 0x10197b4c
mov dword [0x10197b50], eax
call fcn.100dfe36
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197b50]
cmp dword [eax + esi], 0
jne 0x100b05bf
mov eax, dword [0x10197b5c]
cmp eax, dword [ecx + 4]
jle 0x100b0235
push 0x10197b5c
call fcn.100dfe87
add esp, 4
cmp dword [0x10197b5c], 0xffffffff
jne 0x100b0231
mov eax, dword [0x10197b58]
push 0x10197b5c
mov dword [0x10197b48], eax
call fcn.100dfe36
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197b48]
cmp dword [eax + esi], 0
jle 0x100b05bf
cmp byte [0x10194bf8], 0
je 0x100b033b
mov edx, dword [0x10197e70]
cmp edx, dword [ecx + 4]
jle 0x100b0298
push 0x10197e70
call fcn.100dfe87
mov edx, dword [0x10197e70]
add esp, 4
cmp edx, 0xffffffff
jne 0x100b0294
mov eax, dword [0x10197d70]
push 0x10197e70
mov dword [0x10197e5c], eax
call fcn.100dfe36
mov edx, dword [0x10197e70]
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197e5c]
mov eax, dword [eax + esi]
mov dword [esp + 0x14], eax
mov eax, dword [0x10199f5c]
mov dword [esp + 0x20], eax
cmp edx, dword [ecx + 4]
jle 0x100b02e2
push 0x10197e70
call fcn.100dfe87
add esp, 4
cmp dword [0x10197e70], 0xffffffff
jne 0x100b02e2
mov eax, dword [0x10197d70]
push 0x10197e70
mov dword [0x10197e5c], eax
call fcn.100dfe36
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10197e5c]
mov edx, dword [esp + 0x14]
cmp edx, dword [ecx + eax]
mov ecx, dword [esp + 8]
je 0x100b033b
mov eax, dword [0x1019831c]
cmp eax, dword [ecx + 4]
jle 0x100b0332
push 0x1019831c
call fcn.100dfe87
add esp, 4
cmp dword [0x1019831c], 0xffffffff
jne 0x100b0332
mov eax, dword [0x10197d04]
push 0x1019831c
mov dword [0x1019830c], eax
call fcn.100dfe36
add esp, 4
mov eax, dword [0x1019830c]
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 0x100b03e5
mov dword [edi + 4], 0
cmp byte [edi], 0
jne 0x100b066d
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 + 0x1018e864]
mov byte [esi*4 + 0x1018e860], 0
call fcn.10047e30
mov dword [esi*4 + 0x1018e87c], 0
mov dword [esi*4 + 0x1018e880], 0
mov byte [esi*4 + 0x1018e884], 0
mov dword [esi*4 + 0x1018e88c], 0
mov dword [esi*4 + 0x1018e888], 0
mov dword [esi*4 + 0x1018e890], 0
mov dword [esi*4 + 0x1018e898], 0
mov dword [esi*4 + 0x1018e894], 0
jmp 0x100b066d
mov ecx, dword [esp + 8]
mov eax, dword [0x10198308]
cmp eax, dword [ecx + 4]
jle 0x100b042a
push 0x10198308
call fcn.100dfe87
add esp, 4
cmp dword [0x10198308], 0xffffffff
jne 0x100b0426
mov eax, dword [0x10197c9c]
add eax, 4
push 0x10198308
mov dword [0x10198328], eax
call fcn.100dfe36
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10198328]
mov dword [esp + 0x20], eax
mov eax, dword [0x10197cc8]
cmp eax, dword [ecx + 4]
jle 0x100b0471
push 0x10197cc8
call fcn.100dfe87
add esp, 4
cmp dword [0x10197cc8], 0xffffffff
jne 0x100b046d
mov eax, dword [0x10197c9c]
push 0x10197cc8
mov dword [0x10197ce8], eax
call fcn.100dfe36
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10197ce8]
movss xmm0, dword [eax + esi]
mov eax, dword [esp + 0x20]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100b066d
mov eax, dword [esi + 0x2970]
movss xmm0, dword [eax + 0x294]
ucomiss xmm0, dword [edi + 0x10]
lahf
test ah, 0x44
jnp 0x100b066d
movss dword [edi + 0x10], xmm0
mov edx, dword [esi + 0x3874]
mov dword [esp + 0x14], edx
test edx, edx
je 0x100b066d
mov eax, dword [0x1019802c]
cmp eax, dword [ecx + 4]
jle 0x100b0501
push 0x1019802c
call fcn.100dfe87
add esp, 4
cmp dword [0x1019802c], 0xffffffff
jne 0x100b04fd
mov eax, dword [0x10197d58]
add eax, 0xfffffffc
push 0x1019802c
mov dword [0x10197fb8], eax
call fcn.100dfe36
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x10197fb8]
movss xmm0, dword [edi + 8]
ucomiss xmm0, dword [eax + esi]
lahf
test ah, 0x44
jnp 0x100b0571
mov ecx, edx
mov dword [edx + 0x60], esi
call dword [0x101901a0]
mov ecx, dword [esp + 8]
mov eax, dword [0x1019802c]
cmp eax, dword [ecx + 4]
jle 0x100b0561
push 0x1019802c
call fcn.100dfe87
add esp, 4
cmp dword [0x1019802c], 0xffffffff
jne 0x100b0561
mov eax, dword [0x10197d58]
add eax, 0xfffffffc
push 0x1019802c
mov dword [0x10197fb8], eax
call fcn.100dfe36
add esp, 4
mov eax, dword [0x10197fb8]
mov eax, dword [eax + esi]
mov dword [edi + 8], eax
jmp 0x100b066d
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [0x1019a380]
lea eax, [esp + 0x30]
push eax
call fcn.100b0b20
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100b066d
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100b066d
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100b05b4
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100b066d
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100b066d
cmp byte [edi], 0
jne 0x100b0666
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 + 0x1018e864]
mov byte [esi*4 + 0x1018e860], 0
call fcn.10047e30
mov ecx, dword [esp + 0x10]
mov dword [esi*4 + 0x1018e87c], 0
mov dword [esi*4 + 0x1018e880], 0
mov byte [esi*4 + 0x1018e884], 0
mov dword [esi*4 + 0x1018e88c], 0
mov dword [esi*4 + 0x1018e888], 0
mov dword [esi*4 + 0x1018e890], 0
mov dword [esi*4 + 0x1018e898], 0
mov dword [esi*4 + 0x1018e894], 0
mov eax, dword [ecx]
mov esi, dword [0x101979a4]
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 0x100aff95
mov esi, dword [0x1019a380]
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x100b06a0
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_yield]
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x100b0697
push 0x10199d78
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4