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

Disassembly:
push ebp
push ebx
push edi
push esi
movzx ebx, byte [esp + 0x18]
mov bh, byte [esp + 0x14]
xor bh, 1
shl bh, 3
or bh, 0x41
cmp byte [edx + 0x384], bh
jne 0x44b867
mov edi, dword [ecx + 0x18]
movzx eax, byte [edi + 0x3b6]
movzx esi, bl
cmp al, bl
sete dl
test ecx, ecx
sete dh
or dh, dl
jne 0x44b842
test byte [ecx + 0x6eb], 0x20
je 0x44b842
mov edx, dword [ecx + 0xd20]
test edx, edx
je 0x44b816
cmp dword [edx + 4], 0
jle 0x44b842
mov edx, dword [0xb5ad14]
cmp dword [edx + 4], 0
jle 0x44b842
push dword [esi*4 + 0xa21838]
push dword [eax*4 + 0xa21838]
push str.__s_______s_
push ecx
mov ebp, ecx
call fcn.00442890
mov ecx, ebp
add esp, 0x10
mov byte [edi + 0x3b6], bl
add esi, 0xffffffed
cmp esi, 3
ja case.default.0x44b854
jmp dword [esi*4 + 0xa216b0]
mov edx, dword [ecx + 0x18]
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0044b930
movzx eax, bh
mov esi, edx
add edx, 0x308
push eax
push str.TYPE__c
push edx
mov edi, ecx
push ecx
call fcn.004645b0
add esp, 0x10
test eax, eax
jne 0x44b90d
mov eax, edi
mov edi, dword [edi + 0x18]
movzx ecx, byte [edi + 0x3b6]
cmp cl, bl
sete dl
test eax, eax
sete dh
or dh, dl
mov edx, esi
jne 0x44b8ee
test byte [eax + 0x6eb], 0x20
je 0x44b8ee
mov ebp, dword [eax + 0xd20]
test ebp, ebp
je 0x44b8c1
cmp dword [ebp + 4], 0
jle 0x44b8ee
mov ebp, dword [0xb5ad14]
cmp dword [ebp + 4], 0
jle 0x44b8ee
movzx edx, bl
push dword [edx*4 + 0xa21838]
push dword [ecx*4 + 0xa21838]
push str.__s_______s_
push eax
call fcn.00442890
mov edx, esi
add esp, 0x10
mov byte [edi + 0x3b6], bl
mov byte [edx + 0x384], bh
xor eax, eax
jmp 0x44b90d
mov edx, 1
push 0xd
call fcn.00449720
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp 0x44c6c0
pop esi
pop edi
pop ebx
pop ebp
jmp 0x44c530
push ebp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov ebx, dword [ecx + 0x18]
xor ebp, ebp
cmp byte [ecx + 0x4c0], 2
jne 0x44c598
mov eax, dword [esi + 0x130]
mov eax, dword [eax]
test eax, eax
je 0x44c598
mov dword [esp], 0
mov ecx, esp
push 3
push 0
push ecx
push 0
push eax
call fcn.00445c40
add esp, 0x14
test eax, eax
jne 0x44c684
mov edi, dword [esp]
push 0x2f
push edi
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
add esp, 8
test eax, eax
je 0x44c68c
sub eax, edi
mov ecx, 1
cmovne ecx, eax
mov byte [edi + ecx], 0
mov ebp, edi
mov eax, dword [esi + 0x568]
test eax, eax
jne 0x44c5b6
test byte [esi + 0xd61], 0x20
mov ecx, 0xa2199b
mov eax, str.NLST
cmove eax, ecx
test ebp, ebp
mov ecx, 0xa21b87
mov edx, 0xa220a2
cmove edx, ecx
cmovne ecx, ebp
push ecx
push edx
push eax
push 0xa2209b
call fcn.00409ff0
add esp, 0x10
mov edi, eax
push str.ftp.c
push 0x630
push ebp
call fcn.00404af0
add esp, 0xc
test edi, edi
je 0x44c67f
add ebx, 0x308
push edi
push 0xa21a51
push ebx
push esi
call fcn.004645b0
add esp, 0x10
mov ebx, eax
push str.ftp.c
push 0x636
push edi
call fcn.00404af0
mov eax, ebx
add esp, 0xc
test ebx, ebx
jne 0x44c684
mov edi, dword [esi + 0x18]
movzx eax, byte [edi + 0x3b6]
cmp eax, 0x1f
je 0x44c674
test byte [esi + 0x6eb], 0x20
je 0x44c674
mov ecx, dword [esi + 0xd20]
test ecx, ecx
je 0x44c64e
cmp dword [ecx + 4], 0
jle 0x44c674
mov ecx, dword [0xb5ad14]
cmp dword [ecx + 4], 0
jle 0x44c674
push 0xa2199b
push dword [eax*4 + 0xa21838]
push str.__s_______s_
push esi
call fcn.00442890
add esp, 0x10
mov byte [edi + 0x3b6], 0x1f
xor eax, eax
jmp 0x44c684
mov eax, 0x1b
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push str.ftp.c
push 0x627
push edi
call fcn.00404af0
add esp, 0xc
mov eax, dword [esi + 0x568]
test eax, eax
jne 0x44c5b6
jmp 0x44c5a2
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4d0]
mov dword [eax + 0x3a8], 0
test edx, edx
je 0x44c70a
push ebx
push esi
mov edx, dword [edx]
xor ebx, ebx
cmp byte [edx], 0x2a
lea esi, [eax + 0x308]
sete bl
add edx, ebx
mov dword [eax + 0x3ac], ebx
push edx
push 0xa21a51
push esi
mov esi, ecx
push ecx
call fcn.004645b0
add esp, 0x10
test eax, eax
je 0x44c711
pop esi
pop ebx
ret
xor edx, edx
jmp fcn.0044b490
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0xe
je 0x44c761
test byte [eax + 0x6eb], 0x20
je 0x44c761
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44c73b
cmp dword [edx + 4], 0
jle 0x44c761
mov edx, dword [0xb5ad14]
cmp dword [edx + 4], 0
jle 0x44c761
push str.STOR_PREQUOTE
push dword [ecx*4 + 0xa21838]
push str.__s_______s_
push eax
call fcn.00442890
add esp, 0x10
mov byte [esi + 0x3b6], 0xe
xor eax, eax
pop esi
pop ebx
ret