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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x1015a368]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x10217c50
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10096238
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
test byte [0x10212ca4], 2
jne 0x100962de
cmp byte [esi + 0x70], bl
je 0x100962be
lea eax, [esp + 0x24]
mov dword [esi + 0x74], ebx
push eax
mov ecx, 0x10201280
mov dword [esi + 0x78], ebx
call fcn.1004db10
cmp dword [esp + 0x38], 0x10
lea edx, [esp + 0x24]
cmovae edx, dword [esp + 0x24]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096272
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.10045350
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x100962bb
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100962b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096718
push edx
push ecx
call fcn.100d7f7a
add esp, 8
mov byte [esi + 0x70], bl
push 0x10217c50
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [esp + 0x58]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d7a38
mov esp, ebp
pop ebp
ret
mov edi, dword [0x10215994]
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
cmp eax, edx
jne 0x1009632f
cmp byte [esi + 0x70], bl
je 0x100962be
lea eax, [esp + 0x24]
mov dword [esi + 0x74], ebx
push eax
mov ecx, 0x10201280
mov dword [esi + 0x78], ebx
call fcn.1004db10
cmp dword [esp + 0x38], 0x10
lea edx, [esp + 0x24]
cmovae edx, dword [esp + 0x24]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096323
jmp 0x10096279
cmp byte [esi + 0x70], bl
je 0x100963c0
lea eax, [esp + 0x24]
mov dword [esi + 0x74], ebx
push eax
mov ecx, 0x10201280
mov dword [esi + 0x78], ebx
call fcn.1004db10
cmp dword [esp + 0x38], 0x10
lea edx, [esp + 0x24]
cmovae edx, dword [esp + 0x24]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096364
sub ecx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.10045350
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x100963af
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100963a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096718
push edx
push ecx
call fcn.100d7f7a
add esp, 8
mov byte [esi + 0x70], bl
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
cmp eax, edx
je 0x100962be
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10096700
mov eax, dword [0x1020e298]
mov ecx, dword fs:[0x2c]
mov edi, dword [ecx + eax*4]
mov eax, dword [0x102160b4]
cmp eax, dword [edi + 4]
jle 0x10096423
push 0x102160b4
call fcn.100d7b55
add esp, 4
cmp dword [0x102160b4], 0xffffffff
jne 0x1009641f
mov eax, dword [0x10215ddc]
push 0x102160b4
mov dword [0x102160b0], eax
call fcn.100d7b0b
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x102160b0]
xorps xmm1, xmm1
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [eax + ecx]
mov eax, dword [0x1020e2d4]
subss xmm0, dword [eax + 0x10]
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm0
jae 0x10096700
mov eax, dword [0x10215e60]
cmp eax, dword [edi + 4]
jle 0x10096487
push 0x10215e60
call fcn.100d7b55
add esp, 4
cmp dword [0x10215e60], 0xffffffff
jne 0x10096487
mov eax, dword [0x10215cf8]
push 0x10215e60
mov dword [0x10215e4c], eax
call fcn.100d7b0b
add esp, 4
mov eax, dword [0x10215c4c]
mov edx, dword [0x10215e4c]
mov dword [esp + 0x10], edx
cmp eax, dword [edi + 4]
jle 0x100964cf
push 0x10215c4c
call fcn.100d7b55
add esp, 4
cmp dword [0x10215c4c], 0xffffffff
jne 0x100964cb
mov eax, dword [0x10215c44]
push 0x10215c4c
mov dword [0x10215c48], eax
call fcn.100d7b0b
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x10215c48]
movss xmm2, dword [edx + ecx + 4]
movss xmm0, dword [eax + ecx]
addss xmm0, dword [edx + ecx]
addss xmm2, dword [eax + ecx + 4]
movss xmm1, dword [edx + ecx + 8]
addss xmm1, dword [eax + ecx + 8]
subss xmm0, dword [0x1020dac8]
subss xmm2, dword [0x1020dacc]
subss xmm1, dword [0x1020dad0]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
mulss xmm0, dword [0x10155fac]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_expf
cvttss2si eax, dword [esp + 0x18]
movaps xmm3, xmm0
mulss xmm3, dword [0x10155f18]
mov dword [esi + 0x74], eax
mov eax, dword [0x1020dc14]
mov dword [esp + 0x18], eax
mov eax, dword [0x102160c8]
movss dword [esp + 0x10], xmm3
cmp eax, dword [edi + 4]
jle 0x10096596
push 0x102160c8
call fcn.100d7b55
add esp, 4
cmp dword [0x102160c8], 0xffffffff
jne 0x10096590
mov eax, dword [0x10215df4]
push 0x102160c8
mov dword [0x102160a4], eax
call fcn.100d7b0b
add esp, 4
movss xmm3, dword [esp + 0x10]
mov eax, dword [0x102160a4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax]
test eax, eax
jle 0x100965da
movaps xmm1, xmm3
movd xmm2, eax
mulss xmm1, dword [0x10155c1c]
movaps xmm0, xmm3
cvtdq2ps xmm2, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x10155c1c]
comiss xmm0, xmm2
jbe 0x100965d7
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm3, xmm1
cvttss2si eax, xmm3
mov dword [esi + 0x78], eax
mov eax, dword [0x102160cc]
cmp eax, dword [edi + 4]
jle 0x1009661b
push 0x102160cc
call fcn.100d7b55
add esp, 4
cmp dword [0x102160cc], 0xffffffff
jne 0x1009661b
mov eax, dword [0x10215d58]
push 0x102160cc
mov dword [0x102160b8], eax
call fcn.100d7b0b
add esp, 4
mov eax, dword [0x102160b8]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + ecx], 0
jne 0x1009664c
lea eax, [esp + 0x3c]
mov ecx, 0x10208950
push eax
or ebx, 1
call fcn.1004db10
cmp dword [esp + 0x50], 0x10
lea edx, [esp + 0x3c]
cmovae edx, dword [esp + 0x3c]
jmp 0x1009666c
lea eax, [esp + 0x24]
mov ecx, 0x10208c18
push eax
or ebx, 2
call fcn.1004db10
cmp dword [esp + 0x38], 0x10
lea edx, [esp + 0x24]
cmovae edx, dword [esp + 0x24]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10096671
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.10045350
test bl, 2
je 0x100966be
mov edx, dword [esp + 0x38]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x100966be
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100966b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096718
push edx
push ecx
call fcn.100d7f7a
add esp, 8
test bl, 1
je 0x100966f8
mov edx, dword [esp + 0x50]
and ebx, 0xfffffffe
cmp edx, 0x10
jb 0x100966f8
mov ecx, dword [esp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100966ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096718
push edx
push ecx
call fcn.100d7f7a
add esp, 8
mov edx, dword [esp + 0x14]
mov byte [esi + 0x70], 1
mov eax, dword [esp + 0x20]
add eax, 0xc
mov dword [esp + 0x20], eax
cmp eax, edx
jne 0x100963c8
jmp 0x100962be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3