Function at 0x1401327e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r9
push rsi
push rdi
push r12
push r13
push r14
mov eax, gethostbyname
call fcn.140189b00
sub rsp, rax
cmp dword [rsp + 0x88], 0
mov r13, r9
mov rsi, rdx
mov rbp, rcx
je 0x140132a96
mov r14, qword [rsp + 0x80]
lea edi, [r8 - 8]
movzx eax, byte [r14 + 1]
movzx r11d, byte [r14]
movzx r9d, byte [r14 + 4]
movzx ecx, byte [r14 + 7]
shl eax, 8
or r11d, eax
movzx eax, byte [r14 + 2]
shl ecx, 8
shl eax, 0x10
or r11d, eax
movzx eax, byte [r14 + 3]
shl eax, 0x18
or r11d, eax
movzx eax, byte [r14 + 5]
shl eax, 8
or r9d, eax
movzx eax, byte [r14 + 6]
or ecx, eax
shl ecx, 0x10
or r9d, ecx
test edi, edi
js 0x14013294f
lea r12d, [rdi + 8]
shr r12, 3
mov eax, r12d
neg eax
lea edi, [rdi + rax*8]
nop
nop
movzx edx, byte [rbp]
movzx eax, byte [rbp + 1]
movzx ecx, byte [rbp + 4]
shl eax, 8
mov r8d, 1
add rbp, 8
or edx, eax
movzx eax, byte [rbp - 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edx, eax
movzx eax, byte [rbp - 3]
shl eax, 8
xor edx, r11d
or ecx, eax
movzx eax, byte [rbp - 2]
mov dword [rsp + 0x20], edx
shl eax, 0x10
mov rdx, r13
or ecx, eax
movzx eax, byte [rbp - 1]
shl eax, 0x18
or ecx, eax
xor ecx, r9d
mov dword [rsp + 0x24], ecx
lea rcx, [rsp + 0x20]
call fcn.140131ec0
mov r11d, dword [rsp + 0x20]
mov r9d, dword [rsp + 0x24]
movzx eax, r11b
add rsi, 8
mov byte [rsi - 8], al
mov eax, r11d
shr eax, 8
mov byte [rsi - 7], al
mov eax, r11d
shr eax, 0x10
mov byte [rsi - 6], al
mov eax, r11d
shr eax, 0x18
mov byte [rsi - 5], al
movzx eax, r9b
mov byte [rsi - 4], al
mov eax, r9d
shr eax, 8
mov byte [rsi - 3], al
mov eax, r9d
shr eax, 0x10
mov byte [rsi - 2], al
mov eax, r9d
shr eax, 0x18
sub r12, 1
mov byte [rsi - 1], al
jne 0x140132890
cmp edi, 0xfffffff8
je 0x140132a52
lea ecx, [rdi + 8]
xor edx, edx
movsxd rax, ecx
add ecx, 0xffffffff
mov r8d, edx
add rbp, rax
cmp ecx, 7
ja case.default.0x140132982
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x132d30]
add rax, rcx
jmp rax
movzx edx, byte [rbp - 1]
sub rbp, 1
shl edx, 0x18
movzx eax, byte [rbp - 1]
sub rbp, 1
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 1]
sub rbp, 1
shl eax, 8
or edx, eax
movzx eax, byte [rbp - 1]
sub rbp, 1
or edx, eax
movzx r8d, byte [rbp - 1]
sub rbp, 1
shl r8d, 0x18
movzx eax, byte [rbp - 1]
sub rbp, 1
shl eax, 0x10
or r8d, eax
movzx eax, byte [rbp - 1]
sub rbp, 1
shl eax, 8
or r8d, eax
movzx eax, byte [rbp - 1]
or r8d, eax
xor r8d, r11d
xor edx, r9d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x24], edx
mov r8d, 1
mov rdx, r13
call fcn.140131ec0
mov r11d, dword [rsp + 0x20]
mov r9d, dword [rsp + 0x24]
movzx eax, r11b
mov byte [rsi], al
mov eax, r11d
shr eax, 8
mov byte [rsi + 1], al
mov eax, r11d
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, r11d
shr eax, 0x18
mov byte [rsi + 3], al
movzx eax, r9b
mov byte [rsi + 4], al
mov eax, r9d
shr eax, 8
mov byte [rsi + 5], al
mov eax, r9d
shr eax, 0x10
mov byte [rsi + 6], al
mov eax, r9d
shr eax, 0x18
mov byte [rsi + 7], al
mov byte [r14], r11b
mov eax, r11d
shr eax, 8
mov byte [r14 + 1], al
mov eax, r11d
shr r11d, 0x18
shr eax, 0x10
mov byte [r14 + 2], al
mov byte [r14 + 3], r11b
mov byte [r14 + 4], r9b
mov eax, r9d
shr eax, 8
mov byte [r14 + 5], al
mov eax, r9d
shr eax, 0x10
shr r9d, 0x18
mov byte [r14 + 6], al
mov byte [r14 + 7], r9b
jmp 0x140132d18
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], r15
lea r15d, [r8 - 8]
movzx r12d, byte [rax]
movzx r13d, byte [rax + 4]
movzx ecx, byte [rax + 7]
lea r14, [rax + 1]
shl ecx, 8
movzx eax, byte [r14]
mov qword [rsp + 0x28], r14
shl eax, 8
or r12d, eax
movzx eax, byte [r14 + 1]
shl eax, 0x10
or r12d, eax
movzx eax, byte [r14 + 2]
shl eax, 0x18
or r12d, eax
movzx eax, byte [r14 + 4]
shl eax, 8
or r13d, eax
movzx eax, byte [r14 + 5]
or ecx, eax
shl ecx, 0x10
or r13d, ecx
test r15d, r15d
js 0x140132be0
lea r14d, [r15 + 8]
shr r14, 3
mov eax, r14d
neg eax
lea r15d, [r15 + rax*8]
mov dword [rsp + 0x88], r15d
mov r15, qword [rsp + 0x78]
nop
movzx eax, byte [rbp + 1]
movzx edi, byte [rbp]
movzx ebx, byte [rbp + 4]
shl eax, 8
lea rcx, [rsp + 0x20]
xor r8d, r8d
or edi, eax
movzx eax, byte [rbp + 2]
mov rdx, r15
shl eax, 0x10
add rbp, 8
or edi, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbp - 3]
shl eax, 8
mov dword [rsp + 0x20], edi
or ebx, eax
movzx eax, byte [rbp - 2]
shl eax, 0x10
or ebx, eax
movzx eax, byte [rbp - 1]
shl eax, 0x18
or ebx, eax
mov dword [rsp + 0x24], ebx
call fcn.140131ec0
xor r12d, dword [rsp + 0x20]
xor r13d, dword [rsp + 0x24]
mov byte [rsi], r12b
mov eax, r12d
shr eax, 8
add rsi, 8
mov byte [rsi - 7], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rsi - 6], al
mov byte [rsi - 5], r12b
mov byte [rsi - 4], r13b
mov eax, r13d
mov r12d, edi
shr eax, 8
mov byte [rsi - 3], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
sub r14, 1
mov byte [rsi - 2], al
mov byte [rsi - 1], r13b
mov r13d, ebx
jne 0x140132b20
mov r14, qword [rsp + 0x28]
mov r15d, dword [rsp + 0x88]
cmp r15d, 0xfffffff8
je 0x140132ccd
movzx eax, byte [rbp + 1]
movzx ebx, byte [rbp]
movzx ecx, byte [rbp + 7]
movzx edi, byte [rbp + 4]
mov rdx, qword [rsp + 0x78]
shl eax, 8
or ebx, eax
movzx eax, byte [rbp + 2]
shl ecx, 8
shl eax, 0x10
xor r8d, r8d
or ebx, eax
movzx eax, byte [rbp + 3]
shl eax, 0x18
or ebx, eax
movzx eax, byte [rbp + 5]
shl eax, 8
mov dword [rsp + 0x20], ebx
or edi, eax
movzx eax, byte [rbp + 6]
or ecx, eax
shl ecx, 0x10
or edi, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edi
call fcn.140131ec0
xor r12d, dword [rsp + 0x20]
xor r13d, dword [rsp + 0x24]
lea ecx, [r15 + 8]
movsxd rax, ecx
add ecx, 0xffffffff
add rsi, rax
cmp ecx, 7
ja case.default.0x140132c72
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x132d50]
add rax, rcx
jmp rax
sub rsi, 1
mov eax, r13d
shr eax, 0x18
mov byte [rsi], al
sub rsi, 1
mov eax, r13d
shr eax, 0x10
mov byte [rsi], al
sub rsi, 1
mov eax, r13d
shr eax, 8
mov byte [rsi], al
sub rsi, 1
mov byte [rsi], r13b
sub rsi, 1
mov eax, r12d
shr eax, 0x18
mov byte [rsi], al
sub rsi, 1
mov eax, r12d
shr eax, 0x10
mov byte [rsi], al
sub rsi, 1
mov eax, r12d
shr eax, 8
mov byte [rsi], al
mov byte [rsi - 1], r12b
mov r12d, ebx
mov r13d, edi
mov rax, qword [rsp + 0x80]
mov r15, qword [rsp + 0x60]
mov byte [rax], r12b
mov eax, r12d
shr eax, 8
mov byte [r14], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [r14 + 1], al
mov byte [r14 + 2], r12b
mov byte [r14 + 3], r13b
mov eax, r13d
shr eax, 8
mov byte [r14 + 4], al
mov eax, r13d
shr eax, 0x10
shr r13d, 0x18
mov byte [r14 + 5], al
mov byte [r14 + 6], r13b
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret