Function at 0x140082e60
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402f6010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov ebx, dword [0x14068be20]
call fcn.14007f600
mov dword [rbp - 0x70], 0x53205150
mov word [rbp - 0x6c], 0x100
xor edi, edi
mov eax, edi
nop dword [rax + rax]
lea ecx, [rax + 0xc]
xor byte [rbp + rax - 0x70], cl
inc rax
cmp rax, 4
jb 0x140082ec0
mov byte [rbp - 0x6b], dil
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.14007e390
cmp qword [rax + 0x18], 0x10
jb 0x140082eec
mov rax, qword [rax]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14068be38], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140082f59
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082f54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082f54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008860c
mov dword [0x14068be30], ebx
call fcn.140080860
mov r13, rax
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], dil
movdqa xmm0, xmmword [0x1402d7a70]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov qword [rbp - 0x70], rdi
call fcn.14008a080
mov rcx, rax
call fcn.14008b130
mov rbx, rax
lea rdx, [0x140689270]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x140689270]
mov r8d, dword [0x140689280]
mov rcx, rax
call fcn.14008b760
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14008bd30
mov rcx, rbx
call fcn.14008a990
mov r12, qword [rbp - 0x70]
test r12, r12
je 0x1400832b0
mov rcx, r12
call fcn.14008a580
cmp eax, 0x200
jne 0x1400832b0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140088d28
mov r14, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140088d28
mov r15, rax
mov rbx, qword [rbp - 0x38]
call fcn.14008cb80
mov rcx, rax
call fcn.14008b130
mov rsi, rax
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
mov edx, ebx
call fcn.140089fa0
mov rdx, rax
mov rcx, rsi
call fcn.14008b3c0
mov edx, 0x100
mov rcx, rsi
call fcn.14008b6f0
mov rcx, rbx
call fcn.140088d28
mov rdi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call fcn.14008b680
mov ebx, eax
mov rcx, rsi
call fcn.14008aa70
mov dword [rsp + 0x20], 1
mov r9, r12
mov r8, rdi
mov rdx, rdi
mov ecx, ebx
call fcn.14008a240
movups xmm0, xmmword [rdi]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [r15], xmm0
mov rcx, rdi
call fcn.14008860c
lea r8, [rbp]
mov edx, 0x100
mov rcx, r14
call fcn.140001dd0
mov ecx, 0x7270e0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140088d28
mov r14, rax
movups xmm0, xmmword [r15]
movups xmmword [rax], xmm0
mov rbx, qword [rbp - 0x58]
call fcn.14008cb80
mov rcx, rax
call fcn.14008b130
mov rsi, rax
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
mov edx, ebx
call fcn.140089fa0
mov rdx, rax
mov rcx, rsi
call fcn.14008b3c0
mov edx, 0x100
mov rcx, rsi
call fcn.14008b6f0
mov rcx, rbx
call fcn.140088d28
mov rdi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call fcn.14008b680
movsxd rbx, eax
mov rcx, rsi
call fcn.14008aa70
mov r8, rbx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
lea r9, [rbp]
mov rdx, rdi
mov rcx, rdi
call fcn.140002010
mov rcx, r14
call fcn.14008860c
xor r8d, r8d
lea rdx, [0x1402d6c4b]
lea rcx, [rbp - 0x68]
call fcn.14007c530
xor r8d, r8d
lea rdx, [0x1402d6c4b]
lea rcx, [rbp - 0x28]
call fcn.14007c530
call fcn.140081630
movdqa xmm0, xmmword [0x1402d7df0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x1007170
mov ecx, ebx
nop dword [rax]
lea eax, [rcx + 0xc]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x1400831e0
mov byte [rsp + 0x53], bl
mov r8, r13
lea rdx, [0x1405f1e10]
lea rcx, [rsp + 0x40]
call fcn.140080d60
mov rcx, qword [0x14068be38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
movdqa xmm0, xmmword [0x1402d7c20]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1402d7ca0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rbp - 0x80], Ordinal_79
mov byte [rbp - 0x7e], 1
mov rcx, rbx
nop
lea eax, [rcx + 0xe]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x21
jb 0x140083250
mov byte [rbp - 0x7e], bl
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], bl
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140083281
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14007c530
lea rcx, [rsp + 0x40]
call fcn.14007f730
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400832a3
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x14007ea10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x1406891d0]
call fcn.14007b4e0
mov r8, rax
movdqa xmm0, xmmword [0x1402d7bc0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xec82ccba
mov dword [rsp + 0x54], 0xe7f1e9c2
mov dword [rsp + 0x58], 0xeaf5ed
mov byte [rsp + 0x5c], 1
lea rcx, [rsp + 0x40]
call fcn.140081390
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3