Function at 0x1400659f0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14009e010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
mov ecx, 8
call fcn.140066c20
lea rcx, [0x140065650]
xor r12d, r12d
mov r9, rax
lea r8, [0x140066b80]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14006639f
mov qword [rsp + 0x1f0], rdi
cmp dword [rbp + 0x58], r12d
je 0x140066393
movaps xmm0, xmmword [rbp + 0x50]
lea rcx, [rbp + 0x60]
movdqa xmmword [rbp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140066393
mov qword [rsp + 0x1e8], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x1f8], r13
xor ecx, ecx
mov qword [rsp + 0x1b8], r14
mov qword [rsp + 0x1b0], r15
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x1a0], xmm6
movdqa xmmword [rbp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [r12 + 0x65]
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
lea rax, [0x1400668f0]
mov dword [rbp - 0x30], 0x50
xor ecx, ecx
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0x40
mov qword [rbp - 0x20], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [0x14009439e], r12w
lea edi, [r12 + 0x1f]
movups xmm3, xmmword [str.vZUXYEHQSUY]
mov ebx, dword [0x14009e018]
lea r13d, [r12 + 5]
xorps xmm0, xmm0
mov qword [rbp - 0x18], rax
movdqu xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movsd xmm0, qword [0x140094398]
movsd qword [rbp + 0x70], xmm0
movdqu xmmword [rbp], xmm1
movups xmmword [rbp + 0x60], xmm3
je 0x140065c98
mov r8d, r12d
cmp ebx, 2
jl 0x140065c4e
movdqa xmm2, xmmword [0x1400946d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400947e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r13d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140094710]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400946f0]
paddw xmm2, xmmword [0x140094750]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp + 0x60], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140094710]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + 0x68]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140094750]
xorps xmm2, xmm0
movq qword [rbp + 0x68], xmm2
movsxd rax, r8d
lea r9, [rbp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x140065c60
lea rax, [rbp + 0x60]
mov qword [rbp + 0x18], r12
lea rcx, [rbp - 0x30]
mov qword [rbp + 0x10], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp word [0x14009439e], r12w
mov rax, qword [0x14009e9f8]
movups xmm9, xmmword [str.vZUXYEHQSUY]
movsd xmm0, qword [0x140094398]
cvttss2si r10d, dword [rax + 0xc]
cvttss2si r11d, dword [rax + 8]
movups xmmword [rsp + 0x60], xmm9
movsd qword [rsp + 0x70], xmm0
je 0x140065e38
mov r8d, r12d
cmp ebx, 2
jl 0x140065def
movdqa xmm2, xmmword [0x1400946d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400947e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r13d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140094710]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x140094750]
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm9
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400946f0]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x60], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140094710]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, qword [0x140094750]
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x68]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x68], xmm3
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x140065e00
mov rax, qword [rbp - 0x18]
lea r8, [rsp + 0x60]
mov rdx, qword [rbp + 0x10]
mov r9d, 0x80000000
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, 1
mov qword [rbp - 0x6c], r12
mov r14, rax
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x58], 2
lea rbx, [0x14009e968]
mov qword [rbp - 0x40], 2
mov qword [rsp + 0x58], rbx
lea rsi, [0x14009e960]
mov qword [rsp + 0x50], rax
lea r15, [0x14009e958]
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r15
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x50]
mov dword [rsp + 0x28], 2
mov edx, edi
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], edi
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x64], rdi
mov qword [rbp - 0x48], rdi
mov dword [rbp + 0x50], 0xb000
mov dword [rbp + 0x54], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
movaps xmm9, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1a0]
cmp eax, 0x887a0004
jne 0x140065f8f
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, r13d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x50]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140065feb
call fcn.140066800
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, edi
mov r14, qword [rsp + 0x1b8]
mov r13, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x1e8]
mov r15, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1f0]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140066c00
add rsp, 0x1c0
pop r12
pop rbx
pop rbp
ret
call fcn.140066880
movdqa xmm0, xmmword [0x140094660]
lea rdx, [rbp + 0x28]
mov rcx, r14
movdqu xmmword [rbp + 0x28], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xorps xmm0, xmm0
lea rdx, [rbp + 0x38]
mov rcx, r14
movups xmmword [rbp + 0x38], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, edi
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14009e9f8]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
cvttss2si edx, dword [rcx + 0xc]
sub eax, edx
cdq
sub eax, edx
cvttss2si edx, dword [rcx + 8]
sar eax, 1
mov rcx, r14
mov r9d, eax
sub ebx, edx
mov eax, ebx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 0xa
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, r14
call fcn.1400663b0
xor bl, bl
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140066100
nop word [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp - 0x78], 0x12
lea rcx, [rbp - 0x80]
movzx ebx, bl
cmove ebx, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1400660c0
test bl, bl
jne 0x1400661d2
mov rax, qword [0x14009e918]
test rax, rax
je 0x140066115
mov rcx, qword [rax + 0xa0]
jmp 0x140066118
mov rcx, r12
cmp qword [rcx + 0x48], r12
jne 0x140066123
call fcn.140051ed0
call fcn.140053870
call fcn.14001da30
cmp byte [0x14009e90c], r12b
mov rcx, qword [0x14009e9f8]
jne 0x14006614a
cmp byte [rcx + 0x19], r12b
je 0x140066152
call fcn.140002f20
jmp 0x140066152
mov rdx, r14
call fcn.140004460
call fcn.1400201b0
mov rcx, qword [0x14009e968]
lea r8, [0x14009e950]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x60], xmm0
mov edx, edi
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x14009e968]
lea r8, [rbp + 0x60]
mov rdx, qword [0x14009e950]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14009e918]
mov rcx, qword [rax + 0x4a18]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0xa8
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140051460
mov rcx, qword [0x14009e958]
xor r8d, r8d
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x1400660a0
mov rbx, qword [0x14009e918]
test rbx, rbx
je 0x1400661e7
mov r15, qword [rbx + 0xa0]
jmp 0x1400661ea
mov r15, r12
mov esi, r12d
cmp dword [rbx + 0x4a10], r12d
jle 0x14006621e
mov rdi, r12
nop dword [rax]
mov rcx, qword [rbx + 0x4a18]
mov rcx, qword [rcx + rdi]
call fcn.140033cc0
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x4a10]
jl 0x140066200
call fcn.140052410
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x140066232
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r15]
test rcx, rcx
je 0x140066240
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14006624f
mov rax, qword [rcx]
call qword [rax + 0x10]
and dword [rbx + 0xc], 0xffffeff7
mov rax, qword [0x14009e918]
mov qword [rbx + 0x90], r12
mov qword [rbx + 0xa0], r12
test rax, rax
je 0x140066276
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [0x14009e918]
test r15, r15
je 0x140066294
mov r13, qword [r15 + 0x98]
jmp 0x140066297
mov r13, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rsi, qword [0x14009e918]
mov edi, r12d
cmp dword [rsi + 0x4a10], r12d
jle 0x1400662ee
mov rbx, r12
nop word [rax + rax]
mov rcx, qword [rsi + 0x4a18]
mov rcx, qword [rbx + rcx]
call fcn.140033cc0
inc edi
lea rbx, [rbx + 8]
cmp edi, dword [rsi + 0x4a10]
jl 0x1400662d0
mov rcx, qword [r13 + 0x30]
test rcx, rcx
je 0x1400662fd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [r15 + 0xc], 0xfffff3f8
mov rax, qword [0x14009e918]
mov qword [r15 + 0x88], r12
mov qword [r15 + 0x98], r12
test rax, rax
je 0x140066325
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14009e918]
mov qword [0x14009e918], rbx
call fcn.14001b2d0
mov qword [0x14009e918], r12
test rbx, rbx
je 0x140066370
mov rcx, rbx
call fcn.14003f090
mov rax, qword [0x14009e918]
test rax, rax
je 0x140066367
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140066800
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x140065fa8
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x58], r12d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3