Function at 0x140110bd8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov edx, 0xffffffeb
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 2
je 0x140110d3c
cmp dword [rsp + 0x40], 5
je 0x140110c83
cmp dword [rsp + 0x40], 6
je 0x140110ce6
cmp dword [rsp + 0x40], 0x10
je 0x140110cc0
cmp dword [rsp + 0x40], 0x12
je 0x140110d4d
cmp dword [rsp + 0x40], 0x24
je 0x140110eb4
cmp dword [rsp + 0x40], 0x111
je 0x140110e0a
cmp dword [rsp + 0x40], 0x401
je 0x140110d5f
cmp dword [rsp + 0x40], 0x402
je 0x140110d73
jmp 0x140110f34
mov rax, qword [rsp + 0x48]
add rax, 0x28
mov rcx, rax
call fcn.140009d28
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x78]
jmp 0x140110f5b
lea rcx, [0x14024dda0]
call fcn.140017568
movzx eax, al
test eax, eax
je 0x140110ce1
xor edx, edx
lea rcx, [0x14024dda0]
call fcn.140110fa8
jmp 0x140110f5b
lea rcx, [0x14024dda0]
call fcn.140017568
movzx eax, al
test eax, eax
jne 0x140110cfe
jmp 0x140110f5b
mov rax, qword [rsp + 0x108]
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x140110d26
mov edx, 2
lea rcx, [0x14024dda0]
call fcn.140110fa8
jmp 0x140110d37
mov edx, 1
lea rcx, [0x14024dda0]
call fcn.140110fa8
jmp 0x140110f5b
mov ecx, dword [0x14024df00]
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x140110f5b
mov ecx, dword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rsp + 0x108]
mov qword [0x14024df90], rax
jmp 0x140110f5b
cmp qword [rsp + 0x110], 0x202
je 0x140110d8f
cmp qword [rsp + 0x110], 0x205
jne 0x140110e05
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov edx, 0x182
mov rcx, qword [0x14024df90]
call qword [sym.imp.USER32.dll_TrackPopupMenu]
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
xor r9d, r9d
mov r8d, eax
mov edx, 0x111
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140110f5b
cmp qword [rsp + 0x108], 0x3e8
jb 0x140110eaf
mov r8d, 0x50
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140183b90
mov dword [rsp + 0x90], 0x50
mov dword [rsp + 0x94], 0x22
lea r9, [rsp + 0x90]
xor r8d, r8d
mov edx, dword [rsp + 0x108]
mov rcx, qword [0x14024df90]
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x140110ea8
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140110ea8
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 0
je 0x140110ea8
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x80]
xor eax, eax
jmp 0x140110f5d
jmp 0x140110f5b
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x48], 0
jne 0x140110ed0
xor eax, eax
jmp 0x140110f5d
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x18], 0
jle 0x140110f0a
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x1c], 0
jle 0x140110f0a
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x10], 0
jle 0x140110f32
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x14], 0
jle 0x140110f32
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x18], rax
jmp 0x140110f5b
mov r9, qword [rsp + 0x110]
mov r8, qword [rsp + 0x108]
mov edx, dword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x140110f5d
xor eax, eax
add rsp, 0xe8
ret