Function at 0x1400193d4
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140051af8]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rbp + 0x180], r14
mov qword [rbp + 0x190], r14
lea r12d, [r14 + 0xf]
mov qword [rbp + 0x198], r12
mov byte [rbp + 0x180], r14b
mov dword [rbp + 0x1d0], 0x45
mov byte [rbp + 0x1d4], 6
mov byte [rbp + 0x1d5], 0x7f
mov byte [rbp + 0x1d6], 0x19
mov byte [rbp + 0x1d7], 0x15
mov byte [rbp + 0x1d8], 0x37
mov byte [rbp + 0x1d9], 0x2a
mov byte [rbp + 0x1da], 0x22
mov byte [rbp + 0x1db], 0x37
mov byte [rbp + 0x1dc], 0x24
mov byte [rbp + 0x1dd], 0x28
mov byte [rbp + 0x1de], 0x65
mov byte [rbp + 0x1df], 3
mov byte [rbp + 0x1e0], 0x2c
mov byte [rbp + 0x1e1], 0x29
mov byte [rbp + 0x1e2], 0x20
mov byte [rbp + 0x1e3], 0x36
mov byte [rbp + 0x1e4], 0x65
mov byte [rbp + 0x1e5], WSAStartup
mov byte [rbp + 0x1e6], 0x3d
mov byte [rbp + 0x1e7], 0x7d
mov byte [rbp + 0x1e8], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x1e9], 0x6c
mov byte [rbp + 0x1ea], 0x19
mov byte [rbp + 0x1eb], 0x12
mov byte [rbp + 0x1ec], 0x20
mov byte [rbp + 0x1ed], 0x22
mov byte [rbp + 0x1ee], 0x24
mov byte [rbp + 0x1ef], 0x28
mov byte [rbp + 0x1f0], 0x20
mov byte [rbp + 0x1f1], 0x19
mov byte [rbp + 0x1f2], 0x30
mov byte [rbp + 0x1f3], 0x36
mov byte [rbp + 0x1f4], 0x20
mov byte [rbp + 0x1f5], 0x37
mov byte [rbp + 0x1f6], 0x6b
mov byte [rbp + 0x1f7], 0x21
mov byte [rbp + 0x1f8], 0x24
mov byte [rbp + 0x1f9], 0x31
xor eax, eax
mov byte [rbp + 0x1fa], al
mov al, byte [rbp + 0x1d4]
mov edx, r14d
mov al, byte [rbp + rdx + 0x1d4]
mov ecx, dword [rbp + 0x1d0]
xor cl, al
mov byte [rbp + rdx + 0x1d4], cl
inc rdx
cmp rdx, 0x26
jb 0x14001955b
mov byte [rbp + 0x1fa], r14b
lea rax, [0x14002b388]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov ebx, 2
mov dword [rsp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x50], rax
mov byte [rbp - 0x34], r14b
mov byte [rbp - 0x3f], r14b
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x30], r14
mov rax, qword [0x140055180]
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x48], r14
lea r8d, [rbx - 1]
lea rdx, [rbp + 0x1d4]
lea rcx, [rsp + 0x50]
call fcn.14001c4c4
test rax, rax
jne 0x14001965f
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x50], 6
jne 0x140019882
lea rax, [rsp + 0x40]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov r8b, al
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
call fcn.14001d408
lea rcx, [rbp + 0x180]
call fcn.140018540
mov dword [rbp + 0x230], 0x22
mov byte [rbp + 0x234], 0x57
mov byte [rbp + 0x235], 0x51
mov byte [rbp + 0x236], 0x47
mov byte [rbp + 0x237], 0x50
mov byte [rbp + 0x238], 0x4c
mov byte [rbp + 0x239], 0x43
mov byte [rbp + 0x23a], 0x4f
mov byte [rbp + 0x23b], 0x47
mov byte [rbp + 0x23c], bl
mov byte [rbp + 0x23d], 0x44
mov byte [rbp + 0x23e], 0x4b
mov byte [rbp + 0x23f], 0x4e
mov byte [rbp + 0x240], 0x47
mov byte [rbp + 0x241], bl
mov byte [rbp + 0x242], 0x41
mov byte [rbp + 0x243], 0x43
mov byte [rbp + 0x244], 0x41
mov byte [rbp + 0x245], 0x4a
mov byte [rbp + 0x246], 0x47
mov byte [rbp + 0x247], bl
mov byte [rbp + 0x248], 0x4a
mov byte [rbp + 0x249], 0x4b
mov byte [rbp + 0x24a], 0x56
mov byte [rbp + 0x24b], bl
xor eax, eax
mov byte [rbp + 0x24c], al
mov al, byte [rbp + 0x234]
mov rdx, r14
mov al, byte [rbp + rdx + 0x234]
mov ecx, dword [rbp + 0x230]
xor cl, al
mov byte [rbp + rdx + 0x234], cl
inc rdx
cmp rdx, 0x18
jb 0x140019762
mov byte [rbp + 0x24c], r14b
lea r8, [rbp + 0x180]
lea rdx, [rbp + 0x234]
lea rcx, [rbp + 0x50]
call fcn.140011184
mov rcx, rax
call fcn.140017c38
movups xmm0, xmmword [rbp + 0x180]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x190]
movups xmmword [rdi + 0x10], xmm1
mov byte [rbp + 0x180], r14b
mov qword [rbp + 0x198], r12
mov qword [rbp + 0x190], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.14001ac4c
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
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 [rbp + 0x198]
cmp rdx, 0x10
jb 0x140019854
mov ebx, 0x1000
mov rcx, qword [rbp + 0x180]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x14001984f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019f55
call fcn.1400238ec
mov rax, rdi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140023640
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov dword [rbp + 0x1a0], WSACleanup
mov byte [rbp + 0x1a4], 0x53
mov byte [rbp + 0x1a5], 0x32
mov byte [rbp + 0x1a6], 0x4b
mov byte [rbp + 0x1a7], 0x2d
mov byte [rbp + 0x1a8], 0x21
mov byte [rbp + 0x1a9], 3
mov byte [rbp + 0x1aa], 0x1e
mov byte [rbp + 0x1ab], 0x16
mov byte [rbp + 0x1ac], 3
mov byte [rbp + 0x1ad], 0x10
mov byte [rbp + 0x1ae], 0x1c
mov byte [rbp + 0x1af], 0x51
mov byte [rbp + 0x1b0], 0x37
mov byte [rbp + 0x1b1], 0x18
mov byte [rbp + 0x1b2], 0x1d
mov byte [rbp + 0x1b3], 0x14
mov byte [rbp + 0x1b4], bl
mov byte [rbp + 0x1b5], 0x51
mov byte [rbp + 0x1b6], 0x59
mov byte [rbp + 0x1b7], 9
mov byte [rbp + 0x1b8], 0x49
mov byte [rbp + 0x1b9], 0x47
mov byte [rbp + 0x1ba], 0x58
mov byte [rbp + 0x1bb], 0x2d
mov byte [rbp + 0x1bc], 0x26
mov byte [rbp + 0x1bd], 0x14
mov byte [rbp + 0x1be], 0x16
mov byte [rbp + 0x1bf], 0x10
mov byte [rbp + 0x1c0], 0x1c
mov byte [rbp + 0x1c1], 0x14
mov byte [rbp + 0x1c2], 0x2d
mov byte [rbp + 0x1c3], r14b
mov byte [rbp + 0x1c4], 4
mov byte [rbp + 0x1c5], 0x14
mov byte [rbp + 0x1c6], 3
mov byte [rbp + 0x1c7], 8
mov byte [rbp + 0x1c8], 0x14
mov byte [rbp + 0x1c9], 9
mov byte [rbp + 0x1ca], 0x53
xor eax, eax
mov byte [rbp + 0x1cb], al
mov al, byte [rbp + 0x1a4]
mov rdx, r14
mov al, byte [rbp + rdx + 0x1a4]
mov ecx, dword [rbp + 0x1a0]
xor cl, al
mov byte [rbp + rdx + 0x1a4], cl
inc rdx
cmp rdx, 0x27
jb 0x1400199ad
mov byte [rbp + 0x1cb], r14b
lea rdx, str.rt__ccsUNICODE
lea rcx, [rbp + 0x1a4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rsi, rax
test rax, rax
je 0x1400197a7
mov r8, rax
mov edx, 0x100
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov ebx, 0x1000
test rax, rax
je 0x140019ce5
mov qword [rbp + 0x250], r14
mov qword [rbp + 0x260], r14
mov qword [rbp + 0x268], r12
mov byte [rbp + 0x250], r14b
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x250]
call fcn.140005e0c
nop
lea rdx, [0x14002b240]
lea rcx, [rbp + 0x250]
call fcn.14001526c
cmp rax, 0xffffffffffffffff
je 0x140019ab2
lea rdx, str._console
lea rcx, [rbp + 0x250]
call fcn.14001526c
lea rcx, [rbp + 0x250]
cmp rax, 0xffffffffffffffff
jne 0x140019c12
lea rdx, str.console
call fcn.14001526c
lea rcx, [rbp + 0x250]
cmp rax, 0xffffffffffffffff
jne 0x140019b89
lea rdx, str._RDP
call fcn.14001526c
cmp rax, 0xffffffffffffffff
jne 0x140019b09
mov rdx, qword [rbp + 0x268]
cmp rdx, 0x10
jb 0x140019aef
inc rdx
mov rcx, qword [rbp + 0x250]
mov rax, rcx
cmp rdx, rbx
jb 0x140019aea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019f4e
call fcn.1400238ec
mov r8, rsi
mov edx, 0x100
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
jmp 0x140019a0d
lea r9, [rax - 1]
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x250]
call fcn.14001bd78
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.14001be34
mov rdx, qword [rbp + 0x288]
cmp rdx, 0x10
jb 0x140019b6f
inc rdx
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, rbx
jb 0x140019b6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019b6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400238ec
mov qword [rbp + 0x280], r14
mov qword [rbp + 0x288], r12
mov byte [rbp + 0x270], r14b
jmp 0x140019c86
lea rdx, str.console
call fcn.14001526c
lea r9, [rax - 1]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x250]
call fcn.14001bd78
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.14001be34
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x140019bfb
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, rbx
jb 0x140019bf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019bf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400238ec
mov qword [rbp + 0x2a0], r14
mov qword [rbp + 0x2a8], r12
mov byte [rbp + 0x290], r14b
jmp 0x140019c86
lea r9, [rax - 1]
lea rdx, [rbp + 0x2b0]
call fcn.14001bd78
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.14001be34
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0x10
jb 0x140019c71
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, rbx
jb 0x140019c6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019c6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400238ec
mov qword [rbp + 0x2c0], r14
mov qword [rbp + 0x2c8], r12
mov byte [rbp + 0x2b0], r14b
lea rcx, [rbp + 0x180]
call fcn.140018540
nop
mov rdx, qword [rbp + 0x268]
cmp rdx, 0x10
jb 0x140019cd0
mov rcx, qword [rbp + 0x250]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x140019ccb
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019f4e
call fcn.1400238ec
mov qword [rbp + 0x260], r14
mov qword [rbp + 0x268], r12
mov byte [rbp + 0x250], r14b
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov dword [rbp + 0x200], 0x3d
mov byte [rbp + 0x204], 0x7e
mov byte [rbp + 0x205], 7
mov byte [rbp + 0x206], 0x61
mov byte [rbp + 0x207], WSAStartup
mov byte [rbp + 0x208], 0x4f
mov byte [rbp + 0x209], 0x52
mov byte [rbp + 0x20a], 0x5a
mov byte [rbp + 0x20b], 0x4f
mov byte [rbp + 0x20c], 0x5c
mov byte [rbp + 0x20d], 0x50
mov byte [rbp + 0x20e], 0x1d
mov byte [rbp + 0x20f], 0x7b
mov byte [rbp + 0x210], 0x54
mov byte [rbp + 0x211], 0x51
mov byte [rbp + 0x212], 0x58
mov byte [rbp + 0x213], 0x4e
mov byte [rbp + 0x214], 0x1d
mov byte [rbp + 0x215], 0x15
mov byte [rbp + 0x216], 0x45
mov byte [rbp + 0x217], 5
mov byte [rbp + 0x218], 0xb
mov byte [rbp + 0x219], 0x14
mov byte [rbp + 0x21a], 0x61
mov byte [rbp + 0x21b], 0x6a
mov byte [rbp + 0x21c], 0x58
mov byte [rbp + 0x21d], 0x5a
mov byte [rbp + 0x21e], 0x5c
mov byte [rbp + 0x21f], 0x50
mov byte [rbp + 0x220], 0x58
mov byte [rbp + 0x221], 0x61
mov byte [rbp + 0x222], 0x48
mov byte [rbp + 0x223], 0x4e
mov byte [rbp + 0x224], 0x58
mov byte [rbp + 0x225], 0x4f
mov byte [rbp + 0x226], 0x13
mov byte [rbp + 0x227], 0x59
mov byte [rbp + 0x228], 0x5c
mov byte [rbp + 0x229], 0x49
xor eax, eax
mov byte [rbp + 0x22a], al
mov al, byte [rbp + 0x204]
mov rdx, r14
mov al, byte [rbp + rdx + 0x204]
mov ecx, dword [rbp + 0x200]
xor cl, al
mov byte [rbp + rdx + 0x204], cl
inc rdx
cmp rdx, 0x26
jb 0x140019e13
mov byte [rbp + 0x22a], r14b
lea rdx, [rbp + 0x204]
lea rcx, [rbp + 0x70]
call fcn.14001a18c
nop
mov rcx, qword [rbp + 0x70]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax + 0x80], 6
jne 0x140019e87
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
lea rcx, [rbp + 0x70]
call fcn.14001ce38
mov rcx, qword [rbp + 0x70]
movups xmm0, xmmword [rbp + 0x180]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x190]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], r12
mov byte [rbp + 0x180], r14b
movsxd rax, dword [rcx + 4]
lea rcx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rax + 0x70], rcx
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x6c], edx
lea rcx, [rbp + 0x78]
call fcn.14001ac4c
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.14001ac4c
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
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 [rbp + 0x198]
cmp rdx, 0x10
jb 0x140019854
jmp 0x140019824
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3