Function at 0x180001f90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
xor r8d, r8d
xor edx, edx
mov rbx, qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0xf0], rcx
mov rcx, qword [str.KERNEL32.dll]
call rbx
xor r8d, r8d
xor edx, edx
mov rcx, qword [str.ntdll.dll]
mov r12, rax
call rbx
mov rcx, r12
mov rdi, rax
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rax + 0x38]
mov edx, dword [rbx + 0x124]
mov r8, rbx
call fcn.180001330
mov edx, dword [rbx + 0x9c]
mov qword [rsp + 0x30], rax
call fcn.180001330
mov edx, dword [rbx + 0x80]
mov r13, rax
call fcn.180001330
mov edx, dword [rbx + 0x100]
mov rcx, rdi
mov r15, rax
call fcn.180001330
mov edx, dword [rbx + 0x118]
mov rcx, r12
mov qword [rsp + 0x38], rax
call fcn.180001330
mov edx, dword [rbx + 0xb8]
mov qword [rsp + 0x40], rax
call fcn.180001330
mov edx, dword [rbx + 0x78]
mov rcx, rdi
mov qword [rsp + 0x48], rax
call fcn.180001330
mov edx, dword [rbx + 0x144]
mov rcx, r12
mov qword [rsp + 0x50], rax
call fcn.180001330
mov edx, dword [rbx + 0x4c]
mov qword [rsp + 0x58], rax
call fcn.180001330
mov edx, dword [rbx + 0x7c]
mov qword [rsp + 0x60], rax
call fcn.180001330
mov edx, dword [rbx + 0xbc]
mov rbp, rax
call fcn.180001330
mov edx, dword [rbx + 0xa4]
mov qword [rsp + 0x68], rax
call fcn.180001330
mov edx, dword [rbx + 0x20]
mov rcx, rdi
call fcn.180001330
mov edx, 0x100
mov ecx, 0x40
mov r14, rax
call rbp
mov edx, dword [rbx + 0xcc]
mov r8, rbx
mov rcx, r12
mov rsi, rax
call fcn.180001330
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 8], r12
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x48]
mov edx, dword [rbx + 0x5c]
mov qword [rsi + 0xd0], r15
mov qword [rsi + 0xf0], rdi
mov qword [rsi + 0x88], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsi + 0x78], r14
mov qword [rsi + 0xc8], rbp
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0x68], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsi + 0x48], r13
mov qword [rsi + 0xa0], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x98], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsi + 0x60], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0xd8], rcx
mov rcx, qword [rsp + 0x68]
mov qword [rsi + 0xa8], rcx
mov rcx, rdi
call fcn.180001330
mov edx, dword [rbx + 0xa8]
mov qword [rsi + 0xb0], rax
call fcn.180001330
mov edx, dword [rbx + 0x128]
mov qword [rsi + 0xb8], rax
call fcn.180001330
mov qword [rsi + 0x38], rbx
lea rdx, [rsp + 0x73]
mov rcx, rsi
mov qword [rsi + 0xf8], rax
mov byte [rsp + 0x73], 0
call fcn.180001100
cmp byte [rsp + 0x73], 0
je 0x180001fa2
lea rdi, [rsp + 0x90]
mov r14d, 0xc
mov r15, 0xfffffffffe363c80
lea r13, [rdi + 8]
nop word [rax + rax]
mov r8, qword [rsi + 0x98]
mov rax, rdi
nop word [rax + rax]
mov byte [rax], 0
add rax, 1
cmp rax, r13
jne 0x180001f80
xor ecx, ecx
mov qword [rsp + 0x90], r15
mov rdx, rdi
call r8
sub r14d, 1
jne 0x180001f70
mov rax, qword [rsp + 0xf0]
mov r8, rbx
mov rcx, r12
mov edx, dword [rbx + 0x68]
mov r13, qword [rax + 0x28]
call fcn.180001330
mov ecx, 0x40
mov r12, rax
movsxd rax, dword [rbx + 0x54]
add r13, rax
mov edx, dword [r13]
mov dword [rsp + 0x74], 0
mov r14d, dword [r13 + 4]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov r15, rdx
call rbp
lea ecx, [r15 - 1]
mov rdi, rax
xor eax, eax
test r15d, r15d
mov r8, rcx
jne 0x180002013
jmp 0x18000203d
mov rax, rdx
movzx edx, byte [r13 + rax + 8]
cmp rcx, rax
mov byte [rdi + rax], dl
lea rdx, [rax + 1]
jne 0x180002010
shr r8d, 2
mov rax, rdi
lea rdx, [rdi + r8*4 + 4]
xor dword [rax], r14d
add rax, 4
cmp rdx, rax
jne 0x180002031
mov ecx, 0x40
mov edx, 0x20a
call rbp
movsx cx, byte [rdi]
test cl, cl
je 0x180002067
xor r8d, r8d
mov word [rax + r8*2], cx
add r8, 1
movsx cx, byte [rdi + r8]
test cl, cl
jne 0x180002054
lea r9, [rsp + 0x74]
mov rdx, rax
mov rcx, rsi
lea r8, [rsp + 0x80]
call fcn.180001cf0
test al, al
jne 0x180002097
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rsp + 0x74]
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x88]
call fcn.180001530
test al, al
je 0x180002083
mov r13, qword [rsp + 0x88]
mov ecx, 0x40
lea rdi, [rsp + 0x90]
mov edx, dword [r13 + 0xc]
mov r8d, dword [r13 + 8]
mov r14, rdx
mov dword [rsp + 0x30], r8d
call qword [rsi + 0xc8]
mov r8d, dword [rsp + 0x30]
mov qword [rsp + 0x28], rdi
lea r9, [r13 + 0x10]
mov r15, rax
mov rdx, rax
mov ecx, 2
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x20], r8d
mov r8d, r14d
call qword [rsi + pe_nt_image_headers64]
test eax, eax
jne 0x180002083
cmp byte [r15 + 0x90], 0
lea rcx, [r15 + 0x90]
je 0x18000230a
lea edx, [rax + 1]
cmp byte [rcx + rdx], 0
mov rax, rdx
jne 0x180002133
xor edx, edx
test eax, eax
je 0x18000230a
mov eax, dword [r15 + 8]
lea r8, [rsp + 0x78]
mov rcx, rsi
mov dword [rsp + 0x78], 0
mov r9d, dword [rbx + 0xb0]
mov qword [rsp + 0x20], rbx
lea r14, [rdx + rax + 0x3dd]
lea rax, [r15 + r14]
mov rdx, rax
mov qword [rsp + 0x30], rax
call fcn.180001820
mov edx, 0x20a
mov ecx, 0x40
mov r14, rax
call rbp
movzx r10d, byte [r15 + 0xf4]
lea r11, [r15 + 0xf4]
test r10b, r10b
je 0x180002316
xor edx, edx
jmp 0x1800021b3
mov edx, r9d
lea r9d, [rdx + 1]
movsx cx, byte [r11 + r9]
mov r8, r9
test cl, cl
jne 0x1800021b0
test r8d, r8d
je 0x180002322
lea r8, [rax + r9*2]
add rdx, r15
jmp 0x1800021ec
movsx cx, byte [rdx + 0xf4]
sub rdx, 1
mov word [r8], cx
sub r8, 2
cmp r15, rdx
jne 0x1800021e0
movsx dx, byte [r15 + 0xf4]
test dx, dx
mov word [rax], dx
je 0x18000231b
xor edx, edx
lea ecx, [rdx + 1]
cmp word [rax + rcx*2], 0
mov rdx, rcx
jne 0x180002210
nop dword [rax]
lea ecx, [rdx - 1]
cmp word [rax + rcx*2], 0x5c
mov rdx, rcx
jne 0x180002220
lea rdx, [rax + rcx*2 + 2]
mov rcx, rsi
call fcn.1800018e0
mov ecx, 0x40
movsxd rdx, dword [rax + 0x3c]
mov esi, dword [rax + rdx + 0x2c]
mov edx, dword [rsp + 0x78]
add rsi, rax
call rbp
mov edx, dword [rsp + 0x78]
lea r8d, [rdx - 1]
test edx, edx
je 0x180002277
xor edx, edx
jmp 0x180002263
mov rdx, rcx
movzx ecx, byte [rsi + rdx]
cmp r8, rdx
mov byte [rax + rdx], cl
lea rcx, [rdx + 1]
jne 0x180002260
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
lea rbp, [rsp + 0x7c]
mov dword [rsp + 0x7c], 0
mov r9, rbp
mov qword [rcx + 0xcc0], rax
mov rcx, rsi
mov r8d, dword [rbx + 8]
call r12
mov eax, dword [rsp + 0x78]
lea ecx, [rax - 1]
test eax, eax
je 0x1800022c8
xor eax, eax
jmp 0x1800022b3
mov rax, rdx
movzx edx, byte [r14 + rax]
cmp rcx, rax
mov byte [rsi + rax], dl
lea rdx, [rax + 1]
jne 0x1800022b0
mov eax, dword [rsp + 0x78]
mov r9, rbp
mov r8d, dword [rsp + 0x7c]
mov rcx, rsi
mov edx, eax
call r12
mov eax, dword [rbx + 8]
mov r9, rdi
mov r8, r13
mov qword [rsp + 0x94], rsi
mov rdx, qword [rsp + 0x30]
mov rcx, r15
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x9c], eax
call rsi
jmp 0x180002083
mov edx, dword [r15 + 0x160]
jmp 0x180002149
xor edx, edx
mov word [rax], dx
xor edx, edx
jmp 0x180002220
movsx dx, r10b
mov word [rax], dx
jmp 0x18000220e