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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x91c
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4574ab]
push ebx
push esi
push edi
push 0x7f
mov byte [ebp - 0x108], al
mov edi, ecx
lea eax, [ebp - 0x107]
mov dword [ebp - 0x918], edi
push 0
push eax
call fcn.004520c0
mov al, byte [0x4574ab]
add esp, 0xc
mov byte [ebp - 0x88], al
lea eax, [ebp - 0x87]
push 0x7f
push 0
push eax
call fcn.004520c0
mov ebx, dword [edi + 0x134]
add esp, 0xc
mov eax, dword [edi + 0xc]
mov ecx, edi
mov dword [ebp - 0x914], eax
mov dword [ebp - 0x910], ebx
mov eax, dword [ebx + 0x1eb8]
sub eax, dword [ebx + 0x1eb4]
add eax, 2
push eax
lea eax, [ebx + 0x1cb4]
push eax
push 0x3c
pop edx
call fcn.0043eb8a
mov eax, dword [ebx + 0x1eb4]
pop ecx
pop ecx
mov cl, byte [eax]
inc eax
mov dword [ebx + 0x1eb4], eax
cmp cl, 0x18
je 0x43f389
cmp cl, 0x23
je 0x43f365
cmp cl, 0x27
jne 0x43f41b
push 0
push 0x27
push 0xfa
mov ebx, 0xff
lea eax, [ebp - 0x908]
push ebx
push str._c_c_c_c
push 0x800
push eax
call fcn.0041201d
mov eax, dword [ebp - 0x910]
add esp, 0x1c
mov eax, dword [eax + 0x1cb0]
mov dword [ebp - 0x910], eax
push 4
pop esi
test eax, eax
je 0x43f303
mov edi, 0x800
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f22b
sub ecx, edx
lea eax, [esi + 1]
add eax, ecx
cmp eax, 0x7fa
jae 0x43f2e6
mov al, byte [0x4574ab]
mov byte [ebp - 0x90c], al
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90c]
mov byte [ebp - 0x88], 0
push eax
lea eax, [ebp - 0x108]
mov byte [ebp - 0x90b], 0
push eax
mov eax, dword [ebp - 0x910]
push str._127____1____127s
push dword [eax]
call fcn.00403857
add esp, 0x14
cmp eax, 1
jne 0x43f2b2
lea eax, [ebp - 0x108]
push eax
push 0
mov eax, edi
sub eax, esi
push str._c_s
push eax
lea eax, [ebp - 0x908]
add eax, esi
push eax
call fcn.0041201d
add esp, 0x14
jmp 0x43f2e4
cmp eax, 2
jl 0x43f2e6
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x108]
push eax
push 0
mov eax, edi
sub eax, esi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x908]
add eax, esi
push eax
call fcn.0041201d
add esp, 0x1c
add esi, eax
mov eax, dword [ebp - 0x910]
mov eax, dword [eax + 4]
mov dword [ebp - 0x910], eax
test eax, eax
jne 0x43f226
mov edi, dword [ebp - 0x918]
push 0xf0
push ebx
mov eax, 0x800
sub eax, esi
push 0x4692ec
push eax
lea eax, [ebp - 0x908]
add eax, esi
push eax
call fcn.0041201d
add esp, 0x14
lea eax, [esi + 2]
push 0
push eax
lea eax, [ebp - 0x908]
push eax
mov eax, dword [ebp - 0x914]
push dword [eax + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43f35f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0041d6ad
add esp, 0xc
push esi
jmp 0x43f408
lea edx, [ebx + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f370
push 0xf0
mov ebx, 0xff
push ebx
push edx
push 0
push 0x23
jmp 0x43f3ab
lea edx, [ebx + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f394
push 0xf0
mov ebx, 0xff
push ebx
push edx
push 0
push 0x18
push 0xfa
push ebx
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x908]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.0041201d
add esp, 0x28
lea eax, [ebp - 0x908]
push 0
push esi
push eax
mov eax, dword [ebp - 0x914]
push dword [eax + 0x150]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43f404
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0041d6ad
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x906]
mov ecx, edi
push eax
push 0x3e
pop edx
call fcn.0043eb8a
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450ca6
leave
ret