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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, qword [rsp + 0xb8]
mov r13d, dword [rsp + 0xb0]
lea rbp, [rdx + 0x40]
mov rbx, rdx
mov dword [rdx + 8], 3
mov qword [rbx + 0x80], r8
mov qword [rdx + 0x40], 0
mov rdi, rcx
mov qword [rdx + 0x48], 0
mov qword [rdx + 0x70], rax
mov rsi, r8
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov r12, r9
test byte [r8 + 0x5a], 0x10
je 0x456028
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [rbx + 0xa0], rax
je 0x4563c8
or rax, 1
mov qword [rbx + 0xa8], 0xffffffffffffffff
mov qword [rbx + 0x58], rax
mov rcx, qword [rsi + 0x110]
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov rdx, r12
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x456100
mov edx, dword [rsi + 0x58]
test edx, 0x40000
je 0x456290
mov eax, dword [rsi + 0x7c]
mov qword [rbx + 0x60], 0
add dword [rsi + 0x78], 1
add dword [rsi + 0x100], 1
mov r8d, eax
lea ecx, [rax + 1]
test r8d, r8d
mov eax, ecx
mov dword [rsi + 0x7c], ecx
jne 0x4561ff
test dl, 1
jne 0x4561c0
test dl, 0x40
je 0x4561e8
nop dword [rax]
lea rax, [rdi + 0x20]
mov qword [rbx + 0x10], rax
mov rdx, qword [rdi + 0x28]
lea rax, [rbx + 0x10]
mov qword [rbx + 0x18], rdx
mov qword [rdx], rax
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x68], 0
test rax, rax
je 0x4561a1
mov rdx, qword [rax + 0x68]
mov qword [rbx + 0x68], rdx
mov qword [rax + 0x68], rbx
mov qword [rdi + 0x48], rbx
xor eax, eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x456290
mov eax, dword [rsi + 0x7c]
mov qword [rbx + 0x60], 0
add dword [rsi + 0x78], 1
add dword [rsi + 0x100], 1
mov ecx, eax
lea edx, [rax + 1]
test ecx, ecx
mov eax, edx
mov dword [rsi + 0x7c], edx
jne 0x456264
mov edx, dword [rsi + 0x58]
test dl, 1
jne 0x456225
test dl, 0x40
je 0x45624d
nop
lea rax, [rdi + 0x20]
mov rsi, qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbx + 0x10], rax
mov rdx, qword [rdi + 0x28]
lea rax, [rbx + 0x10]
mov qword [rbx + 0x18], rdx
mov qword [rdx], rax
mov qword [rdi + 0x28], rax
call rsi
test eax, eax
jle 0x456364
call rsi
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbx + 0x40], rax
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x68], 0
test rax, rax
jne 0x4560e0
xor eax, eax
mov qword [rbx + 0x68], rbx
mov qword [rdi + 0x48], rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b2588]
mov r8d, 0x37a
call fcn.00480c40
mov edx, dword [rsi + 0x58]
test dl, 0x40
jne 0x4563e0
mov eax, dword [rsi + 0x7c]
mov ecx, edx
or ecx, 0x40
and edx, 0x20
mov dword [rsi + 0x58], ecx
je 0x4561fd
mov rdx, qword [rsi + 8]
add dword [rdx + 8], 1
mov ecx, eax
test ecx, ecx
jg 0x4560b0
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25b8]
mov r8d, 0x37a
call fcn.00480c40
jmp 0x4560b0
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b2588]
mov r8d, 0x38f
call fcn.00480c40
mov edx, dword [rsi + 0x58]
test dl, 0x40
jne 0x4563f0
mov eax, dword [rsi + 0x7c]
mov ecx, edx
or ecx, 0x40
and edx, 0x20
mov dword [rsi + 0x58], ecx
je 0x456262
mov rdx, qword [rsi + 8]
add dword [rdx + 8], 1
mov edx, eax
test edx, edx
jg 0x456150
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25b8]
mov r8d, 0x38f
call fcn.00480c40
jmp 0x456150
mov edx, r13d
mov rcx, r12
call fcn.00440140
mov qword [rbx + 0x60], rax
mov eax, dword [rsi + 0x7c]
add dword [rsi + 0x78], 1
add dword [rsi + 0x100], 1
mov ecx, eax
lea edx, [rax + 1]
test ecx, ecx
mov eax, edx
mov dword [rsi + 0x7c], edx
jne 0x4562e3
mov edx, dword [rsi + 0x58]
test dl, 1
jne 0x456370
test dl, 0x40
jne 0x4562ee
mov ecx, edx
or ecx, 0x40
and edx, 0x20
mov dword [rsi + 0x58], ecx
je 0x4562e1
mov rdx, qword [rsi + 8]
add dword [rdx + 8], 1
mov edx, eax
test edx, edx
jle 0x4563a0
mov edx, dword [rsi + 0x58]
lea rax, [rdi + 0x20]
mov qword [rbx + 0x10], rax
mov rcx, qword [rdi + 0x28]
lea rax, [rbx + 0x10]
mov qword [rbx + 0x18], rcx
mov qword [rcx], rax
mov qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x60]
add qword [rsi + 0x60], rax
and edx, 0x100000
je 0x4560f0
mov rdx, qword [rbx + 0xa0]
lea rcx, [rbx + 0xa8]
mov dword [rsp + 0x28], 0xc
mov dword [rsp + 0x20], 0xffffffff
mov r9, rbx
lea r8, [0x00455200]
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x4560f0
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
test eax, eax
jg 0x45617c
call rsi
cdqe
jmp 0x456188
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b2588]
mov r8d, 0x381
call fcn.00480c40
mov edx, dword [rsi + 0x58]
test dl, 0x40
je 0x4563c0
mov edx, dword [rsi + 0x7c]
jmp 0x4562e3
lea rdx, str.src_win_tcp.c
lea rcx, [0x004b25b8]
mov r8d, 0x381
call fcn.00480c40
jmp 0x4562eb
mov eax, dword [rsi + 0x7c]
jmp 0x4562cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x004b2549]
mov ecx, eax
call fcn.00441940
nop dword [rax]
mov ecx, dword [rsi + 0x7c]
jmp 0x4561ff
mov edx, dword [rsi + 0x7c]
jmp 0x456264