Function at 0x10006e74
Capabilities:
Check if file exists
Create directory
Download url
Receive data

Disassembly:
mov eax, 0x1001434e
call fcn.1000b250
sub esp, 0x140
mov eax, dword [0x100190f4]
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], eax
call fcn.100085ff
xor ebx, ebx
push ebx
push 0x1001531c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.100082e3
or edi, 0xffffffff
cmp eax, edi
je 0x10006ee5
push edi
add eax, 3
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000868b
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.100083a9
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], bl
call fcn.10008107
push ebx
push 0x2f
lea ecx, [ebp - 0x5c]
call fcn.100082a6
cmp eax, edi
je 0x10006f1f
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10008652
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.100083a9
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], bl
call fcn.10008107
push ebx
push 0x2e
lea ecx, [ebp - 0x5c]
call fcn.100082a6
cmp eax, edi
je 0x10006f5b
push edi
inc eax
push eax
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000868b
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.100083a9
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], bl
call fcn.10008107
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
lea edi, [esi + 0x1b4]
push eax
mov ecx, edi
call fcn.10005c4c
mov eax, dword [eax]
cmp eax, dword [esi + 0x1b8]
je 0x10006f83
mov byte [ebp + 0xb], 1
jmp 0x1000711e
call fcn.10006e2f
push dword [eax]
lea eax, [ebp - 0xa8]
push eax
call fcn.10008ed8
pop ecx
pop ecx
push str.Icons
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.100083e9
push ebx
lea ecx, [ebp - 0xa8]
call fcn.1000815b
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xfc]
push 0x100154d8
push eax
call fcn.10008a8d
add esp, 0xc
push str..ico
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10008839
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.100083d4
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.10008107
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.10008107
lea ecx, [ebp - 0xa8]
call fcn.1000815b
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call esi
test eax, eax
je 0x10007075
call fcn.10006e2f
push ebx
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.1000815b
push eax
push dword [esi]
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov esi, eax
cmp esi, ebx
je 0x1000710d
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x100]
call fcn.100085ff
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 7
jmp 0x100070e3
push ebx
push ebx
lea ecx, [ebp - 0xa8]
call fcn.1000815b
mov ecx, dword [ebp + 0xc]
push eax
call fcn.1000815b
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jl 0x1000710d
lea ecx, [ebp - 0xa8]
call fcn.1000815b
push eax
call esi
test eax, eax
je 0x1000710d
call fcn.10006e2f
push ebx
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.1000815b
push eax
push dword [esi]
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov esi, eax
cmp esi, ebx
je 0x1000710d
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x100]
call fcn.100085ff
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.10006948
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 4
call fcn.10008107
mov byte [ebp + 0xb], 1
jmp 0x10007110
mov byte [ebp + 0xb], bl
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], bl
call fcn.10008107
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10008107
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1000b2da
leave
ret 8