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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054920
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x100735cc]
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, ecx
mov dword [ebp - 0x220], esi
call fcn.10027220
test eax, eax
je 0x1000ff32
call fcn.10027220
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000ff32
call fcn.10027220
lea ecx, [ebp - 0x2cc]
mov edi, eax
call fcn.10006fe0
mov esi, eax
push str.run_lockscreen
push esi
mov dword [ebp - 4], 0
call fcn.10007150
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0x2cc]
call fcn.10002ee0
mov esi, dword [ebp - 0x220]
push 0x10075a72
push 0x74
call fcn.1002844d
mov ecx, eax
add esp, 8
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1000ff83
sub esp, 8
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1000ff71
lock inc dword [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 4], eax
call fcn.1000a000
jmp 0x1000ff85
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x20], eax
test eax, eax
je 0x10010160
push 0
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 1
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x230], 0
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call sub.gdiplus.dll_GdiplusStartup
push dword [0x1007228c]
push str.lockscreen
push 1
call fcn.1000bdc0
mov ecx, eax
call fcn.10024950
push 0
push 0
push 1
push 0
push 0x1005a298
call fcn.1000bdc0
mov ecx, eax
call fcn.10024970
mov edi, dword [0x10075784]
test edi, edi
jne 0x1001007d
push 0x10072138
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10075784], edi
jne 0x1001006c
push 0x1c
call fcn.10028042
mov ecx, eax
add esp, 4
mov dword [ebp - 0x21c], ecx
test ecx, ecx
je 0x1001005e
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
jmp 0x10010060
xor ecx, ecx
xchg dword [ebp - 0x21c], eax
mov dword [0x10075784], ecx
push 0x10072138
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x10075784]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10030d40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.netcurl.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001014a
cmp dword [edi], 0
jne 0x1001014a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1001014a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1001014a
call eax
mov dword [edi + 0xc], eax
mov esi, dword [ebp - 0x220]
mov ecx, dword [esi + 0x20]
call fcn.1000c130
mov ecx, dword [esi + 0x20]
call fcn.1000e500
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.10028080
mov esp, ebp
pop ebp
ret