Function at 0x140003890
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xab0]
sub rsp, 0xbb0
mov rax, qword [0x1402594c0]
xor rax, rsp
mov qword [rbp + 0xaa0], rax
xor edx, edx
mov byte [rbp + 0x10], 0
mov r8d, 0xa8b
lea rcx, [rbp + 0x11]
call sub.msvcrt.dll_memset
mov rax, qword [0x140227e50]
xor edi, edi
mov qword [rbp], rax
test al, al
jne 0x14000392c
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, 0x7a
xor edx, dword [rbp + rax*4 + 4]
movsxd rax, dword [rsp + 0x20]
mov dword [rbp + rax*4 + 4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140003900
mov eax, dword [rbp + 4]
lea rsi, [0x140000000]
mov r8d, 0xa8c
mov byte [rbp], 1
lea rdx, [0x14021d780]
lea rcx, [rbp + 0x10]
call qword [rsi + rax*8 + 0x25af10]
call fcn.140005fa0
mov rax, qword [0x140227d60]
mov qword [rbp], rax
test al, al
jne 0x14000399c
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, 0x79
xor edx, dword [rbp + rax*4 + 4]
movsxd rax, dword [rsp + 0x20]
mov dword [rbp + rax*4 + 4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140003970
mov eax, dword [rbp + 4]
lea rcx, [rbp + 0x10]
mov edx, 0xa8c
mov byte [rbp], 1
call qword [rsi + rax*8 + 0x25afb0]
mov rax, qword [0x140227db9]
mov rbx, qword [0x140267578]
mov qword [rsp + 0x61], rax
movzx eax, word [0x140227dc1]
mov word [rsp + 0x69], ax
mov byte [rsp + 0x60], dil
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x78
xor dl, byte [rsp + rax + 0x61]
movsxd rax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x61], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xa
jb 0x1400039e0
mov rax, qword [0x140227e99]
mov r8, qword [0x140267588]
mov qword [rsp + 0x71], rax
mov eax, dword [0x140227ea1]
mov dword [rsp + 0x79], eax
movzx eax, byte [0x140227ea5]
mov byte [rsp + 0x7d], al
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x70], dil
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x78
xor dl, byte [rsp + rax + 0x71]
movsxd rax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x71], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xd
jb 0x140003a50
lea rcx, [rsp + 0x71]
mov byte [rsp + 0x70], 1
call r8
lea rdx, [rsp + 0x61]
mov rcx, rax
call rbx
mov rcx, qword [0x140227ea9]
mov r13, rax
mov rbx, qword [0x140267578]
mov qword [rbp - 0x6f], rcx
mov ecx, dword [0x140227eb1]
mov dword [rbp - 0x67], ecx
movzx ecx, byte [0x140227eb5]
mov byte [rbp - 0x63], cl
mov byte [rbp - 0x70], dil
mov dword [rsp + 0x20], edi
mov ecx, dword [rsp + 0x20]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x77
xor dl, byte [rbp + rax - 0x6f]
movsxd rax, dword [rsp + 0x20]
mov byte [rbp + rax - 0x6f], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xd
jb 0x140003ad0
mov rax, qword [0x140227e99]
mov r8, qword [0x140267588]
mov qword [rbp - 0x7f], rax
mov eax, dword [0x140227ea1]
mov dword [rbp - 0x77], eax
movzx eax, byte [0x140227ea5]
mov byte [rbp - 0x73], al
mov byte [rbp - 0x70], 1
mov byte [rbp - 0x80], cl
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x78
xor dl, byte [rbp + rax - 0x7f]
movsxd rax, dword [rsp + 0x20]
mov byte [rbp + rax - 0x7f], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xd
jb 0x140003b30
lea rcx, [rbp - 0x7f]
mov byte [rbp - 0x80], 1
call r8
lea rdx, [rbp - 0x6f]
mov rcx, rax
call rbx
mov rcx, qword [0x140227dd1]
mov rbx, qword [0x140267578]
mov qword [rbp - 0x3f], rcx
mov ecx, dword [0x140227dd9]
mov dword [rbp - 0x37], ecx
mov byte [rbp - 0x40], dil
mov dword [rsp + 0x20], edi
mov ecx, dword [rsp + 0x20]
mov qword [rbp - 0x18], rax
nop dword [rax + rax]
movsxd rcx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x20]
sub dl, 0x77
xor dl, byte [rbp + rcx - 0x3f]
mov byte [rbp + rax - 0x3f], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xc
jb 0x140003ba0
mov rax, qword [0x140227e59]
mov r8, qword [0x140267588]
mov qword [rbp - 0x5f], rax
mov eax, dword [0x140227e61]
mov dword [rbp - 0x57], eax
movzx eax, byte [0x140227e65]
mov byte [rbp - 0x53], al
mov byte [rbp - 0x40], 1
mov byte [rbp - 0x60], dil
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x77
xor dl, byte [rbp + rax - 0x5f]
movsxd rax, dword [rsp + 0x20]
mov byte [rbp + rax - 0x5f], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xd
jb 0x140003c10
lea rcx, [rbp - 0x5f]
mov byte [rbp - 0x60], 1
call r8
lea rdx, [rbp - 0x3f]
mov rcx, rax
call rbx
mov ecx, dword [0x140227f50]
movups xmm0, xmmword [0x140227f40]
mov rbx, qword [0x140267578]
mov dword [rbp - 0x20], ecx
movzx ecx, byte [0x140227f54]
mov byte [rbp - 0x1c], cl
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x20], edi
mov ecx, dword [rsp + 0x20]
mov qword [rbp - 0x10], rax
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x76
xor dl, byte [rbp + rax - 0x2f]
movsxd rax, dword [rsp + 0x20]
mov byte [rbp + rax - 0x2f], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0x14
jb 0x140003c90
mov rax, qword [0x140227ec9]
mov r8, qword [0x140267588]
mov qword [rbp - 0x4f], rax
mov eax, dword [0x140227ed1]
mov dword [rbp - 0x47], eax
movzx eax, byte [0x140227ed5]
mov byte [rbp - 0x43], al
mov byte [rbp - 0x30], 1
mov byte [rbp - 0x50], cl
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dl, 0x76
xor dl, byte [rbp + rax - 0x4f]
movsxd rax, dword [rsp + 0x20]
mov byte [rbp + rax - 0x4f], dl
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 0xd
jb 0x140003cf0
lea rcx, [rbp - 0x4f]
mov byte [rbp - 0x50], 1
call r8
lea rdx, [rbp - 0x2f]
mov rcx, rax
call rbx
mov r14, rax
mov qword [rbp - 8], rax
nop word [rax + rax]
mov r15d, edi
lea r12, [rbp + 0x110]
nop word [rax + rax]
movzx eax, byte [0x140227ee1]
movsd xmm0, qword [0x140227ed9]
mov byte [rsp + 0x39], al
movsd qword [rsp + 0x31], xmm0
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
cmp eax, 4
jae 0x140003daf
nop dword [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dx, 0x75
xor dx, word [rsp + rax*2 + 0x32]
movsxd rax, dword [rsp + 0x20]
mov word [rsp + rax*2 + 0x32], dx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 4
jb 0x140003d80
movsxd rax, r15d
lea rdi, [rbp + 0x112]
imul rsi, rax, 0x10c
lea rcx, [rsp + 0x32]
mov byte [rsp + 0x30], 1
add rdi, rsi
mov rdx, rdi
call r13
movzx eax, byte [0x14021d701]
movsd xmm0, qword [0x14021d6f9]
mov byte [rsp + 0x49], al
movsd qword [rsp + 0x41], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
nop dword [rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub dx, 0x75
xor dx, word [rsp + rax*2 + 0x42]
movsxd rax, dword [rsp + 0x20]
mov word [rsp + rax*2 + 0x42], dx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 4
jb 0x140003e00
mov rdx, rdi
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x42]
call r13
movsd xmm0, qword [0x14021d6a9]
xor ebx, ebx
test eax, eax
mov byte [rsp + 0x50], 0
movzx eax, word [0x14021d6b1]
mov word [rsp + 0x59], ax
sete bl
movzx eax, byte [0x14021d6b3]
mov byte [rsp + 0x5b], al
movsd qword [rsp + 0x51], xmm0
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
nop dword [rax]
movsxd rax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
sub r8w, 0x75
xor r8w, word [rsp + rax*2 + 0x52]
movsxd rax, dword [rsp + 0x20]
mov word [rsp + rax*2 + 0x52], r8w
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 5
jb 0x140003e80
mov rdx, rdi
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0x52]
call r13
test eax, eax
mov eax, 2
cmove ebx, eax
mov rax, qword [0x14021d6b8]
xor edi, edi
mov qword [rsp + 0x28], rax
mov dword [rbp], edi
test al, al
jne 0x140003f20
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
sub r8d, 0x74
xor r8d, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], r8d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140003ef0
mov eax, dword [rsp + 0x2c]
mov ecx, ebx
lea rbx, [0x140000000]
mov byte [rsp + 0x28], 1
call qword [rbx + rax*8 + 0x25bb60]
mov qword [0x140267580], rax
test rax, rax
je 0x1400042e7
lea r8, [0x140003520]
xor edx, edx
mov rcx, rax
call qword [rax + 0x40]
mov rcx, qword [0x140267580]
lea rdx, [rbp + 0x10]
movzx r8d, word [r12]
add rdx, rsi
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x58]
call rax
test eax, eax
jne 0x140004247
mov edx, gethostname
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call qword [rbp - 0x18]
mov rbx, rax
test rax, rax
je 0x140004233
mov dword [rax + 0x34], 0x2072024
cmp dword [rbp + 0xa98], 0x13004
jne 0x140003fe0
mov dword [rax + 0x24], 0x13004
mov eax, dword [rbp + 0xa98]
mov dword [rbx + 0x28], 0xa8c
mov dword [rbx + 0x30], edi
cmp eax, 0x13004
jne 0x140003ff1
lea rsi, [0x140000000]
mov eax, 0x40
jmp 0x140004060
mov dword [rax + 0x24], 0x13005
mov dword [rax + 0x28], 0xa8c
mov dword [rax + 0x30], edi
mov rax, qword [0x14021d768]
mov qword [rsp + 0x28], rax
test al, al
jne 0x14000403c
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop dword [rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, 0x73
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140004010
mov eax, dword [rsp + 0x2c]
lea rsi, [0x140000000]
mov byte [rsp + 0x28], 1
call qword [rsi + rax*8 + 0x25bbb0]
test eax, eax
jne 0x140003fd6
mov eax, 0x20
mov dword [rbp], eax
mov rax, qword [0x140227d60]
mov qword [rsp + 0x28], rax
test al, al
jne 0x1400040ac
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
nop dword [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, 0x72
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140004080
mov eax, dword [rsp + 0x2c]
mov byte [rsp + 0x28], 1
call qword [rsi + rax*8 + 0x25b890]
mov r8d, gethostname
mov rdx, rbx
mov rcx, rax
mov r14, rax
call qword [rax + 0x28]
mov r8d, 4
lea rdx, [rbp]
mov rcx, r14
call qword [r14 + 0x28]
mov r8d, 0xa88
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [r14 + 0x28]
mov rax, qword [0x140267580]
mov rcx, r14
mov rsi, qword [rax + 0x30]
mov rax, qword [r14 + 0x30]
call rax
mov r8, qword [r14 + 0x38]
xor edx, edx
mov rcx, r14
mov edi, eax
call r8
mov rcx, qword [0x140267580]
mov r8d, edi
mov rdx, rax
call rsi
mov rcx, qword [0x14021d6b8]
mov edi, eax
mov qword [rsp + 0x28], rcx
test cl, cl
jne 0x140004170
mov dword [rsp + 0x20], 0
mov ecx, dword [rsp + 0x20]
nop
movsxd rcx, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x20]
sub r8d, 0x72
xor r8d, dword [rsp + rcx*4 + 0x2c]
mov dword [rsp + rax*4 + 0x2c], r8d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140004140
mov eax, dword [rsp + 0x2c]
lea rsi, [0x140000000]
mov rcx, r14
mov byte [rsp + 0x28], 1
call qword [rsi + rax*8 + 0x25b8e0]
test edi, edi
jne 0x14000421f
call fcn.140005fa0
mov r10, qword [0x140267580]
mov r9d, 0xffffffff
mov r8, rax
mov rdx, rbx
mov rcx, r10
mov rdi, rax
call qword [r10 + 0x28]
test rdi, rdi
je 0x14000421f
mov rcx, qword [0x14021d768]
mov qword [rsp + 0x28], rcx
test cl, cl
jne 0x14000420c
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, 0x71
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x1400041e0
mov eax, dword [rsp + 0x2c]
mov rcx, rdi
mov byte [rsp + 0x28], 1
call qword [rsi + rax*8 + 0x25b9d0]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [rbp - 0x10]
mov r14, qword [rbp - 8]
xor edi, edi
mov rax, qword [0x140267580]
mov rcx, rax
call qword [rax + 0x18]
lea rbx, [0x140000000]
mov rax, qword [0x14021d708]
mov qword [rsp + 0x28], rax
test al, al
jne 0x14000429c
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x20]
cmp eax, 1
jae 0x14000429c
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
sub edx, 0x70
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140004270
mov eax, dword [rsp + 0x2c]
mov rcx, qword [0x140267580]
mov byte [rsp + 0x28], 1
call qword [rbx + rax*8 + 0x25b7a0]
mov rcx, qword [0x140267570]
mov qword [0x140267580], rdi
test rcx, rcx
je 0x1400042ce
mov edx, 0xffffffff
call r14
inc r15d
add r12, 0x10c
cmp r15d, 4
jl 0x140003d50
jmp 0x140003d40
mov rcx, qword [rbp + 0xaa0]
xor rcx, rsp
call fcn.14002f800
lea r11, [rsp + 0xbb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret