Function at 0x140011f90
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov rdi, qword [0x140157940]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax - 0x10], rsi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
test rdi, rdi
jne 0x140011fdf
mov r8d, 0xe77
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x140157940]
xor edx, edx
mov rcx, rdi
call fcn.140010a90
call fcn.14001b6a0
mov rbx, qword [0x140157940]
xor esi, esi
cmp byte [rbx + 0x3019], sil
jne 0x14001207a
cmp dword [rbx + 0x3040], esi
je 0x140012022
mov r8d, 0x26d4
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140012073
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
call fcn.14000de60
mov rbp, rax
test rax, rax
je 0x140012073
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400222b0
mov rcx, qword [0x140157940]
test rcx, rcx
je 0x14001206a
dec dword [rcx + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x3019], 1
movss xmm0, dword [rbx + 0x301c]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x60], r14
jbe 0x14001211b
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x301c], xmm0
jb 0x14001211b
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x14001210e
mov rax, qword [0x140157940]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
mov dword [rax + 0x301c], esi
call fcn.140022790
lea rdx, [0x14011c1d4]
mov rcx, rbp
mov r14, rax
call fcn.14000dcb0
mov rbp, rax
test rax, rax
je 0x140012115
mov r8, qword [rsp + 0x80]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140012115
mov byte [rbx + 0x39c], 1
mov dword [rbx + 0x301c], esi
inc dword [rdi + 0x1a10]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x1a1c], 1
mov dword [rdi + 0x2fe0], esi
mov dword [rdi + 0x1a80], esi
addsd xmm0, qword [rdi + 0x1a08]
movsd qword [rdi + 0x1a08], xmm0
mov ecx, dword [rdi + 0x2ffc]
test ecx, ecx
jns 0x140012172
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x2ff8]
test eax, eax
cmovg edx, eax
call fcn.140023ca0
movss xmm9, dword [0x140134fc8]
movss xmm8, dword [0x140134c48]
mov dword [rdi + 0x2ff8], esi
movsxd rax, dword [rdi + 0x328c]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x30ac]
addss xmm0, dword [rdi + 0x3290]
movss dword [rdi + 0x3290], xmm0
movss dword [rdi + rax*4 + 0x30ac], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x328c]
movss xmm1, dword [rdi + 0x3290]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rdi + 0x328c], ecx
jbe 0x140012200
divss xmm1, dword [0x140134eac]
movaps xmm0, xmm8
divss xmm0, xmm1
jmp 0x140012204
movaps xmm0, xmm9
mov rax, qword [rdi + 0xa8]
mov rbx, qword [0x140157940]
movss dword [rdi + 0x3a0], xmm0
mov byte [rax], 1
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
jne 0x140012256
mov rbx, qword [rbx + 0xa8]
cmp dword [rbx + 0x40], esi
jg 0x14001224f
mov r8d, 0x57e
lea rdx, str.E:ReposSimHapticlibsimguiimgui.h
lea rcx, [0x14011c2a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax]
call fcn.14001a800
mov rax, qword [rdi + 0x1920]
cmp qword [rax + 0x40], rsi
jne 0x140012282
mov r8d, 0xe92
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x10]
movss xmm1, dword [rdi + 0x14]
mov qword [rdi + 0x194c], rsi
movss dword [rdi + 0x1954], xmm0
movss dword [rdi + 0x1958], xmm1
mov eax, dword [rdi + 0x1614]
movss xmm1, dword [rdi + 0x1618]
mov dword [rdi + 0x1944], eax
movss xmm0, dword [rdi + 0x1948]
ucomiss xmm0, xmm1
jp 0x1400122ca
je 0x14001234b
movaps xmmword [rsp + 0x40], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x140134dbc]
mov ebx, esi
movss dword [rdi + 0x1948], xmm1
mov ebp, 0x200
nop dword [rax]
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm8
movaps xmm0, xmm1
subss xmm0, dword [rdi + 0x1948]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x140012327
mov edx, recv
jmp 0x14001232c
cmp edx, ebp
cmovg edx, ebp
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebx
mov byte [r14], cl
inc r14
cmp ebx, 0x40
jl 0x1400122f0
movaps xmm7, xmmword [rsp + 0x40]
mov r8d, esi
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x14001236d
mov dword [rdi + 0x195c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x1611], sil
je 0x140012393
mov rax, qword [rdi + 0x1920]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x140012393
or edx, 2
mov dword [rdi + 0x195c], edx
cmp byte [rdi + 0x1612], sil
je 0x1400123a5
or edx, 4
mov dword [rdi + 0x195c], edx
test byte [rdi + 0xc], 8
je 0x1400123b4
or edx, 8
mov dword [rdi + 0x195c], edx
lea rcx, [rdi + 0x1e18]
call fcn.14002bd20
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e18]
mov rdx, qword [rdx + 8]
call fcn.14002c420
mov rax, qword [rdi + 0x1e50]
lea rcx, [rdi + 0x1e18]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14002c290
lea rcx, [rdi + 0x1ed8]
call fcn.14002bd20
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1ed8]
mov rdx, qword [rdx + 8]
call fcn.14002c420
mov rax, qword [rdi + 0x1f10]
lea rcx, [rdi + 0x1ed8]
xor r9d, r9d
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x24]
movss xmm2, dword [rax + 0x20]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x1c]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14002c290
mov r8, qword [0x140157940]
mov byte [rdi + 0x1db8], sil
mov qword [rdi + 0x1dc0], rsi
mov qword [rdi + 0x1dcc], rsi
mov dword [rdi + 0x1dc8], esi
mov qword [rdi + 0x1de4], rsi
mov qword [rdi + 0x1ddc], rsi
mov qword [rdi + 0x1dd4], rsi
cmp byte [rdi + 0x1f9c], sil
je 0x1400124dd
mov eax, dword [rdi + 0x1fbc]
cmp eax, dword [rdi + 0x1ad8]
jne 0x1400124dd
cmp dword [r8 + 0x1ad8], eax
jne 0x1400124cc
mov dword [r8 + 0x1adc], eax
cmp dword [r8 + 0x1b18], eax
jne 0x1400124dd
mov byte [r8 + 0x1b1c], 1
cmp dword [rdi + 0x1ac8], esi
jne 0x1400124ed
mov dword [rdi + 0x1ad0], esi
jmp 0x1400124ff
mov eax, dword [rdi + 0x1ac4]
test eax, eax
je 0x140012505
cmp dword [rdi + 0x1ad8], eax
jne 0x140012505
mov dword [rdi + 0x1ad4], esi
mov eax, dword [rdi + 0x1ac4]
test eax, eax
je 0x14001253f
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ad0]
movss dword [rdi + 0x1ad0], xmm0
cmp dword [rdi + 0x1ad8], eax
je 0x14001253f
addss xmm1, dword [rdi + 0x1ad4]
movss dword [rdi + 0x1ad4], xmm1
mov dword [rdi + 0x1ac8], eax
mov eax, dword [rdi + 0x1ad8]
mov dword [rdi + 0x1ac4], esi
mov word [rdi + 0x1acc], si
cmp dword [rdi + 0x1adc], eax
je 0x1400125bd
cmp dword [rdi + 0x1b18], eax
jne 0x1400125bd
test eax, eax
je 0x1400125bd
mov ecx, dword [r8 + 0x1ad8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ae4], al
test ecx, ecx
je 0x140012592
mov dword [r8 + 0x1ae0], esi
mov word [r8 + 0x1ae7], si
mov dword [r8 + 0x1ad8], esi
mov word [r8 + 0x1ae5], si
mov qword [r8 + 0x1b08], rsi
mov byte [r8 + 0x1ae9], sil
mov qword [r8 + 0x1aec], rsi
mov qword [r8 + 0x1af8], rsi
mov ecx, dword [rdi + 0x1ad8]
test ecx, ecx
je 0x1400125dc
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1ae0]
movss dword [rdi + 0x1ae0], xmm0
mov rax, qword [rdi + 0x1b08]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1b2c]
mov qword [rdi + 0x1b20], rax
movzx eax, byte [rdi + 0x1ae8]
mov byte [rdi + 0x1b1d], al
mov eax, dword [rdi + 0x2fa0]
movss dword [rdi + 0x1b2c], xmm0
mov dword [rdi + 0x1b18], ecx
mov dword [rdi + 0x1adc], esi
mov byte [rdi + 0x1ae9], sil
mov byte [rdi + 0x1b1c], sil
mov byte [rdi + 0x1ae4], sil
test eax, eax
je 0x140012641
cmp ecx, eax
je 0x140012641
mov dword [rdi + 0x2fa0], esi
test ecx, ecx
jne 0x140012653
mov qword [rdi + 0x1aec], rsi
mov qword [rdi + 0x1af8], rsi
mov eax, dword [rdi + 0x200c]
mov dword [rdi + 0x2010], eax
mov eax, esi
mov qword [rdi + 0x2008], 0x7f7fffff
mov word [rdi + 0x1f9d], si
mov dword [rdi + 0x2018], esi
cmp byte [r8 + 0x140], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x141], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x142], sil
cmove edx, ecx
lea rcx, [rdi + 0xca0]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x143], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rdi + 0x4a0]
mov dword [rdi + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x140135004]
lea rcx, [rdi + 0x145]
lea rax, [rdi + 0x4a4]
mov r8d, 0x80
nop dword [rax + rax]
cmp byte [rcx - 1], sil
je 0x14001270c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140012705
movaps xmm0, xmm6
jmp 0x14001270f
addss xmm0, dword [rdi + 0x18]
jmp 0x14001270f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x14001272e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140012727
movaps xmm0, xmm6
jmp 0x140012731
addss xmm0, dword [rdi + 0x18]
jmp 0x140012731
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140012751
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14001274a
movaps xmm0, xmm6
jmp 0x140012754
addss xmm0, dword [rdi + 0x18]
jmp 0x140012754
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140012775
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14001276e
movaps xmm0, xmm6
jmp 0x140012778
addss xmm0, dword [rdi + 0x18]
jmp 0x140012778
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1400126f0
call fcn.14001f070
call fcn.140011230
call fcn.140011c60
call fcn.140010c90
mov r8, qword [0x140157940]
mov eax, dword [r8 + 0x1c18]
sub eax, 1
js 0x1400127eb
mov r8, qword [r8 + 0x1c20]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x1400127e1
test dword [rax + 0xc], 0x8000000
jne 0x140012801
sub r8, 0x30
sub rdx, 1
jns 0x1400127d0
cmp qword [rdi + 0x1d68], rsi
je 0x14001281d
movss xmm0, dword [rdi + 0x1d84]
comiss xmm0, xmm6
jbe 0x14001281d
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140134db8]
addss xmm1, dword [rdi + 0x1e10]
minss xmm1, xmm8
jmp 0x14001283a
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140134dd4]
movss xmm1, dword [rdi + 0x1e10]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1e10], xmm1
mov dword [rdi + 0x1f98], esi
mov qword [rdi + 0x3298], 0xffffffffffffffff
mov dword [rdi + 0x3294], 0xffffffff
mov dword [rdi + 0x3008], 0x3f800000
mov dword [rdi + 0x300c], 0x3f800000
call fcn.140011710
mov rbx, qword [0x140157940]
movaps xmm8, xmmword [rsp + 0x30]
mov rax, qword [rbx + 0x1c38]
test rax, rax
je 0x1400128be
cmp byte [rax + 0x86], sil
je 0x1400128be
test dword [rax + 0xc], 0x40000
jne 0x1400128be
cmp byte [rbx + 0x140], sil
jne 0x1400128be
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400128be
call fcn.140014a60
test al, al
je 0x1400128be
mov al, 1
jmp 0x1400128c0
xor al, al
mov byte [rbx + 0x1db0], al
cmp dword [rbx + 0x1ad8], esi
jne 0x14001292a
test al, al
je 0x14001292a
mov rax, qword [rbx + 0x1c38]
mov qword [rbx + 0x1d98], rax
mov dword [rbx + 0x1da8], 0x7fffffff
cmp dword [rbx + 0x1c40], esi
je 0x140012919
mov ecx, dword [rbx + 0x1c88]
cmp ecx, 0x7fffffff
je 0x140012919
cmp byte [rbx + 0x141], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [rbx + 0x1dac], eax
jmp 0x14001292a
movzx eax, byte [rbx + 0x141]
neg al
sbb ecx, ecx
mov dword [rbx + 0x1dac], ecx
mov r8, qword [rbx + 0x1d98]
mov qword [rbx + 0x1d90], rsi
mov dword [rbx + 0x1da4], 0x7fffffff
mov dword [rbx + 0x1da0], 0x7fffffff
test r8, r8
je 0x1400129bf
mov eax, dword [rbx + 0x1da8]
mov qword [rbx + 0x1d90], r8
cmp eax, 0x7fffffff
je 0x14001297e
mov ecx, dword [r8 + 0x1b8]
cmp ecx, 0xffffffff
je 0x14001297e
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1da0], edx
mov eax, dword [rbx + 0x1dac]
cmp eax, 0x7fffffff
je 0x1400129a4
mov ecx, dword [r8 + 0x1bc]
cmp ecx, 0xffffffff
je 0x1400129a4
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1da4], edx
mov qword [rbx + 0x1d98], rsi
mov dword [rbx + 0x1dac], 0x7fffffff
mov dword [rbx + 0x1da8], 0x7fffffff
mov dword [rbx + 0x1c88], 0x7fffffff
mov eax, dword [rdi + 0x1a30]
cmp dword [rdi + 0x1a40], eax
je 0x1400129f7
mov r8d, 0xf00
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.g.WindowsFocusOrder.Size__g.Windows.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x1a30]
cmp byte [rdi + 0x1a1f], sil
jne 0x140012a20
movss xmm0, dword [rdi + 0xd0]
comiss xmm6, xmm0
ja 0x140012a20
movsd xmm9, qword [rdi + 0x1a08]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, esi
test eax, eax
je 0x140012baa
mov r14, rsi
nop dword [rax]
test r14, r14
js 0x140012a39
cmp ebp, eax
jl 0x140012a53
mov r8d, 0x57e
lea rdx, str.E:ReposSimHapticlibsimguiimgui.h
lea rcx, [0x14011c2a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x1a38]
mov rbx, qword [rax + r14*8]
movzx eax, byte [rbx + 0x86]
mov byte [rbx + 0x87], al
mov word [rbx + 0x92], si
mov byte [rbx + 0x86], sil
mov byte [rbx + 0x88], sil
test al, al
jne 0x140012b97
cmp byte [rbx + 0x3d0], sil
jne 0x140012b97
comiss xmm9, dword [rbx + 0x27c]
jbe 0x140012b97
mov rcx, qword [rbx + 0x2b0]
mov byte [rbx + 0x3d0], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3c8], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3cc], eax
mov rcx, qword [rbx + 0xd0]
test rcx, rcx
je 0x140012af5
mov rax, qword [0x140157940]
mov qword [rbx + 0xc8], rsi
test rax, rax
je 0x140012ae8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xd0], rsi
mov rcx, qword [rbx + 0x2b0]
call fcn.14002bec0
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140012b33
mov rax, qword [0x140157940]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x140012b26
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x198], rsi
mov rcx, qword [rbx + 0x1d8]
test rcx, rcx
je 0x140012b65
mov rax, qword [0x140157940]
mov qword [rbx + 0x1d0], rsi
test rax, rax
je 0x140012b58
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d8], rsi
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x140012b97
mov rax, qword [0x140157940]
mov qword [rbx + 0x1e0], rsi
test rax, rax
je 0x140012b8a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e8], rsi
mov eax, dword [rdi + 0x1a30]
inc ebp
inc r14
cmp ebp, eax
jne 0x140012a30
movaps xmm9, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
cmp byte [rdi + 0x1a1f], sil
je 0x140012c22
mov rbx, qword [0x140157940]
mov rcx, qword [rbx + 0x1c00]
test rcx, rcx
je 0x140012bf0
mov qword [rbx + 0x1bf8], rsi
test rbx, rbx
je 0x140012be3
dec dword [rbx + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c00], rsi
mov rcx, qword [rbx + 0x1c10]
test rcx, rcx
je 0x140012c22
mov rax, qword [0x140157940]
mov qword [rbx + 0x1c08], rsi
test rax, rax
je 0x140012c15
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c10], rsi
mov rax, qword [rdi + 0x1c38]
mov byte [rdi + 0x1a1f], sil
test rax, rax
je 0x140012c45
cmp byte [rax + 0x87], sil
jne 0x140012c45
xor ecx, ecx
call fcn.14001a730
mov ecx, dword [rdi + 0x1a64]
test ecx, ecx
jns 0x140012c6b
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a60]
test eax, eax
cmovg edx, eax
call fcn.140023750
mov dword [rdi + 0x1a60], esi
mov ecx, dword [rdi + 0x1c2c]
test ecx, ecx
jns 0x140012c97
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c28]
test eax, eax
cmovg edx, eax
call fcn.140023c00
lea rbx, [rdi + 0x1bf8]
mov dword [rdi + 0x1c28], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140012cc3
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140023ca0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140012cd7
mov edx, 8
mov rcx, rbx
call fcn.140023ca0
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x1c08]
inc dword [rbx]
call fcn.140023480
mov rcx, qword [rdi + 0x1c38]
xor edx, edx
call fcn.14001d150
mov rbx, qword [0x140157940]
mov dword [rbx + 0x3098], esi
cmp byte [rbx + 0x3094], sil
je 0x140012df7
mov ebp, dword [rbx + 0x1ac8]
mov dword [rbx + 0x1f98], 7
mov ecx, dword [rbx + 0x74]
test ecx, ecx
js 0x140012d40
call fcn.140014a60
test al, al
je 0x140012d40
mov byte [rbx + 0x3094], sil
mov rax, qword [0x140157940]
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm6
jp 0x140012d67
jne 0x140012d67
test ebp, ebp
je 0x140012d67
mov dword [rbx + 0x3098], ebp
mov byte [rbx + 0x3094], sil
or dword [rax + 0x1b30], 0x40
xor edx, edx
mov dword [rax + 0x1b90], 0x3f19999a
call fcn.14001cac0
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.140037400
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140037400
mov rcx, qword [0x140157940]
lea rdx, str.Click_to_break_in_debugger_
mov eax, reloc.WS2_32.dll_recv
test ebp, ebp
cmove rsi, rax
add rcx, 0x161c
add rcx, rsi
call fcn.140037500
mov rax, qword [0x140157940]
mov rcx, qword [rax + 0x1a88]
test dword [rcx + 0xc], 0x2000000
jne 0x140012df2
mov r8d, 0x1e3f
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140019fe0
mov rax, qword [0x140157940]
lea rcx, str.DebugDefault
movss xmm1, dword [0x140134f4c]
xor r8d, r8d
mov byte [rdi + 0x1a1d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x1b30], 2
movsd qword [rax + 0x1b50], xmm0
mov dword [rax + 0x1b38], 4
call fcn.140017ab0
mov rax, qword [rdi + 0x1a88]
movaps xmm6, xmmword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
cmp byte [rax + 0x8e], 1
mov rbx, qword [rsp + 0x88]
je 0x140012e81
mov r8d, 0xf28
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, 1
mov rcx, rdi
add rsp, 0x70
pop rdi
jmp fcn.140010a90