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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x547e80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [eax]
xor edx, edx
push edi
mov dword [ebp - 0x4c], str.octet
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], edx
cmp dword [ebx + 0x2ec], edx
je 0x41f6e8
mov dword [ebp - 0x4c], str.netascii
mov eax, dword [ebp + 8]
sub eax, edx
push 3
pop ecx
je 0x41f73f
sub eax, ecx
je 0x41f737
dec eax
je 0x41f733
dec eax
je 0x41f72c
dec eax
je 0x41f713
dec eax
je 0x41f73f
push str.tftp_send_first:_internal_error
push ebx
call fcn.00410708
pop ecx
jmp 0x41f939
push 6
cmp dword [ebx + 0x324], edx
je 0x41f738
mov eax, esi
call fcn.0041f641
mov dword [ebp - 0x48], eax
jmp 0x41f939
mov dword [esi], ecx
jmp 0x41f93a
push 4
jmp 0x41f71d
push ecx
call fcn.0041f67b
jmp 0x41f724
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x41f75a
mov dword [esi + 8], 0xffffff9e
mov dword [esi], ecx
xor eax, eax
jmp 0x41f93d
lea edi, [esi + 0x160]
mov eax, edi
cmp dword [ebx + 0x324], edx
je 0x41f7a4
push 2
pop ecx
call fcn.0041ebe8
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
add eax, 4
mov dword [ecx + 0x114], eax
mov eax, dword [ebx + 0x86e8]
mov ecx, dword [ebx + 0x86ec]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x41f7ac
push ecx
push eax
push ebx
call fcn.00417aa3
add esp, 0xc
jmp 0x41f7ac
xor ecx, ecx
inc ecx
call fcn.0041ebe8
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x86b8]
push 0
push 0
inc eax
push eax
push ebx
call fcn.0042bad8
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x54], ebx
test ebx, ebx
jne 0x41f7d7
push 0x1b
pop eax
jmp 0x41f93d
mov eax, dword [edi]
push 0
push dword [ebp - 0x4c]
add eax, 2
push 0
push ebx
push str._s_c_s_c
push dword [esi + 0x154]
push eax
call fcn.00413966
push ebx
call fcn.00445aa0
push dword [ebp - 0x4c]
mov ebx, eax
call fcn.00445aa0
lea ebx, [ebx + eax + 4]
mov eax, dword [ebp - 0x50]
add esp, 0x24
cmp dword [eax + 0x324], 0
je 0x41f844
mov ecx, dword [eax + 0x86e8]
mov eax, dword [eax + 0x86ec]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x41f844
push eax
push ecx
push str._I64d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00413966
add esp, 0x14
jmp 0x41f854
lea eax, [ebp - 0x44]
push 0x4ffb58
push eax
call fcn.004477c0
pop ecx
pop ecx
mov eax, dword [edi]
push str.tsize
add eax, ebx
push eax
push ebx
push esi
call fcn.0041ee36
add ebx, eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push ebx
push esi
call fcn.0041ee36
push dword [esi + 0x158]
add ebx, eax
push 0x4ffd04
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00413966
mov eax, dword [edi]
push str.blksize
add eax, ebx
push eax
push ebx
push esi
call fcn.0041ee36
add ebx, eax
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push ebx
push esi
call fcn.0041ee36
push dword [esi + 0x1c]
add ebx, eax
push 0x4ffd04
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00413966
mov eax, dword [edi]
push str.timeout
add eax, ebx
push eax
push ebx
push esi
call fcn.0041ee36
add ebx, eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push ebx
push esi
call fcn.0041ee36
add esp, 0x40
add ebx, eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x4c]
push dword [eax + 0x10]
push dword [eax + 0x18]
push 0
push ebx
push dword [edi]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, ebx
je 0x41f930
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.00414bcb
push eax
push 0x500750
push dword [ebp - 0x50]
call fcn.00410708
add esp, 0x14
push dword [ebp - 0x54]
call dword [0x5476e8]
pop ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00446098
leave
ret