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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4931e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, str.netascii
push 3
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov eax, str.octet
mov dword [ebp - 0x50], ecx
cmp dword [ecx + 0x2a4], ebx
cmove edi, eax
pop eax
sub edx, ebx
je 0x4371ea
sub edx, eax
je 0x4371e4
dec edx
je 0x4371d8
dec edx
je 0x4371d1
dec edx
je 0x4371b8
dec edx
je 0x4371ea
push str.tftp_send_first:_internal_error
push ecx
call fcn.00428799
pop ecx
jmp 0x437491
cmp dword [ecx + 0x2dc], ebx
mov ecx, esi
push 6
pop edx
jne 0x4371dd
call fcn.00437122
mov ebx, eax
jmp 0x437492
mov dword [esi], eax
jmp 0x437492
push 4
pop edx
mov ecx, esi
call fcn.004370e6
jmp 0x4371ca
mov edx, eax
mov ecx, esi
jmp 0x4371c5
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x437209
mov dword [esi + 8], 0xffffff9e
xor eax, eax
mov dword [esi], 3
jmp 0x437494
mov eax, dword [esi + 0x160]
cmp dword [ecx + 0x2dc], ebx
mov byte [eax], bl
mov eax, dword [esi + 0x160]
je 0x43725e
mov byte [eax + 1], 2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x160]
add ecx, 4
mov eax, dword [eax]
mov dword [eax + 0xdc], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x1b0]
mov eax, edx
and eax, dword [ecx + 0x1b4]
cmp eax, 0xffffffff
je 0x437262
push dword [ecx + 0x1b4]
push edx
call fcn.0042f208
add esp, 8
jmp 0x437262
mov byte [eax + 1], 1
mov eax, dword [esi + 0x10]
push ebx
push ebx
mov eax, dword [eax]
mov edx, dword [eax + 0x8658]
inc edx
call fcn.00421030
mov dword [ebp - 0x54], eax
pop ecx
pop ecx
test eax, eax
jne 0x437286
push 0x1b
pop eax
jmp 0x437494
push ebx
push edi
push ebx
push eax
mov eax, dword [esi + 0x160]
push str._s_c_s_c
push dword [esi + 0x154]
add eax, 2
push eax
call fcn.00422167
mov ecx, dword [ebp - 0x54]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4372ad
sub ecx, edx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4372b9
mov eax, dword [ebp - 0x50]
sub edi, edx
add edi, 4
add edi, ecx
cmp dword [eax + 0x2dc], ebx
je 0x4372fe
mov ecx, dword [eax + 0x1b0]
mov edx, dword [eax + 0x1b4]
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x4372fe
push edx
push ecx
push str._lld
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.00422167
add esp, 0x14
jmp 0x437305
push 0x30
pop eax
mov word [ebp - 0x48], ax
mov ecx, dword [esi + 0x160]
lea eax, [edi + 6]
add ecx, edi
cmp eax, dword [esi + 0x154]
jbe 0x43731c
mov eax, ebx
jmp 0x437326
mov edx, str.tsize
call fcn.004370c6
add edi, eax
lea ecx, [ebp - 0x48]
mov eax, dword [esi + 0x160]
lea edx, [ecx + 1]
add eax, edi
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437339
sub ecx, edx
lea eax, [edi + 1]
add eax, ecx
cmp eax, dword [esi + 0x154]
jbe 0x437353
mov eax, ebx
jmp 0x43735e
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004370c6
push dword [esi + 0x158]
add edi, eax
lea eax, [ebp - 0x48]
push 0x4854bc
push 0x40
push eax
call fcn.00422167
mov ecx, dword [esi + 0x160]
lea eax, [edi + 8]
add esp, 0x10
add ecx, edi
cmp eax, dword [esi + 0x154]
jbe 0x437390
mov eax, ebx
jmp 0x43739a
mov edx, str.blksize
call fcn.004370c6
add edi, eax
lea ecx, [ebp - 0x48]
mov eax, dword [esi + 0x160]
lea edx, [ecx + 1]
add eax, edi
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4373ad
sub ecx, edx
lea eax, [edi + 1]
add eax, ecx
cmp eax, dword [esi + 0x154]
jbe 0x4373c7
mov eax, ebx
jmp 0x4373d2
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004370c6
push dword [esi + 0x1c]
add edi, eax
lea eax, [ebp - 0x48]
push 0x4854bc
push 0x40
push eax
call fcn.00422167
mov ecx, dword [esi + 0x160]
lea eax, [edi + 8]
add esp, 0x10
add ecx, edi
cmp eax, dword [esi + 0x154]
jbe 0x437401
mov eax, ebx
jmp 0x43740b
mov edx, str.timeout
call fcn.004370c6
add edi, eax
lea ecx, [ebp - 0x48]
mov eax, dword [esi + 0x160]
lea edx, [ecx + 1]
add eax, edi
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43741e
sub ecx, edx
lea eax, [edi + 1]
add eax, ecx
cmp eax, dword [esi + 0x154]
jbe 0x437438
mov eax, ebx
jmp 0x437443
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004370c6
add edi, eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x3c]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
push edi
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, edi
je 0x437488
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0x10]
mov edx, eax
call fcn.00440317
mov ecx, dword [ebp - 0x50]
push eax
push 0x485544
push ecx
call fcn.00428799
add esp, 0xc
push dword [ebp - 0x54]
call dword [0x493210]
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047259d
mov esp, ebp
pop ebp
ret