Function at 0x18004d0c8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r14, rcx
xor r12d, r12d
mov dword [rbp + 0x48], r12d
lea rdx, [rbp + 0x48]
mov rcx, qword [r14]
call fcn.18008ad80
mov ebx, eax
test eax, eax
jne 0x18004d2a5
cmp dword [rbp + 0x48], r12d
je 0x18004d126
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x3e8
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14]
call fcn.18008aea0
mov ebx, eax
test eax, eax
jne 0x18004d266
lea rdx, [rbp + 0x58]
mov rcx, qword [r14]
call fcn.18008abb0
test rax, rax
je 0x18004d257
cmp dword [rax], 1
jne 0x18004d126
mov rax, qword [rax + 8]
mov qword [rbp - 0x30], rax
lea rcx, [r14 + 8]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x18]
call fcn.18004c85c
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov rbx, qword [rax + 0x10]
lea rsi, [rbx + 0x60]
mov r8, rsi
mov edx, 0x200002
mov rcx, qword [rbp - 0x30]
call fcn.180085d20
cmp dword [rsi], 0xc8
je 0x18004d227
mov r9d, 2
mov r8d, 0x89
lea rdx, str.Z:DevelopePrivateCodes_netshield_thirdgen_registerhttpclienthttp_client.cpp
lea rcx, [rbp - 0x28]
call fcn.180076e30
mov r15, rax
lea rcx, [rbp + 0x40]
call fcn.18004cc00
mov rdi, rax
cmp byte [rax + 0x19], r12b
je 0x18004d1e0
mov r9, r12
mov cl, r9b
and cl, 7
shl cl, 3
movabs r8, 0x33936bbb8fbf972b
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x19
jb 0x18004d1b9
mov byte [rax + 0x19], r12b
mov rcx, r15
call fcn.18007cf90
mov rcx, rax
mov rdx, rdi
call fcn.18002e990
mov rcx, rax
mov edx, dword [rsi]
call fcn.1800370e0
nop
lea rcx, [rbp - 0x28]
call fcn.180077220
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x18004d126
mov rdx, qword [rbx + 0xa0]
mov ecx, dword [rsi]
call rax
jmp 0x18004d126
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x18004d126
lea rcx, [rbx + 0x68]
mov rdx, qword [rbx + 0x90]
call rax
mov dword [rbx + 0xa8], eax
test eax, eax
je 0x18004d2eb
jmp 0x18004d126
cmp dword [rbp + 0x48], r12d
je 0x18004d2eb
jmp 0x18004d0e4
mov r9d, 2
lea r8d, [r9 + 0x73]
lea rdx, str.Z:DevelopePrivateCodes_netshield_thirdgen_registerhttpclienthttp_client.cpp
lea rcx, [rbp - 0x28]
call fcn.180076e30
nop
mov rcx, rax
call fcn.18007cf90
mov rcx, rax
lea rdx, str.curl_multi_poll_execute_failed__code:
call fcn.18002e990
mov rcx, rax
mov edx, ebx
call fcn.1800370e0
nop
jmp 0x18004d2e2
mov r9d, 2
lea r8d, [r9 + 0x6c]
lea rdx, str.Z:DevelopePrivateCodes_netshield_thirdgen_registerhttpclienthttp_client.cpp
lea rcx, [rbp - 0x28]
call fcn.180076e30
nop
mov rcx, rax
call fcn.18007cf90
mov rcx, rax
lea rdx, str.curl_multi_perform_execute_failed__code:
call fcn.18002e990
mov rcx, rax
mov edx, ebx
call fcn.1800370e0
nop
lea rcx, [rbp - 0x28]
call fcn.180077220
lea rsi, [r14 + 8]
mov rbx, qword [rsi]
mov rbx, qword [rbx]
jmp 0x18004d364
mov rdx, qword [rbx + 0x20]
mov rcx, qword [r14]
call fcn.18008aed0
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x18004d321
mov rcx, rdi
call fcn.18004c9cc
mov edx, Ordinal_26
mov rcx, rdi
call fcn.180133ca4
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
je 0x18004d349
mov rax, qword [rbx + 8]
jmp 0x18004d33e
cmp rbx, qword [rax + 0x10]
jne 0x18004d344
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x18004d331
mov rbx, rax
jmp 0x18004d364
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], r12b
jne 0x18004d364
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], r12b
je 0x18004d355
cmp byte [rbx + 0x19], r12b
je 0x18004d2f7
mov rbx, qword [rsi]
mov rdi, qword [rbx + 8]
jmp 0x18004d392
mov r8, qword [rdi + 0x10]
mov rdx, rsi
mov rcx, rsi
call fcn.18004c808
mov rcx, rdi
mov rdi, qword [rdi]
mov edx, gethostbyname
call fcn.180133ca4
cmp byte [rdi + 0x19], r12b
je 0x18004d373
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 8], r12
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret