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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x7c
mov eax, dword [eax + 0x10]
mov esi, dword [eax]
mov eax, dword [ebx]
cmp eax, 1
je 0x6b26cd90
jb 0x6b26cd65
cmp eax, 2
je 0x6b26cd30
cmp eax, 3
jne 0x6b26cd40
mov dword [esp + 8], str.TFTP_finished
mov dword [esp + 4], 0x6b28e1a0
mov dword [esp], esi
call fcn.6b24c140
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.6b26c620
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
mov dword [esp + 8], str.Internal_state_machine_error
mov dword [esp + 4], 0x6b28e0ea
call fcn.6b24c1c0
lea esp, [ebp - 0xc]
mov eax, 0x47
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x31c]
mov edi, str.octet
test eax, eax
mov eax, str.netascii
cmovne edi, eax
cmp edx, 7
ja case.0x6b26cd83.1
jmp dword [edx*4 + 0x6b28e2d4]
mov eax, ebx
call fcn.6b26c030
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esi + 0x354]
mov edx, 6
mov eax, ebx
test ecx, ecx
je 0x6b26cde7
call fcn.6b26c9d0
jmp 0x6b26cd21
mov dword [ebx], 3
xor eax, eax
jmp 0x6b26cd21
mov edx, 4
mov eax, ebx
jmp 0x6b26cdb1
mov edx, 3
mov eax, ebx
call fcn.6b26c5d0
jmp 0x6b26cd21
mov eax, dword [ebx + 0x18]
add eax, 1
cmp eax, dword [ebx + 0x20]
mov dword [ebx + 0x18], eax
jg 0x6b26d0c7
mov eax, dword [esi + 0x354]
test eax, eax
mov eax, dword [ebx + 0x160]
mov byte [eax], 0
mov eax, dword [ebx + 0x160]
je 0x6b26d0e0
mov byte [eax + 1], 2
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x160]
mov eax, dword [eax]
lea edx, [ecx + 4]
mov dword [eax + 0x14c], edx
mov edx, dword [esi + 0x230]
mov eax, dword [esi + 0x234]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x6b26ce5d
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.6b243280
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [eax]
mov eax, dword [eax + 0x8f28]
mov dword [esp], esi
add eax, 1
mov dword [esp + 4], eax
call sym.libcurl.dll_curl_easy_unescape
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x60], eax
mov eax, 0x1b
je 0x6b26cd21
mov edx, dword [ebx + 0x160]
mov eax, dword [ebx + 0x154]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
lea eax, [edx + 2]
mov dword [esp + 0x10], 0
mov dword [esp + 8], str._s_c_s_c
mov dword [esp], eax
call sym.libcurl.dll_curl_msnprintf
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp], edi
mov dword [ebp - 0x5c], eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x5c]
lea edi, [edx + eax + 4]
mov eax, dword [esi + 0x354]
test eax, eax
je 0x6b26d0e9
mov edx, dword [esi + 0x230]
mov eax, dword [esi + 0x234]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x6b26d0e9
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x6b28e267
mov dword [esp + 4], 0x40
mov dword [esp], eax
mov dword [ebp - 0x5c], eax
call sym.libcurl.dll_curl_msnprintf
mov ecx, dword [ebx + 0x160]
mov edx, edi
mov eax, dword [ebx + 0x154]
mov dword [esp], str.tsize
add ecx, edi
call fcn.6b26cc90
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x160]
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x154]
add ecx, edi
mov edx, edi
call fcn.6b26cc90
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], 0x6b28e272
mov dword [esp + 4], 0x40
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x158]
mov dword [esp + 0xc], eax
call sym.libcurl.dll_curl_msnprintf
mov ecx, dword [ebx + 0x160]
mov edx, edi
mov eax, dword [ebx + 0x154]
mov dword [esp], str.blksize
add ecx, edi
call fcn.6b26cc90
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x160]
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x154]
add ecx, edi
mov edx, edi
call fcn.6b26cc90
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], 0x6b28e272
mov dword [esp + 4], 0x40
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xc], eax
call sym.libcurl.dll_curl_msnprintf
mov ecx, dword [ebx + 0x160]
mov edx, edi
mov eax, dword [ebx + 0x154]
mov dword [esp], str.timeout
add ecx, edi
call fcn.6b26cc90
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x160]
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x154]
add ecx, edi
mov edx, edi
call fcn.6b26cc90
mov edx, dword [ebx + 0x10]
mov edx, dword [edx + 0x3c]
add edi, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x160]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call sub.ws2_32.dll_sendto
sub esp, 0x18
cmp edi, eax
je 0x6b26d09a
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.6b268f00
mov dword [esp + 4], 0x6b28e0ea
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.6b24c1c0
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [0x6b28604c]
xor eax, eax
jmp 0x6b26cd21
mov dword [esp + 4], str.tftp_send_first:_internal_error
mov dword [esp], esi
call fcn.6b24c1c0
xor eax, eax
jmp 0x6b26cd21
mov dword [ebx + 8], 0xffffff9e
xor eax, eax
mov dword [ebx], 3
jmp 0x6b26cd21
mov byte [eax + 1], 1
jmp 0x6b26ce5d
mov eax, 0x30
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x6b26cf3e