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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x48a9f8]
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 0x431af4
mov dword [ebp - 0x4c], str.netascii
mov eax, dword [ebp + 8]
sub eax, edx
push 3
pop ecx
je 0x431b4b
sub eax, ecx
je 0x431b43
dec eax
je 0x431b3f
dec eax
je 0x431b38
dec eax
je 0x431b1f
dec eax
je 0x431b4b
push str.tftp_send_first:_internal_error
push ebx
call fcn.00425257
pop ecx
jmp 0x431d44
push 6
cmp dword [ebx + 0x324], edx
je 0x431b44
mov eax, esi
call fcn.00431a55
mov dword [ebp - 0x48], eax
jmp 0x431d44
mov dword [esi], ecx
jmp 0x431d45
push 4
jmp 0x431b29
push ecx
call fcn.00431a8c
jmp 0x431b30
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x431b66
mov dword [esi + 8], 0xffffff9e
mov dword [esi], ecx
xor eax, eax
jmp 0x431d48
lea edi, [esi + 0x160]
mov eax, edi
cmp dword [ebx + 0x324], edx
je 0x431bb0
push 2
pop ecx
call fcn.00431025
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 + 0x86f0]
mov ecx, dword [ebx + 0x86f4]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x431bb8
push ecx
push eax
push ebx
call fcn.0043e588
add esp, 0xc
jmp 0x431bb8
xor ecx, ecx
inc ecx
call fcn.00431025
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x86c0]
push 0
push 0
inc eax
push eax
push ebx
call fcn.0043de5c
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x54], ebx
test ebx, ebx
jne 0x431be3
push 0x1b
pop eax
jmp 0x431d48
mov eax, dword [edi]
push 0
push dword [ebp - 0x4c]
inc eax
push 0
push ebx
push str._s_c_s_c
push dword [esi + 0x154]
inc eax
push eax
call fcn.00428762
push ebx
call fcn.004480c0
push dword [ebp - 0x4c]
mov ebx, eax
call fcn.004480c0
lea ebx, [ebx + eax + 4]
mov eax, dword [ebp - 0x50]
add esp, 0x24
cmp dword [eax + 0x324], 0
je 0x431c4f
mov ecx, dword [eax + 0x86f0]
mov eax, dword [eax + 0x86f4]
mov edx, ecx
and edx, eax
cmp edx, 0xffffffff
je 0x431c4f
push eax
push ecx
push str._I64d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00428762
add esp, 0x14
jmp 0x431c5f
lea eax, [ebp - 0x44]
push 0x470738
push eax
call fcn.0044af00
pop ecx
pop ecx
mov eax, dword [edi]
push str.tsize
add eax, ebx
push eax
push ebx
push esi
call fcn.00431272
add ebx, eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push ebx
push esi
call fcn.00431272
push dword [esi + 0x158]
add ebx, eax
push 0x471190
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00428762
mov eax, dword [edi]
push str.blksize
add eax, ebx
push eax
push ebx
push esi
call fcn.00431272
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.00431272
push dword [esi + 0x1c]
add ebx, eax
push 0x471190
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00428762
mov eax, dword [edi]
push str.timeout
add eax, ebx
push eax
push ebx
push esi
call fcn.00431272
add ebx, eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push ebx
push esi
call fcn.00431272
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 0x431d3b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [esi + 0x10]
call fcn.004297f1
push eax
push 0x46e6b8
push dword [ebp - 0x50]
call fcn.00425257
add esp, 0x14
push dword [ebp - 0x54]
call dword [0x48a9e0]
pop ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004463b6
leave
ret