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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bd9f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57bbb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
cmp dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
je 0x43f92b
mov esi, 0x14
test edi, edi
je 0x43f6ce
mov ecx, dword [edi + 4]
mov eax, 0x66666667
sub ecx, dword [edi]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax*4 + 0x14]
push 0x14
call fcn.004c9401
mov ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
add esi, dword [ebp - 0x2c]
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
lea eax, [esi + 4]
push eax
call fcn.004c943f
mov edx, eax
add esp, 8
mov dword [ebx], edx
mov eax, dword [ebx + 8]
lea ecx, [eax + 4]
cmp ecx, dword [ebx + 4]
jle 0x43f71b
mov dword [ebx + 0x10], 1
mov ecx, eax
jmp 0x43f735
mov dword [eax + edx], 0xdeadbeef
mov eax, dword [ebx + 8]
add eax, 4
mov ecx, eax
mov dword [ebx + 8], eax
cmp dword [ebx + 0xc], eax
jge 0x43f735
mov dword [ebx + 0xc], eax
add eax, 4
cmp eax, dword [ebx + 4]
jle 0x43f746
mov dword [ebx + 0x10], 1
jmp 0x43f75c
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f75c
mov dword [ebx + 0xc], ecx
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f76d
mov dword [ebx + 0x10], 1
jmp 0x43f787
mov eax, dword [ebx]
mov dword [eax + ecx], 2
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f787
mov dword [ebx + 0xc], ecx
test edi, edi
je 0x43f847
mov edx, dword [edi + 4]
mov eax, 0x66666667
sub edx, dword [edi]
imul edx
lea eax, [ecx + 4]
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp eax, dword [ebx + 4]
jle 0x43f7b5
mov dword [ebx + 0x10], 1
jmp 0x43f7cb
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f7cb
mov dword [ebx + 0xc], ecx
mov esi, dword [edi]
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x66666667
mov edx, dword [edi + 4]
sub edx, esi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43f872
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [eax + esi]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f809
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x10], 1
jmp 0x43f81f
mov eax, dword [ebx]
mov dword [eax + ecx], edx
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f81f
mov dword [ebx + 0xc], ecx
mov edx, dword [edi + 4]
mov eax, 0x66666667
mov esi, dword [edi]
sub edx, esi
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 5
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jb 0x43f7f2
jmp 0x43f872
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f858
mov dword [ebx + 0x10], 1
jmp 0x43f872
mov eax, dword [ebx]
mov dword [eax + ecx], 0
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f872
mov dword [ebx + 0xc], ecx
mov esi, dword [ebp - 0x2c]
lea eax, [ecx + 4]
cmp eax, dword [ebx + 4]
jle 0x43f886
mov dword [ebx + 0x10], 1
jmp 0x43f89c
mov eax, dword [ebx]
mov dword [eax + ecx], esi
mov ecx, dword [ebx + 8]
add ecx, 4
mov dword [ebx + 8], ecx
cmp dword [ebx + 0xc], ecx
jge 0x43f89c
mov dword [ebx + 0xc], ecx
lea eax, [ecx + esi]
cmp eax, dword [ebx + 4]
jle 0x43f8ad
mov dword [ebx + 0x10], 1
jmp 0x43f8cc
mov eax, dword [ebx]
push esi
push dword [ebp - 0x30]
add eax, ecx
push eax
call fcn.004e7f40
add dword [ebx + 8], esi
add esp, 0xc
mov eax, dword [ebx + 8]
cmp dword [ebx + 0xc], eax
jge 0x43f8cc
mov dword [ebx + 0xc], eax
test byte [ebp + 0x10], 1
je 0x43f949
mov eax, dword [0x592200]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43f917
mov ecx, dword [ebp - 0x34]
mov eax, 2
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx]
mov word [ebp - 0x20], ax
mov eax, dword [ecx + 0x28]
push dword [ecx + 0x24]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x30]
push 0
push esi
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_sendto]
push 1
push dword [ebx]
call fcn.004c9431
push 0x14
push ebx
call fcn.004c9431
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c90dc
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x34]
push 0
push dword [ebx + 0xc]
mov eax, dword [esi + 0x5c]
push dword [ebx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x43f917
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [esi + 0x60]
call fcn.004400e0
cmp al, 1
je 0x43f917
push ebx
lea ecx, [esi + 0x60]
call fcn.0043ff50
jmp 0x43f92b