Function at 0x140028c20
Capabilities:
Encode data using xor
Execute command
Get common file path
Get startup folder
Hide graphical window
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x3d0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140118180]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
xor esi, esi
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [str.VSBMoXH]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [0x1401004b0]
movups xmmword [rsp + 0x78], xmm1
psrldq xmm1, 0xf
movd ecx, xmm1
mov r13d, dword [reloc.WS2_32.dll_accept]
test cl, cl
je 0x140028e20
cmp r13d, 2
jl 0x140028ddf
movdqa xmm5, xmmword [0x1401037a0]
mov edx, esi
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm6, xmmword [0x140103810]
movdqa xmm0, xmmword [0x140103a20]
movdqa xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x6c]
mov r8d, dword [rsp + 0x90]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x140028ce0
jmp 0x140028e20
lea r9, [rsp + 0x68]
mov r8d, esi
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140028df0
lea rax, [rsp + 0x68]
mov r14, 0xffffffffffffffff
mov rcx, r14
nop
inc rcx
cmp byte [rax + rcx], sil
jne 0x140028e30
movabs rax, 0x7fffffffffffffff
mov rdx, qword [0x1401ae790]
sub rax, rdx
cmp rax, rcx
jb 0x140029fb0
lea rax, [0x1401ae780]
cmp qword [0x1401ae798], 0xf
cmova rax, qword [0x1401ae780]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x68]
lea r8, [0x1401ae780]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x168]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 0xf
cmova rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x90]
call fcn.140004b50
lea rdx, [rsp + 0x90]
call fcn.140024740
mov r15d, eax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x140029fb6
lea rax, [rsp + 0x2a0]
mov rdi, r14
inc rdi
cmp byte [rax + rdi], 0
jne 0x140028f32
mov rax, qword [reloc.WS2_32.dll_ntohs]
lea r12, [0x1401a31b0]
cmp rdi, rax
ja 0x140028f7d
mov rbx, r12
cmp rax, 0xf
cmova rbx, qword [0x1401a31b0]
mov qword [0x1401a31c0], rdi
mov r8, rdi
lea rdx, [rsp + 0x2a0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140028f96
lea r9, [rsp + 0x2a0]
movzx r8d, byte [rsp + 0x40]
mov rdx, rdi
mov rcx, r12
call fcn.140021000
mov r8d, recv
lea rdx, [0x140100228]
mov rcx, r12
call fcn.1400061f0
sub r15d, 1
je 0x140029f33
sub r15d, 1
je 0x14002a1e1
cmp r15d, 1
je 0x14002a164
call fcn.140033410
test al, al
je 0x14002a02f
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov r8d, 0xa
lea rdx, str.client.dll
lea rcx, [rsp + 0x90]
call fcn.140004b50
lea rdx, [rsp + 0x90]
call fcn.140023cb0
mov rdx, rax
mov qword [0x1401b01c0], rax
mov ecx, dword [0x14012d52c]
add rcx, rax
mov qword [0x1401b01c8], rcx
mov ecx, dword [0x14018c4f4]
add rcx, rax
mov qword [0x1401b01d0], rcx
mov ecx, dword [0x14018c4f0]
add rcx, rax
mov qword [0x1401b01d8], rcx
mov ecx, dword [0x14018c500]
add rcx, rax
mov qword [0x1401b01e8], rcx
mov ecx, dword [0x14012d530]
add rcx, rax
mov qword [0x1401b01f0], rcx
mov eax, dword [0x14018c4fc]
add rax, rdx
mov qword [0x1401b01f8], rax
mov eax, dword [0x14018c4f8]
add rax, rdx
mov qword [0x1401b0200], rax
test rdx, rdx
je 0x14002a0a5
mov rdi, qword [0x1401a31c0]
mov rbx, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rbx, qword [0x1401a31b0]
call fcn.1400e181c
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rdi
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.140024de0
nop
lea rcx, [rsp + 0xb0]
call fcn.140025750
movzx ebx, al
mov rdx, qword [rsp + 0xc8]
cmp rdx, 7
jbe 0x14002913d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029138
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2394
test bl, bl
je 0x140029306
movups xmm0, xmmword [str.qZS_P]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1401005f0]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1401005f8]
mov dword [rsp + 0x80], eax
movzx eax, byte [0x1401005fc]
mov byte [rsp + 0x84], al
mov ecx, esi
cmp r13d, 2
jl 0x1400292c2
movdqa xmm5, xmmword [0x1401037a0]
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm6, xmmword [0x140103810]
movdqa xmm0, xmmword [0x140103a20]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x6c]
mov r8d, dword [rsp + 0x90]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x1400291c0
cmp ecx, 0x1d
jge 0x1400292fc
movsxd rax, ecx
lea r8, [rsp + 0x68]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1d
jl 0x1400292d0
lea rdx, [rsp + 0x68]
jmp 0x140029581
mov rdi, qword [0x1401a31c0]
mov rbx, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rbx, qword [0x1401a31b0]
call fcn.1400e181c
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rdi
lea r8, [rsp + 0x90]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140024de0
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rcx, qword [rsp + 0x68]
call fcn.1400e1a7c
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x14002a125
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x1400293ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400293b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400293b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2394
test bl, bl
je 0x140029d89
movups xmm0, xmmword [0x140100460]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x140100470]
movsd qword [rsp + 0x78], xmm0
movzx eax, word [0x140100478]
mov word [rsp + 0x80], ax
movzx eax, byte [0x14010047a]
mov byte [rsp + 0x82], al
mov ecx, esi
cmp r13d, 2
jl 0x140029542
movdqa xmm5, xmmword [0x1401037a0]
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm6, xmmword [0x140103810]
movdqa xmm0, xmmword [0x140103a20]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x6c]
mov r8d, dword [rsp + 0x90]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140029440
cmp ecx, 0x1b
jge 0x14002957c
movsxd rax, ecx
lea r8, [rsp + 0x68]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x140029550
lea rdx, [rsp + 0x68]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400062f0
mov rdx, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
mov r8, qword [0x1401a31c0]
cmova rdx, qword [0x1401a31b0]
mov rcx, rax
call fcn.1400066e0
lea rdx, [0x140020e30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [str.nWQSWBTM]
movups xmmword [rsp + 0x68], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140029770
cmp r13d, 2
jl 0x140029732
movdqa xmm5, xmmword [0x1401037a0]
mov edx, esi
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm6, xmmword [0x140103810]
movdqa xmm0, xmmword [0x140103a20]
movdqa xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x6c]
mov r8d, dword [rsp + 0x90]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140029633
jmp 0x140029770
lea r9, [rsp + 0x68]
mov r8d, esi
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140029740
mov rcx, qword [0x1401a31c0]
lea rdx, [rsp + 0x68]
mov rax, r14
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140029780
movabs rdx, 0x7fffffffffffffff
sub rdx, rcx
cmp rdx, rax
jb 0x14002a13d
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r9, qword [0x1401a31b0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, r12
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0xf8]
call fcn.1400049b0
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x190]
call fcn.14002faa0
nop
mov rdx, qword [rsp + 0x110]
cmp rdx, 0xf
jbe 0x140029838
inc rdx
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2394
movdqa xmm0, xmmword [0x140103740]
movdqu xmmword [rsp + 0x108], xmm0
mov byte [rsp + 0xf8], 0
cmp qword [rsp + 0x220], 0
je 0x140029899
mov byte [0x1401af964], 1
lea rcx, [rsp + 0x1a0]
call fcn.140031460
test rax, rax
jne 0x140029899
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x190]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x1f4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, [0x14010021c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rax, [rsp + 0x128]
mov qword [rsp + 0x60], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x128], rax
lea rax, [0x14001c810]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x68], rax
mov rax, qword [str.awxjWGH9]
mov qword [rsp + 0x48], rax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x140029a70
cmp r13d, 2
jl 0x140029a36
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm2, xmmword [0x1401037a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140103810]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
mov eax, dword [0x140103a20]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x48]
xorps xmm2, xmm1
movd dword [rsp + 0x48], xmm2
movdqa xmm3, xmmword [0x1401037c0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140103810]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x4c]
xorps xmm2, xmm1
movd dword [rsp + 0x4c], xmm2
jmp 0x140029a70
lea r9, [rsp + 0x48]
mov r8d, esi
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140029a40
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rsi
lea rax, [rsp + 0x48]
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x140029a93
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.140004b50
nop
movups xmm0, xmmword [str.qA_BRJ]
movups xmmword [rsp + 0x48], xmm0
movzx eax, byte [0x140100640]
mov byte [rsp + 0x58], al
mov r8d, esi
cmp r13d, 2
jl 0x140029c15
movdqa xmm5, xmmword [0x1401037a0]
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm6, xmmword [0x140103810]
movdqa xmm0, xmmword [0x140103a20]
movdqa xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x90]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140029b10
cmp r8d, 0x11
jge 0x140029c50
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140029c20
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rsi
lea rax, [rsp + 0x48]
inc r14
cmp byte [rax + r14], 0
jne 0x140029c70
mov r8, r14
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.140004b50
nop
lea r9, [rsp + 0x128]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xb0]
call fcn.140085e60
nop
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x190], rax
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x18c], edx
lea rcx, [rsp + 0x1a0]
call fcn.14002f9f0
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x240]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x180]
cmp rdx, 0xf
jbe 0x140029d52
inc rdx
mov rcx, qword [rsp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140029d4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2394
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1400e20f0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
ret
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0xb0]
call fcn.14002a260
mov r9, rax
cmp byte [rax + 0x26], 0
je 0x14002a143
cmp r13d, 2
jl 0x140029ef6
movdqa xmm5, xmmword [0x1401037a0]
movdqa xmm4, xmmword [0x140103b10]
movdqa xmm6, xmmword [0x140103810]
movdqa xmm0, xmmword [0x140103a20]
movdqa xmmword [rsp + 0x90], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x90]
nop word [rax + rax]
movd xmm2, esi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rsi + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140103a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add esi, 8
mov eax, esi
lea rcx, [rcx + 8]
cmp esi, 0x20
jl 0x140029df0
cmp eax, 0x27
jge 0x14002a143
movsxd r8, esi
add r8, r9
nop dword [rax]
mov eax, 0x4ec4ec4f
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, sil
sub al, dl
add al, 0x32
xor byte [r8], al
inc esi
lea r8, [r8 + 1]
cmp esi, 0x27
jge 0x14002a143
jmp 0x140029f00
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rax
lea rdx, str.Error_1
lea rcx, [rsp + 0x48]
call fcn.14002cf50
mov rcx, rax
call fcn.14002cee0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004b10
mov rbx, rax
lea rdx, [0x140100118]
lea rcx, [rsp + 0x90]
call fcn.14002de00
mov rcx, rax
call fcn.14002dd50
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004b10
nop
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call fcn.140005cb0
call fcn.140026a30
nop
call fcn.1400048b0
nop
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xf8]
call fcn.14002d0f0
mov rcx, rax
call fcn.14002cf90
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004b10
mov rbx, rax
lea rdx, [0x140100118]
lea rcx, [rsp + 0x90]
call fcn.14002de00
mov rcx, rax
call fcn.14002dd50
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004b10
nop
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call fcn.140005cb0
call fcn.140026a30
int3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.14002cea0
mov rcx, rax
call fcn.14002cd80
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004b10
mov rbx, rax
lea rdx, [0x140100118]
lea rcx, [rsp + 0x90]
call fcn.14002de00
mov rcx, rax
call fcn.14002dd50
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004b10
nop
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call fcn.140005cb0
call fcn.140026a30
int3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
lea rdx, str.Failed_to_call_InitAddress__.
lea rcx, [rsp + 0xf8]
call fcn.14002da30
mov rcx, rax
call fcn.14002d8e0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004b10
mov rbx, rax
lea rdx, [0x140100118]
lea rcx, [rsp + 0x90]
call fcn.14002de00
mov rcx, rax
call fcn.14002dd50
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004b10
nop
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call fcn.140005cb0
call fcn.140026a30
nop
shr rbx, 0x20
lea r8, [rsp + 0x68]
mov edx, ebx
lea rcx, str.create_directory
call fcn.140025680
nop
call fcn.1400048b0
int3
mov rdx, r9
mov rcx, r10
call fcn.1400062f0
lea rdx, [0x140020e30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140026a30
int3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rax
lea rdx, str.Error_3
lea rcx, [rsp + 0x48]
call fcn.14002cf50
mov rcx, rax
call fcn.14002cee0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004b10
mov rbx, rax
lea rdx, [0x140100118]
lea rcx, [rsp + 0x90]
call fcn.14002de00
mov rcx, rax
call fcn.14002dd50
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004b10
nop
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call fcn.140005cb0
call fcn.140026a30
int3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rax
lea rdx, str.Error_2
lea rcx, [rsp + 0x48]
call fcn.14002cf50
mov rcx, rax
call fcn.14002cee0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140004b10
mov rbx, rax
lea rdx, [0x140100118]
lea rcx, [rsp + 0x90]
call fcn.14002de00
mov rcx, rax
call fcn.14002dd50
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140004b10
nop
mov r8d, recv
mov rdx, rbx
mov rcx, rax
call fcn.140005cb0
call fcn.140026a30
int3