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

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
movzx ebx, byte [esp + 0x18]
mov edi, dword [ecx + 0x18]
mov bh, bl
add bh, 0xf3
mov eax, 0x4c8
cmp bh, 2
ja 0x449746
movzx eax, bh
mov eax, dword [eax*4 + 0xa228b4]
mov esi, dword [ecx + 0x130]
mov dword [esp], esi
lea esi, [edi + 0x308]
mov eax, dword [ecx + eax]
test dl, dl
je 0x44976f
mov dword [edi + 0x3a8], 0
test eax, eax
jne 0x4497a6
jmp 0x44983d
mov edx, dword [edi + 0x3a8]
mov ebp, esi
lea esi, [edx + 1]
mov dword [edi + 0x3a8], esi
mov esi, ebp
test eax, eax
je 0x44983d
test edx, edx
js 0x4497a6
xor esi, esi
mov eax, dword [eax + 4]
cmp esi, edx
jge 0x44979c
inc esi
test eax, eax
jne 0x449790
test eax, eax
mov esi, ebp
je 0x44983d
mov eax, dword [eax]
xor edx, edx
cmp byte [eax], 0x2a
sete dl
add eax, edx
mov dword [edi + 0x3ac], edx
push eax
push 0xa21a51
push esi
mov esi, ecx
push ecx
call fcn.004645b0
add esp, 0x10
test eax, eax
jne 0x449a13
mov eax, esi
mov esi, dword [esi + 0x18]
movzx ecx, byte [esi + 0x3b6]
cmp cl, bl
sete dl
test eax, eax
sete dh
or dh, dl
jne 0x449830
test byte [eax + 0x6eb], 0x20
je 0x449830
mov edx, dword [eax + 0xd20]
test edx, edx
je 0x449805
cmp dword [edx + 4], 0
jle 0x449830
mov edx, dword [0xb5ad14]
cmp dword [edx + 4], 0
jle 0x449830
movzx edx, bl
push dword [edx*4 + 0xa21838]
push dword [ecx*4 + 0xa21838]
push str.__s_______s_
push eax
call fcn.00442890
add esp, 0x10
mov byte [esi + 0x3b6], bl
xor eax, eax
jmp 0x449a13
xor eax, eax
cmp bl, 0xd
je 0x4498d3
movzx edx, bl
cmp edx, 0xe
je 0x4498c5
cmp edx, 0xf
je 0x449a13
test byte [edi + 0x3bc], 8
jne 0x44993e
mov dword [edi + 0x3ac], 0
test byte [edi + 0x2a0], 0x40
je 0x4498a1
mov eax, dword [edi + 0x370]
test eax, eax
je 0x4498a1
cmp dword [edi + 0x3a0], 0
je 0x4499c7
mov edx, dword [edi + 0x378]
mov edx, dword [edx]
cmp byte [edx], 0x2f
jne 0x4499c7
cmp dword [edi + 0x3a0], 0
je 0x44993e
mov dword [edi + 0x3a4], 1
mov eax, dword [edi + 0x378]
push dword [eax]
jmp 0x4499d2
xor edx, edx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0044b490
mov edx, dword [esp]
cmp dword [edx + 8], 0
je 0x44994a
movzx edx, byte [edi + 0x3b6]
test edx, edx
sete bl
test ecx, ecx
sete bh
or bh, bl
jne 0x449932
test byte [ecx + 0x6eb], 0x20
je 0x449932
mov esi, dword [ecx + 0xd20]
test esi, esi
je 0x44990a
cmp dword [esi + 4], 0
jle 0x449932
mov esi, dword [0xb5ad14]
cmp dword [esi + 4], 0
jle 0x449932
push 0xa218c8
push dword [edx*4 + 0xa21838]
push str.__s_______s_
push ecx
call fcn.00442890
xor eax, eax
add esp, 0x10
mov byte [edi + 0x3b6], 0
jmp 0x449a13
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00449a30
mov ebx, esi
mov eax, dword [edi + 0x398]
mov edx, dword [edi + 0x39c]
mov esi, eax
and esi, edx
cmp esi, 0xffffffff
je 0x449989
push edx
push eax
push ecx
mov esi, ecx
call fcn.00412860
add esp, 0xc
mov edx, dword [edi + 0x398]
mov ecx, esi
push dword [edi + 0x39c]
call fcn.0044b130
add esp, 8
jmp 0x449a16
test byte [ecx + 0x6ec], 4
jne 0x4499f8
test byte [ecx + 0xd61], 0x10
jne 0x4499f8
push dword [edi + 0x374]
push str.SIZE__s
push ebx
mov esi, ecx
push ecx
call fcn.004645b0
add esp, 0x10
test eax, eax
jne 0x449a13
mov ecx, esi
mov edx, 0x18
call fcn.00448990
jmp 0x449836
mov dword [edi + 0x3a4], 0
push eax
push str.CWD__s
push esi
mov esi, ecx
push ecx
call fcn.004645b0
add esp, 0x10
test eax, eax
jne 0x449a13
mov ecx, esi
mov edx, 0x10
call fcn.00448990
jmp 0x449836
push dword [edi + 0x374]
push str.RETR__s
push ebx
mov esi, ecx
push ecx
call fcn.004645b0
add esp, 0x10
test eax, eax
je 0x449a1b
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, 0x20
call fcn.00448990
jmp 0x449836