Function at 0x1800011c0
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x1800a8008]
xor rax, rsp
mov qword [rsp + 0x448], rax
mov rbx, rcx
test rcx, rcx
je 0x1800012dd
cmp qword [rcx + 0x10], 0
je 0x1800012dd
test rdx, rdx
je 0x1800012dd
xor r13d, r13d
mov r8d, 0x5a4d
mov dword [rcx + 0x20], r13d
mov ecx, r13d
cmp r8w, word [rdx]
sete cl
jne 0x180001254
movsxd r8, dword [rdx + 0x3c]
mov ecx, r13d
cmp dword [r8 + rdx], 0x4550
sete cl
jne 0x180001254
mov eax, 0x8664
cmp ax, word [r8 + rdx + 4]
jne 0x180001258
mov eax, 0x20b
mov ecx, r13d
cmp ax, word [r8 + rdx + 0x18]
sete cl
test ecx, ecx
jne 0x180001261
mov dword [rbx + 0x20], 1
jmp 0x1800012dd
mov rcx, rbx
call fcn.180001750
test eax, eax
je 0x1800012dd
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800012b3
movsxd rax, dword [rcx + 0x3c]
mov r10, rcx
sub r10, qword [rax + rcx + 0x30]
je 0x1800013c1
mov edx, dword [rax + rcx + 0xb0]
test edx, edx
je 0x1800013c1
cmp dword [rax + rcx + 0xb4], r13d
je 0x1800013c1
mov r9d, edx
add r9, rcx
jne 0x18000130a
mov dword [rbx + 0x20], 3
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1800012dd
cmp dword [rbx + 0x1c], r13d
je 0x1800012dd
test rcx, rcx
je 0x1800012dd
mov r8d, 0x8000
xor edx, edx
call qword [rax + 0x20]
mov dword [rbx + 0x1c], r13d
mov qword [rbx + 8], r13
mov qword [rbx], r13
xor eax, eax
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.180002580
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r9]
mov r8d, dword [r9 + 4]
add ecx, r8d
je 0x1800013c1
mov edi, 0xf000
mov ebp, 0x3000
mov esi, 0xa000
nop dword [rax]
mov eax, r8d
mov rdx, r13
sub rax, 8
shr rax, 1
movsxd r11, eax
test eax, eax
jle 0x1800013ab
nop dword [rax]
nop dword [rax + rax]
movzx r8d, word [r9 + rdx*2 + 8]
movzx eax, r8w
movzx ecx, r8w
and ax, di
cmp bp, ax
jne 0x18000137e
mov eax, dword [r9]
and ecx, 0xfff
add rcx, rax
add rcx, qword [rbx]
add dword [rcx], r10d
movzx r8d, word [r9 + rdx*2 + 8]
movzx ecx, r8w
movzx eax, r8w
and cx, di
cmp si, cx
jne 0x18000139f
mov ecx, dword [r9]
and eax, 0xfff
add rax, rcx
add rax, qword [rbx]
add qword [rax], r10
inc rdx
cmp rdx, r11
jl 0x180001350
mov r8d, dword [r9 + 4]
mov eax, r8d
add r9, rax
mov ecx, dword [r9]
mov r8d, dword [r9 + 4]
add ecx, r8d
jne 0x180001330
mov rcx, rbx
call fcn.180001be0
test eax, eax
jne 0x1800013ec
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1800012dd
cmp dword [rbx + 0x1c], r13d
je 0x1800012dd
mov rcx, qword [rbx]
jmp 0x1800012c2
mov r8d, dword [rbx + 8]
lea r11, [rsp + 0x40]
mov r10, qword [rbx]
mov r9d, r13d
nop dword [rax + rax]
mov ecx, r9d
lea r11, [r11 + 4]
shl ecx, 0x18
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c10db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c10db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c10db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c10db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c10db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c10db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c10db7
test ecx, ecx
cmovns edx, eax
lea ecx, [rdx + rdx]
mov eax, ecx
xor eax, 0x4c10db7
test edx, edx
cmovns eax, ecx
inc r9d
mov dword [r11 - 4], eax
cmp r9d, 0x100
jl 0x180001400
mov edx, r13d
mov r9, r10
test r8d, r8d
je 0x1800014ce
nop dword [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
mov ecx, edx
shr rcx, 0x18
xor rcx, rax
shl edx, 8
xor edx, dword [rsp + rcx*4 + 0x40]
add r8d, 0xffffffff
jne 0x1800014b0
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0xc], edx
test rax, rax
je 0x1800012dd
movsxd rdi, dword [r10 + 0x3c]
mov rbp, r10
mov r12, qword [rax + 0x28]
add rdi, r10
mov r15, qword [rax + 0x20]
movabs rax, 0xffffffff00000000
movdqa xmm0, xmmword [0x1800a56a0]
and rbp, rax
movdqa xmm1, xmmword [0x1800a56b0]
movzx r14d, word [rdi + 6]
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
test r14, r14
je 0x1800015bf
mov rsi, r13
add rdi, 0x118
mov r10d, dword [rdi - 8]
mov eax, dword [rdi]
or r10, rbp
mov dword [rsp + 0x440], r13d
test eax, eax
je 0x1800015af
mov r9d, dword [rdi + 0x14]
mov edx, eax
bt r9d, 0x19
jae 0x180001561
mov r8d, 0x4000
mov rcx, r10
call r15
jmp 0x1800015af
mov ecx, r9d
mov eax, r9d
shr rax, 0x1b
shr rcx, 0x1d
and eax, 4
and ecx, 2
add rcx, rax
mov rax, r9
shr rax, 0x1f
add rcx, rax
mov eax, dword [rsp + rcx*4 + 0x20]
mov r8d, eax
bts r8d, 9
mov rcx, r10
and r9d, 0x4000000
lea r9, [rsp + 0x440]
cmove r8d, eax
call r12
test eax, eax
je 0x180001638
inc rsi
add rdi, 0x28
cmp rsi, r14
jl 0x180001531
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800012dd
movsxd rax, dword [rcx + 0x3c]
mov edx, dword [rax + rcx + 0xd0]
test edx, edx
je 0x180001615
mov rdi, qword [rdx + rcx + 0x18]
test rdi, rdi
je 0x18000160c
mov rax, qword [rdi]
test rax, rax
je 0x18000160c
nop dword [rax]
mov rcx, qword [rbx]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
mov rax, qword [rdi + 8]
lea rdi, [rdi + 8]
test rax, rax
jne 0x1800015f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800013cd
movsxd rax, dword [rcx + 0x3c]
mov edx, dword [rax + rcx + 0x28]
test edx, edx
je 0x1800013cd
mov eax, edx
add rax, rcx
jne 0x180001644
mov dword [rbx + 0x20], 6
jmp 0x1800013cd
mov dword [rbx + 0x20], 5
jmp 0x1800013cd
xor r8d, r8d
lea edx, [r8 + 1]
call rax
test eax, eax
je 0x1800013cd
mov eax, 1
jmp 0x1800012df