Function at 0x180056170
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 [0x1800fb060]
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, [0x180056fd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180056950
cmp qword [0x180204a00], 0xa
jne 0x180056102
cmp qword [0x180204a20], 0x40
jne 0x180056102
lea rcx, [rbp + 0x230]
call fcn.180056c10
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.1800561a0
nop
lea rdx, [0x180204a30]
mov rcx, rax
call fcn.180053490
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.180056310
nop
lea rdx, [rbp + 0x230]
mov rcx, rax
call fcn.180053490
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.180056310
nop
lea rdx, [0x1802049d0]
mov rcx, rax
call fcn.180053490
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.180056410
nop
lea rdx, [0x1802049f0]
mov rcx, rax
call fcn.180053490
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 0x1800557dd
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800557d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800557d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
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 0x18005582d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055827
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055827
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x18005586b
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055866
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
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 0x1800558ba
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800558b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800558b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1800558f8
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800558f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800558f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
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 0x18005594d
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055947
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055947
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18005598b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055986
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055986
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
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, [0x180204a70]
lea rcx, [rbp + 0x1d0]
call fcn.180053530
mov r12, rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x78], rax
lea rdx, [0x180204a50]
lea rcx, [rbp - 0x10]
call fcn.180053530
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 0x180055a25
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180055aac
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 0x180055a8a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18005616a
mov rcx, rax
call fcn.1800b03a8
mov rcx, rax
test rax, rax
je 0x180055a83
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180055a98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180055a96
call fcn.1800b03a8
jmp 0x180055a98
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.1800565c0
nop
call fcn.180056950
xor r14d, r14d
mov qword [rbp - 0x28], r14
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x1c0]
call fcn.180057eb0
nop
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x40]
call fcn.180057100
mov rdx, rax
call fcn.1800554f0
lea rdx, str.success
lea rcx, [rbp + 0x1c0]
call fcn.180057d70
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r14
cmp byte [rcx], r14b
je 0x180055d12
lea rdx, str.sessionid
lea rcx, [rbp + 0x1c0]
call fcn.180057d70
cmp byte [rax], 3
jne 0x180055b4e
mov rdx, qword [rax + 8]
jmp 0x180055b51
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180055b5f
mov rdx, qword [rdx]
lea rcx, [0x180204c30]
call fcn.180017ad0
lea rdx, str.appinfo
lea rcx, [rbp + 0x1c0]
call fcn.180057d70
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180057100
mov rbx, rax
mov qword [rbp - 0x70], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.180057d70
cmp byte [rax], 3
jne 0x180055bac
mov rdx, qword [rax + 8]
jmp 0x180055baf
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180055bbd
mov rdx, qword [rdx]
lea rcx, [0x180204a90]
call fcn.180017ad0
lea rdx, str.numOnlineUsers
mov rcx, rbx
call fcn.180057d70
cmp byte [rax], 3
jne 0x180055be3
mov rdx, qword [rax + 8]
jmp 0x180055be6
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180055bf4
mov rdx, qword [rdx]
lea rcx, [0x180204ab0]
call fcn.180017ad0
lea rdx, str.numKeys
mov rcx, rbx
call fcn.180057d70
cmp byte [rax], 3
jne 0x180055c1a
mov rdx, qword [rax + 8]
jmp 0x180055c1d
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180055c2b
mov rdx, qword [rdx]
lea rcx, [0x180204ad0]
call fcn.180017ad0
lea rdx, str.version
mov rcx, rbx
call fcn.180057d70
cmp byte [rax], 3
jne 0x180055c51
mov rdx, qword [rax + 8]
jmp 0x180055c54
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180055c62
mov rdx, qword [rdx]
lea rcx, [0x180204af0]
call fcn.180017ad0
lea rdx, str.customerPanelLink
mov rcx, rbx
call fcn.180057d70
cmp byte [rax], 3
jne 0x180055c88
mov rdx, qword [rax + 8]
jmp 0x180055c8b
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180055c99
mov rdx, qword [rdx]
lea rcx, [0x180204b10]
call fcn.180017ad0
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.180057450
nop
movzx edx, byte [rbp + 0x1c0]
lea rcx, [rbp + 0x1c8]
call fcn.180057450
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x180056039
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056034
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 0x180055d45
mov byte [rbp + 0x1c0], 1
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.180057a40
mov rbx, qword [rsp + 0x38]
mov qword [rbp + 0x1c8], rbx
movzx eax, byte [rbp + 0x1c0]
jmp 0x180055d4c
mov rbx, qword [rbp + 0x1c8]
cmp al, 1
jne 0x180055ded
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.180017ad0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.18005ea00
mov rsi, qword [rax]
add rsi, 0x40
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180055dda
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180055dd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180055dd5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
jmp 0x180055df1
mov rsi, qword [rbp - 0x70]
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1800b03a8
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.180017ad0
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180058940
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180057450
nop
test bl, bl
je 0x180055cb3
lea rdx, str.download
lea rcx, [rbp + 0x1c0]
call fcn.180057d70
lea rdx, [rbp + 0x1d0]
mov rcx, rax
call fcn.180057e50
lea rdx, [0x1800c0d82]
lea rcx, [rbp + 0x1d0]
call fcn.180053930
test al, al
je 0x180055ffd
movdqa xmm0, xmmword [0x1800ec250]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1800ec2a0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1800ebca0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1800ec150]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1800ebd20]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [str.gj_____0_7t__]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1800ec190]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1800ebcc0]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1800ec360]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1800ec370]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1800ec340]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1800ec350]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x1800ec310]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x1800ec300]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [0x1800ec2e0]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x1800ec2f0]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x1800ec240]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x1800ec290]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x1800ec160]
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.180056510
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x18005602b
lea rcx, [rbp + 0x1d0]
call fcn.180016e40
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.1800b083c
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 0x18005608e
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180056085
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056085
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800b083c
nop
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x1800560d2
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800560cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800560cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b083c
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1800b00f0
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 [0x1800ebcf0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1800ebd40]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1800ec1b0]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1800ec1e0]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x5917565e
mov dword [rbp - 0x1c], 0x1004c4b
lea rcx, [rbp - 0x60]
call 0x180056170
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.1800093f0
nop
cmp byte [rcx + 0x47], 0
je 0x180056193
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180056180
mov byte [rcx + 0x47], 0
mov rax, rcx
ret