Function at 0x1400e7ec0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1690]
mov eax, 0x1790
call fcn.140148d30
sub rsp, rax
movaps xmmword [rsp + 0x1780], xmm6
mov rax, qword [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x1670], rax
mov r14, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x50], rcx
xor ebx, ebx
mov dword [rbp - 0x68], ebx
xorps xmm0, xmm0
cmp byte [0x1416101d2], bl
je 0x1400e7f8c
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x30], bl
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], rbx
lea rax, [rsp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x1400e7f43
lea rdx, [rsp + 0x40]
call fcn.140059030
nop
lea rcx, [r14 + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], rbx
lea rax, [rsp + 0x30]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400e7f70
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.140059030
nop
jmp 0x1400e914a
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], bl
movzx eax, word [0x14017653c]
mov word [rsp + 0x30], ax
cmp byte [reloc.WS2_32.dll_gethostbyname], 0
je 0x1400e7fbe
mov byte [rsp + 0x30], WSAStartup
xor byte [rsp + 0x31], 0x34
movups xmm0, xmmword [0x140171678]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140171688]
movups xmmword [rbp - 0x80], xmm1
mov ecx, dword [reloc.WS2_32.dll_accept]
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x1400e8173
cmp ecx, 2
jl 0x1400e8137
movdqa xmm5, xmmword [0x140176ee0]
mov edx, ebx
movdqa xmm4, xmmword [0x140177200]
movdqa xmm6, xmmword [0x140176f60]
movdqa xmm0, xmmword [0x140177050]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x74]
mov r8d, dword [rsp + 0x50]
nop word [rax + rax]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x140177020]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x140177020]
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 0x1400e8030
jmp 0x1400e8173
lea r9, [rsp + 0x70]
mov r8d, ebx
nop
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x1400e8140
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
test rax, rax
je 0x1400e9188
mov r8, rax
mov edx, 0x80
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov rdi, 0xffffffffffffffff
test rax, rax
je 0x1400e81f4
lea rax, [rbp + 0x260]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e81c0
lea rdx, [rbp + 0x260]
lea rcx, [rbp]
call fcn.140058bb0
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x260]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400e81b0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
lea r15, [rbp]
mov r13, qword [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r15, r13
lea rsi, str.__n_r_t_f_v
lea rbx, [0x14017578a]
mov r12, qword [rbp + 0x10]
test r12, r12
je 0x1400e8279
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x2e0]
call fcn.140149be4
mov rcx, rsi
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x2e0], 1
inc rcx
cmp rcx, rbx
jne 0x1400e8240
lea rcx, [r12 + r15]
mov rbx, r15
cmp r15, rcx
jae 0x1400e8279
nop
movzx eax, byte [rbx]
cmp byte [rbp + rax + 0x2e0], 0
je 0x1400e82fe
inc rbx
cmp rbx, rcx
jb 0x1400e8260
mov rbx, rdi
lea r15, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r15, r13
test r12, r12
je 0x1400e8306
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x2e0]
call fcn.140149be4
lea rcx, [0x14017578a]
nop dword [rax]
movzx eax, byte [rsi]
mov byte [rbp + rax + 0x2e0], 1
inc rsi
cmp rsi, rcx
jne 0x1400e82b0
lea rax, [r12 - 1]
mov r8, rdi
cmp rax, rdi
cmovb r8, rax
add r8, r15
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x2e0], 0
je 0x1400e82f9
cmp r8, r15
je 0x1400e8306
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x2e0], 0
jne 0x1400e82e3
sub r8, r15
jmp 0x1400e8309
sub rbx, r15
jmp 0x1400e827c
mov r8, rdi
cmp rbx, rdi
je 0x1400e8363
cmp r8, rdi
je 0x1400e8363
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
cmp r12, rbx
jb 0x1400e91ab
sub r8, rbx
inc r8
sub r12, rbx
cmp r12, r8
cmovb r8, r12
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, r13
add rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140059030
lea rax, [rsp + 0x50]
mov ebx, 0x42
jmp 0x1400e8391
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x14015f11a]
lea rcx, [rsp + 0x70]
call fcn.140059030
lea rax, [rsp + 0x70]
mov ebx, 4
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
test bl, 4
je 0x1400e83c6
and ebx, 0xfffffffb
lea rcx, [rsp + 0x70]
call fcn.14003d5f0
nop
test bl, 2
je 0x1400e83d5
lea rcx, [rsp + 0x50]
call fcn.14003d5f0
lea r12, [rbp - 0x40]
mov rsi, qword [rbp - 0x40]
mov r15, qword [rbp - 0x28]
cmp r15, 0xf
cmova r12, rsi
lea rax, [rbp - 0x40]
cmova rax, rsi
mov r13, qword [rbp - 0x30]
add rax, r13
lea rbx, [rbp - 0x40]
cmp r15, 0xf
cmova rbx, rsi
cmp rbx, rax
je 0x1400e8431
sub r12, rbx
mov rsi, rax
nop
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [r12 + rbx], al
inc rbx
cmp rbx, rsi
jne 0x1400e8410
mov r15, qword [rbp - 0x28]
mov r13, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x40]
mov eax, dword [0x1401768dc]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401768e0]
mov byte [rsp + 0x30], 0x41
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x30]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e8464
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
je 0x1400e84a7
mov byte [0x141611413], 1
lea rbx, [0x141611278]
jmp 0x1400e8852
mov eax, dword [str.g6]
mov dword [rsp + 0x30], eax
mov ebx, dword [reloc.WS2_32.dll_accept]
xor r12d, r12d
cmp byte [0x140175ac7], r12b
je 0x1400e8593
cmp ebx, 2
jl 0x1400e8552
movdqa xmm3, xmmword [0x140176ee0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140177200]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140177200]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140176f60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140177050]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x1400e8593
lea r9, [rsp + 0x30]
mov r8d, r12d
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400e8560
lea rcx, [rsp + 0x30]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e85a0
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
je 0x1400e85e3
mov byte [0x141611424], 1
lea rbx, [0x141611230]
jmp 0x1400e8852
mov eax, dword [str.vdx8]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140175e50]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x38
lea rcx, [rsp + 0x30]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e8620
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
je 0x1400e8663
lea rbx, [0x141611230]
mov byte [0x141611424], 1
jmp 0x1400e8852
mov eax, dword [str.rggyts9]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x140176a28]
mov word [rsp + 0x34], cx
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x30], 0x41
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor cl, 0x37
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x38
xor al, 0x39
mov byte [rsp + 0x36], al
lea rcx, [rsp + 0x30]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e86b0
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
je 0x1400e86f3
lea rbx, [0x141611248]
mov byte [0x141611412], 1
jmp 0x1400e8852
movsd xmm0, qword [0x1401762d8]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [0x1401762e0]
mov byte [rsp + 0x30], 0x47
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor al, 0x3b
mov byte [rsp + 0x38], al
lea rcx, [rsp + 0x30]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e8740
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
jne 0x1400e8844
mov eax, dword [str.trw7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401769d0]
mov byte [rsp + 0x30], 0x47
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x30]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e87a7
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
jne 0x1400e884b
mov eax, dword [str.qMAS7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140175d78]
mov byte [rsp + 0x30], 0x42
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x30]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e8810
lea rcx, [rbp - 0x40]
cmp r15, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r13
call fcn.140060520
cmp rax, 0xffffffffffffffff
je 0x1400e8ed7
mov byte [0x141611422], 1
lea rbx, [0x141611260]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1664], 0xffffffff
mov dword [rbp + 0x2e4], eax
mov edx, 1
mov r9d, 0x270
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x2e4], eax
inc rdx
cmp rdx, r9
jb 0x1400e8880
mov dword [rbp + 0x2e0], r9d
mov r15, qword [rbx]
mov rbx, qword [rbx + 8]
sub rbx, r15
sar rbx, 5
dec ebx
cmp ebx, 0x80000000
jb 0x1400e894d
cmp ebx, 0xffffffff
jne 0x1400e894d
lea r8, [rbp + 0x2e8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x1400e88d1
mov ecx, dword [rbp + 0x2e0]
mov edx, dword [rbp + rcx*4 + 0x2e4]
inc ecx
mov dword [rbp + 0x2e0], ecx
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x1664]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x1400e899a
inc ebx
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x1400e8996
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400e8996
nop word [rax + rax]
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x1400e8980
shr rcx, 0x20
movsxd rdx, ecx
shl rdx, 5
add rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14005f900
nop
lea rsi, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
cmova rsi, r8
add rsi, qword [rbp - 0x10]
lea rbx, [rbp - 0x20]
cmp rdx, 0xf
cmova rbx, r8
add rbx, qword [rbp - 0x10]
lea rcx, [rbp - 0x20]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, Ordinal_60
mov rdx, rbx
call fcn.140149440
mov r8, rax
cmp rax, rbx
je 0x1400e8a16
inc rax
cmp rax, rbx
je 0x1400e8a16
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0x3a
je 0x1400e8a0e
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x1400e8a00
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rax, qword [rbp - 0x20]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rbx, qword [rbp - 0x10]
mov rax, rbx
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
add rcx, r9
sub rbx, rsi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x10], rbx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x40]
call fcn.140149be4
lea rcx, [rbp + 0x40]
call fcn.14005f490
nop
lea rdx, [0x1400593f0]
lea rcx, [rbp + 0x50]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x1400b0d80]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400a8520
mov edx, 2
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp + 0x50]
add rcx, rdx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0xa8], gethostbyname
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 8
shr rdx, 0x20
lea rcx, [rbp + 0x50]
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___int____ptr64]
mov edx, 2
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rcx, qword [rbp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp + 0x50]
add rcx, rdx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0xa8], gethostbyname
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 8
shr rdx, 0x20
lea rcx, [rbp + 0x50]
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___int____ptr64]
mov edx, 2
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp + 0x50]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0xa8], gethostbyname
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 8
shr rdx, 0x20
lea rcx, [rbp + 0x50]
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___int____ptr64]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x58]
call fcn.14005fb00
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x160]
call fcn.140149be4
lea rcx, [rbp + 0x160]
call fcn.14005f490
nop
lea rdx, [0x1400593f0]
lea rcx, [rbp + 0x170]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [0x1400b0d80]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov ebx, 8
nop dword [rax]
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rbp + 0x170]
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___int____ptr64]
sub rbx, 1
jne 0x1400e8c20
mov byte [rsp + 0x30], bl
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x170]
call fcn.140089590
lea r14d, [rbx + 4]
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rbp + 0x170]
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___int____ptr64]
sub r14, 1
jne 0x1400e8c62
movzx eax, word [0x140175ed4]
mov word [rsp + 0x30], ax
cmp byte [reloc.WS2_32.dll_gethostbyname], r14b
mov r14, qword [rbp - 0x60]
je 0x1400e8cae
mov byte [rsp + 0x30], reloc.WS2_32.dll_gethostbyname
xor byte [rsp + 0x31], 0x34
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x170]
call fcn.140089590
mov ebx, 3
mov esi, ebx
nop word [rax + rax]
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rbp + 0x170]
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___int____ptr64]
sub rsi, 1
jne 0x1400e8cd0
movzx eax, word [0x1401764fc]
mov word [rsp + 0x30], ax
cmp byte [reloc.WS2_32.dll_gethostbyname], sil
je 0x1400e8d18
mov byte [rsp + 0x30], Ordinal_60
xor byte [rsp + 0x31], 0x34
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x170]
call fcn.140089590
nop dword [rax]
lea rcx, [rbp + 0x2e0]
call fcn.14008a850
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rbp + 0x170]
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___int____ptr64]
sub rbx, 1
jne 0x1400e8d30
mov byte [rsp + 0x30], bl
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x170]
call fcn.140089590
mov rax, qword [rbp + 0x30]
lea rcx, [rax - 0xc]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
cmp rax, rcx
jb 0x1400e9182
sub rax, rcx
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
add rdx, rcx
mov r8, rdi
lea rcx, [rsp + 0x50]
call fcn.140059030
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.1400a8520
nop
lea rcx, [rsp + 0x50]
call fcn.14003d5f0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x178]
call fcn.14005fb00
nop
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.14005f900
nop
lea rcx, [r14 + 0x20]
lea rdx, [rbp + 0x140]
call fcn.14005f900
nop
lea rcx, [rbp + 0x140]
call fcn.14003d5f0
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x160], rbx
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x15c], edx
lea rcx, [rbp + 0x178]
call fcn.14005f3d0
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call fcn.14003d5f0
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], rbx
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x58]
call fcn.14005f3d0
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call fcn.14003d5f0
jmp 0x1400e9137
movups xmm0, xmmword [str.fZXXOW]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140176a70]
movups xmmword [rbp - 0x80], xmm1
movzx eax, word [0x140176a80]
mov word [rbp - 0x70], ax
movzx eax, byte [0x140176a82]
mov byte [rbp - 0x6e], al
mov ecx, r12d
cmp ebx, 2
jl 0x1400e904a
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x140177200]
movdqa xmm6, xmmword [0x140176f60]
movdqa xmm0, xmmword [0x140177050]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x50]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x140177020]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x140177020]
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, 0x20
jl 0x1400e8f40
cmp ecx, 0x23
jge 0x1400e908e
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x23
jl 0x1400e9060
lea rdx, [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140089590
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rax
call fcn.1400a8520
lea rdx, [0x140089760]
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]
mov byte [0x141611423], 1
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
lea rax, [rsp + 0x30]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400e90f1
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140059030
nop
lea rcx, [r14 + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
lea rax, [rsp + 0x40]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400e9120
mov r8, rdi
lea rdx, [rsp + 0x40]
call fcn.140059030
nop
lea rcx, [rbp - 0x40]
call fcn.14003d5f0
nop
lea rcx, [rbp]
call fcn.14003d5f0
mov rax, r14
mov rcx, qword [rbp + 0x1670]
xor rcx, rsp
call fcn.1401482c0
lea r11, [rsp + 0x1790]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140060170
nop
lea rdx, str.popen___failed_
lea rcx, [rsp + 0x50]
call fcn.140059340
lea rdx, [0x140187a88]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140060170
int3