Function at 0x1400142a0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
movups xmm0, xmmword [rcx]
mov rax, qword [rbp + 0xe8]
mov r14, rdx
movups xmm1, xmmword [rcx + 0x10]
mov rbx, qword [rbp + 0xe0]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x100]
movaps xmmword [rbp], xmm0
movsd xmm0, qword [rcx + 0x20]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x80], r9
mov qword [rsp + 0x78], r8
movaps xmmword [rbp + 0x10], xmm1
movsd qword [rbp + 0x20], xmm0
call fcn.140013fc0
xor ecx, ecx
mov qword [rbp - 0x68], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ecx, ecx
mov qword [rbp - 0x78], rax
mov rdi, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov r12d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9, rsi
lea r8, str.psychosomaticWnd_llu
mov edx, 0x1b
mov rcx, rbx
mov r13d, eax
call fcn.140001010
lea rax, [0x140014100]
mov qword [rbp - 0x50], 8
xor r15d, r15d
mov qword [rbp - 0x48], rax
mov edx, 0x7f00
mov qword [rbp - 0x40], r15
xor ecx, ecx
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x10], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x20], 1
mov qword [rbp - 0x28], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140014637
mov qword [rsp + 0x58], r15
mov r9d, 0xcf0000
mov qword [rsp + 0x50], rdi
mov r8, rbx
mov qword [rsp + 0x48], r15
mov rdx, rbx
mov qword [rsp + 0x40], r15
mov ecx, 0x8080008
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x14001463c
lea ecx, [r15 + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14001463c
lea rax, [rbp]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.USER32.dll_GetDC]
xor ecx, ecx
mov qword [rsp + 0x70], rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetDC]
cmp dword [0x140021b18], r15d
mov qword [rsp + 0x68], rax
mov dword [rbx + 0x18], r12d
mov dword [rbx + 0x1c], r13d
je 0x140014461
call qword [0x140021e90]
jmp 0x140014469
call qword [0x140021e90]
mov eax, eax
mov rcx, rsi
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x10], rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, qword [rsp + 0x70]
lea rsi, [rbx + 0x30]
mov qword [rbx + 8], rax
mov r8d, r13d
mov qword [rsp + 0x60], r15
mov rax, r15
mov qword [rsi], rax
mov edx, r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x64], r13d
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x40], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [rbx + 8]
mov rdx, rax
mov qword [rbx + 0x48], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8, rbx
mov edx, 0xffffffeb
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 5
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov r10, qword [rbx]
xor r12d, r12d
mov r9d, dword [rbx + 0x18]
mov r8, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x10]
mov rax, qword [r10 + 0x10]
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0x1c]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call qword [r10 + 8]
mov eax, dword [rbp + 0x18]
cmp eax, 2
jne 0x14001453e
mov dword [rsp + 0x40], eax
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
jmp 0x140014568
cmp eax, 4
jne 0x140014553
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
jmp 0x140014568
cmp eax, 1
jne 0x14001458a
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x20]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 8]
lea r9, [rbx + 0x38]
mov rdx, qword [rbx + 0x40]
mov r8, rsi
mov qword [rsp + 0x28], rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_UpdateLayeredWindow]
movaps xmm0, xmmword [rbp]
lea r8, [0x140014160]
mov rax, qword [rsp + 0x78]
mov r9, r14
mov rcx, qword [rbp - 0x70]
xor edx, edx
movaps xmm1, xmmword [rbp + 0x10]
mov qword [rsp + 0x28], r12
mov qword [rax], rbx
mov rax, qword [rbp - 0x80]
mov dword [rsp + 0x20], r12d
mov qword [rax], rdi
mov rax, qword [rbp - 0x78]
mov qword [rcx], rax
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
mov qword [rcx], rax
xor ecx, ecx
movups xmmword [r14], xmm0
mov qword [r14 + 0x30], rdi
movsd xmm0, qword [rbp + 0x20]
movups xmmword [r14 + 0x10], xmm1
mov qword [r14 + 0x28], rbx
movsd qword [r14 + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp - 0x58]
mov qword [rcx], rax
nop dword [rax + rax]
xor r9d, r9d
lea rcx, [rbp + 0x30]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetMessageW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140014637
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
test ebx, ebx
jne 0x140014600
lea eax, [rbx + 1]
jmp 0x14001463e
call fcn.140013dc0
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14001a080
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret