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

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1400e30a8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r13d, r13d
lea r15, [rsp + 0xa0]
mov byte [rsp + 0x30], r13b
mov rdi, rcx
mov ebp, 0x3e8
mov r14d, r13d
test rcx, rcx
je 0x14004461c
cmp dword [rcx], 0xbab1e
jne 0x14004461c
cmp byte [rcx + 0x182], r13b
je 0x14004437a
lea eax, [r13 + 8]
jmp 0x140044621
mov rsi, qword [rcx + 8]
jmp 0x1400443d9
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140044278
mov r10d, eax
lea r8, [rsp + 0x78]
mov edx, r13d
or r9, 0xffffffffffffffff
bt r10d, edx
jae 0x1400443ad
cmp qword [r8], r9
jae 0x1400443ad
mov r9, qword [r8]
inc r14d
lea ecx, [rdx + 0x10]
movzx eax, cl
bt r10d, eax
jae 0x1400443c4
cmp qword [r8], 0xffffffffffffffff
jae 0x1400443c4
inc r14d
jmp 0x1400443ca
cmp r9, 0xffffffffffffffff
je 0x1400443d5
inc edx
add r8, 8
cmp edx, 5
jb 0x140044398
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140044380
lea rdx, [rsp + 0x34]
mov rcx, rdi
call fcn.140045fd8
cmp dword [rsp + 0x34], 0x3e7
lea eax, [r14 + 1]
cmovbe ebp, dword [rsp + 0x34]
mov dword [rsp + 0x3c], ebp
cmp eax, 0xa
jbe 0x140044426
mov ecx, eax
shl rcx, 4
call qword [str.hM_t_]
mov r15, rax
test rax, rax
jne 0x140044421
lea eax, [rsi + 3]
jmp 0x140044621
mov byte [rsp + 0x30], 1
mov esi, r13d
test r14d, r14d
je 0x140044559
mov rbp, qword [rdi + 8]
test rbp, rbp
je 0x140044559
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.140044278
lea r8, [rsp + 0x78]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], r8
mov r10d, eax
or r9, 0xffffffffffffffff
xor edx, edx
bt r10d, r13d
jae 0x14004448c
cmp qword [r8], r9
jae 0x14004448c
mov r9, qword [r8]
mov ecx, 0x300
mov eax, esi
mov edx, 0x29
add rax, rax
inc esi
mov qword [r15 + rax*8], r9
mov word [r15 + rax*8 + 8], cx
lea ecx, [r13 + 0x10]
movzx eax, cl
bt r10d, eax
jae 0x1400444d6
mov r12, qword [r8]
cmp r12, 0xffffffffffffffff
jae 0x1400444d6
or edx, 0x32
xor r9d, r9d
mov dword [rsp + 0x34], edx
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
mov edx, dword [rsp + 0x34]
mov ecx, reloc.WS2_32.dll_recv
mov eax, esi
add rax, rax
inc esi
mov qword [r15 + rax*8], r12
mov word [r15 + rax*8 + 8], cx
jmp 0x1400444df
mov r12, r9
cmp r9, 0xffffffffffffffff
je 0x140044516
mov r8d, edx
mov rcx, r12
mov rdx, qword [rdi + 0x178]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
jne 0x14004453f
mov r8, qword [rsp + 0x40]
inc r13d
mov r10d, dword [rsp + 0x38]
add r8, 8
mov qword [rsp + 0x40], r8
cmp r13d, 5
jb 0x14004445d
mov rbp, qword [rbp + 8]
xor r13d, r13d
test rbp, rbp
jne 0x14004443f
test esi, esi
je 0x140044559
xor r8d, r8d
mov edx, esi
mov rcx, r15
call fcn.14005d5b8
mov esi, eax
test eax, eax
jg 0x14004457a
jmp 0x14004455c
cmp byte [rsp + 0x30], 0
je 0x14004454f
mov rcx, r15
call qword [fcn.140093ea8]
mov eax, 4
jmp 0x140044621
mov esi, r13d
mov r9d, dword [rsp + 0x3c]
lea rdx, [rdi + 0x178]
xor r8d, r8d
mov dword [rsp + 0x20], r13d
lea ecx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test esi, esi
jns 0x140044588
mov eax, listen
jmp 0x140044621
test r14d, r14d
je 0x1400445fb
mov rsi, qword [rdi + 8]
jmp 0x1400445f6
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140044278
mov r12d, eax
lea r14, [rsp + 0x78]
mov ebp, r13d
mov ecx, ebp
mov edx, 1
shl edx, cl
lea ecx, [rbp + 0x10]
bts edx, ecx
test r12d, edx
je 0x1400445f2
mov rcx, qword [r14]
lea r8, [rsp + 0x48]
xor edx, edx
mov dword [rsp + 0x48], r13d
call qword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov rdx, qword [rdi + 0x178]
xor r8d, r8d
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
inc ebp
add r14, 8
cmp ebp, 5
jb 0x1400445ab
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140044593
mov rcx, qword [rdi + 0x178]
call qword [sym.imp.WS2_32.dll_WSAResetEvent]
cmp byte [rsp + 0x30], r13b
je 0x140044618
mov rcx, r15
call qword [fcn.140093ea8]
xor eax, eax
jmp 0x140044621
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140089130
lea r11, [rsp + 0x150]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret