Function at 0x180003380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1800a3690]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rdi, r8
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp + 0xd0], r8
xor ebx, ebx
mov dword [rbp - 0x50], ebx
mov dword [rsp + 0x38], 0xaec8d19b
mov dword [rsp + 0x3c], 0xa0aab0a4
mov word [rsp + 0x40], 0xf8
mov byte [rsp + 0x42], 1
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x43]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x1800033f0
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x48], 0xadded09b
mov dword [rsp + 0x4c], 0x100ffa4
mov dword [rsp + 0x70], 0xb3dacd9b
mov dword [rsp + 0x74], 0xaaacabb2
mov dword [rsp + 0x78], 0xfaa2ac
mov byte [rsp + 0x7c], 1
mov dword [rsp + 0x50], 0xacd6d89b
mov dword [rsp + 0x54], 0xf9a7aba4
mov word [rsp + 0x58], 0x100
mov dword [rsp + 0x60], 0xa5cfc7c9
mov dword [rsp + 0x64], 0xa8aaa4fc
mov word [rsp + 0x68], 0xa0
mov byte [rsp + 0x6a], 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x28]
call fcn.180003f00
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180003486
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1800122f0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x60]
call fcn.180002a40
nop
lea rdx, [rsi + 0x260]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800034d8
mov rdx, qword [rdx]
mov rcx, rax
call fcn.1800122f0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 8]
call fcn.1800027c0
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18000351e
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1800122f0
mov qword [rbp + 0xd8], rbx
mov qword [rbp + 0xe8], rbx
mov qword [rbp + 0xf0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180003570
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0xd8]
call fcn.1800122f0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800035c7
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.1800122f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x128], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x138], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180003632
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000362d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000362d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x180003686
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003681
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003681
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0xe8], rbx
mov qword [rbp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rbp + 0xd8], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1800036dd
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800036d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800036d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18000372c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003726
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003726
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x18000376a
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003765
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1800037b9
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800037b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800037b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1800037f7
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800037f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800037f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
lea rax, [rbp - 0x20]
mov qword [rbp + 0xa0], rax
lea rdx, [rsi + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.180011e80
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp + 0xb0]
call fcn.180011e80
mov qword [rbp], rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
lea r15, [rbp + 0x128]
cmp qword [rbp + 0x140], 0x10
setae byte [rsp + 0x30]
mov r14, qword [rbp + 0x128]
cmovae r15, r14
movabs rcx, 0x7fffffffffffffff
mov r13, qword [rbp + 0x138]
cmp r13, 0x10
jae 0x18000389c
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x18000390e
mov rbx, r13
or rbx, 0xf
cmp rbx, rcx
cmova rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800038e9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003e56
mov rcx, rax
call fcn.18007ca44
mov rcx, rax
test rax, rax
je 0x1800038e2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800038f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800038f5
call fcn.18007ca44
jmp 0x1800038f7
xor eax, eax
mov qword [rbp - 0x70], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], rbx
mov r9, qword [rbp - 0x48]
mov r8, rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x108]
call fcn.180004200
nop
xor r13d, r13d
mov qword [rbp + 0x98], r13
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xf8]
call fcn.1800058c0
nop
lea rdx, [rbp + 0xf8]
lea rcx, [rsp + 0x70]
call fcn.180004650
mov rdx, rax
mov rcx, rsi
call fcn.180001b70
lea rdx, str.success
lea rcx, [rbp + 0xf8]
call fcn.180005600
cmp byte [rax], 4
jne 0x180003e5c
cmp byte [rax + 8], r13b
je 0x180003d16
lea rdx, str.contents
lea rcx, [rbp + 0xf8]
call fcn.180005600
nop
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], r13b
mov dword [rbp - 0x50], 0xbe
cmp byte [rax], 3
jne 0x180003eaa
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x70]
cmp rax, rdx
je 0x1800039ef
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800039e5
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.180012510
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.180004070
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180003a3e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003a39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov rsi, qword [rbp + 0xe8]
lea r15, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0x10
cmovae r15, qword [rbp + 0xd8]
cmp rsi, 0x10
jae 0x180003a7f
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180003af6
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180003ad3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003ef8
mov rcx, rax
call fcn.18007ca44
mov rcx, rax
test rax, rax
je 0x180003ba8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180003ae2
test rcx, rcx
je 0x180003adf
call fcn.18007ca44
jmp 0x180003ae2
mov rax, r13
mov qword [rsp + 0x70], rax
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp rbx, 0x10
jb 0x180003b20
add rsi, rcx
mov r15, rcx
jmp 0x180003b28
add rsi, rax
lea r15, [rsp + 0x70]
mov qword [r12], r13
mov qword [r12 + 8], r13
mov qword [r12 + 0x10], r13
sub rsi, r15
je 0x180003b7d
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x180003e50
mov rdx, rsi
mov rcx, r12
call fcn.18000dc10
mov rbx, qword [r12]
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov qword [r12 + 8], rax
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x70]
cmp rbx, 0x10
jb 0x180003bb4
lea rdx, [rbx + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003baf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov byte [rsp + 0x70], 0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x180003c09
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003c04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003c04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0xe8], r13
mov qword [rbp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rbp + 0xd8], 0
movzx edx, byte [rbp + 0xf8]
lea rcx, [rbp + 0x100]
call fcn.180004980
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x180003c7a
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003c75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x108], 0
cmp byte [rsp + 0x30], 0
je 0x180003cd5
mov rdx, qword [rbp + 0x140]
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x180003ccc
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003ccc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18007ca3c
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180003e0d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180003e08
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x180003e05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [r12], r13
mov qword [r12 + 8], r13
mov qword [r12 + 0x10], r13
movzx edx, byte [rbp + 0xf8]
lea rcx, [rbp + 0x100]
call fcn.180004980
nop
mov rdx, qword [rbp + 0x120]
cmp rdx, 0x10
jb 0x180003d7c
inc rdx
mov rcx, qword [rbp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003d77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003d77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007ca3c
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x108], 0
cmp byte [rsp + 0x30], 0
je 0x180003dd7
mov rdx, qword [rbp + 0x140]
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x180003dce
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003dce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18007ca3c
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180003e0d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180003e08
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003e49
mov rcx, r8
call fcn.18007ca3c
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, r12
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.18007c9f0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800051f0
nop
call fcn.1800124f0
nop
mov rcx, rax
call fcn.180004f60
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.180012690
nop
mov r8, rax
lea rdx, str.type_must_be_boolean__but_is
lea rcx, [rbp - 0x20]
call fcn.180005540
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x28]
call fcn.180005d20
lea rdx, [0x18009ef68]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.180004f60
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.180012690
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x20]
call fcn.180005540
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x28]
call fcn.180005d20
lea rdx, [0x18009ef68]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.1800124f0
int3