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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400ae0c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x1400af844], eax
jle 0x14000427b
lea rcx, [0x1400af844]
call fcn.140083760
cmp dword [0x1400af844], 0xffffffff
jne 0x14000427b
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
lea ecx, [rbx + 0x20]
call fcn.1400837d8
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x27], Ordinal_27
mov qword [rbp + 0x2f], Ordinal_35
movups xmm0, xmmword [str.MmProtectMdlSystemAddress]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400974e8]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [reloc.WS2_32.dll_WSAStartup]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], bl
lea r8, [rbp + 0x17]
mov rdx, qword [0x1400af3d8]
mov rcx, rdi
call fcn.1400049f0
mov qword [0x1400af808], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14000426f
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004269
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004269
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400836b0
nop
lea rcx, [0x1400af844]
call fcn.1400836f4
mov r8, qword [0x1400af808]
test r8, r8
jne 0x140004379
mov dword [rbp - 0x49], 0xa4d0a30
mov dword [rbp - 0x45], 0xa4e0a30
mov dword [rbp - 0x41], 0xa110a29
mov dword [rbp - 0x3d], 0xa1e0a18
mov dword [rbp - 0x39], 0xa100a16
mov dword [rbp - 0x35], 0xa020a55
mov dword [rbp - 0x31], 0xa580a18
mov dword [rbp - 0x2d], 0xa130a1f
mov dword [rbp - 0x29], 0xa180a15
mov dword [rbp - 0x25], 0xa330a5d
mov dword [rbp - 0x21], 0xad00a12
mov dword [rbp - 0x1d], 0xaed0af3
mov dword [rbp - 0x19], 0xae10af7
mov dword [rbp - 0x15], 0xaf20ae6
mov dword [rbp - 0x11], 0xaec0aca
mov dword [rbp - 0xd], 0xad90ae5
mov dword [rbp - 9], 0xaff0af2
mov dword [rbp - 5], 0xaeb0af9
mov dword [rbp - 1], 0xad10ae2
mov dword [rbp + 3], 0xaf60af5
mov dword [rbp + 7], 0xaf10ae1
mov dword [rbp + 0xb], 0xae50ae6
mov word [rbp + 0xf], bx
mov byte [rbp + 0x11], 1
mov ecx, 0xa6b
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x2c
jb 0x140004340
mov byte [rbp + 0x11], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000b2d0
lea rdx, [0x14000b4b0]
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
jmp 0x14000439b
mov dword [rsp + 0x20], 0x40
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.14000c220
test al, al
je 0x140004375
cmp dword [rbp + 0x37], 0
setge al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140083690
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret