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

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, ecx
lea eax, [edx - 0xc8]
cmp eax, 0x64
jae 0x6b4546da
mov ebp, dword [esp + 0x18]
mov ebx, dword [esi + 0xc]
cmp edx, 0xc8
je 0x6b454674
push edx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.6b4767f0
add esp, 0xc
xor edi, edi
add ebp, 0xffffffed
cmp ebp, 3
ja case.default.0x6b45467e
jmp dword [ebp*4 + 0x6b72b700]
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 8]
test eax, eax
je 0x6b454802
cmp eax, 1
jne 0x6b4547c4
mov eax, dword [ebx + 0x444]
test eax, eax
je 0x6b454802
add ebx, 0x3f8
push eax
push str.SIZE__s
push ebx
push esi
call fcn.6b472530
add esp, 0x10
mov edi, eax
test eax, eax
jne case.default.0x6b45467e
mov eax, dword [esi + 0xc]
mov dword [eax + 0x484], 0x17
xor edi, edi
jmp case.default.0x6b45467e
push str.Couldnt_set_desired_mode
push esi
call fcn.6b476950
add esp, 8
mov edi, 0x11
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esi + 0xc]
xor ebp, ebp
cmp dword [esi + 0x4e0], 2
jne 0x6b454841
mov eax, dword [esi + 0x114]
cmp dword [eax], 0
je 0x6b454841
mov ebx, edi
mov dword [esp], 0
mov ecx, esp
push 3
push 0
push ecx
push 0
push dword [eax]
push esi
call fcn.6b44f290
add esp, 0x18
test eax, eax
je 0x6b454810
mov edi, eax
jmp case.default.0x6b45467e
mov ecx, esi
mov edx, 1
push 0xd
call fcn.6b4541d0
add esp, 8
jmp 0x6b4546f2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x3a0]
mov dword [eax + 0x478], 0
test ecx, ecx
je 0x6b4547b4
mov ecx, dword [ecx]
lea edx, [ecx + 1]
xor ebx, ebx
cmp byte [ecx], 0x2a
sete bl
cmovne edx, ecx
mov dword [eax + 0x47c], ebx
add eax, 0x3f8
push edx
push 0x6b72b898
push eax
push esi
call fcn.6b472530
add esp, 0x10
mov edi, eax
test eax, eax
jne case.default.0x6b45467e
mov eax, dword [esi + 0xc]
mov dword [eax + 0x484], 0xe
xor edi, edi
jmp case.default.0x6b45467e
mov ecx, esi
xor edx, edx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.6b454ab0
cmp dword [ebx + 0x444], 0
je 0x6b454802
add ebx, 0x3f8
push 0
push str.REST__d
push ebx
push esi
call fcn.6b472530
add esp, 0x10
mov edi, eax
test eax, eax
jne case.default.0x6b45467e
mov eax, dword [esi + 0xc]
mov dword [eax + 0x484], 0x1a
xor edi, edi
jmp case.default.0x6b45467e
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.6b454e90
mov edi, dword [esp]
push 0x2f
push edi
call sub.msvcrt.dll_strrchr
add esp, 8
test eax, eax
je 0x6b454834
sub eax, edi
mov ecx, 1
cmovne ecx, eax
mov byte [edi + ecx], 0
mov ebp, edi
jmp 0x6b45483f
mov eax, dword [0x6b83acf4]
push edi
call dword [eax]
add esp, 4
mov edi, ebx
mov eax, dword [esi + 0x524]
test eax, eax
jne 0x6b45485f
test byte [esi + 0xb46], 2
mov ecx, 0x6b72bb73
mov eax, str.NLST
cmove eax, ecx
test ebp, ebp
mov ecx, 0x6b72b9b0
mov edx, 0x6b72be2b
cmove edx, ecx
cmovne ecx, ebp
push ecx
push edx
push eax
push 0x6b72be24
call sym.libcurl.dll_curl_maprintf
add esp, 0x10
mov ebx, eax
mov eax, dword [0x6b83acf4]
push ebp
mov ebp, eax
call dword [eax]
add esp, 4
test ebx, ebx
je 0x6b4548cf
add edi, 0x3f8
push ebx
push 0x6b72b898
push edi
push esi
call fcn.6b472530
add esp, 0x10
mov edi, eax
push ebx
call dword [ebp]
add esp, 4
test edi, edi
jne case.default.0x6b45467e
mov eax, dword [esi + 0xc]
mov dword [eax + 0x484], 0x1f
xor edi, edi
jmp case.default.0x6b45467e
mov edi, 0x1b
jmp case.default.0x6b45467e