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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x10167368]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x10205368
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10098ca8
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
test byte [0x101ffdac], 2
jne 0x10098d4e
cmp byte [esi + 0x70], bl
je 0x10098d2e
lea eax, [esp + 0x24]
mov dword [esi + 0x74], ebx
push eax
mov ecx, 0x101ea970
mov dword [esi + 0x78], ebx
call fcn.1004ea50
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 0x10098ce2
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.10046140
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x10098d2b
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10098d21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10099188
push edx
push ecx
call fcn.100e1eaa
add esp, 8
mov byte [esi + 0x70], bl
push 0x10205368
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.100e1968
mov esp, ebp
pop ebp
ret
mov edi, dword [0x10202a24]
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
cmp eax, edx
jne 0x10098d9f
cmp byte [esi + 0x70], bl
je 0x10098d2e
lea eax, [esp + 0x24]
mov dword [esi + 0x74], ebx
push eax
mov ecx, 0x101ea970
mov dword [esi + 0x78], ebx
call fcn.1004ea50
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 0x10098d93
jmp 0x10098ce9
cmp byte [esi + 0x70], bl
je 0x10098e30
lea eax, [esp + 0x24]
mov dword [esi + 0x74], ebx
push eax
mov ecx, 0x101ea970
mov dword [esi + 0x78], ebx
call fcn.1004ea50
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 0x10098dd4
sub ecx, dword [esp + 0x10]
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.10046140
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x10098e1f
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10098e15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10099188
push edx
push ecx
call fcn.100e1eaa
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 0x10098d2e
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10099170
mov eax, dword [0x101faed8]
mov ecx, dword fs:[0x2c]
mov edi, dword [ecx + eax*4]
mov eax, dword [0x10203464]
cmp eax, dword [edi + 4]
jle 0x10098e93
push 0x10203464
call fcn.100e1a85
add esp, 4
cmp dword [0x10203464], 0xffffffff
jne 0x10098e8f
mov eax, dword [0x10203184]
push 0x10203464
mov dword [0x10203460], eax
call fcn.100e1a3b
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [0x10203460]
xorps xmm1, xmm1
mov ecx, dword [esp + 0x1c]
movss xmm0, dword [eax + ecx]
mov eax, dword [0x101faf14]
subss xmm0, dword [eax + 0x10]
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm0
jae 0x10099170
mov eax, dword [0x10203208]
cmp eax, dword [edi + 4]
jle 0x10098ef7
push 0x10203208
call fcn.100e1a85
add esp, 4
cmp dword [0x10203208], 0xffffffff
jne 0x10098ef7
mov eax, dword [0x10203098]
push 0x10203208
mov dword [0x102031f8], eax
call fcn.100e1a3b
add esp, 4
mov eax, dword [0x10202fc8]
mov edx, dword [0x102031f8]
mov dword [esp + 0x10], edx
cmp eax, dword [edi + 4]
jle 0x10098f3f
push 0x10202fc8
call fcn.100e1a85
add esp, 4
cmp dword [0x10202fc8], 0xffffffff
jne 0x10098f3b
mov eax, dword [0x10202fcc]
push 0x10202fc8
mov dword [0x10202fd0], eax
call fcn.100e1a3b
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x10202fd0]
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 [0x101f6f0c]
subss xmm2, dword [0x101f6f10]
subss xmm1, dword [0x101f6f14]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
mulss xmm0, dword [0x10161dac]
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 [0x10161d08]
mov dword [esi + 0x74], eax
mov eax, dword [0x101f7060]
mov dword [esp + 0x18], eax
mov eax, dword [0x10203454]
movss dword [esp + 0x10], xmm3
cmp eax, dword [edi + 4]
jle 0x10099006
push 0x10203454
call fcn.100e1a85
add esp, 4
cmp dword [0x10203454], 0xffffffff
jne 0x10099000
mov eax, dword [0x102031a8]
push 0x10203454
mov dword [0x1020345c], eax
call fcn.100e1a3b
add esp, 4
movss xmm3, dword [esp + 0x10]
mov eax, dword [0x1020345c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax]
test eax, eax
jle 0x1009904a
movaps xmm1, xmm3
movd xmm2, eax
mulss xmm1, dword [0x10161a18]
movaps xmm0, xmm3
cvtdq2ps xmm2, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x10161a18]
comiss xmm0, xmm2
jbe 0x10099047
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm3, xmm1
cvttss2si eax, xmm3
mov dword [esi + 0x78], eax
mov eax, dword [0x10203458]
cmp eax, dword [edi + 4]
jle 0x1009908b
push 0x10203458
call fcn.100e1a85
add esp, 4
cmp dword [0x10203458], 0xffffffff
jne 0x1009908b
mov eax, dword [0x102030fc]
push 0x10203458
mov dword [0x10203468], eax
call fcn.100e1a3b
add esp, 4
mov eax, dword [0x10203468]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + ecx], 0
jne 0x100990bc
lea eax, [esp + 0x3c]
mov ecx, 0x101f2a38
push eax
or ebx, 1
call fcn.1004ea50
cmp dword [esp + 0x50], 0x10
lea edx, [esp + 0x3c]
cmovae edx, dword [esp + 0x3c]
jmp 0x100990dc
lea eax, [esp + 0x24]
mov ecx, 0x101f2a68
push eax
or ebx, 2
call fcn.1004ea50
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 0x100990e1
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x7c]
call fcn.10046140
test bl, 2
je 0x1009912e
mov edx, dword [esp + 0x38]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x1009912e
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10099124
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10099188
push edx
push ecx
call fcn.100e1eaa
add esp, 8
test bl, 1
je 0x10099168
mov edx, dword [esp + 0x50]
and ebx, 0xfffffffe
cmp edx, 0x10
jb 0x10099168
mov ecx, dword [esp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009915e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10099188
push edx
push ecx
call fcn.100e1eaa
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 0x10098e38
jmp 0x10098d2e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3