Function at 0x140040430
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xa0
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [0x14041bb88]
test eax, eax
je 0x1400404b4
mov dword [0x1403ec6b4], 0
mov dword [0x1403ec6b0], 0
mov edx, 0xfffffff0
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
btr eax, 0x10
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
btr eax, 0x10
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov edx, 0xfffffff0
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x140040704
mov edx, 0xfffffff0
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
btr eax, 0x10
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
btr eax, 0x10
mov dword [rsp + 0x44], eax
mov r8d, dword [rsp + 0x44]
mov edx, 0xfffffff0
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xffffffec
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
and eax, 0xfffdfdfe
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x48]
mov edx, 0xffffffec
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x88], 1
mov dword [rsp + 0x8c], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xor r8d, r8d
mov edx, 0x20005
mov rcx, qword [0x14041c0c8]
call fcn.14016c240
mov edx, 0xfffffff0
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x4c], eax
mov edx, 5
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8d, dword [rsp + 0x4c]
mov edx, 0xfffffff0
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r8d, dword [rsp + 0x4c]
mov edx, 0xffffffec
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 5
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, socket
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov r9d, 1
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.dwmapi.dll_DwmEnableBlurBehindWindow]
lea r8, [0x1400402b0]
mov edx, 0xfffffffc
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x14041bca0], rax
mov dword [rsp + 0x30], 0x227
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x5c], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xe6
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x5c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x190
mov dword [rsp + 0x30], 0x225
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x60]
mov r9d, ecx
mov r8d, eax
xor edx, edx
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14041c0c0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14027f960
add rsp, 0xa0
pop rdi
ret