Function at 0x1400197b0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rbx, qword [0x14011c538]
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x30], xmm12
test rbx, rbx
jne 0x14001981a
mov r8d, 0xfb8
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.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 rbx, qword [0x14011c538]
mov esi, dword [rbx + 0x3240]
sub esi, 1
js 0x140019910
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
cmp esi, dword [rbx + 0x3240]
jl 0x140019855
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x3248]
cmp dword [rcx + rbp + 4], 7
jne 0x1400198ff
cmp esi, dword [rbx + 0x3240]
jl 0x140019890
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x3248]
lea rdi, [r14 + rcx]
cmp rdi, rcx
jb 0x1400198ac
movsxd rax, dword [rbx + 0x3240]
shl rax, 5
add rax, rcx
cmp rdi, rax
jb 0x1400198cd
mov r8d, 0x6df
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, [0x140102d78]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x3248]
movsxd r8, dword [rbx + 0x3240]
sub rdi, rcx
sar rdi, 5
sub r8, rdi
mov rax, rdi
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rbx + 0x3240]
sub r14, 0x20
sub rbp, 0x20
sub esi, 1
jns 0x140019833
xor edx, edx
mov rcx, rbx
call fcn.140018060
mov eax, dword [rbx + 0x1a6c]
mov dword [rbx + 0x1a70], eax
call fcn.1400249d0
mov rdi, qword [0x14011c538]
xor esi, esi
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a6c], eax
cmp byte [rdi + 0x31f8], sil
jne 0x1400199ca
cmp dword [rdi + 0x3220], esi
je 0x14001996c
mov r8d, 0x2b0c
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400199c3
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rsi
call fcn.1400155c0
mov rbp, rax
test rax, rax
je 0x1400199c3
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.14002bcd0
mov rcx, qword [0x14011c538]
test rcx, rcx
je 0x1400199b4
dec dword [rcx + 0x3b0]
mov rdx, qword [0x14011c540]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rdi + 0x31f8], 1
movss xmm0, dword [rdi + 0x31fc]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x140019a69
subss xmm0, dword [rdi + 0x18]
comiss xmm10, xmm0
movss dword [rdi + 0x31fc], xmm0
jb 0x140019a69
mov rbp, qword [rdi + 0x20]
test rbp, rbp
je 0x140019a5c
mov rax, qword [0x14011c538]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], rsi
mov dword [rax + 0x31fc], esi
call fcn.14002c1d0
lea rdx, [0x140100ebc]
mov rcx, rbp
mov r14, rax
call fcn.140015410
mov rbp, rax
test rax, rax
je 0x140019a63
mov r8, qword [rsp + 0xc0]
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 0x140019a63
mov byte [rdi + 0x398], 1
mov dword [rdi + 0x31fc], esi
inc dword [rbx + 0x1c90]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x1ca0], 1
mov dword [rbx + 0x3178], esi
mov dword [rbx + 0x1d08], esi
addsd xmm0, qword [rbx + 0x1c88]
movsd qword [rbx + 0x1c88], xmm0
mov ecx, dword [rbx + 0x3194]
test ecx, ecx
jns 0x140019ac5
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3190]
test eax, eax
cmovg edx, eax
call fcn.14003a400
movss xmm1, dword [rbx + 0x18]
movss xmm12, dword [0x140108924]
movaps xmm0, xmm1
movss xmm11, dword [0x14010881c]
mov dword [rbx + 0x3190], esi
movsxd rax, dword [rbx + 0x3494]
subss xmm0, dword [rbx + rax*4 + 0x32b4]
addss xmm0, dword [rbx + 0x3498]
movss dword [rbx + 0x3498], xmm0
movss dword [rbx + rax*4 + 0x32b4], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3494]
movss xmm1, dword [rbx + 0x3498]
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, xmm10
mov dword [rbx + 0x3494], ecx
jbe 0x140019b4f
divss xmm1, dword [0x1401088fc]
movaps xmm0, xmm11
divss xmm0, xmm1
jmp 0x140019b53
movaps xmm0, xmm12
movss dword [rbx + 0x39c], xmm0
call fcn.14002d4e0
mov rax, qword [rbx + 0xa8]
mov rdi, qword [0x14011c538]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
jne 0x140019bab
mov rdi, qword [rdi + 0xa8]
cmp dword [rdi + 0x48], esi
jg 0x140019ba4
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x50]
mov rcx, qword [rax]
call fcn.140023ef0
mov rax, qword [rbx + 0x1a78]
cmp qword [rax + 0x40], rsi
jne 0x140019bd7
mov r8d, 0xfde
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm7, dword [0x140108948]
movaps xmm6, xmm12
mov eax, dword [rbx + 0x1ef0]
movaps xmm8, xmm7
movaps xmm9, xmm12
mov edi, esi
test eax, eax
jle 0x140019c7f
mov rbp, rsi
nop
test rbp, rbp
js 0x140019c0b
mov edx, eax
cmp edi, eax
jl 0x140019c2b
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [rbx + 0x1ef0]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 8]
comiss xmm6, xmm3
movss xmm2, dword [rcx + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x14]
jbe 0x140019c58
movaps xmm6, xmm3
comiss xmm9, xmm2
jbe 0x140019c62
movaps xmm9, xmm2
comiss xmm0, xmm7
jbe 0x140019c6a
movaps xmm7, xmm0
comiss xmm1, xmm8
jbe 0x140019c74
movaps xmm8, xmm1
inc edi
inc rbp
mov eax, edx
cmp edi, edx
jl 0x140019c00
mov eax, dword [rbx + 0x16f4]
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm9
mov dword [rbx + 0x1a9c], eax
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm7
shufps xmm6, xmm6, 0x27
movss xmm6, xmm8
shufps xmm6, xmm6, 0x39
movups xmmword [rbx + 0x1aa4], xmm6
movss xmm6, dword [rbx + 0x16f8]
movss xmm0, dword [rbx + 0x1aa0]
ucomiss xmm0, xmm6
jp 0x140019ccb
je 0x140019d9f
comiss xmm6, xmm10
ja 0x140019ceb
mov r8d, 0x18d
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui_draw.cpp
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rbx + 0x1aa0], xmm6
lea r14, [rbx + 0x1c3c]
movss xmm6, dword [0x14010887c]
mov edi, esi
mov ebp, 0x200
nop dword [rax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x140019d67
movss xmm1, dword [rbx + 0x1aa0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm11
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x140019d60
mov eax, 4
jmp 0x140019d69
cmp eax, ebp
cmovg eax, ebp
jmp 0x140019d69
mov eax, esi
mov byte [r14], al
inc edi
inc r14
cmp edi, 0x40
jl 0x140019d10
movss xmm0, dword [0x1401087a8]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1aa0]
movaps xmm2, xmm11
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1c38], xmm1
mov r8d, esi
mov dword [rbx + 0x1ab4], esi
cmp byte [rbx + 0x16f0], sil
je 0x140019dc1
mov dword [rbx + 0x1ab4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f1], sil
je 0x140019de6
mov rax, qword [rbx + 0x1a78]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140019de6
or edx, 2
mov dword [rbx + 0x1ab4], edx
cmp byte [rbx + 0x16f2], sil
je 0x140019df8
or edx, 4
mov dword [rbx + 0x1ab4], edx
test byte [rbx + 0xc], 8
je 0x140019e07
or edx, 8
mov dword [rbx + 0x1ab4], edx
mov eax, dword [rbx + 0x1ef0]
mov edi, esi
test eax, eax
jle 0x140019e78
mov rbp, rsi
test rbp, rbp
js 0x140019e1f
cmp edi, eax
jl 0x140019e39
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1ef8]
xorps xmm0, xmm0
inc edi
mov rcx, qword [rax + rbp*8]
xor eax, eax
inc rbp
mov qword [rcx + 0x30], rsi
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
mov eax, dword [rbx + 0x1ef0]
cmp edi, eax
jl 0x140019e16
mov r8, qword [0x14011c538]
cmp byte [rbx + 0x20d4], sil
je 0x140019eb7
mov eax, dword [rbx + 0x20f4]
cmp eax, dword [rbx + 0x1d6c]
jne 0x140019eb7
cmp dword [r8 + 0x1d6c], eax
jne 0x140019ea6
mov dword [r8 + 0x1d70], eax
cmp dword [r8 + 0x1da8], eax
jne 0x140019eb7
mov byte [r8 + 0x1dac], 1
mov eax, dword [rbx + 0x1d58]
cmp dword [rbx + 0x1d5c], esi
jne 0x140019ecd
mov dword [rbx + 0x1d64], esi
jmp 0x140019edb
mov edx, eax
test eax, eax
je 0x140019ee3
cmp dword [rbx + 0x1d6c], eax
jne 0x140019ee3
mov dword [rbx + 0x1d68], esi
mov edx, eax
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1d6c]
test edx, edx
je 0x140019f1c
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1d64]
movss dword [rbx + 0x1d64], xmm0
cmp ecx, edx
je 0x140019f1c
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1d68]
movss dword [rbx + 0x1d68], xmm0
movaps xmm1, xmm2
movzx eax, byte [rbx + 0x1d61]
mov dword [rbx + 0x1d5c], edx
mov edx, ecx
mov byte [rbx + 0x1d62], al
mov dword [rbx + 0x1d58], esi
mov word [rbx + 0x1d60], si
mov byte [rbx + 0x1d63], sil
cmp dword [rbx + 0x1d70], ecx
je 0x140019fc4
cmp dword [rbx + 0x1da8], ecx
jne 0x140019fc4
test ecx, ecx
je 0x140019fc4
mov ecx, dword [r8 + 0x1d6c]
test ecx, ecx
setne al
mov byte [r8 + 0x1d78], al
test ecx, ecx
je 0x140019f8d
mov dword [r8 + 0x1d74], esi
mov word [r8 + 0x1d7b], si
mov dword [r8 + 0x1da4], 0xffffffff
mov dword [r8 + 0x1d6c], esi
mov word [r8 + 0x1d79], si
mov qword [r8 + 0x1d98], rsi
mov word [r8 + 0x1d7d], si
mov qword [r8 + 0x1d80], rsi
mov qword [r8 + 0x1d88], rsi
mov edx, dword [rbx + 0x1d6c]
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x140019fdb
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
mov rax, qword [rbx + 0x1d98]
addss xmm1, dword [rbx + 0x1dbc]
mov qword [rbx + 0x1db0], rax
movzx eax, byte [rbx + 0x1d7c]
mov byte [rbx + 0x1dad], al
mov eax, dword [rbx + 0x3138]
movss dword [rbx + 0x1dbc], xmm1
mov dword [rbx + 0x1da8], edx
mov dword [rbx + 0x1d70], esi
mov byte [rbx + 0x1d7d], sil
mov byte [rbx + 0x1dac], sil
mov byte [rbx + 0x1d78], sil
test eax, eax
je 0x14001a03b
cmp edx, eax
je 0x14001a03b
mov dword [rbx + 0x3138], esi
test edx, edx
jne 0x14001a04d
mov qword [rbx + 0x1d80], rsi
mov qword [rbx + 0x1d88], rsi
mov eax, dword [rbx + 0x2144]
mov dword [rbx + 0x2148], eax
mov eax, esi
mov qword [rbx + 0x2140], 0x7f7fffff
mov word [rbx + 0x20d5], si
mov dword [rbx + 0x2150], esi
cmp byte [r8 + 0x13c], sil
setne al
mov ecx, eax
or ecx, 2
cmp byte [r8 + 0x13d], sil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [r8 + 0x13e], sil
cmove edx, ecx
lea rcx, [rbx + 0xc98]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x13f], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x140108934]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov edx, 0x80
cmp byte [rcx - 1], sil
je 0x14001a102
movss xmm0, dword [rax - 4]
comiss xmm10, xmm0
jbe 0x14001a0fb
movaps xmm0, xmm10
jmp 0x14001a105
addss xmm0, dword [rbx + 0x18]
jmp 0x14001a105
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], sil
je 0x14001a126
movss xmm0, dword [rax]
comiss xmm10, xmm0
jbe 0x14001a11f
movaps xmm0, xmm10
jmp 0x14001a129
addss xmm0, dword [rbx + 0x18]
jmp 0x14001a129
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], sil
je 0x14001a14b
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
jbe 0x14001a144
movaps xmm0, xmm10
jmp 0x14001a14e
addss xmm0, dword [rbx + 0x18]
jmp 0x14001a14e
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], sil
je 0x14001a171
movss xmm0, dword [rax + 8]
comiss xmm10, xmm0
jbe 0x14001a16a
movaps xmm0, xmm10
jmp 0x14001a174
addss xmm0, dword [rbx + 0x18]
jmp 0x14001a174
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x14001a0e4
call fcn.140028420
call fcn.140018bc0
mov rcx, rbx
call fcn.14002f2a0
call fcn.1400193e0
call fcn.140018570
mov r8, qword [0x14011c538]
mov eax, dword [r8 + 0x1ed0]
sub eax, 1
js 0x14001a1ee
mov r8, qword [r8 + 0x1ed8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14001a1e4
test dword [rax + 0xc], 0x8000000
jne 0x14001a205
sub r8, 0x30
sub rdx, 1
jns 0x14001a1d3
cmp qword [rbx + 0x2080], rsi
je 0x14001a221
movss xmm0, dword [rbx + 0x209c]
comiss xmm0, xmm10
jbe 0x14001a221
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1401088a0]
addss xmm1, dword [rbx + 0x20cc]
minss xmm1, xmm11
jmp 0x14001a23f
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1401088ac]
movss xmm1, dword [rbx + 0x20cc]
subss xmm1, xmm0
maxss xmm1, xmm10
movss dword [rbx + 0x20cc], xmm1
mov dword [rbx + 0x20d0], esi
mov qword [rbx + 0x34a0], 0xffffffffffffffff
mov dword [rbx + 0x349c], 0xffffffff
mov dword [rbx + 0x31a0], 0x3f800000
mov dword [rbx + 0x31a4], 0x3f800000
mov qword [rbx + 0x31b0], rsi
call fcn.140018f40
mov rdi, qword [0x14011c538]
mov rax, qword [rdi + 0x1f50]
test rax, rax
je 0x14001a2c4
cmp byte [rax + 0xcf], sil
je 0x14001a2c4
test dword [rax + 0xc], 0x40000
jne 0x14001a2c4
cmp byte [rdi + 0x13c], sil
jne 0x14001a2c4
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x14001a2c4
call fcn.14001d1c0
test al, al
je 0x14001a2c4
mov al, 1
jmp 0x14001a2c6
xor al, al
mov byte [rdi + 0x20c8], al
cmp dword [rdi + 0x1d6c], esi
jne 0x14001a326
test al, al
je 0x14001a326
mov rax, qword [rdi + 0x1f50]
mov qword [rdi + 0x20b0], rax
mov dword [rdi + 0x20c0], 0x7fffffff
cmp dword [rdi + 0x1f58], esi
je 0x14001a315
mov edx, dword [rdi + 0x1fa0]
cmp edx, 0x7fffffff
je 0x14001a315
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x14001a320
movzx eax, byte [rdi + 0x13d]
neg al
sbb ecx, ecx
mov dword [rdi + 0x20c4], ecx
mov r8, qword [rdi + 0x20b0]
mov qword [rdi + 0x20a8], rsi
mov dword [rdi + 0x20bc], 0x7fffffff
mov dword [rdi + 0x20b8], 0x7fffffff
test r8, r8
je 0x14001a3bb
mov eax, dword [rdi + 0x20c0]
mov qword [rdi + 0x20a8], r8
cmp eax, 0x7fffffff
je 0x14001a37a
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x14001a37a
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20b8], edx
mov eax, dword [rdi + 0x20c4]
cmp eax, 0x7fffffff
je 0x14001a3a0
mov ecx, dword [r8 + 0x200]
cmp ecx, 0xffffffff
je 0x14001a3a0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x20bc], edx
mov qword [rdi + 0x20b0], rsi
mov dword [rdi + 0x20c4], 0x7fffffff
mov dword [rdi + 0x20c0], 0x7fffffff
mov dword [rdi + 0x1fa0], 0x7fffffff
mov eax, dword [rbx + 0x1cb8]
cmp dword [rbx + 0x1cc8], eax
jle 0x14001a3f3
mov r8d, 0x1053
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.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 [rbx + 0x1cb8]
cmp byte [rbx + 0x1ca3], sil
jne 0x14001a41d
movss xmm0, dword [rbx + 0xd8]
comiss xmm10, xmm0
ja 0x14001a41d
movsd xmm12, qword [rbx + 0x1c88]
cvtpd2ps xmm12, xmm12
subss xmm12, xmm0
mov ebp, esi
test eax, eax
je 0x14001a5c5
mov r14, rsi
nop word [rax + rax]
test r14, r14
js 0x14001a439
cmp ebp, eax
jl 0x14001a453
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1cc0]
mov rdi, qword [rax + r14*8]
movzx eax, byte [rdi + 0xcf]
mov byte [rdi + 0xd0], al
mov word [rdi + 0xda], si
mov byte [rdi + 0xcf], sil
mov byte [rdi + 0xd1], sil
test al, al
jne 0x14001a5b2
cmp byte [rdi + 0x428], sil
jne 0x14001a5b2
comiss xmm12, dword [rdi + 0x2c0]
jbe 0x14001a5b2
mov rcx, qword [rdi + 0x2f8]
mov byte [rdi + 0x428], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x420], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x424], eax
mov r8, qword [rdi + 0x110]
test r8, r8
je 0x14001a505
mov rax, qword [0x14011c538]
mov qword [rdi + 0x108], rsi
test rax, rax
je 0x14001a4e8
dec dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
mov rcx, r8
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x110], rsi
mov rcx, qword [rdi + 0x2f8]
call fcn.140042750
mov rcx, qword [rdi + 0x1d8]
test rcx, rcx
je 0x14001a542
mov rax, qword [0x14011c538]
mov qword [rdi + 0x1d0], rsi
test rax, rax
je 0x14001a52f
dec dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1d8], rsi
mov rcx, qword [rdi + 0x218]
test rcx, rcx
je 0x14001a57a
mov rax, qword [0x14011c538]
mov qword [rdi + 0x210], rsi
test rax, rax
je 0x14001a567
dec dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x218], rsi
mov rcx, qword [rdi + 0x228]
test rcx, rcx
je 0x14001a5b2
mov rax, qword [0x14011c538]
mov qword [rdi + 0x220], rsi
test rax, rax
je 0x14001a59f
dec dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x228], rsi
mov eax, dword [rbx + 0x1cb8]
inc ebp
inc r14
cmp ebp, eax
jne 0x14001a430
mov eax, dword [rbx + 0x21b8]
mov edi, esi
test eax, eax
jle 0x14001a69c
mov rbp, rsi
mov ecx, eax
nop word [rax + rax]
test edi, edi
js 0x14001a5e8
cmp edi, eax
jl 0x14001a608
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [rbx + 0x21b8]
mov rax, qword [rbx + 0x21c0]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm10
jb 0x14001a686
test edi, edi
js 0x14001a622
cmp edi, ecx
jl 0x14001a643
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x21c0]
comiss xmm12, dword [rax + rbp]
jbe 0x14001a686
test edi, edi
js 0x14001a656
cmp edi, dword [rbx + 0x2180]
jl 0x14001a670
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
imul rcx, rax, 0x258
add rcx, qword [rbx + 0x2188]
call fcn.140050ab0
mov eax, dword [rbx + 0x21b8]
inc edi
add rbp, 4
mov ecx, eax
cmp edi, eax
jl 0x14001a5e0
cmp byte [rbx + 0x1ca3], sil
je 0x14001a71a
mov rdi, qword [0x14011c538]
mov rcx, qword [rdi + 0x1eb8]
test rcx, rcx
je 0x14001a6dd
mov qword [rdi + 0x1eb0], rsi
test rdi, rdi
je 0x14001a6ca
dec dword [rdi + 0x3b0]
mov rdx, qword [0x14011c540]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1eb8], rsi
mov rcx, qword [rdi + 0x1ec8]
test rcx, rcx
je 0x14001a715
mov rax, qword [0x14011c538]
mov qword [rdi + 0x1ec0], rsi
test rax, rax
je 0x14001a702
dec dword [rax + 0x3b0]
mov rdx, qword [0x14011c540]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1ec8], rsi
call fcn.140050ca0
mov rax, qword [rbx + 0x1f50]
mov byte [rbx + 0x1ca3], sil
test rax, rax
je 0x14001a7d0
cmp byte [rax + 0xd0], sil
jne 0x14001a7d0
mov r15, qword [0x14011c538]
mov ebp, dword [r15 + 0x1cc8]
sub ebp, 1
movsxd r14, ebp
js 0x14001a7c9
cmp ebp, dword [r15 + 0x1cc8]
jl 0x14001a777
mov r8d, 0x6c7
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r15 + 0x1cd0]
mov rdi, qword [rax + r14*8]
cmp rdi, qword [rdi + 0x3d0]
je 0x14001a7a5
mov r8d, 0x1ba2
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.window__window__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rdi + 0xd0], sil
je 0x14001a7c1
mov eax, dword [rdi + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14001aa45
dec ebp
sub r14, 1
jns 0x14001a754
xor ecx, ecx
call fcn.140023bf0
mov ecx, dword [rbx + 0x1cec]
test ecx, ecx
jns 0x14001a7f6
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ce8]
test eax, eax
cmovg edx, eax
call fcn.140007df0
mov dword [rbx + 0x1ce8], esi
mov ecx, dword [rbx + 0x1ee4]
test ecx, ecx
jns 0x14001a822
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ee0]
test eax, eax
cmovg edx, eax
call fcn.14003a360
lea rdi, [rbx + 0x1eb0]
mov dword [rbx + 0x1ee0], esi
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x14001a851
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.14003a400
mov ecx, dword [rdi + 4]
mov dword [rdi], esi
mov eax, esi
test ecx, ecx
jne 0x14001a866
lea edx, [rcx + 8]
mov rcx, rdi
call fcn.14003a400
mov eax, dword [rdi]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x1ec0]
inc dword [rdi]
call fcn.140039ab0
mov rcx, qword [rbx + 0x1f50]
xor edx, edx
call fcn.1400264a0
mov rcx, rbx
call fcn.14002f490
mov rax, qword [0x14011c538]
lea r14, [rax + 0x329c]
lea r15, [rax + 0x32a0]
mov dword [r15], esi
cmp byte [r14], sil
je 0x14001a992
mov edi, dword [rax + 0x1d5c]
mov dword [rax + 0x20d0], 7
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x14001a8e1
call fcn.14001d1c0
test al, al
mov rax, qword [0x14011c538]
je 0x14001a8e1
mov byte [r14], sil
movss xmm0, dword [rax + 0x434]
ucomiss xmm0, xmm10
jp 0x14001a8fb
jne 0x14001a8fb
test edi, edi
je 0x14001a8fb
mov dword [r15], edi
mov byte [r14], sil
or dword [rax + 0x1dc0], 0x40
xor edx, edx
mov dword [rax + 0x1e20], 0x3f19999a
call fcn.140025cc0
mov edx, edi
lea rcx, str.HoveredId:_0x_08X
call fcn.140052150
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140052150
mov rcx, qword [0x14011c538]
lea rdx, str.Click_to_break_in_debugger_
mov eax, reloc.WS2_32.dll_recv
test edi, edi
cmove rsi, rax
add rcx, 0x16fc
add rcx, rsi
call fcn.1400521d0
mov rax, qword [0x14011c538]
mov rcx, qword [rax + 0x1d18]
test dword [rcx + 0xc], 0x2000000
jne 0x14001a986
mov r8d, 0x2209
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140023460
mov rax, qword [0x14011c538]
mov byte [rbx + 0x1ca1], 1
lea rcx, str.DebugDefault
or dword [rax + 0x1dc0], 2
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1de4], 0x43c80000
mov dword [rax + 0x1de8], 0x43c80000
mov dword [rax + 0x1dc8], 4
call fcn.140020300
mov rax, qword [rbx + 0x1d18]
cmp byte [rax + 0xd7], 1
je 0x14001a9f9
mov r8d, 0x1083
lea rdx, str.C:UserswhatwDocumentsGitHubPain_Patek_Loaderimguiimgui.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, rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.140018060
mov rcx, rdi
call fcn.140027d20
mov rcx, rax
jmp 0x14001a7cb