Function at 0x140051a5c
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov esi, 1
cmp edx, esi
jne 0x140051b24
cmp byte [rcx + 0x940], 0
je 0x140051ad2
lea edx, [rsi + 4]
mov rcx, qword [rcx + 0x950]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rdi + 0x948]
lea ecx, [rsi + 1]
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [rdi + 0x940], 0
jmp 0x140051d04
lea rdx, [rbp + 7]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [rbp + 0xf], 2
jne 0x140051afa
mov edx, 9
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140051d04
xor edx, edx
mov rcx, qword [rdi + 0x950]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rdi + 0x948]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [rdi + 0x940], sil
jmp 0x140051d04
test edx, edx
jne 0x140051d04
and qword [rbp - 0x29], 0
mov eax, dword [rcx + 0x930]
lea rax, [rax + rax*4]
shl rax, 5
cmp dword [rax + rcx + 0x870], edx
je 0x140051bb4
movsxd rcx, dword [rax + rcx + 0x820]
mov rax, qword [rax + rdi + 0x880]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140051bb4
and dword [rsp + 0x20], edx
lea r9, [0x140176b60]
lea r8, [0x140175f00]
call sub.msvcrt.dll___RTDynamicCast
test rax, rax
je 0x140051bb4
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov r14, qword [rax]
mov rcx, qword [rbp - 0x29]
cmp rcx, r14
je 0x140051bb4
test rcx, rcx
je 0x140051ba2
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rbp - 0x29], 0
mov rcx, r14
call qword [sym.imp.SHELL32.dll_ILClone]
mov qword [rbp - 0x29], rax
and qword [rbp - 0x19], 0
lea r15, vtable.micro::files::QPathStr.0
mov qword [rbp - 0x21], r15
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.1400ee914
lea r14, vtable.micro::utils::QString.0
test al, al
jne 0x140051c3a
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140051beb
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rbp - 0x29], 0
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140105780]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderIDList]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.1400ee914
test al, al
jne 0x140051c3a
xor r9d, r9d
lea r8, str.Message
lea rdx, str.path_error
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor sil, sil
jmp 0x140051ced
and qword [rbp + 0xf], 0
mov qword [rbp + 7], r15
and qword [rbp + 0x1f], 0
lea rax, vtable.micro::gui::QCompatibleGraphics.0
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x27], xmm0
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.1400ea694
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 7]
call fcn.1400e7b9c
nop
mov qword [rbp - 0x11], r14
lea rcx, [rbp - 0x11]
call fcn.1400e712c
mov edx, 0x5c
lea rcx, [rbp + 7]
call fcn.1400ea6c0
lea rcx, [rbp + 7]
call fcn.1400737f4
nop
mov rdi, qword [rbp + 0x1f]
test rdi, rdi
je 0x140051cb2
mov rdx, qword [rbp + 0x2f]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140051cc1
call qword [sym.imp.GDI32.dll_DeleteObject]
lea rax, vtable.micro::gui::QGraphics.0
mov qword [rbp + 0x17], rax
test rdi, rdi
je 0x140051cdf
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
and qword [rbp + 0x1f], 0
mov qword [rbp + 7], r14
lea rcx, [rbp + 7]
call fcn.1400e712c
nop
mov qword [rbp - 0x21], r14
lea rcx, [rbp - 0x21]
call fcn.1400e712c
nop
lea rcx, [rbp - 0x29]
call fcn.1400377d0
mov al, sil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0xa0]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret