Function at 0x140089270
Capabilities:
Get graphical window text
Resume thread
Suspend thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xf08
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0xef0], rax
mov rbp, rcx
xor edi, edi
lea rcx, str.HELPExecArcCmd
cmp word [0x140124610], di
mov dword [rsp + 0x30], edi
lea rax, [0x140124610]
cmove rax, rcx
mov rcx, rbp
mov r12, r9
mov qword [rsp + 0x28], rax
mov rax, qword [0x1401245a8]
mov r13, r8
mov qword [rsp + 0x20], rax
mov ebx, edx
call fcn.140022358
cmp al, dil
je 0x1400892e9
movabs rax, 1
jmp 0x140089fff
mov edx, 0x111
cmp ebx, edx
ja 0x140089d65
je 0x1400898d7
sub ebx, 2
je 0x1400896ed
sub ebx, 0xd
je 0x140089632
mov esi, 1
sub ebx, esi
je 0x1400895b3
sub ebx, 8
je 0x140089576
cmp ebx, 0xf8
jne 0x140089df1
xor edx, edx
mov rcx, rbp
mov byte [0x140126df0], dil
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov rbx, rax
cmp rax, rdi
je 0x14008936c
mov r8d, esi
mov edx, 0xf000
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov r8d, esi
mov edx, 0xf030
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [0x14012489c]
cmp eax, edi
je 0x14008938c
xor r8d, r8d
mov edx, 0xa3
mov rcx, rbp
call fcn.14002206c
mov eax, dword [0x14012489c]
cmp byte [0x140124896], dil
jne 0x1400893ce
cmp eax, esi
je 0x14008939e
cmp eax, 2
jne 0x1400893ce
xor r8d, r8d
mov edx, 0xa2
mov rcx, rbp
call fcn.14002206c
xor r8d, r8d
mov edx, 0xa6
mov rcx, rbp
call fcn.14002206c
xor r8d, r8d
mov edx, 0xa1
mov rcx, rbp
call fcn.14002206c
mov byte [0x1400ffcf0], dil
mov byte [0x1400fec04], dil
mov dword [0x1400ff4a4], esi
mov qword [0x1400fec08], rbp
mov qword [0x14010d660], rdi
cmp dword [0x1400fec18], esi
je 0x140089410
mov rcx, rbp
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [0x1400ffd80]
xor edx, edx
call qword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, edi
jne 0x140089462
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_IsIconic]
cmp eax, edi
jne 0x140089462
mov rcx, qword [0x1400fec08]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x2c
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov rcx, qword [0x1400ffd80]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x58], edi
call qword [sym.imp.USER32.dll_SetWindowPlacement]
mov r8d, 0x606060
mov edx, esi
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0x80809e
mov edx, esi
xor ecx, ecx
mov qword [0x140124600], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xeee8e8
mov edx, esi
xor ecx, ecx
mov qword [0x1401245f8], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xffffff
mov edx, esi
xor ecx, ecx
mov qword [0x1401245f0], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xc0ffff
mov edx, esi
xor ecx, ecx
mov qword [0x1401245e8], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xb4d4e4
mov edx, esi
xor ecx, ecx
mov qword [0x1401245e0], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0x9494b4
mov edx, esi
xor ecx, ecx
mov qword [0x1401245d8], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0x464040
mov edx, esi
xor ecx, ecx
mov qword [0x1401245d0], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov ecx, 0x6e6e94
mov qword [0x1401245c8], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, 0xdcd6d6
mov qword [0x1401245c0], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, 0xa0c0d0
mov qword [0x1401245b8], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
mov rcx, rbp
mov qword [0x1401245b0], rax
call qword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x1400fec18], esi
setne dil
mov rax, rdi
jmp 0x140089fff
cmp r13, rdi
je 0x140089df1
mov edx, 0xfffffff0
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x140089df1
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_FlashWindow]
mov edx, esi
mov rcx, rbp
call qword [sym.imp.USER32.dll_FlashWindow]
jmp 0x140089df1
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetPropW]
cmp rax, rdi
je 0x1400895d6
mov rcx, rbp
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x140089ffc
cmp dword [0x14012489c], 0xb
je 0x140089626
call fcn.1400a95fc
sub eax, dword [0x140124898]
cmp eax, 0xea60
jl 0x140089626
mov ecx, 0x312
call fcn.140061d2c
mov ecx, 0x311
mov rbx, rax
call fcn.140061d2c
mov r9d, 0x24
mov r8, rbx
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140089ffc
mov byte [0x1400ffcf0], sil
jmp 0x140089ffc
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetPropW]
mov ecx, dword [0x14012489c]
cmp rax, rdi
je 0x140089656
cmp ecx, 8
jne 0x140089df1
mov esi, 1
cmp ecx, edi
je 0x140089671
cmp ecx, esi
je 0x140089671
cmp ecx, 2
je 0x140089671
cmp ecx, 8
jne 0x140089df1
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, qword [0x140124818]
mov rcx, qword [0x140124820]
mov r9, rax
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov rbx, rax
mov byte [rsp + 0x20], dil
call fcn.1400884a0
cmp byte [0x140124896], dil
jne 0x1400896b7
cmp dword [0x14012489c], 8
jne 0x1400896da
mov rdx, qword [0x140124608]
mov rcx, qword [0x140124810]
mov r9, rbx
mov r8d, esi
mov qword [rsp + 0x28], rbp
mov byte [rsp + 0x20], sil
call fcn.1400884a0
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x140089df1
mov rcx, qword [0x1400ffd80]
mov esi, 1
mov edx, esi
call qword [sym.imp.SHELL32.dll_DragAcceptFiles]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1400883e4
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetPropW]
cmp rax, rdi
je 0x140089759
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_RemovePropW]
mov r11, rdi
lea rax, [0x1401248b0]
cmp qword [rax + r11*8], rbp
je 0x140089750
add r11, rsi
cmp r11, 0x10
jb 0x14008973c
jmp 0x14008983b
mov qword [rax + r11*8], rdi
jmp 0x14008983b
mov rcx, qword [0x140124600]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245f8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245f0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245e8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245e0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245d8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245d0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245c8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245c0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245b8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1401245b0]
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [0x1400ffcf0], dil
jne 0x14008980a
call fcn.1400a95fc
sub eax, dword [0x140124898]
cmp eax, 0x2710
jle 0x14008980a
xor ecx, ecx
call fcn.140046c3c
xor edx, edx
mov rcx, rbp
call fcn.140087518
mov al, byte [0x1400ffcf0]
mov qword [0x1400fec08], rdi
mov byte [0x1400fec04], al
mov dword [0x1400ff4a4], edi
mov byte [0x1400ffcf0], dil
mov qword [0x1401248a0], rdi
mov rcx, qword [0x1400ffd78]
cmp rcx, rdi
je 0x14008984d
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x1400fec18], esi
je 0x14008987f
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400ffd80]
jne 0x14008987f
mov rax, qword [0x1400ff4c0]
mov rcx, qword [0x140105570]
cmp rax, rdi
cmovne rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, edi
je 0x1400898cd
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [0x140105570]
lea r8, [rsp + 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [0x140105570]
lea rdx, [rsp + 0x40]
mov r8d, esi
call qword [sym.imp.USER32.dll_InvalidateRect]
call fcn.140050068
jmp 0x140089df1
movzx ecx, r13w
sub ecx, 2
je 0x140089d4d
sub ecx, 0x6c
je 0x140089bec
mov esi, 1
sub ecx, esi
je 0x1400899c6
sub ecx, esi
je 0x140089949
sub ecx, 0xc
je 0x14008993c
sub ecx, esi
je 0x140089924
cmp ecx, esi
jne 0x140089ffc
lea r8d, [rsi + 0x6e]
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140089ffc
xor r9d, r9d
lea edx, [r9 + 0x10]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140089ffc
mov r9d, 0x202
mov edx, 0x400
jmp 0x14008992b
call fcn.1400a95fc
mov rcx, qword [0x1400ec660]
mov ebx, dword [0x14010bc58]
lea r9, [0x140087bd4]
lea rdx, str.CMDMODE
mov r8, rbp
mov r12d, eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, rdi
je 0x1400899b3
mov ecx, dword [0x14010bc58]
cmp ecx, ebx
je 0x1400899b3
cmp ecx, edi
je 0x1400899b3
cmp dword [0x14010c654], edi
jne 0x1400899ae
mov rax, qword [0x14010d660]
cmp rax, rdi
je 0x1400899b3
lea edx, [rcx - 1]
mov rcx, rax
call fcn.140048fc4
jmp 0x1400899b3
call fcn.140021bc4
call fcn.1400a95fc
sub eax, r12d
add dword [0x140124898], eax
jmp 0x140089ffc
cmp byte [0x140126df0], dil
je 0x1400899db
mov byte [0x140126df0], dil
jmp 0x140089ffc
lea rbx, [0x140126c60]
lea r12, [0x140126360]
cmp byte [0x1401245a0], dil
jne 0x140089a39
cmp qword [0x1400fec08], rdi
je 0x140089ffc
mov r9d, 0xc8
mov r8, rbx
mov rcx, rbp
lea edx, [r9 - 0x59]
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov r8d, 0x480
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [0x1400ffd78]
cmp rcx, rdi
je 0x140089a39
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdx, qword [0x140124810]
cmp rdx, rdi
jle 0x140089a61
mov al, byte [0x1401245a0]
mov r8, qword [0x140124608]
neg al
sbb ecx, ecx
and ecx, 0xfffffffa
add ecx, 8
call fcn.1400883e4
cmp byte [0x1401245a0], dil
jne 0x140089a77
mov ecx, 0x49c
call fcn.140061d2c
mov rbx, rax
mov r8, rbx
mov edx, 0x6f
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x1401245a0], dil
jne 0x140089a9e
mov ecx, 0x49d
call fcn.140061d2c
mov r12, rax
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x1401245a0], dil
mov ebx, 0x3b8
sete byte [0x1401245a0]
lea rcx, [rsp + 0xa0]
mov r8, rbx
xor edx, edx
call fcn.1400a9164
mov edx, dword [0x1401245a4]
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa0], ebx
mov qword [rsp + 0xa8], rbp
mov dword [rsp + 0xb0], 0x7b
mov dword [rsp + 0xb4], 4
call fcn.14008827c
lea rdx, [rsp + 0xa0]
mov ecx, esi
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov bl, dil
cmp byte [0x1401245a0], dil
je 0x140089b3b
mov rcx, qword [0x1401248a0]
cmp rcx, rdi
je 0x140089b3b
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
call fcn.1400a95fc
mov r12d, eax
jmp 0x140089bba
cmp byte [0x1400ffcf0], dil
jne 0x140089bc3
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, edi
je 0x140089bc3
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, edi
jne 0x140089bba
cmp dword [rsp + 0x58], 0x203
jne 0x140089ba4
mov rax, qword [0x1401082f8]
cmp qword [rsp + 0x50], rax
jne 0x140089ba4
mov rdx, qword [0x1400ffd80]
lea rcx, [0x1401082f8]
call fcn.140071570
jmp 0x140089bba
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x1401245a0], dil
jne 0x140089b45
call fcn.1400a95fc
sub eax, r12d
add dword [0x140124898], eax
cmp bl, dil
je 0x140089ffc
mov rcx, qword [0x1401248a0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140089ffc
mov ebx, 0x3b8
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8, rbx
call fcn.1400a9164
mov ecx, 0x31
mov dword [rsp + 0xa0], ebx
mov qword [rsp + 0xa8], rbp
mov dword [rsp + 0xb0], 0x7b
mov dword [rsp + 0xb4], 7
mov dword [rsp + 0xb8], 0x400
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x32
mov r12d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r13d, eax
call fcn.14003ec88
lea rdx, str.Tray.ico
cmp eax, 0x501
lea rax, str.RAR.ico
lea rcx, [0x140107960]
sbb ebx, ebx
mov r9d, r13d
mov r8d, r12d
and ebx, 7
add ebx, 0x65
cmp ebx, 0x65
cmove rdx, rax
call fcn.14006cbd0
mov esi, 1
mov qword [0x1401248a8], rax
cmp rax, rdi
jne 0x140089cbf
mov rcx, qword [0x1400ec660]
movzx edx, bx
mov r9d, r12d
mov r8d, esi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [0x1401248a8], rax
lea rcx, [rsp + 0xa0]
xor edx, edx
mov qword [rsp + 0xc0], rax
call fcn.14008827c
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp eax, edi
je 0x140089d34
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400ffd80]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov cl, sil
call fcn.140099880
mov rdx, qword [0x140124608]
mov rcx, qword [0x140124810]
xor r9d, r9d
mov r8d, esi
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], dil
call fcn.1400884a0
jmp 0x140089ffc
mov rcx, qword [0x1401248a8]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov qword [0x1401248a8], rdi
jmp 0x140089ffc
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400892da
sub ebx, 0x400
mov esi, 1
je 0x140089f0a
sub ebx, esi
je 0x140089dd4
sub ebx, esi
je 0x140089db0
cmp ebx, esi
jne 0x140089df1
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], dil
call fcn.1400884a0
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call fcn.140087f00
jmp 0x140089ffc
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], dil
call fcn.1400884a0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x140089da6
mov rcx, qword [0x1400ffd78]
cmp rcx, rdi
je 0x140089df1
cmp byte [0x14010d65c], dil
jne 0x140089df8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x140089fff
mov r9d, 0xc8
lea r8, [rsp + 0x460]
mov rcx, rbp
lea edx, [r9 - 0x59]
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, 0x49c
call fcn.140061d2c
mov edx, 0x6f
mov rcx, rbp
mov r8, rax
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov bl, dil
call fcn.1400a95fc
mov cl, sil
mov r12d, eax
mov byte [0x140126df0], cl
cmp byte [0x1400ffcf0], dil
jne 0x140089ebf
cmp cl, dil
je 0x140089ebf
mov rcx, qword [0x1400ffd78]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140089ebf
cmp bl, dil
jne 0x140089e9e
lea rdx, [rsp + 0x5f0]
mov r8d, 0x480
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x57d
call fcn.140061d2c
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, sil
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400474ec
cmp byte [0x1400ffcf0], dil
jne 0x140089ebf
mov cl, byte [0x140126df0]
jmp 0x140089e4b
mov byte [0x140126df0], dil
call fcn.1400a95fc
sub eax, r12d
mov ecx, eax
call fcn.140087b84
lea r8, [rsp + 0x460]
mov edx, 0x6f
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp bl, dil
je 0x140089df1
lea rdx, [rsp + 0x5f0]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x140089df1
cmp r12, 0x202
jne 0x140089f2c
mov dl, sil
mov rcx, rbp
call fcn.140087518
mov edx, 5
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
cmp r12, 0x205
jne 0x140089ffc
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, 0x2fe
mov rbx, rax
call fcn.140061d2c
xor edx, edx
lea r8d, [rdx + 0x7c]
mov r9, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, 0x2ff
call fcn.140061d2c
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x7d]
mov r9, rax
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r11b, byte [0x1401245a0]
neg r11b
sbb ecx, ecx
neg ecx
add ecx, 0x300
call fcn.140061d2c
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x7e]
mov r9, rax
call qword [sym.imp.USER32.dll_AppendMenuW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov edx, 2
mov rcx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_TrackPopupMenu]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
mov rcx, rbp
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyMenu]
mov rax, rsi
mov rcx, qword [rsp + 0xef0]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0xf08
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret