Function at 0x44cc60
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 0x44cd07
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 0x44cce2
test byte [ecx + 0x6eb], 0x20
je 0x44cce2
mov edx, dword [ecx + 0xd20]
test edx, edx
je 0x44ccb6
cmp dword [edx + 4], 0
jle 0x44cce2
mov edx, dword [0xaaa654]
cmp dword [edx + 4], 0
jle 0x44cce2
push dword [esi*4 + 0x971208]
push dword [eax*4 + 0x971208]
push str.__s_______s_
push ecx
mov ebp, ecx
call fcn.00443d30
mov ecx, ebp
add esp, 0x10
mov byte [edi + 0x3b6], bl
add esi, 0xffffffed
cmp esi, 3
ja case.default.0x44ccf4
jmp dword [esi*4 + 0x971080]
mov edx, dword [ecx + 0x18]
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0044cdd0
movzx eax, bh
mov esi, edx
add edx, 0x308
push eax
push str.TYPE__c
push edx
mov edi, ecx
push ecx
call fcn.00465a50
add esp, 0x10
test eax, eax
jne 0x44cdad
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 0x44cd8e
test byte [eax + 0x6eb], 0x20
je 0x44cd8e
mov ebp, dword [eax + 0xd20]
test ebp, ebp
je 0x44cd61
cmp dword [ebp + 4], 0
jle 0x44cd8e
mov ebp, dword [0xaaa654]
cmp dword [ebp + 4], 0
jle 0x44cd8e
movzx edx, bl
push dword [edx*4 + 0x971208]
push dword [ecx*4 + 0x971208]
push str.__s_______s_
push eax
call fcn.00443d30
mov edx, esi
add esp, 0x10
mov byte [edi + 0x3b6], bl
mov byte [edx + 0x384], bh
xor eax, eax
jmp 0x44cdad
mov edx, 1
push 0xd
call fcn.0044abc0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp 0x44db60
pop esi
pop edi
pop ebx
pop ebp
jmp 0x44d9d0
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 0x44da38
mov eax, dword [esi + 0x130]
mov eax, dword [eax]
test eax, eax
je 0x44da38
mov dword [esp], 0
mov ecx, esp
push 3
push 0
push ecx
push 0
push eax
call fcn.004470e0
add esp, 0x14
test eax, eax
jne 0x44db24
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 0x44db2c
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 0x44da56
test byte [esi + 0xd61], 0x20
mov ecx, 0x97136b
mov eax, str.NLST
cmove eax, ecx
test ebp, ebp
mov ecx, 0x971557
mov edx, 0x971a72
cmove edx, ecx
cmovne ecx, ebp
push ecx
push edx
push eax
push 0x971a6b
call fcn.0040b490
add esp, 0x10
mov edi, eax
push str.ftp.c
push 0x630
push ebp
call fcn.00405f90
add esp, 0xc
test edi, edi
je 0x44db1f
add ebx, 0x308
push edi
push 0x971421
push ebx
push esi
call fcn.00465a50
add esp, 0x10
mov ebx, eax
push str.ftp.c
push 0x636
push edi
call fcn.00405f90
mov eax, ebx
add esp, 0xc
test ebx, ebx
jne 0x44db24
mov edi, dword [esi + 0x18]
movzx eax, byte [edi + 0x3b6]
cmp eax, 0x1f
je 0x44db14
test byte [esi + 0x6eb], 0x20
je 0x44db14
mov ecx, dword [esi + 0xd20]
test ecx, ecx
je 0x44daee
cmp dword [ecx + 4], 0
jle 0x44db14
mov ecx, dword [0xaaa654]
cmp dword [ecx + 4], 0
jle 0x44db14
push 0x97136b
push dword [eax*4 + 0x971208]
push str.__s_______s_
push esi
call fcn.00443d30
add esp, 0x10
mov byte [edi + 0x3b6], 0x1f
xor eax, eax
jmp 0x44db24
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.00405f90
add esp, 0xc
mov eax, dword [esi + 0x568]
test eax, eax
jne 0x44da56
jmp 0x44da42
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4d0]
mov dword [eax + 0x3a8], 0
test edx, edx
je 0x44dbaa
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 0x971421
push esi
mov esi, ecx
push ecx
call fcn.00465a50
add esp, 0x10
test eax, eax
je 0x44dbb1
pop esi
pop ebx
ret
xor edx, edx
jmp fcn.0044c930
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0xe
je 0x44dc01
test byte [eax + 0x6eb], 0x20
je 0x44dc01
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44dbdb
cmp dword [edx + 4], 0
jle 0x44dc01
mov edx, dword [0xaaa654]
cmp dword [edx + 4], 0
jle 0x44dc01
push str.STOR_PREQUOTE
push dword [ecx*4 + 0x971208]
push str.__s_______s_
push eax
call fcn.00443d30
add esp, 0x10
mov byte [esi + 0x3b6], 0xe
xor eax, eax
pop esi
pop ebx
ret