Function at 0x18011e008
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x408]
sub rsp, 0x4f0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea r15, [0x18019e160]
mov rcx, r15
cmp qword [0x18019e178], 0x10
cmovae rcx, qword [0x18019e160]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
mov rbx, rax
xor r14d, r14d
test rax, rax
jne 0x18011e07b
mov rbx, r15
cmp qword [0x18019e178], 0x10
cmovae rbx, qword [0x18019e160]
jmp 0x18011e07e
inc rbx
mov rax, qword [0x18019e158]
test rax, rax
je 0x18011e0de
lea rdx, str.kernel32.dll
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x18011e0ce
lea rdx, [0x180164cd8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x18011e0ce
mov rdx, qword [0x18019e158]
call fcn.18011e734
test al, al
jne 0x18011e0ce
mov rax, r14
mov qword [0x18019e158], rax
jmp 0x18011e0d5
mov rax, qword [0x18019e158]
test rax, rax
jne 0x18011e712
mov sil, r14b
mov dil, 0x65
mov r12d, 0x6f
lea rbx, [0x180164c98]
cmp qword [0x18019a380], r14
jne 0x18011e284
mov dword [rsp + 0x34], 0xc
mov eax, dword [rsp + 0x34]
xor al, 0x43
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x34]
inc al
xor al, 0x72
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x34]
add al, 2
xor al, dil
mov byte [rsp + 0x3a], al
mov eax, dword [rsp + 0x34]
add al, 3
xor al, 0x61
mov byte [rsp + 0x3b], al
mov eax, dword [rsp + 0x34]
add al, 4
xor al, 0x74
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x34]
add al, 5
xor al, dil
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x34]
add al, 6
xor al, 0x54
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x34]
add al, 7
xor al, r12b
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x34]
add al, 8
xor al, r12b
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x34]
add al, 9
xor al, 0x6c
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x34]
add al, 0xa
xor al, 0x68
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x34]
add al, 0xb
xor al, dil
mov byte [rsp + 0x43], al
mov eax, dword [rsp + 0x34]
add al, 0xc
xor al, 0x6c
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x34]
add al, 0xd
xor al, 0x70
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x34]
add al, 0xe
xor al, 0x33
mov byte [rsp + 0x46], al
mov eax, dword [rsp + 0x34]
add al, 0xf
xor al, 0x32
mov byte [rsp + 0x47], al
mov eax, dword [rsp + 0x34]
add al, 0x10
xor al, 0x53
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x34]
add al, 0x11
xor al, 0x6e
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x34]
add al, 0x12
xor al, 0x61
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x34]
add al, 0x13
xor al, 0x70
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x34]
add al, 0x14
xor al, 0x73
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x34]
add al, 0x15
xor al, 0x68
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x34]
add al, 0x16
xor al, r12b
mov byte [rsp + 0x4e], al
mov eax, dword [rsp + 0x34]
add al, 0x17
xor al, 0x74
mov byte [rsp + 0x4f], al
xor eax, eax
mov byte [rsp + 0x50], al
mov al, byte [rsp + 0x38]
mov rdx, r14
mov al, byte [rsp + rdx + 0x38]
mov ecx, dword [rsp + 0x34]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x38], cl
inc rdx
cmp rdx, 0x18
jb 0x18011e237
mov byte [rsp + 0x50], r14b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18019a380], rax
xor edx, edx
lea r8d, [rdx + 0x19]
lea rcx, [rsp + 0x38]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x18019a330], r14
jne 0x18011e398
mov dword [rsp + 0x20], r12d
mov eax, dword [rsp + 0x20]
xor al, 0x4d
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
inc al
xor al, r12b
mov byte [rsp + 0x25], al
mov eax, dword [rsp + 0x20]
add al, 2
xor al, 0x64
mov byte [rsp + 0x26], al
mov eax, dword [rsp + 0x20]
add al, 3
xor al, 0x75
mov byte [rsp + 0x27], al
mov eax, dword [rsp + 0x20]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x20]
add al, 5
xor al, dil
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x20]
add al, 6
xor al, 0x33
mov byte [rsp + 0x2a], al
mov eax, dword [rsp + 0x20]
add al, 7
xor al, 0x32
mov byte [rsp + 0x2b], al
mov eax, dword [rsp + 0x20]
add al, 8
xor al, 0x46
mov byte [rsp + 0x2c], al
mov eax, dword [rsp + 0x20]
add al, 9
xor al, 0x69
mov byte [rsp + 0x2d], al
mov eax, dword [rsp + 0x20]
add al, 0xa
xor al, 0x72
mov byte [rsp + 0x2e], al
mov eax, dword [rsp + 0x20]
add al, 0xb
xor al, 0x73
mov byte [rsp + 0x2f], al
mov eax, dword [rsp + 0x20]
add al, 0xc
xor al, 0x74
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x20]
add al, 0xd
xor al, 0x57
mov byte [rsp + 0x31], al
xor eax, eax
mov byte [rsp + 0x32], al
mov al, byte [rsp + 0x24]
mov rdx, r14
mov al, byte [rsp + rdx + 0x24]
mov ecx, dword [rsp + 0x20]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x24], cl
inc rdx
cmp rdx, 0xe
jb 0x18011e34b
mov byte [rsp + 0x32], r14b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18019a330], rax
xor edx, edx
lea r8d, [rdx + 0xf]
lea rcx, [rsp + 0x24]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [0x18019a3e0], r14
jne 0x18011e4a7
mov dword [rsp + 0x54], 0x3a
mov eax, dword [rsp + 0x54]
xor al, 0x4d
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x54]
inc al
xor al, r12b
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x54]
add al, 2
xor al, 0x64
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x54]
add al, 3
xor al, 0x75
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x54]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x54]
add al, 5
xor al, dil
mov byte [rsp + 0x5d], al
mov eax, dword [rsp + 0x54]
add al, 6
xor al, 0x33
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x54]
add al, 7
xor al, 0x32
mov byte [rsp + 0x5f], al
mov eax, dword [rsp + 0x54]
add al, 8
xor al, 0x4e
mov byte [rsp + 0x60], al
mov eax, dword [rsp + 0x54]
add al, 9
xor al, dil
mov byte [rsp + 0x61], al
mov eax, dword [rsp + 0x54]
add al, 0xa
xor al, 0x78
mov byte [rsp + 0x62], al
mov eax, dword [rsp + 0x54]
add al, 0xb
xor al, 0x74
mov byte [rsp + 0x63], al
mov eax, dword [rsp + 0x54]
add al, 0xc
xor al, 0x57
mov byte [rsp + 0x64], al
xor eax, eax
mov byte [rsp + 0x65], al
mov al, byte [rsp + 0x58]
mov r9, r14
mov al, byte [rsp + r9 + 0x58]
mov edx, dword [rsp + 0x54]
add dl, r9b
xor dl, al
mov byte [rsp + r9 + 0x58], dl
inc r9
cmp r9, 0xd
jb 0x18011e457
mov byte [rsp + 0x65], r14b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18019a3e0], rax
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x58]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [0x18019a380]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call rbx
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18011e712
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x438
mov r8, qword [0x18019a330]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r8
test eax, eax
jne 0x18011e509
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18011e712
mov r10, r15
cmp qword [0x18019e178], 0x10
cmovae r10, qword [0x18019e160]
add r10, qword [0x18019e170]
mov rax, r15
cmp qword [0x18019e178], 0x10
cmovae rax, qword [0x18019e160]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
cmp rax, r10
jne 0x18011e55e
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r14w
jmp 0x18011e574
mov r9, r10
sub r9, rax
mov r8, r10
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.18001e568
nop
mov r12d, 0x1000
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
lea rax, [rbp + 0x1e0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x18011e596
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x68]
call fcn.18000c67c
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.18001d9c8
mov dil, al
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x18011e5ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, r12
jb 0x18011e5fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18011e68b
call fcn.180157a14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
test dil, dil
je 0x18011e627
mov sil, 1
mov rax, qword [rbp - 0x38]
cmp rax, qword [0x18019e158]
jne 0x18011e692
mov rax, qword [0x18019a3e0]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call rax
test eax, eax
jne 0x18011e57a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18011e699
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18011e712
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r12
jb 0x18011e681
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18011e6d6
call fcn.180157a14
jmp 0x18011e712
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [0x18019e158], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18011e6e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, r12
jb 0x18011e6dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18011e6dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
test sil, sil
jne 0x18011e712
mov rcx, r15
cmp qword [0x18019e178], 0x10
cmovae rcx, qword [0x18019e160]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18019e158], rax
mov r8, rax
mov rdx, r15
call fcn.1800150f8
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret