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

Disassembly:
sub esp, 0x58
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx]
cmp dword [esi + 0x2a4], 0
mov ebp, str.octet
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
je 0x43d4fc
mov ebp, str.netascii
cmp eax, 7
ja case.0x43d505.1
jmp dword [eax*4 + 0x43d878]
mov ebx, 1
add dword [edi + 0x18], ebx
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x20]
jle 0x43d53e
mov dword [edi + 8], 0xffffff9e
mov dword [edi], 3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00488f53
add esp, 0x58
ret
cmp dword [esi + 0x2dc], 0
je 0x43d591
mov edx, dword [edi + 0x160]
mov byte [edx], 0
mov eax, dword [edi + 0x160]
mov byte [eax + 1], 2
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x160]
mov eax, dword [edx]
add ecx, 4
mov dword [eax + 0xdc], ecx
mov eax, dword [esi + 0x1b0]
mov ecx, dword [esi + 0x1b4]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x43d5a3
push ecx
push eax
mov eax, esi
call fcn.00439c60
add esp, 8
jmp 0x43d5a3
mov eax, dword [edi + 0x160]
mov byte [eax], 0
mov ecx, dword [edi + 0x160]
mov byte [ecx + 1], bl
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x8658]
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
add ecx, ebx
xor eax, eax
mov dword [esp + 0x20], 0
call fcn.00442f50
add esp, 0xc
test eax, eax
jne 0x43d5da
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x43d5f2
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00488f53
add esp, 0x58
ret
mov ecx, dword [edi + 0x154]
mov edx, dword [edi + 0x160]
push 0
push ebp
push 0
push ebx
push str._s_c_s_c
push ecx
add edx, 2
push edx
call sym.SGWPNote.exe_curl_msnprintf
mov eax, ebx
add esp, 0x1c
lea edx, [eax + 1]
jmp 0x43d620
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d620
sub eax, edx
mov edx, eax
mov eax, ebp
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d630
sub eax, ebx
cmp dword [esi + 0x2dc], 0
lea ebx, [eax + edx + 4]
je 0x43d673
mov eax, dword [esi + 0x1b0]
mov esi, dword [esi + 0x1b4]
mov ecx, eax
and ecx, esi
cmp ecx, 0xffffffff
je 0x43d673
push esi
push eax
push str._lld
lea edx, [esp + 0x2c]
push 0x40
push edx
call sym.SGWPNote.exe_curl_msnprintf
add esp, 0x14
jmp 0x43d67d
mov eax, 0x30
mov word [esp + 0x20], ax
mov edx, dword [edi + 0x160]
lea ecx, [ebx + 6]
add edx, ebx
cmp ecx, dword [edi + 0x154]
jbe 0x43d694
xor eax, eax
jmp 0x43d69e
mov esi, str.tsize
call fcn.0043d430
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d6b0
sub eax, edx
lea edx, [eax + ebx + 1]
cmp edx, dword [edi + 0x154]
jbe 0x43d6c9
xor eax, eax
jmp 0x43d6d4
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.0043d430
add ebx, eax
mov eax, dword [edi + 0x158]
push eax
push 0x4bad60
lea ecx, [esp + 0x28]
push 0x40
push ecx
call sym.SGWPNote.exe_curl_msnprintf
mov edx, dword [edi + 0x160]
lea eax, [ebx + 8]
add esp, 0x10
add edx, ebx
cmp eax, dword [edi + 0x154]
jbe 0x43d708
xor eax, eax
jmp 0x43d712
mov esi, str.blksize
call fcn.0043d430
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d723
sub eax, edx
lea ecx, [eax + ebx + 1]
cmp ecx, dword [edi + 0x154]
jbe 0x43d73c
xor eax, eax
jmp 0x43d747
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.0043d430
mov edx, dword [edi + 0x1c]
push edx
push 0x4bad60
add ebx, eax
lea eax, [esp + 0x28]
push 0x40
push eax
call sym.SGWPNote.exe_curl_msnprintf
mov edx, dword [edi + 0x160]
lea ecx, [ebx + 8]
add esp, 0x10
add edx, ebx
cmp ecx, dword [edi + 0x154]
jbe 0x43d778
xor eax, eax
jmp 0x43d782
mov esi, str.timeout
call fcn.0043d430
mov ebp, dword [edi + 0x160]
add ebx, eax
lea eax, [esp + 0x20]
add ebp, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d793
sub eax, edx
lea edx, [eax + ebx + 1]
cmp edx, dword [edi + 0x154]
jbe 0x43d7ac
xor eax, eax
jmp 0x43d7b7
lea esi, [esp + 0x20]
mov edx, ebp
call fcn.0043d430
add ebx, eax
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [edi + 0x160]
push ecx
mov ecx, dword [edi + 0x14]
push edx
push 0
push ebx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, ebx
je 0x43d805
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [edi + 0x10]
push edx
mov edi, eax
call fcn.00452ce0
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push 0x4badd0
call fcn.00433ce0
add esp, 8
mov eax, dword [esp + 0x14]
push eax
call dword [0x4c9970]
jmp 0x43d85c
cmp dword [esi + 0x2dc], 0
push 6
je 0x43d83b
mov eax, edi
call fcn.0043d450
mov dword [esp + 0x14], eax
jmp 0x43d85c
push 4
mov eax, edi
call fcn.0043d450
mov dword [esp + 0x14], eax
jmp 0x43d85c
push 3
mov esi, edi
call fcn.0043d490
mov dword [esp + 0x14], eax
jmp 0x43d85c
mov dword [edi], 3
jmp 0x43d85f
push str.tftp_send_first:_internal_error
mov eax, esi
call fcn.00433ce0
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00488f53
add esp, 0x58
ret