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

Disassembly:
jne 0x1002819f
push 0x2f
push ebx
call fcn.1009de7a
add esp, 8
jmp 0x100281ad
sub eax, ebx
push eax
push 0x2f
push ebx
call fcn.1006e94a
add esp, 0xc
mov esi, eax
test esi, esi
je 0x100281f3
sub esi, ebx
inc esi
lea eax, [esi + 1]
push eax
call dword [section..data]
add esp, 4
mov dword [edi + 0xc], eax
test eax, eax
je 0x10028821
push esi
push ebx
push eax
call fcn.1009bdf6
and byte [edi + eax], bh
add byte [ebx + 0x4c60c47], cl
push es
add bh, bh
ja 0x100281ec
call fcn.10050fe5
add esp, 0x10
mov dword [edi + 0x10], eax
test eax, eax
je 0x10028821
cmp dword [edi + 4], 0
je 0x10028821
mov eax, dword [ebp - 0x2028]
inc byte [eax + 0x13c]
jmp 0x1004fb0c
fisttp dword [ebp - 0x74a803b8]
jle case.0x1004fb1d.0
cmp ecx, 3
ja case.default.0x1004fb1d
jmp dword [ecx*4 + 0x1004fe5c]
cmp eax, 4
jne 0x1004fc14
mov eax, dword [esi + 0x148]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [esi + 0x144]
mov edx, eax
cmp ecx, edx
je 0x1004fbff
test ax, ax
jne 0x1004fb62
cmp ecx, 0xffff
je 0x1004fbff
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x1004fb94
push edx
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push edi
call fcn.100826e9
add esp, 0xc
mov ebx, 0x37
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x100c1f5f
mov esp, ebp
pop ebp
ret
push dword [esi + 0x130]
lea eax, [esi + 0xb0]
push eax
mov eax, dword [esi + 0x138]
push 0
add eax, 4
push eax
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x1004fbec
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call str.hi_IN
push eax
push 0x100b68e0
push edi
call fcn.10082754
add esp, 0x18
mov ebx, 0x37
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x100c1fca
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x28]
push eax
call 0x100ccc6d
add esp, 4
inc word [esi + 0x144]
jmp 0x1004fc20
mov eax, 1
mov word [esi + 0x144], ax
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14c]
mov byte [eax], bl
mov eax, dword [esi + 0x14c]
mov byte [eax + 1], 3
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x1004fd5f
pop edi
mov dword [esi + 8], 0xffffff9d
xor eax, eax
mov dword [esi], 3
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x100c212a
mov esp, ebp
pop ebp
ret
push dword [esi + 0x130]
lea eax, [esi + 0xb0]
push eax
mov eax, dword [esi + 0x138]
push 0
add eax, 4
push eax
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x1004fd1d
mov dword [esi], 3
mov eax, dword [esi + 0x14c]
mov byte [eax], bl
mov eax, dword [esi + 0x14c]
mov byte [eax + 1], 5
movzx edx, word [esi + 0x144]
mov eax, dword [esi + 0x14c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x14c]
mov byte [eax + 3], dl
lea eax, [esi + 0xb0]
push dword [esi + 0x130]
push eax
push 0
push 4
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
push eax
push str.tftp_tx:_internal_error__event:__i
push edi
call fcn.100829b3
add esp, 0xc
xor eax, eax