Function at 0x140005a90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rbx, qword [0x140161e70]
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 0x140005af5
mov r8d, 0xf34
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.cpp
lea rcx, [0x140034880]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140161e70]
mov esi, dword [rbx + 0x30c0]
sub esi, 1
js 0x140005bf0
movsxd rbp, esi
shl rbp, 5
mov r14, rbp
nop
cmp esi, dword [rbx + 0x30c0]
jl 0x140005b32
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x30c8]
cmp dword [rax + rbp + 4], 7
jne 0x140005bdf
mov eax, dword [rbx + 0x30c0]
cmp esi, eax
jl 0x140005b6e
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x30c0]
mov rcx, qword [rbx + 0x30c8]
lea rdi, [rcx + r14]
cmp rdi, rcx
jb 0x140005b8c
cdqe
shl rax, 5
add rax, rcx
cmp rdi, rax
jb 0x140005ba6
mov r8d, 0x6a1
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.h
lea rcx, [0x1400375c0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x30c8]
movsxd r8, dword [rbx + 0x30c0]
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 + 0x30c0]
sub r14, 0x20
sub rbp, 0x20
sub esi, 1
jns 0x140005b10
xor edx, edx
mov rcx, rbx
call fcn.140004640
call fcn.14000eab0
mov rdi, qword [0x140161e70]
xor esi, esi
cmp byte [rdi + 0x3079], sil
jne 0x140005c95
cmp dword [rdi + 0x30a0], esi
je 0x140005c37
mov r8d, 0x2806
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 0x140005c8e
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rsi
call fcn.140002910
mov rbp, rax
test rax, rax
je 0x140005c8e
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.1400147b0
mov rcx, qword [0x140161e70]
test rcx, rcx
je 0x140005c7f
dec dword [rcx + 0x3b4]
mov rdx, qword [0x140161e60]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rdi + 0x3079], 1
movss xmm0, dword [rdi + 0x307c]
xorps xmm7, xmm7
comiss xmm0, xmm7
jbe 0x140005d31
subss xmm0, dword [rdi + 0x18]
comiss xmm7, xmm0
movss dword [rdi + 0x307c], xmm0
jb 0x140005d31
mov rbp, qword [rdi + 0x20]
test rbp, rbp
je 0x140005d24
mov rax, qword [0x140161e70]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], rsi
mov dword [rax + 0x307c], esi
call fcn.140014cb0
lea rdx, [0x1400374a4]
mov rcx, rbp
mov r14, rax
call fcn.140002760
mov rbp, rax
test rax, rax
je 0x140005d2b
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 0x140005d2b
mov byte [rdi + 0x39c], 1
mov dword [rdi + 0x307c], esi
inc dword [rbx + 0x1be8]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1bf4], 1
mov dword [rbx + 0x3040], esi
mov dword [rbx + 0x1c58], esi
addsd xmm0, qword [rbx + 0x1be0]
movsd qword [rbx + 0x1be0], xmm0
mov ecx, dword [rbx + 0x305c]
test ecx, ecx
jns 0x140005d88
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3058]
test eax, eax
cmovg edx, eax
call fcn.1400165d0
movss xmm12, dword [0x14003d980]
movss xmm11, dword [0x14003d8cc]
mov dword [rbx + 0x3058], esi
movsxd rax, dword [rbx + 0x3314]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x3134]
addss xmm0, dword [rbx + 0x3318]
movss dword [rbx + 0x3318], xmm0
movss dword [rbx + rax*4 + 0x3134], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3314]
movss xmm1, dword [rbx + 0x3318]
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, xmm7
mov dword [rbx + 0x3314], ecx
jbe 0x140005e16
divss xmm1, dword [0x14003d94c]
movaps xmm0, xmm11
divss xmm0, xmm1
jmp 0x140005e1a
movaps xmm0, xmm12
mov r14, qword [0x140161e70]
movss dword [rbx + 0x3a0], xmm0
cmp dword [r14 + 0x1e08], 1
je 0x140005e4d
mov r8d, 0x2935
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.cpp
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [r14 + 0x1e08], esi
jg 0x140005e70
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 [r14 + 0x1e10]
mov ebp, esi
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [r14 + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [r14 + 0x1e08]
test eax, eax
jle 0x140005f6d
mov rdi, rsi
test rdi, rdi
js 0x140005eac
cmp ebp, eax
jl 0x140005ec6
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 [r14 + 0x1e10]
movaps xmm3, xmm7
inc ebp
mov rcx, qword [rax + rdi*8]
inc rdi
movsd xmm2, qword [rcx + 0xa0]
movsd xmm5, qword [rcx + 0xa8]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 4]
movaps xmm4, xmm2
movsd qword [rcx + 0x90], xmm2
shufps xmm4, xmm4, 0x55
movaps xmm0, xmm4
mov qword [rcx + 0xa8], rsi
addss xmm0, dword [rcx + 8]
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
subss xmm1, xmm2
mov qword [rcx + 0xa0], rsi
movss xmm2, dword [rcx + 0x10]
movss dword [rcx + 0x18], xmm0
subss xmm2, xmm4
movaps xmm0, xmm5
movsd qword [rcx + 0x98], xmm5
shufps xmm0, xmm0, 0x55
addss xmm1, xmm5
addss xmm2, xmm0
maxss xmm3, xmm1
movaps xmm1, xmm7
maxss xmm1, xmm2
movss dword [rcx + 0x1c], xmm3
movss dword [rcx + 0x20], xmm1
mov eax, dword [r14 + 0x1e08]
cmp ebp, eax
jl 0x140005ea3
mov rax, qword [rbx + 0xa8]
mov rdi, qword [0x140161e70]
mov byte [rax + 0x18], 1
mov rcx, qword [rdi + 0xb8]
test rcx, rcx
jne 0x140005fb8
mov rdi, qword [rdi + 0xa8]
cmp dword [rdi + 0x48], esi
jg 0x140005fb1
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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.14000e440
mov rax, qword [rbx + 0x19d0]
cmp qword [rax + 0x40], rsi
jne 0x140005fe4
mov r8d, 0xf57
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm8, dword [0x14003d9a0]
movaps xmm6, xmm12
mov eax, dword [rbx + 0x1e08]
movaps xmm9, xmm8
movaps xmm10, xmm12
mov edi, esi
test eax, eax
jle 0x140006095
mov rbp, rsi
nop dword [rax]
test rbp, rbp
js 0x14000601b
mov edx, eax
cmp edi, eax
jl 0x14000603b
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x1e08]
mov rax, qword [rbx + 0x1e10]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 4]
comiss xmm6, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x140006068
movaps xmm6, xmm3
comiss xmm10, xmm2
jbe 0x140006072
movaps xmm10, xmm2
comiss xmm0, xmm8
jbe 0x14000607c
movaps xmm8, xmm0
comiss xmm1, xmm9
jbe 0x140006086
movaps xmm9, xmm1
inc edi
inc rbp
mov eax, edx
cmp edi, edx
jl 0x140006010
mov eax, dword [rbx + 0x161c]
shufps xmm6, xmm6, 0xe1
movss xmm6, xmm10
mov dword [rbx + 0x19f4], eax
shufps xmm6, xmm6, 0xc6
movss xmm6, xmm8
shufps xmm6, xmm6, 0x27
movss xmm6, xmm9
shufps xmm6, xmm6, 0x39
movups xmmword [rbx + 0x19fc], xmm6
movss xmm6, dword [rbx + 0x1620]
movss xmm0, dword [rbx + 0x19f8]
ucomiss xmm0, xmm6
jp 0x1400060e2
je 0x1400061af
comiss xmm6, xmm7
ja 0x140006101
mov r8d, 0x15c
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui_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 + 0x19f8], xmm6
lea r14, [rbx + 0x1b94]
movss xmm6, dword [0x14003d8fc]
mov edi, esi
mov ebp, 0x200
nop
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x140006177
movss xmm1, dword [rbx + 0x19f8]
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 0x140006170
mov eax, 4
jmp 0x140006179
cmp eax, ebp
cmovg eax, ebp
jmp 0x140006179
mov eax, esi
mov byte [r14], al
inc edi
inc r14
cmp edi, 0x40
jl 0x140006120
movss xmm0, dword [0x14003d874]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19f8]
movaps xmm2, xmm11
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b90], xmm1
mov r8d, esi
mov dword [rbx + 0x1a0c], esi
cmp byte [rbx + 0x1618], sil
je 0x1400061d1
mov dword [rbx + 0x1a0c], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], sil
je 0x1400061f6
mov rax, qword [rbx + 0x19d0]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x1400061f6
or edx, 2
mov dword [rbx + 0x1a0c], edx
cmp byte [rbx + 0x161a], sil
je 0x140006208
or edx, 4
mov dword [rbx + 0x1a0c], edx
test byte [rbx + 0xc], 8
je 0x140006217
or edx, 8
mov dword [rbx + 0x1a0c], edx
mov eax, dword [rbx + 0x1e08]
mov edi, esi
test eax, eax
jle 0x140006272
mov rbp, rsi
test rbp, rbp
js 0x14000622f
cmp edi, eax
jl 0x140006249
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x1e10]
xorps xmm0, xmm0
inc edi
mov rcx, qword [rax + rbp*8]
inc rbp
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rbx + 0x1e08]
cmp edi, eax
jl 0x140006226
mov r8, qword [0x140161e70]
cmp byte [rbx + 0x1f9c], sil
je 0x1400062b1
mov eax, dword [rbx + 0x1fbc]
cmp eax, dword [rbx + 0x1ca8]
jne 0x1400062b1
cmp dword [r8 + 0x1ca8], eax
jne 0x1400062a0
mov dword [r8 + 0x1cac], eax
cmp dword [r8 + 0x1ce8], eax
jne 0x1400062b1
mov byte [r8 + 0x1cec], 1
lea rax, [rbx + 0x1c94]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c98], esi
jne 0x1400062ca
mov dword [rbx + 0x1ca0], esi
jmp 0x1400062db
mov edx, ecx
mov r9, rax
test ecx, ecx
je 0x1400062e6
cmp dword [rbx + 0x1ca8], ecx
jne 0x1400062e6
mov dword [rbx + 0x1ca4], esi
mov edx, ecx
mov r9, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x14000631d
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1ca0]
movss dword [rbx + 0x1ca0], xmm0
cmp dword [rbx + 0x1ca8], edx
je 0x14000631d
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1ca4]
movss dword [rbx + 0x1ca4], xmm0
movzx eax, byte [rbx + 0x1c9d]
movaps xmm2, xmm1
mov byte [rbx + 0x1c9e], al
mov eax, dword [rbx + 0x1ca8]
mov dword [rbx + 0x1c98], edx
mov dword [r9], esi
mov word [rbx + 0x1c9c], si
mov byte [rbx + 0x1c9f], sil
cmp dword [rbx + 0x1cac], eax
je 0x1400063c0
cmp dword [rbx + 0x1ce8], eax
jne 0x1400063c0
test eax, eax
je 0x1400063c0
mov ecx, dword [r8 + 0x1ca8]
test ecx, ecx
setne al
mov byte [r8 + 0x1cb4], al
test ecx, ecx
je 0x14000638f
mov dword [r8 + 0x1cb0], esi
mov word [r8 + 0x1cb7], si
mov dword [r8 + 0x1ce4], 0xffffffff
mov dword [r8 + 0x1ca8], esi
mov word [r8 + 0x1cb5], si
mov qword [r8 + 0x1cd8], rsi
mov word [r8 + 0x1cb9], si
mov qword [r8 + 0x1cbc], rsi
mov qword [r8 + 0x1cc8], rsi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1ca8]
test ecx, ecx
je 0x1400063dd
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1cb0]
movss dword [rbx + 0x1cb0], xmm0
mov rax, qword [rbx + 0x1cd8]
addss xmm2, dword [rbx + 0x1cfc]
mov qword [rbx + 0x1cf0], rax
movzx eax, byte [rbx + 0x1cb8]
mov byte [rbx + 0x1ced], al
mov eax, dword [rbx + 0x3000]
movss dword [rbx + 0x1cfc], xmm2
mov dword [rbx + 0x1ce8], ecx
mov dword [rbx + 0x1cac], esi
mov byte [rbx + 0x1cb9], sil
mov byte [rbx + 0x1cec], sil
mov byte [rbx + 0x1cb4], sil
test eax, eax
je 0x14000643d
cmp ecx, eax
je 0x14000643d
mov dword [rbx + 0x3000], esi
test ecx, ecx
jne 0x14000644f
mov qword [rbx + 0x1cbc], rsi
mov qword [rbx + 0x1cc8], rsi
mov eax, dword [rbx + 0x200c]
mov dword [rbx + 0x2010], eax
mov eax, esi
mov qword [rbx + 0x2008], 0x7f7fffff
mov word [rbx + 0x1f9d], si
mov dword [rbx + 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, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [r8 + 0x143], sil
mov r8d, 0x800
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14003d990]
lea rdx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, pe_nt_image_headers64
cmp byte [rdx - 1], sil
je 0x140006503
movss xmm0, dword [rax - 4]
comiss xmm7, xmm0
jbe 0x1400064fc
movaps xmm0, xmm7
jmp 0x140006506
addss xmm0, dword [rbx + 0x18]
jmp 0x140006506
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rdx], sil
je 0x140006525
movss xmm0, dword [rax]
comiss xmm7, xmm0
jbe 0x14000651e
movaps xmm0, xmm7
jmp 0x140006528
addss xmm0, dword [rbx + 0x18]
jmp 0x140006528
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rdx + 1], sil
je 0x140006548
movss xmm0, dword [rax + 4]
comiss xmm7, xmm0
jbe 0x140006541
movaps xmm0, xmm7
jmp 0x14000654b
addss xmm0, dword [rbx + 0x18]
jmp 0x14000654b
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rdx + 2], sil
je 0x14000656c
movss xmm0, dword [rax + 8]
comiss xmm7, xmm0
jbe 0x140006565
movaps xmm0, xmm7
jmp 0x14000656f
addss xmm0, dword [rbx + 0x18]
jmp 0x14000656f
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rdx, 4
add rax, 0x10
sub r8, 1
jne 0x1400064e7
call fcn.140011570
call fcn.140004f00
call fcn.140005760
call fcn.140004960
mov r8, qword [0x140161e70]
mov eax, dword [r8 + 0x1de8]
sub eax, 1
js 0x1400065e1
mov r8, qword [r8 + 0x1df0]
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 0x1400065d7
test dword [rax + 0xc], 0x8000000
jne 0x1400065f7
sub r8, 0x30
sub rdx, 1
jns 0x1400065c6
cmp qword [rbx + 0x1f48], rsi
je 0x140006613
movss xmm0, dword [rbx + 0x1f64]
comiss xmm0, xmm7
jbe 0x140006613
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14003d910]
addss xmm1, dword [rbx + 0x1f94]
minss xmm1, xmm11
jmp 0x140006630
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14003d920]
movss xmm1, dword [rbx + 0x1f94]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rbx + 0x1f94], xmm1
mov dword [rbx + 0x1f98], esi
mov qword [rbx + 0x3320], 0xffffffffffffffff
mov dword [rbx + 0x331c], 0xffffffff
mov dword [rbx + 0x3068], 0x3f800000
mov dword [rbx + 0x306c], 0x3f800000
call fcn.140005280
mov rdi, qword [0x140161e70]
mov rax, qword [rdi + 0x1e18]
test rax, rax
je 0x1400066ae
cmp byte [rax + 0x96], sil
je 0x1400066ae
test dword [rax + 0xc], 0x40000
jne 0x1400066ae
cmp byte [rdi + 0x140], sil
jne 0x1400066ae
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x1400066ae
call fcn.140008bd0
test al, al
je 0x1400066ae
mov al, 1
jmp 0x1400066b0
xor al, al
mov byte [rdi + 0x1f90], al
cmp dword [rdi + 0x1ca8], esi
jne 0x14000671a
test al, al
je 0x14000671a
mov rax, qword [rdi + 0x1e18]
mov qword [rdi + 0x1f78], rax
mov dword [rdi + 0x1f88], 0x7fffffff
cmp dword [rdi + 0x1e20], esi
je 0x140006709
mov ecx, dword [rdi + 0x1e68]
cmp ecx, 0x7fffffff
je 0x140006709
cmp byte [rdi + 0x141], sil
mov eax, 2
cmovne eax, esi
add eax, ecx
mov dword [rdi + 0x1f8c], eax
jmp 0x14000671a
movzx eax, byte [rdi + 0x141]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1f8c], ecx
mov r8, qword [rdi + 0x1f78]
mov qword [rdi + 0x1f70], rsi
mov dword [rdi + 0x1f84], 0x7fffffff
mov dword [rdi + 0x1f80], 0x7fffffff
test r8, r8
je 0x1400067af
mov eax, dword [rdi + 0x1f88]
mov qword [rdi + 0x1f70], r8
cmp eax, 0x7fffffff
je 0x14000676e
mov ecx, dword [r8 + 0x1cc]
cmp ecx, 0xffffffff
je 0x14000676e
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1f80], edx
mov eax, dword [rdi + 0x1f8c]
cmp eax, 0x7fffffff
je 0x140006794
mov ecx, dword [r8 + 0x1d0]
cmp ecx, 0xffffffff
je 0x140006794
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1f84], edx
mov qword [rdi + 0x1f78], rsi
mov dword [rdi + 0x1f8c], 0x7fffffff
mov dword [rdi + 0x1f88], 0x7fffffff
mov dword [rdi + 0x1e68], 0x7fffffff
mov eax, dword [rbx + 0x1c08]
cmp dword [rbx + 0x1c18], eax
je 0x1400067e7
mov r8d, 0xfc6
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x1c08]
cmp byte [rbx + 0x1bf7], sil
jne 0x140006810
movss xmm0, dword [rbx + 0xd0]
comiss xmm7, xmm0
ja 0x140006810
movsd xmm12, qword [rbx + 0x1be0]
cvtpd2ps xmm12, xmm12
subss xmm12, xmm0
mov ebp, esi
test eax, eax
je 0x1400069b2
mov r14, rsi
nop dword [rax]
test r14, r14
js 0x140006829
cmp ebp, eax
jl 0x140006843
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x1c10]
mov rdi, qword [rax + r14*8]
movzx eax, byte [rdi + 0x96]
mov byte [rdi + 0x97], al
mov word [rdi + 0xa2], si
mov byte [rdi + 0x96], sil
mov byte [rdi + 0x98], sil
test al, al
jne 0x14000699f
cmp byte [rdi + 0x3e8], sil
jne 0x14000699f
comiss xmm12, dword [rdi + 0x28c]
jbe 0x14000699f
mov rcx, qword [rdi + 0x2c0]
mov byte [rdi + 0x3e8], 1
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0x3e0], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x3e4], eax
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
je 0x1400068eb
mov rax, qword [0x140161e70]
mov qword [rdi + 0xd0], rsi
test rax, rax
je 0x1400068d8
dec dword [rax + 0x3b4]
mov rdx, qword [0x140161e60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0xd8], rsi
mov rcx, qword [rdi + 0x2c0]
call fcn.14001ea00
mov rcx, qword [rdi + 0x1a8]
test rcx, rcx
je 0x14000692f
mov rax, qword [0x140161e70]
mov qword [rdi + 0x1a0], rsi
test rax, rax
je 0x14000691c
dec dword [rax + 0x3b4]
mov rdx, qword [0x140161e60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1a8], rsi
mov rcx, qword [rdi + 0x1e8]
test rcx, rcx
je 0x140006967
mov rax, qword [0x140161e70]
mov qword [rdi + 0x1e0], rsi
test rax, rax
je 0x140006954
dec dword [rax + 0x3b4]
mov rdx, qword [0x140161e60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1e8], rsi
mov rcx, qword [rdi + 0x1f8]
test rcx, rcx
je 0x14000699f
mov rax, qword [0x140161e70]
mov qword [rdi + 0x1f0], rsi
test rax, rax
je 0x14000698c
dec dword [rax + 0x3b4]
mov rdx, qword [0x140161e60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1f8], rsi
mov eax, dword [rbx + 0x1c08]
inc ebp
inc r14
cmp ebp, eax
jne 0x140006820
mov ecx, dword [rbx + 0x2080]
mov edi, esi
test ecx, ecx
jle 0x140006a7e
mov rbp, rsi
test edi, edi
js 0x1400069cd
cmp edi, ecx
jl 0x1400069ed
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x2080]
mov rax, qword [rbx + 0x2088]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm7
jb 0x140006a6a
test edi, edi
js 0x140006a06
cmp edi, ecx
jl 0x140006a20
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x2088]
comiss xmm12, dword [rax + rbp]
jbe 0x140006a6a
test edi, edi
js 0x140006a3a
cmp edi, dword [rbx + 0x2048]
jl 0x140006a54
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 + 0x2050]
call fcn.140029590
mov ecx, dword [rbx + 0x2080]
inc edi
add rbp, 4
cmp edi, ecx
jl 0x1400069c5
cmp byte [rbx + 0x1bf7], sil
je 0x140006afc
mov rdi, qword [0x140161e70]
mov rcx, qword [rdi + 0x1dd0]
test rcx, rcx
je 0x140006abf
mov qword [rdi + 0x1dc8], rsi
test rdi, rdi
je 0x140006aac
dec dword [rdi + 0x3b4]
mov rdx, qword [0x140161e60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1dd0], rsi
mov rcx, qword [rdi + 0x1de0]
test rcx, rcx
je 0x140006af7
mov rax, qword [0x140161e70]
mov qword [rdi + 0x1dd8], rsi
test rax, rax
je 0x140006ae4
dec dword [rax + 0x3b4]
mov rdx, qword [0x140161e60]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x1de0], rsi
call fcn.140029770
mov rax, qword [rbx + 0x1e18]
mov byte [rbx + 0x1bf7], sil
test rax, rax
je 0x140006ba3
cmp byte [rax + 0x97], sil
jne 0x140006ba3
mov r14, qword [0x140161e70]
mov edi, dword [r14 + 0x1c18]
sub edi, 1
movsxd rbp, edi
js 0x140006b9c
cmp edi, dword [r14 + 0x1c18]
jl 0x140006b59
mov r8d, 0x689
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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 [r14 + 0x1c20]
mov r8, qword [rax + rbp*8]
test r8, r8
je 0x140006b94
cmp byte [r8 + 0x97], sil
je 0x140006b94
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140006e08
dec edi
sub rbp, 1
jns 0x140006b36
xor ecx, ecx
call fcn.14000e1a0
mov ecx, dword [rbx + 0x1c3c]
test ecx, ecx
jns 0x140006bc9
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1c38]
test eax, eax
cmovg edx, eax
call fcn.140015fb0
mov dword [rbx + 0x1c38], esi
mov ecx, dword [rbx + 0x1dfc]
test ecx, ecx
jns 0x140006bf5
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1df8]
test eax, eax
cmovg edx, eax
call fcn.140016530
lea rdi, [rbx + 0x1dc8]
mov dword [rbx + 0x1df8], esi
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140006c21
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.1400165d0
mov dword [rdi], esi
cmp dword [rdi + 4], esi
jne 0x140006c35
mov edx, 8
mov rcx, rdi
call fcn.1400165d0
movsxd rcx, dword [rdi]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rbx + 0x1dd8]
inc dword [rdi]
call fcn.140015cd0
mov rcx, qword [rbx + 0x1e18]
xor edx, edx
call fcn.14000fa40
mov rdi, qword [0x140161e70]
mov dword [rdi + 0x3120], esi
cmp byte [rdi + 0x311c], sil
je 0x140006d53
mov ebp, dword [rdi + 0x1c98]
mov dword [rdi + 0x1f98], 7
mov ecx, dword [rdi + 0x74]
test ecx, ecx
js 0x140006c9c
call fcn.140008bd0
test al, al
je 0x140006c9c
mov byte [rdi + 0x311c], sil
mov rax, qword [0x140161e70]
movss xmm0, dword [rax + 0x43c]
ucomiss xmm0, xmm7
jp 0x140006cc3
jne 0x140006cc3
test ebp, ebp
je 0x140006cc3
mov dword [rdi + 0x3120], ebp
mov byte [rdi + 0x311c], sil
or dword [rax + 0x1d00], 0x40
xor edx, edx
mov dword [rax + 0x1d60], 0x3f19999a
call fcn.14000f720
mov edx, ebp
lea rcx, str.HoveredId:_0x_08X
call fcn.14002a960
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14002a960
mov rcx, qword [0x140161e70]
lea rdx, str.Click_to_break_in_debugger_
mov eax, 0x10
test ebp, ebp
cmove rsi, rax
add rcx, 0x1624
add rcx, rsi
call fcn.14002a9e0
mov rax, qword [0x140161e70]
mov rcx, qword [rax + 0x1c60]
test dword [rcx + 0xc], 0x2000000
jne 0x140006d4e
mov r8d, 0x1f3b
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14000daf0
mov rax, qword [0x140161e70]
lea rcx, str.DebugDefault
mov byte [rbx + 0x1bf5], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1d00], 2
mov dword [rax + 0x1d20], 0x43c80000
mov dword [rax + 0x1d24], 0x43c80000
mov dword [rax + 0x1d08], 4
call fcn.14000b590
mov rax, qword [rbx + 0x1c60]
cmp byte [rax + 0x9e], 1
je 0x140006dc1
mov r8d, 0xff3
lea rdx, str.C:Users10643DownloadsTelegram_Desktophwiidhx_hwidimgui.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]
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 r14
pop rdi
pop rsi
jmp fcn.140004640
mov rcx, qword [r8 + 0x3b0]
test rcx, rcx
je 0x140006e21
cmp byte [rcx + 0x97], sil
jne 0x140006b9e
mov rcx, r8
jmp 0x140006b9e