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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5df7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, str.octet
push 3
mov eax, dword [edi + 0xc]
mov esi, dword [eax]
mov eax, str.netascii
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x253], bl
cmove eax, ecx
mov dword [ebp - 0x10], eax
pop ecx
sub edx, ebx
je 0x4aa8f7
sub edx, ecx
je 0x4aa8f1
sub edx, 1
je 0x4aa8e5
sub edx, 1
je 0x4aa8de
sub edx, 1
je 0x4aa8c5
sub edx, 1
je 0x4aa8f7
push str.tftp_send_first:_internal_error
push esi
call fcn.0049dc37
pop ecx
pop ecx
jmp 0x4aabd4
mov ecx, edi
push 6
pop edx
cmp byte [esi + 0x260], bl
jne 0x4aa8ea
call fcn.004aa823
mov ebx, eax
jmp 0x4aabd4
mov dword [edi], ecx
jmp 0x4aabd4
push 4
pop edx
mov ecx, edi
call fcn.004aa7e7
jmp 0x4aa8d7
mov edx, ecx
mov ecx, edi
jmp 0x4aa8d2
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cdq
cmp edx, dword [edi + 0x24]
jl 0x4aa91a
jg 0x4aa90a
cmp eax, dword [edi + 0x20]
jbe 0x4aa91a
mov dword [edi + 8], 0xffffff9e
xor eax, eax
mov dword [edi], ecx
jmp 0x4aabd6
mov eax, dword [edi + 0x158]
cmp byte [esi + 0x260], bl
mov byte [eax], bl
mov eax, dword [edi + 0x158]
je 0x4aa96b
mov byte [eax + 1], 2
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x158]
add ecx, 4
mov eax, dword [eax]
mov dword [eax + 0xd4], ecx
mov ecx, dword [esi + 0x180]
mov eax, ecx
mov edx, dword [esi + 0x184]
and eax, edx
cmp eax, 0xffffffff
je 0x4aa96f
push edx
push ecx
mov ecx, esi
call fcn.004ad7fe
add esp, 8
jmp 0x4aa96f
mov byte [eax + 1], 1
mov eax, dword [edi + 0xc]
push ebx
push ebx
mov eax, dword [eax]
mov eax, dword [eax + 0x8554]
inc eax
push eax
push esi
call sym.wwbizsrv.exe_curl_easy_unescape
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x4aa998
push 0x1b
pop eax
jmp 0x4aabd6
mov eax, dword [edi + 0x158]
push ebx
push dword [ebp - 0x10]
add eax, 2
push ebx
push esi
push str._s_c_s_c
push dword [edi + 0x14c]
push eax
call sym.wwbizsrv.exe_curl_msnprintf
add esp, 0x1c
push esi
call fcn.0053f120
pop ecx
push dword [ebp - 0x10]
mov esi, eax
call fcn.0053f120
add eax, 4
mov dword [esp], str.tsize
add esi, eax
mov eax, dword [edi + 0x158]
add eax, esi
mov dword [ebp - 0x10], eax
call fcn.0053f120
inc eax
add eax, esi
pop ecx
cmp eax, dword [edi + 0x14c]
jbe 0x4aa9f8
mov eax, ebx
jmp 0x4aaa13
push str.tsize
push dword [ebp - 0x10]
call fcn.0053f1b0
push str.tsize
call fcn.0053f120
add esp, 0xc
inc eax
add esi, eax
mov eax, dword [edi + 0x158]
add eax, esi
push 0x5ba630
mov dword [ebp - 0x10], eax
call fcn.0053f120
inc eax
add eax, esi
pop ecx
cmp eax, dword [edi + 0x14c]
jbe 0x4aaa3a
mov eax, ebx
jmp 0x4aaa55
push 0x5ba630
push dword [ebp - 0x10]
call fcn.0053f1b0
push 0x5ba630
call fcn.0053f120
add esp, 0xc
inc eax
push dword [edi + 0x150]
add esi, eax
lea eax, [ebp - 0xc]
push 0x5ba634
push 8
push eax
call sym.wwbizsrv.exe_curl_msnprintf
mov eax, dword [edi + 0x158]
add eax, esi
push str.blksize
mov dword [ebp - 0x10], eax
call fcn.0053f120
inc eax
add esp, 0x14
add eax, esi
cmp eax, dword [edi + 0x14c]
jbe 0x4aaa94
mov eax, ebx
jmp 0x4aaaaf
push str.blksize
push dword [ebp - 0x10]
call fcn.0053f1b0
push str.blksize
call fcn.0053f120
add esp, 0xc
inc eax
add esi, eax
mov eax, dword [edi + 0x158]
add eax, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0053f120
inc eax
add eax, esi
pop ecx
cmp eax, dword [edi + 0x14c]
jbe 0x4aaad5
mov eax, ebx
jmp 0x4aaaee
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call fcn.0053f1b0
lea eax, [ebp - 0xc]
push eax
call fcn.0053f120
add esp, 0xc
inc eax
push dword [edi + 0x1c]
add esi, eax
lea eax, [ebp - 0xc]
push dword [edi + 0x18]
push 0x5ba634
push 8
push eax
call sym.wwbizsrv.exe_curl_msnprintf
mov eax, dword [edi + 0x158]
add esp, 0x14
add eax, esi
mov dword [ebp - 0x10], eax
push str.interval
call fcn.0053f120
inc eax
add eax, esi
pop ecx
cmp eax, dword [edi + 0x14c]
jbe 0x4aab2e
mov eax, ebx
jmp 0x4aab49
push str.interval
push dword [ebp - 0x10]
call fcn.0053f1b0
push str.interval
call fcn.0053f120
add esp, 0xc
inc eax
add esi, eax
mov eax, dword [edi + 0x158]
add eax, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0053f120
inc eax
add eax, esi
pop ecx
cmp eax, dword [edi + 0x14c]
jbe 0x4aab6f
mov eax, ebx
jmp 0x4aab88
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call fcn.0053f1b0
lea eax, [ebp - 0xc]
push eax
call fcn.0053f120
add esp, 0xc
inc eax
mov ecx, dword [edi + 0xc]
add eax, esi
mov ecx, dword [ecx + 0x38]
push dword [ecx + 0x10]
push dword [ecx + 0x18]
push ebx
push eax
push dword [edi + 0x158]
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x4aabcc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 0xc]
mov edx, eax
call fcn.004a6e35
push eax
push 0x5b7acc
push dword [ebp - 0x14]
call fcn.0049dc37
add esp, 0xc
mov ecx, dword [ebp - 0x18]
call fcn.0049e26c
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005121be
leave
ret