Function at 0x4409c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov ebp, dword [eax]
mov eax, dword [ebp + 0x12c]
mov dword [esp + 0x1c], eax
cmp ecx, 0xe
jbe 0x440a80
cmp ecx, 0xf
jne 0x440af8
mov eax, dword [ebp + 0x3a8]
test dl, dl
jne 0x440b40
mov esi, dword [ebx + 0x48c]
lea edx, [esi + 1]
mov dword [ebx + 0x48c], edx
test eax, eax
je 0x440ced
test edx, edx
jle 0x440a3c
xor edx, edx
jmp 0x440a28
test eax, eax
je 0x440ae0
mov ecx, edx
mov eax, dword [eax + 4]
add edx, 1
cmp ecx, esi
jne 0x440a20
test eax, eax
je 0x440ae0
mov eax, dword [eax]
xor edx, edx
cmp byte [eax], 0x2a
jne 0x440a4d
add eax, 1
mov edx, 1
mov dword [ebx + 0x490], edx
mov dword [esp + 8], eax
lea eax, [ebx + 0x428]
mov dword [esp + 4], 0x4685b1
mov dword [esp], eax
call sym._Curl_pp_sendf
test eax, eax
jne 0x440a77
mov dword [ebx + 0x498], edi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ecx, 0xc
jbe 0x440b60
mov eax, dword [ebp + 0x3ac]
test dl, dl
je 0x440ac0
mov dword [ebx + 0x48c], 0
test eax, eax
jne 0x440a3c
cmp edi, 0xe
jne 0x440b14
add esp, 0x2c
mov eax, ebx
xor edx, edx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._ftp_state_ul_setup
mov esi, dword [ebx + 0x48c]
lea edx, [esi + 1]
mov dword [ebx + 0x48c], edx
test eax, eax
jne 0x440a0e
jmp 0x440aa1
cmp edi, 0xe
je 0x440aa6
cmp edi, 0xf
jne 0x440b14
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x3a4]
test dl, dl
je 0x440ac0
mov dword [ebx + 0x48c], 0
test eax, eax
jne 0x440a3c
cmp edi, 0xd
jne 0x440b80
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x440c24
mov dword [ebx + 0x498], 0
xor eax, eax
jmp 0x440aec
mov dword [ebx + 0x48c], 0
test eax, eax
jne 0x440a3c
xor eax, eax
jmp 0x440aec
mov eax, dword [ebp + 0x3a4]
test dl, dl
je 0x4409f7
mov dword [ebx + 0x48c], 0
test eax, eax
jne 0x440a3c
cmp byte [ebx + 0x476], 0
jne 0x440c16
mov dword [ebx + 0x490], 0
xor eax, eax
cmp dword [ebp + 0x4bc], 2
sete al
cmp dword [ebp + 0x4b8], 2
mov dword [ebx + 0x494], eax
je 0x440c0c
cmp byte [ebx + 0x25a], 0
jne 0x440c79
mov edx, dword [ebx + 0x468]
test edx, edx
je 0x440c16
mov dword [ebx + 0x478], 1
mov eax, dword [ebx + 0x464]
mov eax, dword [eax]
mov dword [esp + 8], eax
lea eax, [ebx + 0x428]
mov dword [esp + 4], str.CWD__s
mov dword [esp], eax
call sym._Curl_pp_sendf
test eax, eax
jne 0x440a77
mov dword [ebx + 0x498], 0x10
jmp 0x440a77
mov ecx, dword [ebx + 0x478]
test ecx, ecx
jne 0x440bb2
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._ftp_state_mdtm
mov ecx, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x4b4]
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x440c96
mov eax, dword [ebx + 0x470]
cmp byte [ebp + 0x4f7], 0
mov dword [esp + 8], eax
je 0x440cc0
lea eax, [ebx + 0x428]
mov dword [esp + 4], str.RETR__s
mov dword [esp], eax
call sym._Curl_pp_sendf
test eax, eax
jne 0x440a77
mov dword [ebx + 0x498], 0x20
jmp 0x440a77
mov eax, dword [ebx + 0x460]
test eax, eax
je 0x440bbf
mov dword [ebx + 0x478], 0
jmp 0x440bdb
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], ebp
call sym._Curl_pgrsSetDownloadSize
mov edx, dword [ebx + 0x4b0]
mov ecx, dword [ebx + 0x4b4]
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp sym._ftp_state_retr
lea eax, [ebx + 0x428]
mov dword [esp + 4], str.SIZE__s
mov dword [esp], eax
call sym._Curl_pp_sendf
test eax, eax
jne 0x440a77
mov dword [ebx + 0x498], 0x18
jmp 0x440a77
cmp edi, 0xf
jne 0x440b80
xor eax, eax
jmp 0x440aec