Function at 0x1400238f0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400890c0]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r13d, r13d
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_SetCursor]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [0x140022ce0]
mov dword [rsp + 0x60], 0x50
mov qword [rsp + 0x68], rcx
lea r14, [0x14008a370]
mov rcx, rax
mov dword [rsp + 0x64], 3
lea edx, [r13 + 0x6b]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], 6
mov qword [rbp - 0x60], r14
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
lea edx, [r13 + 0x58]
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
lea edx, [r13 + 0x5a]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rsp + 0x58], r13
mov eax, 0xaaaaaaab
mov qword [rsp + 0x50], r13
mov r9d, 0x94080000
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rsi
imul ecx, edi, 0x33e
mul ecx
imul ecx, edi, 0x258
mov eax, 0xaaaaaaab
mov r8d, edx
shr r8d, 6
mul ecx
mov ecx, 0x40000
shr edx, 6
mov dword [rsp + 0x38], edx
mov rdx, r14
mov dword [rsp + 0x30], r8d
lea r8, [0x140073720]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
test rax, rax
jne 0x140023a66
xor r9d, r9d
lea rdx, str.CreateWindow_Eroor
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140023ceb
xorps xmm0, xmm0
mov qword [rsp + 0x180], r15
lea rdx, [rbp + 0x30]
mov rcx, r12
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r15d, dword [rbp + 0x38]
lea rdx, [rbp + 0x30]
mov r14d, dword [rbp + 0x3c]
mov rcx, rsi
sub r15d, dword [rbp + 0x30]
sub r14d, dword [rbp + 0x34]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp + 0x38]
mov eax, r15d
sub edx, dword [rbp + 0x30]
mov esi, r13d
mov r9d, dword [rbp + 0x3c]
mov ebx, r13d
sub r9d, dword [rbp + 0x34]
mov ecx, 0x10
shr eax, 1
shr edx, 1
sub edx, eax
shr r9d, 1
mov eax, r14d
shr eax, 1
sub r9d, eax
add edx, dword [rbp + 0x30]
cmovns esi, edx
add r9d, dword [rbp + 0x34]
cmovns ebx, r9d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x11
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub edi, r15d
mov dword [rsp + 0x30], 1
sub eax, r14d
mov dword [rsp + 0x28], r13d
cmp ebx, eax
mov dword [rsp + 0x20], r13d
mov rcx, r12
cmovbe eax, ebx
cmp esi, edi
mov r9d, eax
cmovbe edi, esi
xor edx, edx
mov r8d, edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, r12
call fcn.14001b8b0
xorps xmm0, xmm0
mov qword [rbp - 0x18], r13
mov edx, 0x7f00
movdqa xmmword [rbp - 0x30], xmm0
xor ecx, ecx
mov qword [rbp - 8], r13
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rax, [0x140022ce0]
mov dword [rbp - 0x50], 0x50
lea rsi, [0x14008a370]
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x4c], 3
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x20], 6
mov qword [rbp - 0x10], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x58
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 0x5a
mov rcx, rbx
mov edi, eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov qword [rsp + 0x58], r13
mov eax, 0xaaaaaaab
mov qword [rsp + 0x50], r13
mov r9d, 0x50000000
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r12
imul ecx, edi, 0x33e
mul ecx
imul ecx, edi, 0x226
mov eax, 0xaaaaaaab
mov r8d, edx
shr r8d, 6
mul ecx
xor ecx, ecx
shr edx, 6
mov dword [rsp + 0x38], edx
mov rdx, rsi
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], r8d
lea r8, [0x140073690]
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, qword [rsp + 0x180]
test rax, rax
jne 0x140023c4a
xor r9d, r9d
lea rdx, [0x140073668]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140023c62
mov r8, rax
lea rcx, [0x140016250]
xor edx, edx
call fcn.140043620
mov qword [0x14008c8f0], rax
mov edx, 5
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
lea rcx, [rbp]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140023ce8
nop
cmp qword [rbp + 0x10], 0xf060
jne 0x140023cbe
mov rcx, qword [0x14008ca50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x14008c8f0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call qword [sym.imp.TapTun_Client.dll_XTunHangUp]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140023c90
mov rax, r12
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14002f100
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret