Function at 0x1400376d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
lea r8, [0x140038420]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rax, qword gs:[0x58]
mov ebx, 4
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14004d85c], eax
jle 0x140037761
lea rcx, [0x14004d85c]
call fcn.14003a08c
cmp dword [0x14004d85c], 0xffffffff
jne 0x140037761
lea rcx, [0x14003bf10]
call fcn.14003a3fc
lea rcx, [0x14004d85c]
call fcn.14003a020
mov eax, dword [rbx]
cmp dword [0x14004d858], eax
jle 0x140037798
lea rcx, [0x14004d858]
call fcn.14003a08c
cmp dword [0x14004d858], 0xffffffff
jne 0x140037798
lea rcx, [0x14003bea0]
call fcn.14003a3fc
lea rcx, [0x14004d858]
call fcn.14003a020
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x19], 0x50
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 7], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
cmp qword [0x14004c6c8], 7
lea rbx, [0x14004c6b0]
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
mov rax, rbx
movdqa xmmword [rbp + 0x17], xmm0
cmova rax, qword [0x14004c6b0]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x2f], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp - 1]
lea r8, [0x14004c6d0]
cmp qword [0x14004c6e8], 7
mov r9d, 0x80000000
mov qword [rsp + 0x58], rdi
cmova r8, qword [0x14004c6d0]
cmp qword [0x14004c6c8], 7
mov qword [rsp + 0x50], rax
mov eax, dword [rbp - 0x1d]
cmova rbx, qword [0x14004c6b0]
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov rdx, rbx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x21]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x25]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x29]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x14004ce08], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14004ce08]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r8d, dword [rbp - 0x21]
xor ecx, ecx
sub r8d, dword [rbp - 0x29]
mov r9d, dword [rbp - 0x1d]
mov eax, r8d
sub r9d, dword [rbp - 0x25]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, r9d
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov ebx, eax
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov rdi, rax
lea r9d, [rbx + 1]
lea r8d, [rsi + 1]
lea edx, [rbx - 1]
lea ecx, [rsi - 1]
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov r9d, 4
mov rdx, rdi
mov r8, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.GDI32.dll_CombineRgn]
mov rcx, qword [0x14004ce08]
mov r8d, 1
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowRgn]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
movdqa xmm0, xmmword [0x1400452a0]
lea rdx, [rbp + 0x37]
mov rcx, qword [0x14004ce08]
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14004ce08]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004ce08]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14003a000
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret