Function at 0x140008e40
Capabilities:
Acquire debug privileges
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x14002a010]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r15, rcx
xor ecx, ecx
call fcn.1400108e8
mov rcx, rax
call fcn.14000ef74
xor ebx, ebx
lea r13, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
mov edi, ebx
movabs r12, 0x842108421084211
call fcn.14000ef48
movsxd rcx, eax
mov rax, r12
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx eax, byte [rcx + r13]
mov byte [rbp + rdi + 0x70], al
inc rdi
cmp rdi, 0x14
jl 0x140008e94
lea rax, [0x140001920]
mov byte [rbp + 0x84], bl
mov qword [rbp - 0x48], rax
mov edx, 0x65
lea rax, [rbp + 0x70]
mov qword [rbp - 0x50], 3
mov rcx, r15
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x38], r15
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x30], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x20], 0xc
mov qword [rbp - 0x28], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x140008f8d
movdqa xmm0, xmmword [0x140026330]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x3c81b14
mov dword [rbp - 0x5c], 0x1c1d0b01
mov dword [rbp - 0x58], 0x1c1a01ce
mov dword [rbp - 0x54], 0x100d212
nop dword [rax + rax]
lea eax, [rbx - 0x2a]
xor byte [rbp + rbx - 0x70], al
inc rbx
cmp rbx, 0x1e
jb 0x140008f60
xor r9d, r9d
mov byte [rbp - 0x51], 0
xor r8d, r8d
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x140009b56
mov qword [rsp + 0x5e8], rsi
mov qword [rsp + 0x5f0], r14
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x50]
mov rdi, rbx
mov eax, dword [rbp + 0x58]
sub eax, ecx
sub eax, 0x11a
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
mov ecx, dword [rbp + 0x54]
mov eax, dword [rbp + 0x5c]
sub eax, ecx
sub eax, 0xe2
cdq
sub eax, edx
sar eax, 1
lea r14d, [rcx + rax]
nop
call fcn.14000ef48
movsxd r8, eax
mov rax, r12
mul r8
mov rcx, r8
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rax, rcx, 0x3e
sub r8, rax
movzx eax, byte [r8 + r13]
mov byte [rbp + rdi + 0x88], al
inc rdi
cmp rdi, 0x14
jl 0x140008fe0
mov qword [rsp + 0x58], rbx
lea r8, [rbp + 0x88]
mov qword [rsp + 0x50], r15
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x48], rbx
mov r9d, 0x10c80000
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x38], 0xe2
mov dword [rsp + 0x30], 0x11a
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
mov byte [rbp + 0x9c], bl
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x60], rax
mov rdi, rax
test rax, rax
jne 0x1400090cd
movdqa xmm0, xmmword [0x140026330]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x7c81b14
mov dword [rbp - 0x5c], 0xcc020600
mov word [rbp - 0x58], 0x100
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx - 0x2a]
xor byte [rbp + rbx - 0x70], al
inc rbx
cmp rbx, 0x18
jb 0x1400090a0
xor r9d, r9d
mov byte [rbp - 0x57], 0
xor r8d, r8d
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x140009b46
mov qword [rsp + 0x28], rbx
lea r8, [0x140008da0]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400091a6
lea r8, [rsp + 0x78]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1400091a6
mov rax, qword [rsp + 0x78]
lea r8, [rbp + 0x60]
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rbp + 0x64], rax
mov dword [rbp + 0x60], 1
mov dword [rbp + 0x6c], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1400091a6
mov dword [rbp - 0x80], 0xb6aaa593
mov rcx, rbx
mov dword [rbp - 0x7c], 0xeffffba8
mov dword [rbp - 0x78], 0x100e7ec
nop dword [rax]
lea eax, [rcx - 0x2a]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0xa
jb 0x140009180
xor r9d, r9d
mov byte [rbp - 0x75], bl
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [0x140026400]
mov rcx, rbx
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x60], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x2a]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0x10
jb 0x1400091d0
movdqa xmm0, xmmword [0x1400262f0]
lea rdx, [rbp - 0x70]
mov r8d, 0x10
mov byte [rbp - 0x5f], bl
lea rcx, [rbp + 0x30]
mov byte [rbp + 0x30], bl
movdqu xmmword [rbp + 0x40], xmm0
call fcn.14000ac10
cmp qword [0x140091d30], 0x10
lea r9, [0x140091d18]
mov rdx, qword [rbp + 0x48]
cmovae r9, qword [0x140091d18]
mov rax, rdx
mov rcx, qword [rbp + 0x40]
mov rsi, qword [0x140091d28]
sub rax, rcx
cmp rsi, rax
ja 0x140009267
cmp rdx, 0x10
lea rax, [rcx + rsi]
lea rdi, [rbp + 0x30]
mov qword [rbp + 0x40], rax
cmovae rdi, qword [rbp + 0x30]
mov r8, rsi
add rdi, rcx
mov rdx, r9
mov rcx, rdi
call fcn.14000eb70
mov byte [rdi + rsi], bl
mov rdi, qword [rsp + 0x60]
jmp 0x140009278
mov rdx, rsi
mov qword [rsp + 0x20], rsi
lea rcx, [rbp + 0x30]
call fcn.14000af90
cmp qword [rbp + 0x48], 0x10
lea r8, [rbp + 0x30]
mov dword [rbp - 0x80], 0xadb9a3a5
mov rcx, rbx
cmovae r8, qword [rbp + 0x30]
mov dword [rbp - 0x7c], 0x100b8b3
nop word [rax + rax]
lea eax, [rcx - 0x2a]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 6
jb 0x1400092a0
mov qword [rsp + 0x58], rbx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x50], r15
mov r9d, 0x50010000
mov qword [rsp + 0x48], rbx
xor ecx, ecx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0xe2
mov dword [rsp + 0x30], 0x11a
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov byte [rbp - 0x79], bl
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x58], rbx
lea r8, [0x1400261d1]
mov qword [rsp + 0x50], r15
lea rdx, str.ComboBox
mov qword [rsp + 0x48], rbx
mov r9d, 0x50000203
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov dword [rsp + 0x38], 0x8c
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], 0x7e
mov dword [rsp + 0x20], 0x64
mov qword [0x140093030], rax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r9, str.1.4.7
xor r8d, r8d
mov rcx, rax
mov qword [0x140093038], rax
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140093038]
lea r9, str.1.5.2
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140093038]
lea r9, str.1.6.4
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140093038]
lea r9, str.1.7.10
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140093038]
lea r9, str.1.8.9
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140093038]
lea r9, str.1.12.2
xor r8d, r8d
mov edx, 0x143
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [0x140093038]
xor r9d, r9d
mov edx, 0x14e
lea r8d, [r9 + 3]
call qword [sym.imp.USER32.dll_SendMessageA]
movdqa xmm0, xmmword [0x140026320]
mov rcx, rbx
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x60], 1
lea eax, [rcx - 0x2a]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0xf
jb 0x140009420
lea rcx, [rbp - 0x70]
mov byte [rbp - 0x60], bl
jmp fcn.14023425e
int3
int3