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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov rdi, qword [0x140156960]
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 0x140011fcf
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 [0x140156960]
xor edx, edx
mov rcx, rdi
call fcn.140010a80
call fcn.14001b690
mov rbx, qword [0x140156960]
xor esi, esi
cmp byte [rbx + 0x3019], sil
jne 0x14001206a
cmp dword [rbx + 0x3040], esi
je 0x140012012
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 0x140012063
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
call fcn.14000de50
mov rbp, rax
test rax, rax
je 0x140012063
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400222a0
mov rcx, qword [0x140156960]
test rcx, rcx
je 0x14001205a
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 0x14001210b
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x301c], xmm0
jb 0x14001210b
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x1400120fe
mov rax, qword [0x140156960]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rsi
mov dword [rax + 0x301c], esi
call fcn.140022780
lea rdx, [0x14011b194]
mov rcx, rbp
mov r14, rax
call fcn.14000dca0
mov rbp, rax
test rax, rax
je 0x140012105
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 0x140012105
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 0x140012162
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.140023c90
movss xmm9, dword [0x140133dd8]
movss xmm8, dword [0x140133a48]
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 0x1400121f0
divss xmm1, dword [0x140133cbc]
movaps xmm0, xmm8
divss xmm0, xmm1
jmp 0x1400121f4
movaps xmm0, xmm9
mov rax, qword [rdi + 0xa8]
mov rbx, qword [0x140156960]
movss dword [rdi + 0x3a0], xmm0
mov byte [rax], 1
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
jne 0x140012246
mov rbx, qword [rbx + 0xa8]
cmp dword [rbx + 0x40], esi
jg 0x14001223f
mov r8d, 0x57e
lea rdx, str.E:ReposSimHapticlibsimguiimgui.h
lea rcx, [0x14011b268]
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.14001a7f0
mov rax, qword [rdi + 0x1920]
cmp qword [rax + 0x40], rsi
jne 0x140012272
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 0x1400122ba
je 0x14001233b
movaps xmmword [rsp + 0x40], xmm7
lea r14, [rdi + 0x19c0]
movss xmm7, dword [0x140133bcc]
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 0x140012317
mov edx, recv
jmp 0x14001231c
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 0x1400122e0
movaps xmm7, xmmword [rsp + 0x40]
mov r8d, esi
mov dword [rdi + 0x195c], esi
cmp byte [rdi + 0x1610], sil
je 0x14001235d
mov dword [rdi + 0x195c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x1611], sil
je 0x140012383
mov rax, qword [rdi + 0x1920]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x140012383
or edx, 2
mov dword [rdi + 0x195c], edx
cmp byte [rdi + 0x1612], sil
je 0x140012395
or edx, 4
mov dword [rdi + 0x195c], edx
test byte [rdi + 0xc], 8
je 0x1400123a4
or edx, 8
mov dword [rdi + 0x195c], edx
lea rcx, [rdi + 0x1e18]
call fcn.14002bd10
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1e18]
mov rdx, qword [rdx + 8]
call fcn.14002c410
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.14002c280
lea rcx, [rdi + 0x1ed8]
call fcn.14002bd10
mov rdx, qword [rdi + 0xa8]
lea rcx, [rdi + 0x1ed8]
mov rdx, qword [rdx + 8]
call fcn.14002c410
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.14002c280
mov r8, qword [0x140156960]
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 0x1400124cd
mov eax, dword [rdi + 0x1fbc]
cmp eax, dword [rdi + 0x1ad8]
jne 0x1400124cd
cmp dword [r8 + 0x1ad8], eax
jne 0x1400124bc
mov dword [r8 + 0x1adc], eax
cmp dword [r8 + 0x1b18], eax
jne 0x1400124cd
mov byte [r8 + 0x1b1c], 1
cmp dword [rdi + 0x1ac8], esi
jne 0x1400124dd
mov dword [rdi + 0x1ad0], esi
jmp 0x1400124ef
mov eax, dword [rdi + 0x1ac4]
test eax, eax
je 0x1400124f5
cmp dword [rdi + 0x1ad8], eax
jne 0x1400124f5
mov dword [rdi + 0x1ad4], esi
mov eax, dword [rdi + 0x1ac4]
test eax, eax
je 0x14001252f
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1ad0]
movss dword [rdi + 0x1ad0], xmm0
cmp dword [rdi + 0x1ad8], eax
je 0x14001252f
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 0x1400125ad
cmp dword [rdi + 0x1b18], eax
jne 0x1400125ad
test eax, eax
je 0x1400125ad
mov ecx, dword [r8 + 0x1ad8]
test ecx, ecx
setne al
mov byte [r8 + 0x1ae4], al
test ecx, ecx
je 0x140012582
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 0x1400125cc
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 0x140012631
cmp ecx, eax
je 0x140012631
mov dword [rdi + 0x2fa0], esi
test ecx, ecx
jne 0x140012643
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 [0x140133e14]
lea rcx, [rdi + 0x145]
lea rax, [rdi + 0x4a4]
mov r8d, 0x80
nop dword [rax + rax]
cmp byte [rcx - 1], sil
je 0x1400126fc
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1400126f5
movaps xmm0, xmm6
jmp 0x1400126ff
addss xmm0, dword [rdi + 0x18]
jmp 0x1400126ff
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x14001271e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140012717
movaps xmm0, xmm6
jmp 0x140012721
addss xmm0, dword [rdi + 0x18]
jmp 0x140012721
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x140012741
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14001273a
movaps xmm0, xmm6
jmp 0x140012744
addss xmm0, dword [rdi + 0x18]
jmp 0x140012744
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x140012765
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14001275e
movaps xmm0, xmm6
jmp 0x140012768
addss xmm0, dword [rdi + 0x18]
jmp 0x140012768
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1400126e0
call fcn.14001f060
call fcn.140011220
call fcn.140011c50
call fcn.140010c80
mov r8, qword [0x140156960]
mov eax, dword [r8 + 0x1c18]
sub eax, 1
js 0x1400127db
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 0x1400127d1
test dword [rax + 0xc], 0x8000000
jne 0x1400127f1
sub r8, 0x30
sub rdx, 1
jns 0x1400127c0
cmp qword [rdi + 0x1d68], rsi
je 0x14001280d
movss xmm0, dword [rdi + 0x1d84]
comiss xmm0, xmm6
jbe 0x14001280d
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x140133bc8]
addss xmm1, dword [rdi + 0x1e10]
minss xmm1, xmm8
jmp 0x14001282a
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140133be4]
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.140011700
mov rbx, qword [0x140156960]
movaps xmm8, xmmword [rsp + 0x30]
mov rax, qword [rbx + 0x1c38]
test rax, rax
je 0x1400128ae
cmp byte [rax + 0x86], sil
je 0x1400128ae
test dword [rax + 0xc], 0x40000
jne 0x1400128ae
cmp byte [rbx + 0x140], sil
jne 0x1400128ae
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400128ae
call fcn.140014a50
test al, al
je 0x1400128ae
mov al, 1
jmp 0x1400128b0
xor al, al
mov byte [rbx + 0x1db0], al
cmp dword [rbx + 0x1ad8], esi
jne 0x14001291a
test al, al
je 0x14001291a
mov rax, qword [rbx + 0x1c38]
mov qword [rbx + 0x1d98], rax
mov dword [rbx + 0x1da8], 0x7fffffff
cmp dword [rbx + 0x1c40], esi
je 0x140012909
mov ecx, dword [rbx + 0x1c88]
cmp ecx, 0x7fffffff
je 0x140012909
cmp byte [rbx + 0x141], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [rbx + 0x1dac], eax
jmp 0x14001291a
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 0x1400129af
mov eax, dword [rbx + 0x1da8]
mov qword [rbx + 0x1d90], r8
cmp eax, 0x7fffffff
je 0x14001296e
mov ecx, dword [r8 + 0x1b8]
cmp ecx, 0xffffffff
je 0x14001296e
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1da0], edx
mov eax, dword [rbx + 0x1dac]
cmp eax, 0x7fffffff
je 0x140012994
mov ecx, dword [r8 + 0x1bc]
cmp ecx, 0xffffffff
je 0x140012994
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 0x1400129e7
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 0x140012a10
movss xmm0, dword [rdi + 0xd0]
comiss xmm6, xmm0
ja 0x140012a10
movsd xmm9, qword [rdi + 0x1a08]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, esi
test eax, eax
je 0x140012b9a
mov r14, rsi
nop dword [rax]
test r14, r14
js 0x140012a29
cmp ebp, eax
jl 0x140012a43
mov r8d, 0x57e
lea rdx, str.E:ReposSimHapticlibsimguiimgui.h
lea rcx, [0x14011b268]
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 0x140012b87
cmp byte [rbx + 0x3d0], sil
jne 0x140012b87
comiss xmm9, dword [rbx + 0x27c]
jbe 0x140012b87
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 0x140012ae5
mov rax, qword [0x140156960]
mov qword [rbx + 0xc8], rsi
test rax, rax
je 0x140012ad8
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.14002beb0
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140012b23
mov rax, qword [0x140156960]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x140012b16
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 0x140012b55
mov rax, qword [0x140156960]
mov qword [rbx + 0x1d0], rsi
test rax, rax
je 0x140012b48
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 0x140012b87
mov rax, qword [0x140156960]
mov qword [rbx + 0x1e0], rsi
test rax, rax
je 0x140012b7a
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 0x140012a20
movaps xmm9, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
cmp byte [rdi + 0x1a1f], sil
je 0x140012c12
mov rbx, qword [0x140156960]
mov rcx, qword [rbx + 0x1c00]
test rcx, rcx
je 0x140012be0
mov qword [rbx + 0x1bf8], rsi
test rbx, rbx
je 0x140012bd3
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 0x140012c12
mov rax, qword [0x140156960]
mov qword [rbx + 0x1c08], rsi
test rax, rax
je 0x140012c05
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 0x140012c35
cmp byte [rax + 0x87], sil
jne 0x140012c35
xor ecx, ecx
call fcn.14001a720
mov ecx, dword [rdi + 0x1a64]
test ecx, ecx
jns 0x140012c5b
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.140023740
mov dword [rdi + 0x1a60], esi
mov ecx, dword [rdi + 0x1c2c]
test ecx, ecx
jns 0x140012c87
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.140023bf0
lea rbx, [rdi + 0x1bf8]
mov dword [rdi + 0x1c28], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140012cb3
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.140023c90
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140012cc7
mov edx, 8
mov rcx, rbx
call fcn.140023c90
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.140023470
mov rcx, qword [rdi + 0x1c38]
xor edx, edx
call fcn.14001d140
mov rbx, qword [0x140156960]
mov dword [rbx + 0x3098], esi
cmp byte [rbx + 0x3094], sil
je 0x140012de7
mov ebp, dword [rbx + 0x1ac8]
mov dword [rbx + 0x1f98], 7
mov ecx, dword [rbx + 0x74]
test ecx, ecx
js 0x140012d30
call fcn.140014a50
test al, al
je 0x140012d30
mov byte [rbx + 0x3094], sil
mov rax, qword [0x140156960]
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm6
jp 0x140012d57
jne 0x140012d57
test ebp, ebp
je 0x140012d57
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.14001cab0
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.1400373f0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400373f0
mov rcx, qword [0x140156960]
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.1400374f0
mov rax, qword [0x140156960]
mov rcx, qword [rax + 0x1a88]
test dword [rcx + 0xc], 0x2000000
jne 0x140012de2
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.140019fd0
mov rax, qword [0x140156960]
lea rcx, str.DebugDefault
movss xmm1, dword [0x140133d5c]
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.140017aa0
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 0x140012e71
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.140010a80