Function at 0x180003330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x27], rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rbp - 0x59], ebx
mov ecx, dword [0x18026e480]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18026e4e8], eax
jle 0x180003436
lea rcx, [0x18026e4e8]
call fcn.180014660
cmp dword [0x18026e4e8], 0xffffffff
jne 0x180003436
movdqa xmm0, xmmword [str._9_9_9]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x1800e9380]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmm0, xmmword [0x1800e9120]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1800e8e20]
movdqa xmmword [rbp + 7], xmm1
mov word [rbp + 0x17], 0x100
mov edx, r14d
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdx + 0x7a]
xor byte [rbp + rdx - 0x29], al
inc rdx
cmp rdx, 0x40
jb 0x1800033f0
mov byte [rbp + 0x18], 0
lea r8, [rbp + 0x17]
lea rdx, [rbp - 0x29]
lea rcx, [0x18026e4f8]
call fcn.1800113a0
mov ebx, reloc.WS2_32.dll_inet_ntoa
lea rcx, [0x180017010]
call fcn.180014d08
nop
lea rcx, [0x18026e4e8]
call fcn.1800145f4
mov r8d, dword [rsi + 0x10]
mov dword [rbp - 0x61], r14d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
or ebx, 1
mov dword [rbp - 0x65], ebx
mov dword [rbp - 0x59], ebx
mov rdx, r14
mov qword [rbp - 0x51], rdx
mov r12, r14
lea rcx, [rsi + 0x18]
movzx r13d, byte [rbp - 0x68]
nop
mov eax, r8d
dec r8d
mov dword [rbp - 0x49], r8d
test eax, eax
je 0x18000350e
mov rax, rsi
cmp qword [rcx], 0xf
jbe 0x180003494
mov rax, qword [rsi]
lea r15, [rsi + 0x18]
jmp 0x180003497
mov r15, rcx
cmp byte [rdx + rax], 0x3d
je 0x18000350e
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp - 0x39], rax
or ebx, 2
mov dword [rbp - 0x65], ebx
mov dword [rbp - 0x59], ebx
mov rbx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1800034bf
mov rbx, qword [rsi]
mov rax, qword [rbp - 0x51]
movzx ebx, byte [rax + rbx]
lea rcx, [rbp - 0x41]
call fcn.180010e30
mov rax, qword [rax + 0x18]
mov edx, 0x107
test word [rax + rbx*2], dx
jne 0x18000350a
mov rax, rsi
mov rcx, qword [r15]
cmp rcx, 0xf
jbe 0x1800034ee
mov rax, qword [rsi]
mov rdx, qword [rbp - 0x51]
cmp byte [rdx + rax], 0x2b
je 0x18000350a
mov rax, rsi
cmp rcx, 0xf
jbe 0x180003504
mov rax, qword [rsi]
cmp byte [rdx + rax], 0x2f
jne 0x18000350e
mov bl, 1
jmp 0x180003510
xor bl, bl
mov eax, dword [rbp - 0x65]
test al, 2
je 0x180003542
and eax, 0xfffffffd
mov dword [rbp - 0x65], eax
mov dword [rbp - 0x59], eax
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x180003542
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180003542
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
test bl, bl
je 0x180003778
mov rax, rsi
lea rcx, [rsi + 0x18]
cmp qword [rcx], 0xf
jbe 0x18000355a
mov rax, qword [rsi]
mov rdx, qword [rbp - 0x51]
movzx eax, byte [rdx + rax]
mov byte [rbp + r12 - 0x69], al
inc dword [rbp - 0x61]
inc r12
inc rdx
mov qword [rbp - 0x51], rdx
cmp r12, 4
jne 0x180003767
lea r15, [0x18026e4f8]
mov r14, r15
mov r12, qword [0x18026e4f8]
mov r13, qword [0x18026e510]
cmp r13, 0xf
cmova r14, r12
mov rbx, qword [0x18026e508]
test rbx, rbx
je 0x1800035c3
movsx edx, byte [rbp - 0x69]
mov r8, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800035c3
sub rax, r14
jmp 0x1800035ca
mov rax, 0xffffffffffffffff
mov byte [rbp - 0x69], al
mov r14, r15
cmp r13, 0xf
cmova r14, r12
test rbx, rbx
je 0x1800035f6
movsx edx, byte [rbp - 0x68]
mov r8, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800035f6
sub rax, r14
jmp 0x1800035fd
mov rax, 0xffffffffffffffff
mov qword [rbp - 0x61], rax
mov byte [rbp - 0x68], al
cmp r13, 0xf
cmova r15, r12
test rbx, rbx
je 0x18000362d
movsx edx, byte [rbp - 0x67]
mov r8, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x18000362d
sub r14, r15
jmp 0x180003634
mov r14, 0xffffffffffffffff
mov byte [rbp - 0x67], r14b
lea r15, [0x18026e4f8]
cmp r13, 0xf
cmova r15, r12
test rbx, rbx
je 0x180003668
movsx edx, byte [rbp - 0x66]
mov r8, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x180003668
sub rcx, r15
jmp 0x18000366f
mov rcx, 0xffffffffffffffff
mov byte [rbp - 0x66], cl
mov r13, qword [rbp - 0x61]
movzx r9d, r13b
shr r9b, 4
and r9b, 3
movzx eax, byte [rbp - 0x69]
shl al, 2
add r9b, al
movzx ebx, byte [rbp - 0x67]
shr bl, 2
and bl, 0xf
movzx eax, r13b
shl al, 4
add bl, al
shl r14b, 6
add r14b, cl
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1800036d2
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800036c7
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800036da
mov rcx, rdi
call fcn.180012400
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180003705
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800036fb
mov rax, qword [rdi]
mov byte [rax + rcx], bl
mov byte [rax + rcx + 1], 0
jmp 0x180003711
movzx r9d, bl
mov rcx, rdi
call fcn.180012400
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x18000373d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180003732
mov rax, qword [rdi]
mov byte [rax + rcx], r14b
mov byte [rax + rcx + 1], 0
jmp 0x180003749
movzx r9d, r14b
mov rcx, rdi
call fcn.180012400
xor r14d, r14d
mov dword [rbp - 0x61], r14d
mov r12d, r14d
mov rdx, qword [rbp - 0x51]
lea rcx, [rsi + 0x18]
mov ebx, dword [rbp - 0x65]
mov r8d, dword [rbp - 0x49]
jmp 0x180003470
movzx r13d, byte [rbp - 0x68]
mov ebx, dword [rbp - 0x65]
mov r8d, dword [rbp - 0x49]
jmp 0x180003470
movsxd rax, dword [rbp - 0x61]
test eax, eax
je 0x180003932
cmp rax, 4
jge 0x1800037b0
jae 0x180003956
mov byte [rbp + rax - 0x69], 0
inc rax
cmp rax, 4
jl 0x18000378a
movzx r13d, byte [rbp - 0x68]
nop dword [rax]
nop word [rax + rax]
lea rbx, [0x18026e4f8]
mov r15, qword [0x18026e4f8]
cmp qword [0x18026e510], 0xf
cmova rbx, r15
mov rsi, qword [0x18026e508]
test rsi, rsi
je 0x1800037f2
movsx edx, byte [rbp - 0x69]
mov r8, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r12, rax
test rax, rax
je 0x1800037f2
sub r12, rbx
jmp 0x1800037f9
mov r12, 0xffffffffffffffff
lea rbx, [0x18026e4f8]
cmp qword [0x18026e510], 0xf
cmova rbx, r15
test rsi, rsi
je 0x18000382d
movsx edx, r13b
mov r8, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x18000382d
sub r15, rbx
jmp 0x180003834
mov r15, 0xffffffffffffffff
lea r13, [0x18026e4f8]
cmp qword [0x18026e510], 0xf
cmova r13, qword [0x18026e4f8]
test rsi, rsi
je 0x18000386c
movsx edx, byte [rbp - 0x67]
mov r8, rsi
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18000386c
sub rbx, r13
jmp 0x180003873
mov rbx, 0xffffffffffffffff
cmp qword [0x18026e510], 0xf
lea r13, [0x18026e4f8]
cmova r13, qword [0x18026e4f8]
test rsi, rsi
je 0x1800038ab
movsx edx, byte [rbp - 0x66]
mov r8, rsi
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rcx, rax
test rax, rax
je 0x1800038ab
sub rcx, r13
jmp 0x1800038b2
mov rcx, 0xffffffffffffffff
movzx eax, r15b
shr al, 4
and al, 3
shl r12b, 2
add al, r12b
mov byte [rbp - 0x69], al
movzx eax, bl
shr al, 2
and al, 0xf
shl r15b, 4
add al, r15b
mov byte [rbp - 0x68], al
shl bl, 6
add bl, cl
mov byte [rbp - 0x67], bl
mov eax, dword [rbp - 0x61]
dec eax
movsxd rbx, eax
test eax, eax
jle 0x180003932
nop dword [rax + rax]
movzx r9d, byte [rbp + r14 - 0x69]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180003922
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x180003917
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18000392a
mov rcx, rdi
call fcn.180012400
inc r14
cmp r14, rbx
jl 0x1800038f0
mov rax, rdi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800147e0
int3