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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c0cbd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10249010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1039f244]
cmp byte [eax + 0x1702], 0
je 0x10150e58
mov ebx, dword [0x1039f48c]
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 4]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10150a7e
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov dword [ebp - 4], 0
mov edi, dword [0x1039f48c]
mov esi, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
mov dword [ebp - 0x14], edi
cmp esi, edi
je 0x10150e4b
lea ebx, [esi + 0x10]
nop
mov ecx, dword [esi]
xor edx, edx
add ecx, 8
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10150e36
mov eax, dword [esi]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1039ea44]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1039ee90]
cmp eax, dword [ecx + 4]
jle 0x10150b22
push 0x1039ee90
call fcn.10151b0d
add esp, 4
cmp dword [0x1039ee90], 0xffffffff
jne 0x10150b22
push ecx
push 0x51b3ade5
mov byte [ebp - 4], 1
mov ecx, dword [0x1039f394]
push 0xaf3beedc
call fcn.100bc2f0
push 0x1039ee90
mov dword [0x1039ee8c], eax
mov byte [ebp - 4], 0
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039ee8c]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 0xffffffff
jne 0x10150e36
mov byte [ebx - 0xc], 1
mov eax, dword [0x1039f500]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10150b97
cmp byte [ecx + 0x25f], 0
jne 0x10150b97
cmp dword [ecx + 0x100], 0
je 0x10150b97
movss xmm2, dword [ebx - 8]
movss xmm0, dword [ebx - 4]
subss xmm0, dword [ecx + 0x13c]
subss xmm2, dword [ecx + 0x138]
movss xmm1, dword [ebx]
subss xmm1, dword [ecx + 0x140]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1002f5d0
jmp 0x10150b9a
xorps xmm0, xmm0
movss dword [ebx + 0x64], xmm0
xor edx, edx
mov ecx, dword [esi]
add ecx, 4
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call eax
movss xmm0, dword [0x1023305c]
comiss xmm0, dword [ebx + 0x64]
mov dword [ebp - 0x10], eax
jbe 0x10150c8a
mov edx, dword [0x1039ea44]
mov edi, dword fs:[0x2c]
mov eax, dword [esi]
mov ecx, dword [0x1039f224]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + edx*4]
mov edx, dword [ebp - 0x10]
cmp ecx, dword [eax + 4]
jle 0x10150c39
push 0x1039f224
call fcn.10151b0d
add esp, 4
cmp dword [0x1039f224], 0xffffffff
jne 0x10150c36
push ecx
push 0x2f13dc5e
mov byte [ebp - 4], 2
mov ecx, dword [0x1039f394]
push 0xaf3beedc
call fcn.100bc2f0
sub eax, 0x30
mov byte [ebp - 4], 0
push 0x1039f224
mov dword [0x1039f228], eax
call fcn.10151ac3
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [0x1039f228]
add eax, dword [ebp - 0x18]
push eax
mov eax, dword [edx + 0x124]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
mov dword [ecx], eax
mov eax, dword [edx + 0x128]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x12c]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [edx + 0x118]
mov dword [ecx], eax
mov eax, dword [edx + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x120]
mov dword [ecx + 8], eax
lea ecx, [ebx + 0x3c]
call fcn.1008ec50
jmp 0x10150c8c
xor al, al
mov byte [ebx + 0x50], al
xor edx, edx
mov ecx, dword [esi]
add ecx, 4
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 4]
call eax
mov edi, dword fs:[0x2c]
mov edx, dword [0x1039ea44]
mov ecx, dword [eax]
mov dword [ebx - 8], ecx
mov ecx, dword [eax + 4]
mov dword [ebx - 4], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x14]
mov dword [ebx], eax
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1039ef0c]
cmp eax, dword [ecx + 4]
jle 0x10150d1d
push 0x1039ef0c
call fcn.10151b0d
add esp, 4
cmp dword [0x1039ef0c], 0xffffffff
jne 0x10150d1d
push ecx
push 0xaa34c129
mov byte [ebp - 4], 3
mov ecx, dword [0x1039f394]
push 0x9be3441b
call fcn.100bc2f0
push 0x1039ef0c
mov dword [0x1039ef08], eax
mov byte [ebp - 4], 0
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039ef08]
xor edx, edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + eax]
mov dword [ebx + 0x34], eax
mov ecx, dword [esi]
test ecx, ecx
mov eax, ecx
cmove eax, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x734]
call eax
mov edx, eax
test edx, edx
je 0x10150e26
mov ecx, dword [edx + 0x14]
mov dword [ebx + 0x38], ecx
mov ecx, dword [0x1039ef58]
push dword [edx + 0x88]
mov eax, dword [ecx]
mov eax, dword [eax + 0xbc]
call eax
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x18], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x10150d70
sub edx, dword [ebp - 0x18]
lea ecx, [ebx + 4]
push edx
push eax
call fcn.10018260
mov edi, dword fs:[0x2c]
mov edx, dword [0x1039ea44]
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1039eab8]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x14]
cmp eax, dword [ecx + 4]
jle 0x10150def
push 0x1039eab8
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eab8], 0xffffffff
jne 0x10150def
push ecx
push 0x8d29f550
mov byte [ebp - 4], 4
mov ecx, dword [0x1039f394]
push 0x19c23329
call fcn.100bc2f0
push 0x1039eab8
mov dword [0x1039eabc], eax
mov byte [ebp - 4], 0
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039eabc]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax]
push eax
call fcn.100b7510
mov edx, eax
lea ecx, [edx + 1]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x10150e10
sub edx, dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
push edx
push eax
call fcn.10018260
jmp 0x10150e3a
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
jmp 0x10150e3a
mov byte [ebx - 0xc], 0
add esi, 0x78
add ebx, 0x78
cmp esi, edi
jne 0x10150aa0
mov ebx, dword [ebp - 0x1c]
lea eax, [ebx + 4]
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret