Function at 0x140004b30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x140a8ca38]
xor r12d, r12d
mov qword [rbp + 0x40], rax
test al, al
jne 0x140004b86
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop dword [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x48
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004b60
mov eax, dword [rbp + 0x44]
lea r13, [0x140000000]
mov byte [rbp + 0x40], 1
mov byte [rbp - 0x38], r12b
mov r8, qword [r13 + rax*8 + 0x105b980]
mov rax, qword [0x140a8caa1]
mov qword [rbp - 0x37], rax
mov eax, dword [0x140a8caa9]
mov dword [rbp - 0x2f], eax
movzx eax, byte [0x140a8caad]
mov byte [rbp - 0x2b], al
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop word [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub dl, 0x49
xor dl, byte [rbp + rax - 0x37]
movsxd rax, dword [rbp + 0x38]
mov byte [rbp + rax - 0x37], dl
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 0xd
jb 0x140004bd0
mov rax, qword [0x140a8c9e9]
mov qword [rbp - 0x27], rax
mov eax, dword [0x140a8c9f1]
mov dword [rbp - 0x1f], eax
movzx eax, byte [0x140a8c9f5]
mov byte [rbp - 0x1b], al
mov byte [rbp - 0x38], 1
mov byte [rbp - 0x28], r12b
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub dl, 0x49
xor dl, byte [rbp + rax - 0x27]
movsxd rax, dword [rbp + 0x38]
mov byte [rbp + rax - 0x27], dl
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 0xd
jb 0x140004c30
lea rdx, [rbp - 0x37]
mov byte [rbp - 0x28], 1
lea rcx, [rbp - 0x27]
call r8
mov rcx, qword [0x140a8cae0]
mov r15, rax
mov qword [rbp + 0x40], rcx
test cl, cl
jne 0x140004caa
mov dword [rbp + 0x38], r12d
mov ecx, dword [rbp + 0x38]
nop
movsxd rcx, dword [rbp + 0x38]
mov r8d, dword [rbp + 0x38]
movsxd rax, dword [rbp + 0x38]
sub r8d, 0x47
xor r8d, dword [rbp + rcx*4 + 0x44]
mov dword [rbp + rax*4 + 0x44], r8d
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004c80
mov eax, dword [rbp + 0x44]
mov byte [rbp + 0x40], 1
mov byte [rbp - 0x48], r12b
mov r8, qword [r13 + rax*8 + 0x105bbb0]
mov rax, qword [0x140a8cb11]
mov qword [rbp - 0x47], rax
mov eax, dword [0x140a8cb19]
mov dword [rbp - 0x3f], eax
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop dword [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub dl, 0x48
xor dl, byte [rbp + rax - 0x47]
movsxd rax, dword [rbp + 0x38]
mov byte [rbp + rax - 0x47], dl
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 0xc
jb 0x140004ce0
mov rax, qword [0x140a8cc09]
mov qword [rbp - 0x17], rax
mov eax, dword [0x140a8cc11]
mov dword [rbp - 0xf], eax
movzx eax, byte [0x140a8cc15]
mov byte [rbp - 0xb], al
mov byte [rbp - 0x48], 1
mov byte [rbp - 0x18], r12b
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub dl, 0x48
xor dl, byte [rbp + rax - 0x17]
movsxd rax, dword [rbp + 0x38]
mov byte [rbp + rax - 0x17], dl
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 0xd
jb 0x140004d40
lea rdx, [rbp - 0x47]
mov byte [rbp - 0x18], 1
lea rcx, [rbp - 0x17]
call r8
mov edx, 0x88
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
mov r14, rax
call r15
mov rdi, rax
test rax, rax
je 0x1400054a4
mov rcx, qword [0x140a8ca38]
mov qword [rsp + 0xb0], rbx
mov qword [rbp + 0x40], rcx
test cl, cl
jne 0x140004de6
mov dword [rbp + 0x38], r12d
mov ecx, dword [rbp + 0x38]
nop dword [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x46
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004dc0
mov eax, dword [rbp + 0x44]
xor edx, edx
mov r8d, 0x88
mov byte [rbp + 0x40], 1
mov rcx, rdi
call qword [r13 + rax*8 + 0x105b840]
call fcn.140a54450
mov qword [rdi + 0x80], rax
mov rax, qword [0x140a8c9f8]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140004e48
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x45
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004e22
mov eax, dword [rbp + 0x44]
lea r8, [0x140004100]
mov rcx, qword [rdi + 0x80]
mov edx, 1
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fb590]
mov rax, qword [0x140a8ca38]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140004ea6
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x44
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004e80
mov eax, dword [rbp + 0x44]
lea r8, [0x140004170]
mov rcx, qword [rdi + 0x80]
mov edx, 2
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fb400]
mov rax, qword [0x140a8cb90]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140004f06
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x44
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004ee0
mov eax, dword [rbp + 0x44]
lea r8, [0x1400044d0]
mov rcx, qword [rdi + 0x80]
mov edx, 3
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fafa0]
mov rax, qword [0x140a8ca78]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140004f66
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x43
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004f40
mov eax, dword [rbp + 0x44]
lea r8, [0x140002c60]
mov rcx, qword [rdi + 0x80]
mov edx, 4
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fad70]
mov rax, qword [0x140a8ca40]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140004fc6
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x42
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140004fa0
mov eax, dword [rbp + 0x44]
lea r8, [0x140002c80]
mov rcx, qword [rdi + 0x80]
mov edx, 5
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fad70]
mov rax, qword [0x140a8c9f8]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140005026
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x41
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140005000
mov eax, dword [rbp + 0x44]
lea r8, [0x140004660]
mov rcx, qword [rdi + 0x80]
mov edx, 6
mov qword [rsp + 0x60], rsi
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fab90]
mov rbx, qword [rdi + 0x80]
mov edx, gethostname
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x14000509c
test rbx, rbx
je 0x14000509c
lea rsi, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140005093
cmp qword [rbx], 1
je 0x140005309
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005080
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r12
mov rbx, qword [rdi + 0x80]
mov edx, gethostname
mov rcx, rbx
mov qword [rdi + 0x18], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400050f2
test rbx, rbx
je 0x1400050f2
lea rsi, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400050e9
cmp qword [rbx], 2
je 0x14000531b
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400050d6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r12
mov rbx, qword [rdi + 0x80]
mov edx, gethostname
mov rcx, rbx
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x14000514c
test rbx, rbx
je 0x14000514c
lea rsi, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140005143
nop dword [rax]
cmp qword [rbx], 3
je 0x14000532d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r12
mov rbx, qword [rdi + 0x80]
mov edx, gethostname
mov rcx, rbx
mov qword [rdi + 0x28], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400051a2
test rbx, rbx
je 0x1400051a2
lea rsi, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140005199
cmp qword [rbx], 4
je 0x14000533f
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005186
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r12
mov rbx, qword [rdi + 0x80]
mov edx, gethostname
mov rcx, rbx
mov qword [rdi + 0x30], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400051fc
test rbx, rbx
je 0x1400051fc
lea rsi, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400051f3
nop dword [rax]
cmp qword [rbx], 5
je 0x140005351
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400051e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r12
mov rbx, qword [rdi + 0x80]
mov edx, gethostname
mov rcx, rbx
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x140005252
test rbx, rbx
je 0x140005252
lea rsi, [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140005249
cmp qword [rbx], 6
je 0x140005363
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140005236
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, r12
mov rsi, qword [rsp + 0x60]
lea rbx, [fcn.140004920]
mov qword [rdi + 0x40], rax
lea rax, [0x140002ce0]
mov qword [rdi + 0x60], rax
lea rax, [0x140002fe0]
mov qword [rdi + 0x68], rax
lea rax, [0x140003000]
mov qword [rdi + 0x70], rax
lea rax, [0x140003400]
mov qword [rdi + 0x78], rax
mov rax, qword [0x140a8cbf8]
mov qword [rdi + 0x48], r15
mov qword [rdi + 0x50], r14
mov qword [rdi + 0x58], rbx
mov qword [rbp + 0x40], rax
test al, al
jne 0x1400052e6
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x41
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x1400052c0
mov eax, dword [rbp + 0x44]
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fb270]
test al, al
je 0x140005377
mov rax, qword [rdi + 0x58]
cmp rax, rbx
jne 0x140005375
call fcn.140004920
jmp 0x140005377
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 8]
jmp 0x14000509f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 8]
jmp 0x1400050f5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 8]
jmp 0x14000514f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 8]
jmp 0x1400051a5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 8]
jmp 0x1400051ff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rbx + 8]
jmp 0x140005255
call rax
mov rax, qword [0x140a8ca60]
mov qword [rbp + 0x40], rax
test al, al
jne 0x1400053b6
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
nop dword [rax]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x40
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140005390
mov eax, dword [rbp + 0x44]
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fb1d0]
test al, al
je 0x1400053db
mov rax, qword [rdi + 0x58]
cmp rax, rbx
jne 0x1400053d9
call fcn.140004920
jmp 0x1400053db
call rax
mov rax, qword [0x140a8cc20]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140005417
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x3f
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x1400053f1
mov eax, dword [rbp + 0x44]
mov byte [rbp + 0x40], 1
call qword [r13 + rax*8 + 0x15fb090]
test al, al
je 0x14000543c
mov rax, qword [rdi + 0x58]
cmp rax, rbx
jne 0x14000543a
call fcn.140004920
jmp 0x14000543c
call rax
mov rax, qword [0x140a8cc50]
mov qword [rbp + 0x40], rax
test al, al
jne 0x140005478
mov dword [rbp + 0x38], r12d
mov eax, dword [rbp + 0x38]
movsxd rax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
sub edx, 0x3e
xor edx, dword [rbp + rax*4 + 0x44]
movsxd rax, dword [rbp + 0x38]
mov dword [rbp + rax*4 + 0x44], edx
mov eax, dword [rbp + 0x38]
inc eax
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
cmp eax, 1
jb 0x140005452
mov eax, dword [rbp + 0x44]
call qword [r13 + rax*8 + 0x15fae10]
test al, al
je 0x140005499
mov rax, qword [rdi + 0x58]
cmp rax, rbx
jne 0x140005497
call fcn.140004920
jmp 0x140005499
call rax
mov rbx, qword [rsp + 0xb0]
mov rax, rdi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret