Function at 0x140057590
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140092010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12, r9
mov r15, rdx
mov rdi, rcx
mov rsi, qword [0x1400968e0]
test rdx, rdx
je 0x1400576e7
test rsi, rsi
je 0x1400576e7
mov dword [rsp + 0x20], 0x8887968f
mov dword [rsp + 0x24], 0x8483c889
mov word [rsp + 0x28], 0x85
mov byte [rsp + 0x2a], 1
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx - 0x1f]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x140057600
mov byte [rsp + 0x2a], bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
jne 0x140057707
mov dword [rsp + 0x40], 0x4ecf4eba
mov dword [rsp + 0x44], 0x4ec44ebe
mov dword [rsp + 0x48], 0x4e874ea3
mov dword [rsp + 0x4c], 0x4e844e8e
mov dword [rsp + 0x50], 0x4e8e4e8c
mov dword [rsp + 0x54], 0x4e984ecb
mov dword [rsp + 0x58], 0x4ece4e82
mov dword [rsp + 0x5c], 0x4e9f4e83
mov dword [rsp + 0x60], 0x4e964e90
mov dword [rsp + 0x64], 0x4e9a4ed3
mov dword [rsp + 0x68], 0x4e924e81
mov dword [rsp + 0x6c], 0x4e944e9b
mov dword [rsp + 0x70], 0x4e9e4ed7
mov dword [rsp + 0x74], 0x4e904e97
mov word [rsp + 0x78], bx
mov byte [rsp + 0x7a], 1
mov ecx, 0x4ee1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x1c
jb 0x1400576b0
mov byte [rsp + 0x7a], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140054ac0
lea rdx, [0x140054ca0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14006c790
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x30], 0x80a296af
mov dword [rsp + 0x34], 0x8793a781
mov word [rsp + 0x38], 0x84
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x1f]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140057730
mov byte [rsp + 0x3a], bl
lea rdx, [rsp + 0x30]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x14005782f
mov dword [rsp + 0x40], 0x4ecf4eba
mov dword [rsp + 0x44], 0x4ec44ebe
mov dword [rsp + 0x48], 0x4e874ea3
mov dword [rsp + 0x4c], 0x4e844e8e
mov dword [rsp + 0x50], 0x4e8e4e8c
mov dword [rsp + 0x54], 0x4e984ecb
mov dword [rsp + 0x58], 0x4ece4e82
mov dword [rsp + 0x5c], 0x4e954e88
mov dword [rsp + 0x60], 0x4ed24e85
mov dword [rsp + 0x64], 0x4e8c4e96
mov dword [rsp + 0x68], 0x4e994e85
mov dword [rsp + 0x6c], 0x4e8c4e85
mov dword [rsp + 0x70], 0x4e944ed9
mov dword [rsp + 0x74], 0x4e984e8f
mov dword [rsp + 0x78], 0x4e924e91
mov dword [rsp + 0x7c], 0x4f4e4ed1
mov dword [rbp - 0x80], 0x4f434f75
mov dword [rbp - 0x7c], 0x4f604f67
mov dword [rbp - 0x78], 0x4f724f44
mov dword [rbp - 0x74], 0x4f654f68
mov word [rbp - 0x70], bx
mov byte [rbp - 0x6e], 1
mov ecx, 0x4ee1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x28
jb 0x140057810
mov byte [rbp - 0x6e], 0
lea rdx, [rsp + 0x40]
jmp 0x1400576cb
mov word [rbp - 0x10], 0xb848
mov word [rbp - 6], 0xe0ff
mov qword [rbp - 0xe], rsi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400968d0], eax
jle 0x140057962
lea rcx, [0x1400968d0]
call fcn.14006ca80
cmp dword [0x1400968d0], 0xffffffff
jne 0x140057962
mov dword [rsp + 0x20], 0x80a296af
mov dword [rsp + 0x24], 0x8793a781
mov word [rsp + 0x28], 0x84
mov byte [rsp + 0x2a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x1f]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 9
jb 0x1400578a0
mov byte [rsp + 0x2a], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400578e0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140054910
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x140093078]
mov rcx, rdi
call fcn.14004e500
mov qword [0x140096808], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140057956
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057950
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057950
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c880
nop
lea rcx, [0x1400968d0]
call fcn.14006ca20
mov r8, qword [0x140096808]
test r8, r8
jne 0x140057a4f
mov dword [rsp + 0x40], 0x4ecf4eba
mov dword [rsp + 0x44], 0x4ec44ebe
mov dword [rsp + 0x48], 0x4e874ea3
mov dword [rsp + 0x4c], 0x4e844e8e
mov dword [rsp + 0x50], 0x4e8e4e8c
mov dword [rsp + 0x54], 0x4e984ecb
mov dword [rsp + 0x58], 0x4ece4e82
mov dword [rsp + 0x5c], 0x4e954e88
mov dword [rsp + 0x60], 0x4ed24e85
mov dword [rsp + 0x64], 0x4e8c4e96
mov dword [rsp + 0x68], 0x4e994e85
mov dword [rsp + 0x6c], 0x4e8c4e85
mov dword [rsp + 0x70], 0x4e944ed9
mov dword [rsp + 0x74], 0x4e934e8f
mov dword [rsp + 0x78], 0x4e954e8e
mov dword [rsp + 0x7c], 0x4f6e4e8d
mov dword [rbp - 0x80], 0x4f2c4f6d
mov dword [rbp - 0x7c], 0x4f704f4d
mov dword [rbp - 0x78], 0x4f624f44
mov dword [rbp - 0x74], 0x4f494f63
mov dword [rbp - 0x70], 0x4f654f7d
mov dword [rbp - 0x6c], 0x4f66
mov byte [rbp - 0x68], 1
mov ecx, 0x4ee1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x2b
jb 0x140057a30
mov byte [rbp - 0x68], 0
lea rdx, [rsp + 0x40]
jmp 0x1400576cb
mov r9d, recv
lea rdx, [rbp]
mov rcx, rdi
call fcn.14004d360
test al, al
je 0x1400576e7
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x140057bff
movzx eax, byte [rbp - 0xf]
cmp byte [rbp + 1], al
jne 0x140057bff
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
jne 0x140057bff
movzx eax, byte [rbp - 5]
cmp byte [rbp + 0xb], al
jne 0x140057bff
mov dword [rsp + 0x40], 0x4ecf4eba
mov dword [rsp + 0x44], 0x4ec44ebe
mov dword [rsp + 0x48], 0x4ea74ea3
mov dword [rsp + 0x4c], 0x4ea44eae
mov dword [rsp + 0x50], 0x4eae4eac
mov dword [rsp + 0x54], 0x4ed64eca
mov dword [rsp + 0x58], 0x4eba4ecd
mov dword [rsp + 0x5c], 0x4e954e87
mov dword [rsp + 0x60], 0x4e914ed1
mov dword [rsp + 0x64], 0x4e904e9c
mov dword [rsp + 0x68], 0x4ed64e90
mov dword [rsp + 0x6c], 0x4e994e80
mov dword [rsp + 0x70], 0x4eda4e8a
mov dword [rsp + 0x74], 0x4e904e9a
mov dword [rsp + 0x78], 0x4e9b4e8f
mov dword [rsp + 0x7c], 0x4f644e9e
mov dword [rbp - 0x80], 0x4f224f78
mov dword [rbp - 0x7c], 0x4f6b4f6b
mov dword [rbp - 0x78], 0x4f6d4f6a
mov dword [rbp - 0x74], 0x4f6c4f62
mov dword [rbp - 0x70], 0x4f2b4f28
mov dword [rbp - 0x6c], 0x4f6d4f2b
mov dword [rbp - 0x68], 0x4f614f63
mov dword [rbp - 0x64], 0x4f784f7b
mov dword [rbp - 0x60], 0x4f604f74
mov dword [rbp - 0x5c], 0x4f7d4f33
mov dword [rbp - 0x58], 0x4f654f7b
mov dword [rbp - 0x54], 0x4f794f63
mov dword [rbp - 0x50], 0x4f794f77
mov dword [rbp - 0x4c], 0x4f3c4f7e
mov dword [rbp - 0x48], 0x4f784f72
mov dword [rbp - 0x44], 0x4f4b4f3f
mov dword [rbp - 0x40], 0x4f4f4f45
mov dword [rbp - 0x3c], 0x4f544f42
mov dword [rbp - 0x38], 0x4f434f55
mov dword [rbp - 0x34], 0x4f084f55
mov dword [rbp - 0x30], 0x4f5f4f5b
mov dword [rbp - 0x2c], 0x4f424f45
mov dword [rbp - 0x28], 0x4f404f44
mov dword [rbp - 0x24], 0x4f0f4f48
mov dword [rbp - 0x20], 0x4f10
mov byte [rbp - 0x1c], 1
mov ecx, 0x4ee1
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rsp + rbx*2 + 0x40], ax
inc rbx
cmp rbx, 0x51
jb 0x140057be0
mov byte [rbp - 0x1c], 0
lea rdx, [rsp + 0x40]
jmp 0x1400576cb
mov r9d, recv
lea r8, [rbp - 0x10]
mov rdx, qword [0x140096808]
mov rcx, rdi
call fcn.14004d400
test al, al
je 0x1400576e7
mov dl, 1
mov rcx, r12
call r14
mov byte [r15], al
mov r9d, recv
lea r8, [rbp]
mov rdx, qword [0x140096808]
mov rcx, rdi
call fcn.14004d400
mov al, 1
jmp 0x1400576e9