Function at 0x4148c0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de746
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x518250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.00487d10
push esi
push 0x4ec0c4
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x21c]
push str.curlnet.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00404e50
mov ecx, eax
test ecx, ecx
je 0x414b31
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x414974
movzx eax, ax
lea ecx, [ebp - 0x224]
push eax
call fcn.0040e240
jmp 0x4149a2
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414980
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00406400
mov edi, dword [0x51a9d4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x220], edi
test edi, edi
jne 0x414a24
push 0x517140
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x51a9d4], edi
jne 0x414a0d
push 0x1c
call fcn.00450e0a
add esp, 4
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4149fb
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
jmp 0x4149fd
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x228]
lock or dword [ecx], edx
mov dword [0x51a9d4], eax
push 0x517140
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x51a9d4]
mov dword [ebp - 0x220], edi
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414ae1
push esi
call fcn.00420c80
add esp, 4
test eax, eax
je 0x414ae1
cmp dword [edi], 0
jne 0x414acb
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x414ae1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CurlInit
push eax
call edi
mov ecx, dword [ebp - 0x220]
push str.CurlUninit
push dword [ecx]
mov dword [ecx + 4], eax
call edi
mov ecx, dword [ebp - 0x220]
push str.zlib_uncompress
push dword [ecx]
mov dword [ecx + 8], eax
call edi
mov ecx, dword [ebp - 0x220]
push str.zlib_compress
push dword [ecx]
mov dword [ecx + 0x10], eax
call edi
mov ecx, dword [ebp - 0x220]
push str.zlib_compressBound
push dword [ecx]
mov dword [ecx + 0x14], eax
call edi
mov edi, dword [ebp - 0x220]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x414acb
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x414ae1
cmp dword [edi + 4], 0
je 0x414ae1
cmp dword [edi + 0xc], 0
je 0x414ae1
xor ecx, ecx
jmp 0x414ae6
mov ecx, 1
mov dword [ebp - 0x220], ecx
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414b11
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x220]
test cl, cl
sete al
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.0045124a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b40
int3