Function at 0x140049d70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140113010]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea r8d, [rdi + 0xa]
lea rdx, str.client.dll
lea rcx, [rbp + 7]
call fcn.140004b90
lea rdx, [rbp + 7]
lea rcx, [0x1401375b8]
call fcn.1400416a0
mov rsi, rax
test rax, rax
je 0x14004a82a
mov qword [rbp + 0x2f], rdi
lea rdx, [0x1401398d8]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov rbx, rax
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub ebx, esi
mov dword [0x140138b40], ebx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [0x1401374e0]
call fcn.1400449f0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140049e5e
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140049ea8
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ea3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ea3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140049ef7
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ef2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ef2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x140139998]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov rbx, rax
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub ebx, esi
mov dword [0x140138b54], ebx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs r15, 0xd28f2c51de26cd5
lea r12, [0x140000000]
cmp byte [0x1401373e8], 0
je 0x140049fb4
cmp byte [0x1401373e9], 0
jne 0x14004a002
mov byte [0x1401373e9], 1
mov rdx, rdi
nop dword [rax]
nop word [rax + rax]
mov rcx, rdx
xor rcx, qword [0x140137410]
xor rcx, r15
mov rax, rcx
shl rax, 0xd
xor rcx, rax
mov rax, rcx
shr rax, 7
xor rcx, rax
movzx eax, cl
shl al, 0x11
xor al, byte [rdx + r12 + 0x1373ea]
xor al, cl
mov byte [rdx + r12 + 0x1373ea], al
inc rdx
cmp rdx, 0x25
jb 0x140049f70
jmp 0x14004a002
mov rdx, rdi
nop word [rax + rax]
mov rcx, rdx
xor rcx, qword [0x140137410]
xor rcx, r15
mov rax, rcx
shl rax, 0xd
xor rcx, rax
mov rax, rcx
shr rax, 7
xor rcx, rax
movzx eax, cl
shl al, 0x11
xor al, byte [rdx + r12 + 0x1373ea]
xor al, cl
mov byte [rdx + r12 + 0x1373ea], al
inc rdx
cmp rdx, 0x25
jb 0x140049fc0
lea r8, [0x14013740e]
lea rdx, [0x1401373ea]
lea rcx, [rbp + 7]
call fcn.1400049a0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a043
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a08d
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a088
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a088
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a0dc
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a0d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a0d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x140139938]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov rbx, rax
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub ebx, esi
mov dword [0x140138b44], ebx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [0x140137418]
call fcn.14003fc10
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a150
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a19a
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a195
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a195
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a1e9
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a1e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a1e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x1401398b8]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov rbx, rax
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub ebx, esi
mov dword [0x140138b48], ebx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [0x140137460]
call fcn.1400449f0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a25d
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a2a7
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a2a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a2a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a2f6
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a2f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a2f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x1401398f8]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
mov rcx, qword [0x1401375c0]
test rcx, rcx
je 0x14004a82a
cmp dword [0x1401375c8], 0
je 0x14004a82a
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rbp + 0x2f]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14004a82a
mov ebx, dword [rbp + 0x2f]
sub ebx, esi
add ebx, 0x6140
mov dword [0x140138b3c], ebx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [0x140137488]
call fcn.1400449f0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a3ad
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a3f7
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a3f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a3f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a446
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a441
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a441
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x140139958]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub eax, esi
lea ebx, [rax + 0x138]
mov dword [0x140138b50], ebx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp byte [0x1401374b0], 0
je 0x14004a4f0
cmp byte [0x1401374b1], 0
jne 0x14004a532
mov byte [0x1401374b1], 1
mov rcx, rdi
xor rcx, qword [0x1401374d8]
xor rcx, r15
mov rax, rcx
shl rax, 0xd
xor rcx, rax
mov rax, rcx
shr rax, 7
xor rcx, rax
movzx eax, cl
shl al, 0x11
xor al, byte [rdi + r12 + 0x1374b2]
xor al, cl
mov byte [rdi + r12 + 0x1374b2], al
inc rdi
cmp rdi, 0x1f
jb 0x14004a4a0
jmp 0x14004a532
mov rcx, rdi
xor rcx, qword [0x1401374d8]
xor rcx, r15
mov rax, rcx
shl rax, 0xd
xor rcx, rax
mov rax, rcx
shr rax, 7
xor rcx, rax
movzx eax, cl
shl al, 0x11
xor al, byte [rdi + r12 + 0x1374b2]
xor al, cl
mov byte [rdi + r12 + 0x1374b2], al
inc rdi
cmp rdi, 0x1f
jb 0x14004a4f0
lea r8, [0x1401374d0]
lea rdx, [0x1401374b2]
lea rcx, [rbp + 7]
call fcn.1400049a0
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a573
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a5bd
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a5b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a5b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a60c
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a607
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x140139978]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub eax, esi
lea ebx, [rax + 0x30]
mov dword [0x140138b4c], ebx
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [0x1401373c0]
call fcn.14003e780
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a680
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a6ca
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a6c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a6c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a719
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a714
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [0x140139918]
lea rcx, [rbp - 0x19]
call fcn.140004450
mov rdx, rsi
mov rcx, rax
call fcn.140049b00
mov rbx, rax
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x14004a82a
sub ebx, esi
mov dword [0x140138adc], ebx
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [0x140137438]
call fcn.14003e780
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.1400475f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14004a78d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140004fc0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14004a7d7
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a7d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a7d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
vmovdqu xmm0, xmmword [0x140102e00]
vmovdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14004a826
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a821
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
mov al, 1
jmp 0x14004a82c
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140098e80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret