Function at 0x140031dc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x440
mov qword [rbp - 0x418], rbx
mov qword [rbp - 0x410], rsi
mov qword [rbp - 0x408], rdi
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 0x3d0], 0
mov qword [rbp - 0x3c8], 0
mov qword [rbp - 0x3c0], 0
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x390], rax
mov qword [rbp - 0x388], rdx
mov qword [rbp - 0x350], 0
mov qword [rbp - 0x348], 0
mov qword [rbp - 0x340], 0
mov qword [rbp - 0x338], 0
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x330], rbx
mov rsi, qword [rbp - 0x390]
mov qword [rbp - 0x350], rsi
mov rdi, qword [rbp - 0x388]
mov qword [rbp - 0x348], rdi
mov qword [rbp - 0x340], 1
lea r8, [0x1401759f0]
mov qword [rbp - 0x338], r8
lea rsi, [rbp - 0x350]
lea rdi, [rbp - 0x380]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rsi, [rbp - 0x350]
lea rdi, [rbp - 0x320]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x320]
call fcn.1400101f0
mov qword [rbp - 0x3a0], rax
mov qword [rbp - 0x398], rdx
mov rax, qword [rbp - 0x3a0]
mov qword [rbp - 0x3b0], rax
mov rdx, qword [rbp - 0x398]
mov qword [rbp - 0x3a8], rdx
cmp qword [rbp - 0x3b0], 0
je 0x140032149
mov rbx, qword [rbp - 0x3a8]
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x2c0], rax
mov qword [rbp - 0x2b8], rdx
mov rcx, qword [rbp - 0x2c0]
mov qword [rbp - 0x2b0], rcx
mov rsi, qword [rbp - 0x2b8]
mov qword [rbp - 0x2a8], rsi
lea rcx, [rbp - 0x2b0]
call fcn.140012620
mov qword [rbp - 0x2a0], rax
mov qword [rbp - 0x298], rdx
lea rcx, [rbp - 0x2a0]
call fcn.140012a90
mov qword [rbp - 0x290], rax
mov qword [rbp - 0x288], rdx
lea r8, [rbp - 0x290]
lea rax, [0x140175b10]
mov qword [rbp - 0x278], rax
mov edx, 1
mov qword [rbp - 0x280], rdx
lea rdx, [rbp - 0x280]
lea rcx, [rbp - 0x2f0]
call fcn.140023560
mov rsi, qword [rbp - 0x3b0]
dec rsi
lea rdx, [rbx + 0x10]
mov qword [rbp - 0x3b0], rsi
mov qword [rbp - 0x3a8], rdx
mov rax, qword [rbp - 0x2e0]
mov qword [rbp - 0x270], rax
mov rbx, qword [rbp - 0x2d8]
mov qword [rbp - 0x268], rbx
lea rdx, [rbp - 0x270]
lea rcx, [0x140175b10]
mov qword [rbp - 0x258], rcx
mov qword [rbp - 0x260], 1
lea rcx, [rbp - 0x260]
call fcn.1400aadf0
xor al, 1
jne case.0x1400320b1.2
mov rax, qword [rbp - 0x2f0]
mov qword [rbp - 0x250], rax
mov rbx, qword [rbp - 0x2e8]
mov qword [rbp - 0x248], rbx
mov rdx, qword [rbp - 0x2d0]
mov qword [rbp - 0x240], rdx
mov rsi, qword [rbp - 0x2c8]
mov qword [rbp - 0x238], rsi
mov rcx, qword [rbp - 0x250]
mov qword [rbp - 0x230], rcx
mov qword [rbp - 0x228], rbx
mov rax, qword [rbp - 0x230]
mov qword [rbp - 0x220], rax
mov qword [rbp - 0x218], rbx
lea rcx, [rbp - 0x220]
call fcn.1400af360
mov qword [rbp - 0x210], rax
mov qword [rbp - 0x208], rdx
lea rcx, [rbp - 0x210]
call fcn.140048420
mov ebx, eax
cmp ebx, 3
ja case.default.0x1400320b1
mov ebx, ebx
lea rdx, [0x1400325e8]
movsxd rax, dword [rdx + rbx*4]
lea rdx, [rax + rdx]
jmp rdx
lea rcx, str.domain
mov qword [rbp - 0x248], rcx
mov qword [rbp - 0x250], 6
jmp case.default.0x1400320b1
lea rsi, str.path
mov qword [rbp - 0x248], rsi
mov qword [rbp - 0x250], 4
mov rdx, qword [rbp - 0x238]
mov rax, qword [rbp - 0x240]
mov qword [rbp - 0x400], rax
mov qword [rbp - 0x3f8], rdx
lea r9, [rbp - 0x250]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140170830]
lea rcx, [rbp - 0x3c0]
call fcn.1400b8ba0
mov r10, rax
mov rdx, qword [rbp - 0x3f8]
mov rax, qword [rbp - 0x400]
mov qword [r10], rax
mov qword [r10 + 8], rdx
cmp qword [rbp - 0x3b0], 0
jne 0x140031f05
lea rax, str.domain
mov qword [rbp - 0x1f8], rax
mov ebx, 6
mov qword [rbp - 0x200], rbx
lea r8, [rbp - 0x200]
lea rdx, [0x140183520]
mov rcx, qword [rbp - 0x3c0]
call fcn.1400bb1d0
test rax, rax
jne 0x1400321e9
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x60]
mov rax, qword [rax + 0x58]
mov qword [rbp - 0x3f0], rax
mov qword [rbp - 0x3e8], rdx
lea rsi, str.domain
mov qword [rbp - 0x1e8], rsi
mov qword [rbp - 0x1f0], rbx
lea r9, [rbp - 0x1f0]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140170830]
lea rcx, [rbp - 0x3c0]
call fcn.1400b8ba0
mov rsi, rax
mov rdx, qword [rbp - 0x3e8]
mov rax, qword [rbp - 0x3f0]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
lea rax, str.path
mov qword [rbp - 0x1d8], rax
mov ebx, 4
mov qword [rbp - 0x1e0], rbx
lea r8, [rbp - 0x1e0]
lea rdx, [0x140183520]
mov rcx, qword [rbp - 0x3c0]
call fcn.1400bb1d0
test rax, rax
jne 0x140032289
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x70]
mov rax, qword [rax + 0x68]
mov qword [rbp - 0x3e0], rax
mov qword [rbp - 0x3d8], rdx
lea rsi, str.path
mov qword [rbp - 0x1c8], rsi
mov qword [rbp - 0x1d0], rbx
lea r9, [rbp - 0x1d0]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140170830]
lea rcx, [rbp - 0x3c0]
call fcn.1400b8ba0
mov rsi, rax
mov rdx, qword [rbp - 0x3d8]
mov rax, qword [rbp - 0x3e0]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
lea rax, str.domain
mov qword [rbp - 0x1a8], rax
mov ebx, 6
mov qword [rbp - 0x1b0], rbx
lea r9, [rbp - 0x1b0]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140183520]
mov rcx, qword [rbp - 0x3c0]
call fcn.1400bb1a0
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x1c0], rax
mov qword [rbp - 0x1b8], rdx
lea rsi, str.domain
mov qword [rbp - 0x198], rsi
mov qword [rbp - 0x1a0], rbx
lea r8, [rbp - 0x1a0]
lea rdx, [0x140183520]
mov rcx, qword [rbp - 0x3c0]
call fcn.1400bb460
lea rax, str.path
mov qword [rbp - 0x178], rax
mov ebx, 4
mov qword [rbp - 0x180], rbx
lea r9, [rbp - 0x180]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140183520]
mov rcx, qword [rbp - 0x3c0]
call fcn.1400bb1a0
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x190], rax
mov qword [rbp - 0x188], rdx
lea rsi, str.path
mov qword [rbp - 0x168], rsi
mov qword [rbp - 0x170], rbx
lea r8, [rbp - 0x170]
lea rdx, [0x140183520]
mov rcx, qword [rbp - 0x3c0]
call fcn.1400bb460
mov rax, qword [rbp - 0x3c0]
mov qword [rbp - 0x150], rax
lea rdx, [rbp - 0x150]
lea rcx, [rbp - 0x130]
call fcn.140046290
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x140], rax
mov qword [rbp - 0x138], rdx
mov rbx, qword [rbp - 0x140]
mov qword [rbp - 0x160], rbx
mov rsi, qword [rbp - 0x138]
mov qword [rbp - 0x158], rsi
mov rdi, qword [rbp - 0x160]
mov qword [rbp - 0x120], rdi
mov qword [rbp - 0x118], rsi
lea rcx, [rbp - 0x120]
call fcn.1400bb290
xor al, 1
je 0x1400325bc
mov rax, qword [rbp - 0x190]
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x188]
mov qword [rbp - 0x48], rdx
mov rbx, qword [rbp - 0x1c0]
mov qword [rbp - 0x40], rbx
mov rsi, qword [rbp - 0x1b8]
mov qword [rbp - 0x38], rsi
mov rcx, qword [rbp - 0x160]
mov qword [rbp - 0x100], rcx
mov rax, qword [rbp - 0x158]
mov qword [rbp - 0xf8], rax
lea rcx, [rbp - 0x100]
call fcn.1400bb2c0
mov qword [rbp - 0x110], rax
mov rdx, qword [rbp - 0x160]
mov qword [rbp - 0xf0], rdx
mov rbx, qword [rbp - 0x158]
mov qword [rbp - 0xe8], rbx
lea rcx, [rbp - 0xf0]
call fcn.1400bb330
mov qword [rbp - 0x108], rax
mov rsi, qword [rbp - 0x110]
mov rdx, qword [rsi + 8]
mov rbx, qword [rsi]
mov qword [rbp - 0xe0], rbx
mov qword [rbp - 0xd8], rdx
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0xd0], rax
mov qword [rbp - 0xc8], rdx
xor eax, eax
lea rdi, [rbp - 0x90]
mov ecx, 8
rep stosq qword [rdi], rax
mov rbx, qword [rbp - 0xe0]
mov qword [rbp - 0x30], rbx
mov rdx, qword [rbp - 0xd8]
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp - 0xd0]
mov qword [rbp - 0x20], rax
mov rsi, qword [rbp - 0xc8]
mov qword [rbp - 0x18], rsi
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x90], rcx
mov rbx, qword [rbp - 0x188]
mov qword [rbp - 0x88], rbx
mov rdi, qword [rbp - 0x40]
mov qword [rbp - 0x80], rdi
mov rax, qword [rbp - 0x1b8]
mov qword [rbp - 0x78], rax
mov r8, qword [rbp - 0x30]
mov qword [rbp - 0x70], r8
mov qword [rbp - 0x68], rdx
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rsi
mov r8d, 1
lea rdx, [rbp - 0x3d0]
lea rcx, [0x140179320]
call fcn.1400a9f10
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rsi, [rbp - 0x90]
mov rdi, qword [rbp - 0x10]
shl rdi, 6
mov rax, qword [rbp - 8]
lea rdi, [rax + rdi - 0x40]
mov ecx, 8
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x160]
call fcn.1400bb3e0
mov rdx, qword [rbp - 0x160]
mov qword [rbp - 0x120], rdx
mov rbx, qword [rbp - 0x158]
mov qword [rbp - 0x118], rbx
lea rcx, [rbp - 0x120]
call fcn.1400bb290
xor al, 1
jne 0x14003242c
mov rdx, qword [rbp - 0x3c8]
mov rax, qword [rbp - 0x3d0]
mov rbx, qword [rbp - 0x418]
mov rsi, qword [rbp - 0x410]
mov rdi, qword [rbp - 0x408]
mov rsp, rbp
pop rbp
ret