Function at 0x140089400
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 [0x140123a90], di
mov dword [rsp + 0x30], edi
lea rax, [0x140123a90]
cmove rax, rcx
mov rcx, rbp
mov r12, r9
mov qword [rsp + 0x28], rax
mov rax, qword [0x140123a28]
mov r13, r8
mov qword [rsp + 0x20], rax
mov ebx, edx
call fcn.140022380
cmp al, dil
je 0x140089479
movabs rax, 1
jmp 0x14008a1af
mov edx, 0x111
cmp ebx, edx
ja 0x140089f09
je 0x140089a67
sub ebx, 2
je 0x14008987d
sub ebx, 0xd
je 0x1400897c2
mov esi, 1
sub ebx, esi
je 0x140089743
sub ebx, 8
je 0x140089706
cmp ebx, 0xf8
jne 0x140089f95
xor edx, edx
mov rcx, rbp
mov byte [0x140126270], dil
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov rbx, rax
cmp rax, rdi
je 0x1400894fc
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 [0x140123d1c]
cmp eax, edi
je 0x14008951c
xor r8d, r8d
mov edx, 0xa3
mov rcx, rbp
call fcn.140022094
mov eax, dword [0x140123d1c]
cmp byte [0x140123d16], dil
jne 0x14008955e
cmp eax, esi
je 0x14008952e
cmp eax, 2
jne 0x14008955e
xor r8d, r8d
mov edx, 0xa2
mov rcx, rbp
call fcn.140022094
xor r8d, r8d
mov edx, 0xa6
mov rcx, rbp
call fcn.140022094
xor r8d, r8d
mov edx, 0xa1
mov rcx, rbp
call fcn.140022094
mov byte [0x1400ffcf0], dil
mov byte [0x1400fec04], dil
mov dword [0x1400ff4a4], esi
mov qword [0x1400fec08], rbp
mov qword [0x14010d6c0], rdi
cmp dword [0x1400fec18], esi
je 0x1400895a0
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 0x1400895f2
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_IsIconic]
cmp eax, edi
jne 0x1400895f2
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 [0x140123a80], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xeee8e8
mov edx, esi
xor ecx, ecx
mov qword [0x140123a78], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xffffff
mov edx, esi
xor ecx, ecx
mov qword [0x140123a70], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xc0ffff
mov edx, esi
xor ecx, ecx
mov qword [0x140123a68], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0xb4d4e4
mov edx, esi
xor ecx, ecx
mov qword [0x140123a60], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0x9494b4
mov edx, esi
xor ecx, ecx
mov qword [0x140123a58], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov r8d, 0x464040
mov edx, esi
xor ecx, ecx
mov qword [0x140123a50], rax
call qword [sym.imp.GDI32.dll_CreatePen]
mov ecx, 0x6e6e94
mov qword [0x140123a48], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, 0xdcd6d6
mov qword [0x140123a40], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, 0xa0c0d0
mov qword [0x140123a38], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov r9, rsi
xor r8d, r8d
mov edx, 0x408
mov rcx, rbp
mov qword [0x140123a30], rax
call qword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x1400fec18], esi
setne dil
mov rax, rdi
jmp 0x14008a1af
cmp r13, rdi
je 0x140089f95
mov edx, 0xfffffff0
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x140089f95
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 0x140089f95
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetPropW]
cmp rax, rdi
je 0x140089766
mov rcx, rbp
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x14008a1ac
cmp dword [0x140123d1c], 0xb
je 0x1400897b6
call fcn.1400a97ac
sub eax, dword [0x140123d18]
cmp eax, 0xea60
jl 0x1400897b6
mov ecx, 0x312
call fcn.140061d94
mov ecx, 0x311
mov rbx, rax
call fcn.140061d94
mov r9d, 0x24
mov r8, rbx
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14008a1ac
mov byte [0x1400ffcf0], sil
jmp 0x14008a1ac
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetPropW]
mov ecx, dword [0x140123d1c]
cmp rax, rdi
je 0x1400897e6
cmp ecx, 8
jne 0x140089f95
mov esi, 1
cmp ecx, edi
je 0x140089801
cmp ecx, esi
je 0x140089801
cmp ecx, 2
je 0x140089801
cmp ecx, 8
jne 0x140089f95
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdx, qword [0x140123c98]
mov rcx, qword [0x140123ca0]
mov r9, rax
xor r8d, r8d
mov qword [rsp + 0x28], rbp
mov rbx, rax
mov byte [rsp + 0x20], dil
call fcn.140088630
cmp byte [0x140123d16], dil
jne 0x140089847
cmp dword [0x140123d1c], 8
jne 0x14008986a
mov rdx, qword [0x140123a88]
mov rcx, qword [0x140123c90]
mov r9, rbx
mov r8d, esi
mov qword [rsp + 0x28], rbp
mov byte [rsp + 0x20], sil
call fcn.140088630
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x140089f95
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.140088574
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetPropW]
cmp rax, rdi
je 0x1400898e9
lea rdx, str.Done
mov rcx, rbp
call qword [sym.imp.USER32.dll_RemovePropW]
mov r11, rdi
lea rax, [0x140123d30]
cmp qword [rax + r11*8], rbp
je 0x1400898e0
add r11, rsi
cmp r11, 0x10
jb 0x1400898cc
jmp 0x1400899cb
mov qword [rax + r11*8], rdi
jmp 0x1400899cb
mov rcx, qword [0x140123a80]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a78]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a70]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a58]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a50]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a48]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a40]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a38]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x140123a30]
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [0x1400ffcf0], dil
jne 0x14008999a
call fcn.1400a97ac
sub eax, dword [0x140123d18]
cmp eax, 0x2710
jle 0x14008999a
xor ecx, ecx
call fcn.140046cb4
xor edx, edx
mov rcx, rbp
call fcn.1400876a8
mov al, byte [0x1400ffcf0]
mov qword [0x1400fec08], rdi
mov byte [0x1400fec04], al
mov dword [0x1400ff4a4], edi
mov byte [0x1400ffcf0], dil
mov qword [0x140123d20], rdi
mov rcx, qword [0x1400ffd78]
cmp rcx, rdi
je 0x1400899dd
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x1400fec18], esi
je 0x140089a0f
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400ffd80]
jne 0x140089a0f
mov rax, qword [0x1400ff4c0]
mov rcx, qword [0x1401055a0]
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 0x140089a5d
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [0x1401055a0]
lea r8, [rsp + 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [0x1401055a0]
lea rdx, [rsp + 0x40]
mov r8d, esi
call qword [sym.imp.USER32.dll_InvalidateRect]
call fcn.1400500c0
jmp 0x140089f95
movzx ecx, r13w
sub ecx, 2
je 0x140089ef1
sub ecx, 0x6c
je 0x140089d90
mov esi, 1
sub ecx, esi
je 0x140089b56
sub ecx, esi
je 0x140089ad9
sub ecx, 0xc
je 0x140089acc
sub ecx, esi
je 0x140089ab4
cmp ecx, esi
jne 0x14008a1ac
xor r9d, r9d
lea r8d, [rsi + 0x6e]
mov rcx, rbp
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14008a1ac
xor r9d, r9d
lea edx, [r9 + 0x10]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14008a1ac
mov r9d, 0x202
mov edx, 0x407
jmp 0x140089abb
call fcn.1400a97ac
mov rcx, qword [0x1400ec660]
mov ebx, dword [0x14010bc88]
lea r9, [0x140087d64]
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 0x140089b43
mov ecx, dword [0x14010bc88]
cmp ecx, ebx
je 0x140089b43
cmp ecx, edi
je 0x140089b43
cmp dword [0x14010c6b4], edi
jne 0x140089b3e
mov rax, qword [0x14010d6c0]
cmp rax, rdi
je 0x140089b43
lea edx, [rcx - 1]
mov rcx, rax
call fcn.140049024
jmp 0x140089b43
call fcn.140021bec
call fcn.1400a97ac
sub eax, r12d
add dword [0x140123d18], eax
jmp 0x14008a1ac
cmp byte [0x140126270], dil
je 0x140089b6b
mov byte [0x140126270], dil
jmp 0x14008a1ac
lea rbx, [0x1401260e0]
lea r12, [0x1401257e0]
cmp byte [0x140123a20], dil
jne 0x140089bc9
cmp qword [0x1400fec08], rdi
je 0x14008a1ac
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 0x140089bc9
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdx, qword [0x140123c90]
cmp rdx, rdi
jle 0x140089bf1
mov al, byte [0x140123a20]
mov r8, qword [0x140123a88]
neg al
sbb ecx, ecx
and ecx, 0xfffffffa
add ecx, 8
call fcn.140088574
cmp byte [0x140123a20], dil
jne 0x140089c07
mov ecx, 0x49c
call fcn.140061d94
mov rbx, rax
mov r8, rbx
mov edx, 0x6f
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x140123a20], dil
jne 0x140089c2e
mov ecx, 0x49d
call fcn.140061d94
mov r12, rax
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x140123a20], dil
mov ebx, 0x3b8
sete byte [0x140123a20]
lea rcx, [rsp + 0xa0]
mov r8, rbx
xor edx, edx
call fcn.1400a9314
mov edx, dword [0x140123a24]
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.14008840c
lea rdx, [rsp + 0xa0]
mov ecx, esi
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov bl, dil
cmp byte [0x140123a20], dil
je 0x140089ccb
mov rcx, qword [0x140123d20]
cmp rcx, rdi
je 0x140089ccb
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
call fcn.1400a97ac
mov r12d, eax
jmp 0x140089d4a
cmp byte [0x1400ffcf0], dil
jne 0x140089d53
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, edi
je 0x140089d53
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, edi
jne 0x140089d4a
cmp dword [rsp + 0x58], 0x203
jne 0x140089d34
mov rax, qword [0x140108328]
cmp qword [rsp + 0x50], rax
jne 0x140089d34
mov rdx, qword [0x1400ffd80]
lea rcx, [0x140108328]
call fcn.1400716fc
jmp 0x140089d4a
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x140123a20], dil
jne 0x140089cd5
call fcn.1400a97ac
sub eax, r12d
add dword [0x140123d18], eax
cmp bl, dil
je 0x140089d73
mov rcx, qword [0x140123d20]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x1400ffcf0], dil
jne 0x14008a1ac
xor r9d, r9d
mov edx, 0x408
xor r8d, r8d
jmp 0x140089aa6
mov ebx, 0x3b8
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8, rbx
call fcn.1400a9314
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], 0x407
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.14003ed2c
lea rdx, str.Tray.ico
cmp eax, 0x501
lea rax, str.RAR.ico
lea rcx, [0x140107990]
sbb ebx, ebx
mov r9d, r13d
mov r8d, r12d
and ebx, 7
add ebx, 0x65
cmp ebx, 0x65
cmove rdx, rax
call fcn.14006cd28
mov esi, 1
mov qword [0x140123d28], rax
cmp rax, rdi
jne 0x140089e63
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 [0x140123d28], rax
lea rcx, [rsp + 0xa0]
xor edx, edx
mov qword [rsp + 0xc0], rax
call fcn.14008840c
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp eax, edi
je 0x140089ed8
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.1400999f4
mov rdx, qword [0x140123a88]
mov rcx, qword [0x140123c90]
xor r9d, r9d
mov r8d, esi
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], dil
call fcn.140088630
jmp 0x14008a1ac
mov rcx, qword [0x140123d28]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov qword [0x140123d28], rdi
jmp 0x14008a1ac
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14008946a
sub ebx, 0x407
mov esi, 1
je 0x14008a0ba
sub ebx, esi
je 0x140089f78
sub ebx, esi
je 0x140089f54
cmp ebx, esi
jne 0x140089f95
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], dil
call fcn.140088630
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call fcn.140088090
jmp 0x14008a1ac
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, r13
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], dil
call fcn.140088630
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x140089f4a
mov rcx, qword [0x1400ffd78]
cmp rcx, rdi
je 0x140089f95
cmp byte [0x14010d6bc], dil
jne 0x140089f9c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x14008a1af
mov r9d, 0xc8
lea r8, [rsp + 0x460]
cmp r12, rsi
lea edx, [r9 - 0x59]
mov rcx, rbp
sete r12b
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, 0x49c
call fcn.140061d94
mov edx, 0x6f
mov rcx, rbp
mov r8, rax
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov bl, dil
call fcn.1400a97ac
mov cl, sil
mov r13d, eax
mov byte [0x140126270], cl
cmp byte [0x1400ffcf0], dil
jne 0x14008a06f
cmp cl, dil
je 0x14008a06f
mov rcx, qword [0x1400ffd78]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14008a06f
cmp r12b, dil
je 0x14008a06f
cmp bl, dil
jne 0x14008a04e
lea rdx, [rsp + 0x5f0]
mov r8d, 0x480
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x57d
call fcn.140061d94
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.140047564
cmp byte [0x1400ffcf0], dil
jne 0x14008a06f
mov cl, byte [0x140126270]
jmp 0x140089ff6
mov byte [0x140126270], dil
call fcn.1400a97ac
sub eax, r13d
mov ecx, eax
call fcn.140087d14
lea r8, [rsp + 0x460]
mov edx, 0x6f
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp bl, dil
je 0x140089f95
lea rdx, [rsp + 0x5f0]
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x140089f95
cmp r12, 0x202
jne 0x14008a0dc
mov dl, sil
mov rcx, rbp
call fcn.1400876a8
mov edx, 5
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
cmp r12, 0x205
jne 0x14008a1ac
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, 0x2fe
mov rbx, rax
call fcn.140061d94
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.140061d94
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x7d]
mov r9, rax
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r11b, byte [0x140123a20]
neg r11b
sbb ecx, ecx
neg ecx
add ecx, 0x300
call fcn.140061d94
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.1400a86e0
add rsp, 0xf08
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret