Function at 0x180051bb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1800f7060]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x180052a10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180052390
cmp qword [0x180200a10], 0xa
jne 0x180051b42
cmp qword [0x180200a30], 0x40
jne 0x180051b42
lea rcx, [rbp + 0x230]
call fcn.180052650
nop
mov dword [rsp + 0x40], 0x948e97d1
mov dword [rsp + 0x44], 0x9a948e9e
mov word [rsp + 0x48], Ordinal_200
mov byte [rsp + 0x4a], 1
mov dword [rsp + 0x38], 0x979896d1
mov dword [rsp + 0x3c], 0x100c19e
mov dword [rsp + 0x58], 0x899890d1
mov dword [rsp + 0x5c], 0x100c193
mov dword [rsp + 0x50], 0x889c8ed1
mov word [rsp + 0x54], Ordinal_200
mov byte [rsp + 0x56], 1
mov dword [rsp + 0x60], 0x9f898183
mov dword [rsp + 0x64], 0x979395c6
mov word [rsp + 0x68], Ordinal_143
mov byte [rsp + 0x6a], 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.180051be0
nop
lea rdx, [0x180200a40]
mov rcx, rax
call fcn.18004f240
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x50]
call fcn.180051d50
nop
lea rdx, [rbp + 0x230]
mov rcx, rax
call fcn.18004f240
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call fcn.180051d50
nop
lea rdx, [0x1802009e0]
mov rcx, rax
call fcn.18004f240
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.180051e50
nop
lea rdx, [0x180200a00]
mov rcx, rax
call fcn.18004f240
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x210], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x220], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x18005121d
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051218
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051218
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18005126d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1800512ab
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800512a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800512a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1800512fa
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800512f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800512f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x180051338
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051333
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051333
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x18005138d
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1800513cb
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800513c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800513c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
lea rax, [rbp + 0x1d0]
mov qword [rbp + 0x70], rax
lea rdx, [0x180200a80]
lea rcx, [rbp + 0x1d0]
call fcn.18004f300
mov r12, rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x78], rax
lea rdx, [0x180200a60]
lea rcx, [rbp - 0x10]
call fcn.18004f300
mov r13, rax
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rsi, [rbp + 0x210]
mov r15, qword [rbp + 0x228]
cmp r15, 0x10
setae byte [rsp + 0x30]
mov rdi, qword [rbp + 0x210]
cmovae rsi, rdi
mov r14, qword [rbp + 0x220]
cmp r14, 0x10
jae 0x180051465
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1800514ec
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1800514ca
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180051baa
mov rcx, rax
call fcn.1800abe08
mov rcx, rax
test rax, rax
je 0x1800514c3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800514d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800514d6
call fcn.1800abe08
jmp 0x1800514d8
xor eax, eax
mov qword [rsp + 0x70], rax
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov r9, r12
mov r8, r13
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1f0]
call fcn.180052000
nop
call fcn.180052390
xor r14d, r14d
mov qword [rbp - 0x28], r14
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x1c0]
call fcn.180053910
nop
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x40]
call fcn.180052b40
mov rdx, rax
call fcn.180050f30
lea rdx, str.success
lea rcx, [rbp + 0x1c0]
call fcn.1800537d0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r14
cmp byte [rcx], r14b
je 0x180051752
lea rdx, str.sessionid
lea rcx, [rbp + 0x1c0]
call fcn.1800537d0
cmp byte [rax], 3
jne 0x18005158e
mov rdx, qword [rax + 8]
jmp 0x180051591
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005159f
mov rdx, qword [rdx]
lea rcx, [0x180200c40]
call fcn.180017b80
lea rdx, str.appinfo
lea rcx, [rbp + 0x1c0]
call fcn.1800537d0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180052b40
mov rbx, rax
mov qword [rbp - 0x70], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.1800537d0
cmp byte [rax], 3
jne 0x1800515ec
mov rdx, qword [rax + 8]
jmp 0x1800515ef
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800515fd
mov rdx, qword [rdx]
lea rcx, [0x180200aa0]
call fcn.180017b80
lea rdx, str.numOnlineUsers
mov rcx, rbx
call fcn.1800537d0
cmp byte [rax], 3
jne 0x180051623
mov rdx, qword [rax + 8]
jmp 0x180051626
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180051634
mov rdx, qword [rdx]
lea rcx, [0x180200ac0]
call fcn.180017b80
lea rdx, str.numKeys
mov rcx, rbx
call fcn.1800537d0
cmp byte [rax], 3
jne 0x18005165a
mov rdx, qword [rax + 8]
jmp 0x18005165d
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005166b
mov rdx, qword [rdx]
lea rcx, [0x180200ae0]
call fcn.180017b80
lea rdx, str.version
mov rcx, rbx
call fcn.1800537d0
cmp byte [rax], 3
jne 0x180051691
mov rdx, qword [rax + 8]
jmp 0x180051694
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800516a2
mov rdx, qword [rdx]
lea rcx, [0x180200b00]
call fcn.180017b80
lea rdx, str.customerPanelLink
mov rcx, rbx
call fcn.1800537d0
cmp byte [rax], 3
jne 0x1800516c8
mov rdx, qword [rax + 8]
jmp 0x1800516cb
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800516d9
mov rdx, qword [rdx]
lea rcx, [0x180200b20]
call fcn.180017b80
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.180052e90
nop
movzx edx, byte [rbp + 0x1c0]
lea rcx, [rbp + 0x1c8]
call fcn.180052e90
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x180051a79
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051a74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051a74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx eax, byte [rbp + 0x1c0]
test al, al
jne 0x180051785
mov byte [rbp + 0x1c0], 1
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.1800534a0
mov rbx, qword [rsp + 0x38]
mov qword [rbp + 0x1c8], rbx
movzx eax, byte [rbp + 0x1c0]
jmp 0x18005178c
mov rbx, qword [rbp + 0x1c8]
cmp al, 1
jne 0x18005182d
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, 7
lea rdx, str.message
lea rcx, [rsp + 0x70]
call fcn.180017b80
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.18005a460
mov rsi, qword [rax]
add rsi, 0x40
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18005181a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051815
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051815
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
jmp 0x180051831
mov rsi, qword [rbp - 0x70]
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800abe08
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.180017b80
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1800543a0
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180052e90
nop
test bl, bl
je 0x1800516f3
lea rdx, str.download
lea rcx, [rbp + 0x1c0]
call fcn.1800537d0
lea rdx, [rbp + 0x1d0]
mov rcx, rax
call fcn.1800538b0
lea rdx, [0x1800bcf2a]
lea rcx, [rbp + 0x1d0]
call fcn.18004f700
test al, al
je 0x180051a3d
movdqa xmm0, xmmword [0x1800e8150]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1800e81a0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1800e7bb0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1800e8050]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1800e7c30]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [str.gj_____0_7t__]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1800e8090]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1800e7bd0]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1800e8260]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1800e8270]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1800e8240]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1800e8250]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x1800e8210]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x1800e8200]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [0x1800e81e0]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x1800e81f0]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x1800e8140]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x1800e8190]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x1800e8060]
movdqa xmmword [rbp + 0x1a0], xmm0
mov dword [rbp + 0x1b0], 0x53455c44
mov word [rbp + 0x1b4], 5
mov byte [rbp + 0x1b6], 1
lea rcx, [rbp + 0x80]
call fcn.180051f50
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x180051a6b
lea rcx, [rbp + 0x1d0]
call fcn.180016ea0
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1800ac29c
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f0], 0
cmp byte [rsp + 0x30], 0
je 0x180051ace
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180051ac5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051ac5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800ac29c
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x180051b12
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051b0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051b0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac29c
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1800abb50
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x1800e7c00]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1800e7c50]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1800e80b0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800e80e0]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x5917565e
mov dword [rbp - 0x1c], 0x1004c4b
lea rcx, [rbp - 0x60]
call 0x180051bb0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1800094f0
nop
cmp byte [rcx + 0x47], 0
je 0x180051bd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180051bc0
mov byte [rcx + 0x47], 0
mov rax, rcx
ret