Function at 0x44e270
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 0x44e317
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 0x44e2f2
test byte [ecx + 0x6eb], 0x20
je 0x44e2f2
mov edx, dword [ecx + 0xd20]
test edx, edx
je 0x44e2c6
cmp dword [edx + 4], 0
jle 0x44e2f2
mov edx, dword [0xad5be8]
cmp dword [edx + 4], 0
jle 0x44e2f2
push dword [esi*4 + 0x99b528]
push dword [eax*4 + 0x99b528]
push str.__s_______s_
push ecx
mov ebp, ecx
call fcn.00445340
mov ecx, ebp
add esp, 0x10
mov byte [edi + 0x3b6], bl
add esi, 0xffffffed
cmp esi, 3
ja case.default.0x44e304
jmp dword [esi*4 + 0x99b3a0]
mov edx, dword [ecx + 0x18]
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0044e3e0
movzx eax, bh
mov esi, edx
add edx, 0x308
push eax
push str.TYPE__c
push edx
mov edi, ecx
push ecx
call fcn.00467060
add esp, 0x10
test eax, eax
jne 0x44e3bd
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 0x44e39e
test byte [eax + 0x6eb], 0x20
je 0x44e39e
mov ebp, dword [eax + 0xd20]
test ebp, ebp
je 0x44e371
cmp dword [ebp + 4], 0
jle 0x44e39e
mov ebp, dword [0xad5be8]
cmp dword [ebp + 4], 0
jle 0x44e39e
movzx edx, bl
push dword [edx*4 + 0x99b528]
push dword [ecx*4 + 0x99b528]
push str.__s_______s_
push eax
call fcn.00445340
mov edx, esi
add esp, 0x10
mov byte [edi + 0x3b6], bl
mov byte [edx + 0x384], bh
xor eax, eax
jmp 0x44e3bd
mov edx, 1
push 0xd
call fcn.0044c1d0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp 0x44f170
pop esi
pop edi
pop ebx
pop ebp
jmp 0x44efe0
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 0x44f048
mov eax, dword [esi + 0x130]
mov eax, dword [eax]
test eax, eax
je 0x44f048
mov dword [esp], 0
mov ecx, esp
push 3
push 0
push ecx
push 0
push eax
call fcn.004486f0
add esp, 0x14
test eax, eax
jne 0x44f134
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 0x44f13c
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 0x44f066
test byte [esi + 0xd61], 0x20
mov ecx, 0x99b68b
mov eax, str.NLST
cmove eax, ecx
test ebp, ebp
mov ecx, 0x99b877
mov edx, 0x99bd92
cmove edx, ecx
cmovne ecx, ebp
push ecx
push edx
push eax
push 0x99bd8b
call fcn.0040caa0
add esp, 0x10
mov edi, eax
push str.ftp.c
push 0x630
push ebp
call fcn.004075a0
add esp, 0xc
test edi, edi
je 0x44f12f
add ebx, 0x308
push edi
push 0x99b741
push ebx
push esi
call fcn.00467060
add esp, 0x10
mov ebx, eax
push str.ftp.c
push 0x636
push edi
call fcn.004075a0
mov eax, ebx
add esp, 0xc
test ebx, ebx
jne 0x44f134
mov edi, dword [esi + 0x18]
movzx eax, byte [edi + 0x3b6]
cmp eax, 0x1f
je 0x44f124
test byte [esi + 0x6eb], 0x20
je 0x44f124
mov ecx, dword [esi + 0xd20]
test ecx, ecx
je 0x44f0fe
cmp dword [ecx + 4], 0
jle 0x44f124
mov ecx, dword [0xad5be8]
cmp dword [ecx + 4], 0
jle 0x44f124
push 0x99b68b
push dword [eax*4 + 0x99b528]
push str.__s_______s_
push esi
call fcn.00445340
add esp, 0x10
mov byte [edi + 0x3b6], 0x1f
xor eax, eax
jmp 0x44f134
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.004075a0
add esp, 0xc
mov eax, dword [esi + 0x568]
test eax, eax
jne 0x44f066
jmp 0x44f052
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4d0]
mov dword [eax + 0x3a8], 0
test edx, edx
je 0x44f1ba
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 0x99b741
push esi
mov esi, ecx
push ecx
call fcn.00467060
add esp, 0x10
test eax, eax
je 0x44f1c1
pop esi
pop ebx
ret
xor edx, edx
jmp fcn.0044df40
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp ecx, 0xe
je 0x44f211
test byte [eax + 0x6eb], 0x20
je 0x44f211
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x44f1eb
cmp dword [edx + 4], 0
jle 0x44f211
mov edx, dword [0xad5be8]
cmp dword [edx + 4], 0
jle 0x44f211
push str.STOR_PREQUOTE
push dword [ecx*4 + 0x99b528]
push str.__s_______s_
push eax
call fcn.00445340
add esp, 0x10
mov byte [esi + 0x3b6], 0xe
xor eax, eax
pop esi
pop ebx
ret