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

Disassembly:
sub esp, 0x58
mov eax, dword [0x751f00]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx]
cmp dword [esi + 0x37c], 0
mov ebx, str.octet
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
je 0x423e6c
mov ebx, str.netascii
cmp eax, 7
ja case.0x423e75.1
jmp dword [eax*4 + 0x4241cc]
inc dword [edi + 0x18]
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x20]
jle 0x423ea9
mov dword [edi + 8], 0xffffff9e
mov dword [edi], 3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0055e7fd
add esp, 0x58
ret
cmp dword [esi + 0x3b4], 0
je 0x423efc
mov edx, dword [edi + 0x160]
mov byte [edx], 0
mov eax, dword [edi + 0x160]
mov byte [eax + 1], 2
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x160]
mov eax, dword [edx]
add ecx, 4
mov dword [eax + 0x114], ecx
mov eax, dword [esi + 0x87f0]
mov ecx, dword [esi + 0x87f4]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x423f0f
push ecx
push eax
mov eax, esi
call fcn.004177d0
add esp, 8
jmp 0x423f0f
mov eax, dword [edi + 0x160]
mov byte [eax], 0
mov ecx, dword [edi + 0x160]
mov byte [ecx + 1], 1
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x87c4]
push 0
lea edx, [esp + 0x1c]
push 0
push edx
inc ecx
xor eax, eax
call fcn.00427b40
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4241b6
mov ebp, dword [esp + 0x18]
mov edx, dword [edi + 0x154]
push eax
push ebx
push eax
mov eax, dword [edi + 0x160]
push ebp
push str._s_c_s_c
push edx
add eax, 2
push eax
call fcn.0041e370
mov eax, ebp
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423f65
sub eax, edx
mov edx, eax
mov eax, ebx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423f75
sub eax, ebx
cmp dword [esi + 0x1f4], 0
lea ebx, [eax + edx + 4]
jne 0x424112
cmp dword [esi + 0x3b4], 0
je 0x423fc5
mov eax, dword [esi + 0x87f0]
mov esi, dword [esi + 0x87f4]
mov ecx, eax
and ecx, esi
cmp ecx, 0xffffffff
je 0x423fc5
push esi
push eax
push str._I64d
lea edx, [esp + 0x2c]
push 0x40
push edx
call fcn.0041e370
add esp, 0x14
jmp 0x423fcf
mov eax, 0x30
mov word [esp + 0x20], ax
mov edx, dword [edi + 0x160]
lea ecx, [ebx + 6]
add edx, ebx
cmp ecx, dword [edi + 0x154]
jbe 0x423fe6
xor eax, eax
jmp 0x423ff0
mov esi, str.tsize
call fcn.00423da0
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424001
sub eax, edx
lea edx, [eax + ebx + 1]
cmp edx, dword [edi + 0x154]
jbe 0x42401a
xor eax, eax
jmp 0x424025
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.00423da0
add ebx, eax
mov eax, dword [edi + 0x158]
push eax
push 0x71f5b8
lea ecx, [esp + 0x28]
push 0x40
push ecx
call fcn.0041e370
mov edx, dword [edi + 0x160]
lea eax, [ebx + 8]
add esp, 0x10
add edx, ebx
cmp eax, dword [edi + 0x154]
jbe 0x424059
xor eax, eax
jmp 0x424063
mov esi, str.blksize
call fcn.00423da0
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424074
sub eax, edx
lea ecx, [eax + ebx + 1]
cmp ecx, dword [edi + 0x154]
jbe 0x42408d
xor eax, eax
jmp 0x424098
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.00423da0
mov edx, dword [edi + 0x1c]
push edx
push 0x71f5b8
add ebx, eax
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.0041e370
mov edx, dword [edi + 0x160]
lea ecx, [ebx + 8]
add esp, 0x10
add edx, ebx
cmp ecx, dword [edi + 0x154]
jbe 0x4240c9
xor eax, eax
jmp 0x4240d3
mov esi, str.timeout
call fcn.00423da0
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4240e4
sub eax, edx
lea edx, [eax + ebx + 1]
cmp edx, dword [edi + 0x154]
jbe 0x4240fd
xor eax, eax
jmp 0x424108
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.00423da0
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add ebx, eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0x160]
push ecx
mov ecx, dword [edi + 0x14]
push edx
push 0
push ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, ebx
je 0x42415c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [edi + 0x10]
push edx
mov edi, eax
call fcn.00431bd0
add esp, 4
push eax
push 0x71f628
mov eax, esi
call fcn.0040f9d0
add esp, 8
push ebp
call dword [0x75cccc]
jmp 0x4241af
cmp dword [esi + 0x3b4], 0
push 6
mov esi, edi
je 0x424190
call fcn.00423dc0
mov dword [esp + 0x18], eax
jmp 0x4241af
push 4
mov esi, edi
call fcn.00423dc0
mov dword [esp + 0x18], eax
jmp 0x4241af
push 3
mov esi, edi
call fcn.00423e00
mov dword [esp + 0x18], eax
jmp 0x4241af
mov dword [edi], 3
jmp 0x4241b2
push str.tftp_send_first:_internal_error
mov eax, esi
call fcn.0040f9d0
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055e7fd
add esp, 0x58
ret