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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x1401a7008]
xor rax, rbp
mov qword [rbp + 0x4b8], rax
lea rcx, [0x1401b9255]
call fcn.14007a304
lea rax, [0x1401aa70e]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 0x10000
mov byte [rbp + 0x324], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x1401aa798]
mov qword [rbp + rax + 8], rcx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [0x1401aa790]
mov qword [rbp + rax + 8], rcx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [0x1401aaa28]
mov qword [rbp + rax + 8], rcx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [0x1401aa6c0]
mov qword [rbp + rax + 8], rcx
mov eax, dword [rbp + 0xa4]
mov ecx, dword [rbp + 0x4e8]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x4e0]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [0x1401aa6c8]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0xffffffff
je 0x14008493b
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xa4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0xa4], eax
jmp 0x140084bb2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140084b75
mov dword [rbp + 0xe4], 0x10000
mov dword [rsp + 0x20], 0
mov r9d, 0x1388
xor r8d, r8d
lea rdx, [rbp + 8]
mov ecx, 4
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x4b4], eax
cmp dword [rbp + 0x4b4], 0
je 0x1400849ab
cmp dword [rbp + 0x4b4], 1
je 0x1400849ab
cmp dword [rbp + 0x4b4], 2
je 0x1400849ab
cmp dword [rbp + 0x4b4], 3
je 0x1400849f1
jmp 0x140084b10
lea r9, [rbp + 0x48]
xor r8d, r8d
mov edx, 0xc0054034
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x1400849db
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
mov dword [rbp + 0xe4], 1
jmp 0x140084b4d
lea r8, [0x1401aa694]
mov rdx, qword [0x1401aa6c0]
mov rcx, qword [0x1401aa6c8]
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
test eax, eax
je 0x140084a52
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005400e
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084a46
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
jmp 0x140084b0e
cmp dword [0x1401aa694], 0
jne 0x140084a65
jmp 0x140084b4d
cmp dword [0x1401aa694], 0x20
jne 0x140084aad
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc0054020
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084aa4
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
jmp 0x140084b0e
mov eax, 4
imul rax, rax, 1
lea rcx, [0x1401aa698]
cmp dword [rcx + rax], 0
jne 0x140084ad1
mov dword [rbp + 0xe4], 1
jmp 0x140084b4d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc0054024
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084b07
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
jmp 0x140084b4d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005400f
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084b46
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
movzx eax, byte [rbp + 0x324]
test eax, eax
jne 0x140084b73
mov eax, dword [rbp + 0xe4]
dec eax
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
jne 0x140084956
jmp 0x140084bb2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc005401b
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084bab
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
mov eax, dword [rbp + 0xa4]
cmp dword [rbp + 0x4e8], eax
je 0x140084bf2
movzx eax, byte [rbp + 0x324]
test eax, eax
jne 0x140084bf2
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0x4b4], eax
mov eax, dword [rbp + 0xc4]
dec eax
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0x4b4], 0
jne 0x1400848d7
mov rcx, qword [0x1401aa6c0]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
test eax, eax
jne 0x140084c40
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, [rbp + 0x48]
mov r8d, eax
mov edx, 0xc0054024
lea rcx, [rbp + 0x110]
call fcn.14007907b
movzx eax, al
test eax, eax
je 0x140084c39
lea rdx, [rbp + 0x110]
mov ecx, 0xc0054023
call fcn.14007826b
mov byte [rbp + 0x324], 1
movzx eax, byte [rbp + 0x324]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140079a35
mov eax, edi
mov rcx, qword [rbp + 0x4b8]
xor rcx, rbp
call fcn.140078919
lea rsp, [rbp + 0x4c8]
pop rdi
pop rbp
ret