Function at 0x140003f00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0xc0]
lea r9d, [r8 - 0xd9b]
mov r12d, edx
mov dword [rsp + 0xa0], r9d
xor r12d, 0xc41
lea r15d, [r8 - 0x68c]
mov eax, r12d
mov esi, edx
mov r14d, ecx
mov ebp, ecx
xor ebp, 0xb36
xor r14d, 0xbb2
xor eax, 0xdab
mov dword [rsp + 0x40], ebp
xor esi, 0xa58
mov dword [rsp + 0x44], r14d
xor r10d, r10d
cmp esi, eax
jl 0x140004104
mov rax, qword [section..data]
lea rcx, [0x140014310]
mov r11d, r10d
mov qword [rax + 0xb0], rcx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x64]
mov eax, dword [0x14002b108]
add eax, 0xffde3ea6
add ecx, eax
mov eax, dword [rbx + 0x11c]
xor dword [rbx + 0x110], ecx
xor eax, 0x12747b
mov rcx, qword [section..data]
sub dword [rcx + 0x74], eax
mov rax, qword [0x14002b0c0]
mov rcx, qword [section..data]
mov r8d, dword [r11 + rax]
mov eax, 0xae68f
sub eax, dword [rcx + 0x54]
add r11, 4
sub eax, dword [rbx + 0xd8]
imul r8d, dword [rcx + 0x60]
add dword [0x14002b0d8], eax
mov eax, 0x16f74c
sub eax, dword [rbx + 0x114]
sub eax, dword [rbx + 0x78]
add dword [0x14002b0a0], eax
mov eax, dword [rbx + 0xe0]
mov edx, r8d
xor eax, 1
shr edx, 0x10
add dword [rcx + 0x74], eax
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xb8]
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x70]
mov eax, dword [rbx + 0x68]
add dword [rbx + 0x44], eax
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xb8]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x70]
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xb8]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x70]
mov eax, dword [rbx + 0x34]
sub dword [rbx + 0xec], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x114]
sub dword [rbx + 0x110], ecx
mov eax, dword [0x14002b0e8]
add eax, 0xfff51982
xor dword [rbx + 0x68], eax
mov eax, 0xda834
sub eax, dword [rbx + 0xac]
add dword [rbx + 0x11c], eax
mov eax, 0x143419
sub eax, dword [0x14002b074]
mov rcx, qword [section..data]
add dword [rcx + 0x114], eax
cmp r11, 0x560
jl 0x140003f8a
mov eax, dword [rbx + 0x110]
cmp dword [rbx + 0x44], eax
je 0x1400040d0
mov eax, dword [rbx + 0x128]
xor eax, dword [0x14002b108]
sub eax, 0x168065
mov dword [rbx + 0x60], eax
mov rdi, qword [section..data]
mov eax, r14d
xor eax, 0xa58
cmp r15d, eax
jl 0x14000427e
cmp dword [rbx + 0x11c], 0x14339
je 0x14000424b
add dword [rbx + 0x60], 0x38e38ac9
jmp 0x140004263
lea eax, [r14 + r14]
sub eax, esi
cmp ebp, eax
jne 0x1400040d0
mov r13d, dword [rbx + 0x64]
mov eax, dword [rbx + 0xac]
sub eax, 0x2a4a
mov dword [rsp + 0xa8], r13d
cmp r13d, eax
jae 0x1400040d0
mov rdi, qword [section..data]
mov edx, dword [rdi + 0xa0]
mov ecx, dword [0x14002b0b4]
mov eax, edx
or eax, dword [rbx + 0x4c]
mov dword [rsp + 0xb0], ecx
cmp ecx, eax
jbe 0x140004224
movsxd rax, r12d
mov r13d, r14d
movsxd rcx, r15d
or rcx, rax
lea eax, [r9 + rbp]
mov ebp, dword [rsp + 0xb0]
mov r14, rcx
movsxd r10, eax
mov qword [rsp + 0x50], r10
imul r13d, r9d
mov r8d, dword [rbx + 0x84]
mov eax, esi
sub r8d, dword [rbx + 0xd8]
or eax, 0x24db
xor dword [rbx + 0x11c], eax
mov r9d, r12d
sub r9d, dword [rbx + 0xec]
mov rax, qword [section..data]
and r9d, esi
mov ecx, dword [rbx + 0x11c]
mov qword [rsp + 0x30], r14
and ecx, 0x214c
sub ecx, dword [rbx + 0x74]
mov edx, dword [rax + 0xac]
or edx, r15d
mov dword [rsp + 0x28], r13d
and edx, dword [rbx + 0x44]
mov dword [rsp + 0x20], r9d
mov r9, r10
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov eax, dword [rbx + 0x100]
add ebp, 4
mov rdi, qword [section..data]
mov r10, qword [rsp + 0x50]
imul eax, esi
mov edx, dword [rdi + 0xa0]
and eax, 0x214c
or esi, eax
mov eax, edx
or eax, dword [rbx + 0x4c]
cmp ebp, eax
ja 0x140004177
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
mov r13d, dword [rsp + 0xa8]
mov r9d, dword [rsp + 0xa0]
mov eax, dword [rbx + 0xac]
inc r13d
sub eax, 0x2a4a
mov dword [rsp + 0xa8], r13d
cmp r13d, eax
jb 0x140004137
xor r10d, r10d
jmp 0x1400040d7
mov eax, dword [rbx + 0x90]
xor eax, dword [0x14002b024]
add eax, dword [rbx + 0xec]
sub dword [rbx + 0xac], eax
lea rax, [0x14002b140]
sub ebp, 0xd9b
mov qword [rbx + 0xb0], rax
mov rdi, qword [section..data]
lea eax, [rsi + 0x209]
cmp r14d, eax
jge 0x1400044c6
cmp r9d, esi
je 0x14000438e
mov eax, dword [rbx + 0x128]
sub eax, dword [rbx + 0x11c]
sub eax, 0x89a19
add dword [rdi + 0x68], eax
mov rax, qword [rbx + 0xb0]
mov r8d, dword [r10 + rax]
add r10, 4
imul r8d, dword [rbx + 0x60]
mov eax, dword [rbx + 0x44]
add eax, 0x173f70
xor dword [rbx + 0xec], eax
mov rax, qword [section..data]
mov edx, r8d
shr edx, 0x10
movsxd rcx, dword [rax + 0x70]
mov rax, qword [rbx + 0xb8]
mov byte [rcx + rax], dl
mov edx, r8d
mov rax, qword [section..data]
shr edx, 8
inc dword [rax + 0x70]
mov eax, dword [rbx + 0x68]
sub dword [0x14002b024], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x128]
xor ecx, dword [rax + 0x78]
mov eax, 0xae67e
sub eax, dword [rbx + 0xd8]
sub ecx, 0xdf9d8
add dword [rbx + 0x114], eax
add dword [rbx + 0xec], ecx
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xb8]
mov byte [rcx + rax], dl
inc dword [rbx + 0x70]
movsxd rcx, dword [rbx + 0x70]
mov rax, qword [rbx + 0xb8]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x70]
mov rdi, qword [section..data]
mov eax, dword [0x14002b12c]
add eax, 0x324e04
mov ecx, dword [rdi + 0x44]
sub ecx, dword [rdi + 0x128]
add ecx, eax
mov dword [0x14002b12c], ecx
mov eax, dword [rdi + 0x90]
sub dword [0x14002b0d8], eax
cmp r10, 0x5a0
jl 0x140004296
jmp 0x1400043af
mov eax, dword [0x14002b114]
or eax, esi
cmp ebp, eax
jb 0x1400043af
mov eax, dword [rbx + 0x2c]
xor eax, 0x23be
add eax, dword [rdi + 0x14]
add dword [rdi + 0x7c], eax
mov rdi, qword [section..data]
mov eax, r15d
xor eax, 0x3a92
cmp r14d, eax
je 0x1400044c6
mov eax, r12d
xor eax, 0x619
cmp esi, eax
jg 0x140004402
cmp dword [rbx + 0x34], 0xa4c0
jae 0x1400043ed
mov ecx, dword [rdi + 0x90]
mov eax, dword [rbx + 0xac]
add eax, 0xfff257cd
add ecx, eax
mov dword [rbx + 0x60], ecx
jmp 0x1400043fb
mov eax, dword [rdi + 0x14]
sub eax, 0xece9
xor dword [rdi + 0xac], eax
mov rdi, qword [section..data]
mov r13d, dword [rsp + 0xa0]
mov eax, r15d
xor eax, 0x589
cmp ebp, eax
jg 0x14000443f
mov eax, dword [rdi + 0x114]
cmp dword [rdi + 0x14], eax
jae 0x14000442c
add dword [rbx], 0x24906
jmp 0x1400044ce
lea rax, [0x14002b700]
mov qword [0x14002b0c0], rax
jmp 0x1400044ce
mov eax, r15d
mov dword [rsp + 0xa8], ebp
sub eax, dword [rbx + 0x74]
sub eax, 0x24db
cmp ebp, eax
ja 0x1400044ce
mov edx, dword [rbx + 8]
mov eax, r15d
mov r10d, dword [rdi + 0x64]
mov rcx, rdi
mov r9d, dword [rbx + 0x11c]
sub r10d, r13d
mov r11d, dword [rbx + 0x44]
sub r9d, ebp
mov r8d, dword [rdi + 0x4c]
and r11d, r12d
imul edx, dword [rbx + 0x7c]
or r8d, r14d
mov dword [rsp + 0x30], r10d
xor r9d, ebp
imul eax, esi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r11d
call fcn.140010f84
mov esi, eax
mov ecx, r15d
sub ecx, dword [rbx + 0x74]
mov eax, dword [rsp + 0xa8]
sub ecx, 0x24db
add eax, 3
mov dword [rsp + 0xa8], eax
cmp eax, ecx
ja 0x1400044ce
mov rdi, qword [section..data]
jmp 0x140004455
mov r13d, dword [rsp + 0xa0]
lea eax, [r13 + 0x988]
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret