Function at 0x140003bc0
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14d, edx
mov rbx, rcx
cmp edx, dword [rcx + 0x124]
je 0x140003f3d
mov rax, qword [rcx + 8]
lea rdx, [rbp - 0x39]
mov qword [rsp + 0xc8], r13
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rbx + 8]
mov edx, dword [rbx + 0x114]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r13, rax
test rax, rax
je 0x140003f35
mov rcx, qword [rbx + 8]
mov edx, dword [rbx + 0x110]
mov qword [rsp + 0xd0], r12
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r12, rax
test rax, rax
je 0x140003f2d
lea rdx, [rbp - 0x19]
mov qword [rsp + 0xc0], r15
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rbx + 8]
mov edx, dword [rbx + 0x12c]
movsxd rcx, dword [rcx + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r15, rax
test rax, rax
je 0x140003f25
mov qword [rsp + 0x110], rsi
lea rdx, [rbp - 0x49]
mov rcx, rax
mov qword [rsp + 0xd8], rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [rbx + 0x124], 0
mov edx, dword [rbp - 0xd]
mov esi, dword [rbp - 0x45]
je 0x140003cd3
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
jmp 0x140003cf1
mov ecx, dword [rbp - 0x19]
mov eax, dword [rbp - 0x41]
sub eax, dword [rbp - 0x49]
add eax, ecx
mov dword [rbp - 0x29], ecx
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x3d]
sub eax, esi
mov dword [rbp - 0x25], edx
add eax, edx
mov dword [rbp - 0x1d], eax
sub esi, edx
test r14d, r14d
jne 0x140003cfa
neg esi
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_GetTopWindow]
mov rdi, rax
test rax, rax
je 0x140003df5
nop dword [rax]
lea rdx, [rbp - 9]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 9]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x140003ddb
cmp dword [rbx + 0x128], eax
je 0x140003d5c
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140003dc8
cmp rdi, r15
je 0x140003dc8
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140003dc8
mov eax, dword [rbp - 9]
lea rdx, [rbp - 0x59]
mov ecx, dword [rbp - 5]
mov dword [rbp - 0x59], eax
add ecx, esi
mov rax, qword [rbx + 8]
mov dword [rbp - 0x55], ecx
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov r9d, dword [rbp - 0x55]
xor eax, eax
mov r8d, dword [rbp - 0x59]
xor edx, edx
mov dword [rsp + 0x30], 5
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
jmp 0x140003dd2
mov eax, r14d
neg eax
sbb edx, edx
and edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindow]
mov rdi, rax
test rax, rax
jne 0x140003d20
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0x110]
test r14d, r14d
jne 0x140003ea2
cmp dword [rbx + 0x128], r14d
jne 0x140003e44
mov eax, dword [rbp - 0x31]
xor edx, edx
sub eax, dword [rbp - 0x39]
mov rcx, r12
mov dword [rbx + 0x11c], eax
mov eax, dword [rbp - 0x2d]
sub eax, dword [rbp - 0x35]
mov dword [rbx + 0x120], eax
mov dword [rbx + 0x128], 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rbp - 0x11]
xor r9d, r9d
sub edx, dword [rbp - 0x39]
mov r8d, dword [rbp - 0x3d]
sub r8d, dword [rbp - 0x35]
sub r8d, dword [rbp - 0x45]
add r8d, dword [rbp - 0xd]
mov rax, qword [rbx + 8]
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov dword [rsp + 0x20], edx
xor edx, edx
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rbx + 0x124], 0
jmp 0x140003f25
mov rax, qword [rbx + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 6
xor r8d, r8d
xor edx, edx
movsxd rcx, dword [rax + 4]
mov eax, dword [rbx + 0x120]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x11c]
mov rcx, qword [rcx + rbx + 0x10]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rbx + 0x118], 0
je 0x140003f1b
lea rdx, [rbx + 0x90]
mov rcx, r13
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rbx + 0x124], 1
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xc8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0xe0
pop r14
pop rbx
pop rbp
ret