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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [eax]
push edi
xor edi, edi
cmp dword [ebx + 0x29c], edi
mov dword [ebp - 0x4c], str.octet
mov dword [ebp - 0x48], edi
je 0x41e90d
mov dword [ebp - 0x4c], str.netascii
mov eax, dword [ebp + 8]
sub eax, edi
push 3
pop ecx
je 0x41e964
sub eax, ecx
je 0x41e95c
dec eax
je 0x41e958
dec eax
je 0x41e951
dec eax
je 0x41e938
dec eax
je 0x41e964
push str.tftp_send_first:_internal_error
push ebx
call fcn.004144d7
pop ecx
jmp 0x41eb78
cmp dword [ebx + 0x2d0], edi
push 6
je 0x41e95d
mov eax, esi
call fcn.0041e871
mov dword [ebp - 0x48], eax
jmp 0x41eb78
mov dword [esi], ecx
jmp 0x41eb79
push 4
jmp 0x41e942
push ecx
call fcn.0041e8a8
jmp 0x41e949
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x41e97f
mov dword [esi + 8], 0xffffff9e
mov dword [esi], ecx
xor eax, eax
jmp 0x41eb7c
mov eax, dword [esi + 0x160]
cmp dword [ebx + 0x2d0], edi
mov byte [eax], 0
mov eax, dword [esi + 0x160]
je 0x41e9d0
mov byte [eax + 1], 2
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
add eax, 4
mov dword [ecx + 0xdc], eax
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [ebx + 0x1ac]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x41e9d4
push ecx
push eax
push ebx
call fcn.00416425
add esp, 0xc
jmp 0x41e9d4
mov byte [eax + 1], 1
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x8624]
push edi
push edi
inc eax
push eax
push ebx
call fcn.00426171
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [ebp - 0x50], edi
jne 0x41e9fd
push 0x1b
pop eax
jmp 0x41eb7c
mov eax, dword [esi + 0x160]
push 0
push dword [ebp - 0x4c]
inc eax
push 0
push edi
push str._s_c_s_c
push dword [esi + 0x154]
inc eax
push eax
call fcn.0041a145
push edi
call sub.MSVCR80.dll_strlen
push dword [ebp - 0x4c]
mov edi, eax
call sub.MSVCR80.dll_strlen
add esp, 0x24
cmp dword [ebx + 0x2d0], 0
lea edi, [edi + eax + 4]
je 0x41ea6a
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [ebx + 0x1ac]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x41ea6a
push ecx
push eax
push str._lld
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041a145
add esp, 0x14
jmp 0x41ea7a
lea eax, [ebp - 0x44]
push 0x4392b0
push eax
call sub.MSVCR80.dll_strcpy
pop ecx
pop ecx
mov eax, dword [esi + 0x160]
push str.tsize
add eax, edi
push eax
push edi
push esi
call fcn.0041e070
add edi, eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi + 0x160]
add eax, edi
push eax
push edi
push esi
call fcn.0041e070
push dword [esi + 0x158]
add edi, eax
push 0x4379fc
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041a145
mov eax, dword [esi + 0x160]
push str.blksize
add eax, edi
push eax
push edi
push esi
call fcn.0041e070
add edi, eax
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi + 0x160]
add eax, edi
push eax
push edi
push esi
call fcn.0041e070
push dword [esi + 0x1c]
add edi, eax
push 0x4379fc
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0041a145
mov eax, dword [esi + 0x160]
push str.timeout
add eax, edi
push eax
push edi
push esi
call fcn.0041e070
add edi, eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esi + 0x160]
add eax, edi
push eax
push edi
push esi
call fcn.0041e070
add esp, 0x40
add edi, eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x34]
push dword [eax + 0x10]
push dword [eax + 0x18]
push 0
push edi
push dword [esi + 0x160]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, edi
je 0x41eb70
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.0042754d
push eax
push 0x437440
push ebx
call fcn.004144d7
add esp, 0x14
push dword [ebp - 0x50]
call fcn.0040cde3
pop ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b108
leave
ret