Function at 0x14031a9b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x20]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xc0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x14031acc5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
jmp 0x14031aa4b
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14031ac7e
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x18], 0
je 0x14031aa7f
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.ucrtbased.dll_wcslen]
inc rax
mov qword [rsp + 0x98], rax
jmp 0x14031aa8b
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 2
jne 0x14031aaae
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
jmp 0x14031aac9
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x17
jne 0x14031aac4
mov qword [rsp + 0x20], Ordinal_35
jmp 0x14031aac9
jmp 0x14031aa3d
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x14031aae1
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x10], 0
ja 0x14031aae6
jmp 0x14031aa3d
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp qword [rax + 0x10], rcx
jae 0x14031aafb
jmp 0x14031aa3d
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx + 0x30]
mov rcx, rax
call qword [fcn.14015443f]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14031ab2d
mov dword [rsp + 0x60], 8
jmp 0x14031ac7e
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 4]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov r8, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x20]
call fcn.140153aee
cmp qword [rsp + 0x68], 0
je 0x14031ac47
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
add rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x70], 0
jmp 0x14031ac03
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
jae 0x14031ac35
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x70]
movzx eax, byte [rax + r8*2]
mov byte [rcx + rdx], al
jmp 0x14031abf6
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x68]
mov byte [rax + rcx], 0
cmp qword [rsp + 0x38], 0
jne 0x14031ac59
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x40], 0
je 0x14031ac6f
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x14031aa3d
cmp dword [rsp + 0x60], 0
je 0x14031ac9a
mov rcx, qword [rsp + 0x38]
call fcn.140154be2
mov qword [rsp + 0x38], 0
jmp 0x14031acb4
cmp qword [rsp + 0x38], 0
jne 0x14031acb4
mov dword [rsp + 0x60], 0x2af9
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x20], 0
je 0x14031aced
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x20]
call qword [0x1404c9258]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x20], 0
cmp dword [rsp + 0x60], 0
je 0x14031ad47
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14031ad0d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0xa0], eax
jmp 0x14031ad18
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0xa8], ecx
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0xa8], 0
jne 0x14031ad47
mov rax, qword [rsp + 0x48]
mov dword [rax + 0xa8], 8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x80], 0
je 0x14031ad8d
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x48]
call fcn.14031a6c0
mov rcx, qword [rsp + 0x50]
call qword [0x1404acc50]
jmp 0x14031ae33
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
cmp qword [rcx + rax + 0x98], 0xffffffffffffffff
je 0x14031adfc
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x84], 1
mov eax, 8
imul rax, rax, 1
xor r9d, r9d
mov r8d, 1
lea rdx, [rsp + 0x84]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax + 0x98]
call qword [sym.imp.WS2_32.dll_send]
cdqe
test rax, rax
jge 0x14031adfc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0xa8], eax
mov rax, qword [rsp + 0x48]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x14031ae33
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401559a2
add rsp, 0xb0
pop rdi
ret