Function at 0x433f80
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 0x434030
jb 0x434005
cmp eax, 2
je 0x433fd0
cmp eax, 3
jne 0x433fe0
mov dword [esp + 8], str.TFTP_finished
mov dword [esp + 4], 0x46a860
mov dword [esp], esi
call fcn.00416500
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.004338a0
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], 0x46a7aa
call fcn.00416580
lea esp, [ebp - 0xc]
mov eax, 0x47
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x30c]
mov edi, str.octet
test eax, eax
mov eax, str.netascii
cmovne edi, eax
cmp edx, 7
ja case.0x434023.1
jmp dword [edx*4 + 0x46a994]
mov eax, ebx
call fcn.00433310
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esi + 0x344]
mov edx, 6
mov eax, ebx
test ecx, ecx
je 0x434087
call fcn.00433c70
jmp 0x433fc1
mov dword [ebx], 3
xor eax, eax
jmp 0x433fc1
mov edx, 4
mov eax, ebx
jmp 0x434051
mov edx, 3
mov eax, ebx
call fcn.00433850
jmp 0x433fc1
mov eax, dword [ebx + 0x18]
add eax, 1
cmp eax, dword [ebx + 0x20]
mov dword [ebx + 0x18], eax
jg 0x434367
mov eax, dword [esi + 0x344]
test eax, eax
mov eax, dword [ebx + 0x150]
mov byte [eax], 0
mov eax, dword [ebx + 0x150]
je 0x434380
mov byte [eax + 1], 2
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x150]
mov eax, dword [eax]
lea edx, [ecx + 4]
mov dword [eax + 0x148], edx
mov edx, dword [esi + 0x228]
mov eax, dword [esi + 0x22c]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x4340fd
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.004240c0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [eax]
mov eax, dword [eax + 0x86c8]
mov dword [esp], esi
add eax, 1
mov dword [esp + 4], eax
call sym.curl.exe_curl_easy_unescape
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x60], eax
mov eax, 0x1b
je 0x433fc1
mov edx, dword [ebx + 0x150]
mov eax, dword [ebx + 0x144]
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.curl.exe_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 + 0x344]
test eax, eax
je 0x434389
mov edx, dword [esi + 0x228]
mov eax, dword [esi + 0x22c]
mov ecx, edx
and ecx, eax
cmp ecx, 0xffffffff
je 0x434389
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x46a927
mov dword [esp + 4], 0x40
mov dword [esp], eax
mov dword [ebp - 0x5c], eax
call sym.curl.exe_curl_msnprintf
mov ecx, dword [ebx + 0x150]
mov edx, edi
mov eax, dword [ebx + 0x144]
mov dword [esp], str.tsize
add ecx, edi
call fcn.00433f30
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x150]
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x144]
add ecx, edi
mov edx, edi
call fcn.00433f30
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], 0x46a932
mov dword [esp + 4], 0x40
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x148]
mov dword [esp + 0xc], eax
call sym.curl.exe_curl_msnprintf
mov ecx, dword [ebx + 0x150]
mov edx, edi
mov eax, dword [ebx + 0x144]
mov dword [esp], str.blksize
add ecx, edi
call fcn.00433f30
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x150]
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x144]
add ecx, edi
mov edx, edi
call fcn.00433f30
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], 0x46a932
mov dword [esp + 4], 0x40
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xc], eax
call sym.curl.exe_curl_msnprintf
mov ecx, dword [ebx + 0x150]
mov edx, edi
mov eax, dword [ebx + 0x144]
mov dword [esp], str.timeout
add ecx, edi
call fcn.00433f30
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x150]
mov dword [esp], edx
add edi, eax
mov eax, dword [ebx + 0x144]
add ecx, edi
mov edx, edi
call fcn.00433f30
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 + 0x150]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_sendto]
sub esp, 0x18
cmp edi, eax
je 0x43433c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.00413750
mov dword [esp + 4], 0x46a7aa
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00416580
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [0x451010]
xor eax, eax
jmp 0x433fc1
mov dword [esp + 4], str.tftp_send_first:_internal_error
mov dword [esp], esi
call fcn.00416580
xor eax, eax
jmp 0x433fc1
mov dword [ebx + 8], 0xffffff9e
xor eax, eax
mov dword [ebx], 3
jmp 0x433fc1
mov byte [eax + 1], 1
jmp 0x4340fd
mov eax, 0x30
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x4341de