Function at 0x18000dcf0
Capabilities:
Get hostname
Get session user name
Get socket status
Identify system language via api
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x18004f040]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
sub ecx, 0x409
je 0x18000dd6a
sub ecx, 9
je 0x18000dd61
sub ecx, 0xc
je 0x18000dd58
cmp ecx, 0x3e6
je 0x18000dd4f
mov edx, 8
movzx r8d, ax
jmp 0x18000dd76
lea r8, [0x180045c40]
jmp 0x18000dd71
lea r8, [0x180045c58]
jmp 0x18000dd71
lea r8, [0x180045c48]
jmp 0x18000dd71
lea r8, [0x180045c50]
mov edx, 5
lea rcx, [rbp + 0x1a0]
call fcn.18001ac84
mov edx, 0x80
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xorps xmm0, xmm0
mov dword [rsp + 0x50], gethostbyname
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x230]
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea r8, str.User:
mov edx, 0x80
lea rcx, [rbp + 0x1b0]
call fcn.18001c248
lea r8, [rbp + 0x230]
mov edx, 0x80
lea rcx, [rbp + 0x1b0]
call fcn.18001c248
movzx eax, word [rbp - 0x7e]
lea r9, [rbp + 0x1b0]
movzx ecx, word [rbp - 0x80]
lea r8, [rbp + 0x3a0]
mov dword [rsp + 0x30], eax
lea rdx, str._r_n_s___s____s____d:_d__r_n
mov dword [rsp + 0x28], ecx
lea rax, [rbp + 0x1a0]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18000caf0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov ecx, edi
xor esi, esi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], rsi
lea r8, [rsp + 0x58]
mov dword [rsp + 0x70], eax
mov edx, 0x98000004
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 0xc]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x60], 0x1b58
mov dword [rsp + 0x5c], 0x7530
mov r14d, edi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov ebx, esi
xor r9d, r9d
mov qword [rbp - 0x68], rdi
xor r8d, r8d
mov dword [rbp - 0x70], 1
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], rsi
lea ecx, [r14 + 1]
call qword [sym.imp.WS2_32.dll_select]
inc eax
cmp eax, 1
jbe 0x18000df89
xor r9d, r9d
movsxd rax, ebx
lea rdx, [rbp + 0x270]
mov rcx, rdi
add rdx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x18000df89
add ebx, eax
lea rcx, [rbp + 0x270]
movsxd rax, ebx
add rcx, rax
mov byte [rcx], sil
cmp ebx, 1
jne 0x18000df4b
cmp byte [rbp + 0x270], 0xa
jne 0x18000ded2
mov byte [rbp + 0x270], sil
jmp 0x18000df72
cmp ebx, 2
jl 0x18000df56
cmp byte [rcx - 1], 0xa
je 0x18000df64
cmp ebx, 0x128
jl 0x18000ded2
jmp 0x18000df89
cmp byte [rcx - 2], 0xd
mov byte [rcx - 1], sil
jne 0x18000df72
mov byte [rcx - 2], sil
lea rdx, [rbp + 0x270]
mov rcx, rdi
call fcn.18000cfe0
test eax, eax
jne 0x18000ded0
lea rcx, [0x180054de8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x180054dd0]
mov r8, qword [0x180054dd8]
test eax, eax
jle 0x18000e014
cmp qword [r8 + 0x10], rdi
je 0x18000dfb9
mov r8, qword [r8 + 8]
inc esi
cmp esi, eax
jl 0x18000dfa7
jmp 0x18000e014
test eax, eax
je 0x18000e014
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rax, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rcx], rax
mov rax, qword [0x180054dd8]
cmp r8, rax
jne 0x18000dfeb
mov rax, qword [rax + 8]
mov qword [0x180054dd8], rax
jmp 0x18000e001
mov rdx, qword [0x180054de0]
cmp r8, rdx
jne 0x18000e001
mov rdx, qword [rdx]
mov qword [0x180054de0], rdx
mov edx, 0x28
mov rcx, r8
call fcn.18001115c
dec dword [0x180054dd0]
lea rcx, [0x180054de8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.180011100
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret