Function at 0x10010a50
Capabilities:
Check http status code
Get file size
Link many functions at runtime
Timestomp file

Disassembly:
sub esp, 0x190
mov eax, dword [0x10035400]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x19c]
push esi
push edi
xor ebx, ebx
push 0x12b
lea eax, [esp + 0x6d]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 1
mov byte [esp + 0x74], bl
call fcn.1001f410
add esp, 0xc
cmp dword [0x1006bfa4], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
je 0x10010add
cmp dword [0x1006bfa8], ebx
je 0x10010add
cmp dword [0x1006bfac], ebx
je 0x10010add
cmp dword [0x1006bfb0], ebx
je 0x10010add
cmp dword [0x1006bfb4], ebx
je 0x10010add
mov ecx, dword [0x1006bfb8]
cmp ecx, ebx
je 0x10010add
mov eax, dword [0x1006bfbc]
cmp eax, ebx
jne 0x10010b55
push str.libcurl.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.curl_easy_getinfo
push esi
call edi
push str.curl_easy_setopt
push esi
mov dword [0x1006bfa4], eax
call edi
push str.curl_easy_perform
push esi
mov dword [0x1006bfa8], eax
call edi
push str.curl_easy_strerror
push esi
mov dword [0x1006bfac], eax
call edi
push str.curl_easy_cleanup
push esi
mov dword [0x1006bfb0], eax
call edi
push str.curl_global_init
push esi
mov dword [0x1006bfb4], eax
call edi
push str.curl_easy_init
push esi
mov dword [0x1006bfb8], eax
call edi
mov ecx, dword [0x1006bfb8]
mov esi, dword [esp + 0x1c]
mov dword [0x1006bfbc], eax
cmp dword [0x1006bfa4], ebx
je 0x100110d7
cmp dword [0x1006bfa8], ebx
je 0x100110d7
cmp dword [0x1006bfac], ebx
je 0x100110d7
cmp dword [0x1006bfb0], ebx
je 0x100110d7
cmp dword [0x1006bfb4], ebx
je 0x100110d7
cmp ecx, ebx
je 0x100110d7
cmp eax, ebx
je 0x100110d7
cmp ebp, ebx
je 0x10011110
cmp byte [ebp], bl
je 0x10011110
cmp esi, ebx
je 0x10011110
cmp byte [esi], bl
je 0x10011110
cmp dword [0x1006bfa0], ebx
jne 0x10010bdb
push 3
call ecx
add esp, 4
mov dword [0x1006bfa0], 1
lea ecx, [esp + 0x50]
push ecx
mov eax, esi
call fcn.10012750
add esp, 4
call dword [0x1006bfbc]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x24], esi
jne 0x10010c3e
push str.curl
push 0x247
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
push str.curl
push 0x247
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x20
mov dword [esp + 0x14], ebx
mov eax, ebx
jmp 0x10011112
mov eax, ebp
call fcn.1000f8c0
push esi
mov edi, ebp
call fcn.10010980
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x18], edi
jne 0x10010ca1
push ebp
push str.URL__s_encode_
push 0x251
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
add esp, 0x14
push ebp
push str.URL__s_encode_
push 0x251
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x14
mov dword [esp + 0x14], ebx
jmp 0x10010ffb
mov eax, dword [esp + 0x1c]
or ecx, 0xffffffff
lea ebx, [esp + 0x68]
call fcn.1000f9f0
push 0xffffffffffffffff
mov eax, str..bak
call fcn.1000fa40
add esp, 4
push 0
push 0
push 4
push 0
push 1
push 0x10000000
mov edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x10011084
cmp edi, 0xffffffff
je 0x10011084
mov eax, dword [esp + 0x18]
push eax
push 0x2712
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 0x1e
push 0x4e
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 1
push 0x45
push esi
call dword [0x1006bfa8]
add esp, 0xc
push edi
push 0x2711
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 0x10010860
push 0x4e2b
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 0
push 0x51
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 0
push 0x40
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 1
push 0x34
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jbe 0x10010d95
push 0
push eax
push 0x75a4
push esi
call dword [0x1006bfa8]
add esp, 0x10
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0x13
push esi
call dword [0x1006bfa8]
add esp, 0xc
push 0xa
push 0x14
push esi
call dword [0x1006bfa8]
add esp, 0xc
push esi
call dword [0x1006bfac]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10010e1f
push ebx
call dword [0x1006bfb0]
add esp, 4
push eax
push ebp
push str.URL__s_
push 0x296
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
push ebx
call dword [0x1006bfb0]
add esp, 0x1c
push eax
push ebp
push str.URL__s_
push 0x296
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x18
mov dword [esp + 0x14], 0
jmp 0x10010fea
lea ecx, [esp + 0x20]
push ecx
push 0x200002
push esi
call dword [0x1006bfa4]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10010e98
push ebx
call dword [0x1006bfb0]
add esp, 4
push eax
push str.Curl
push 0x29f
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
add esp, 0x14
push ebx
call dword [0x1006bfb0]
add esp, 4
push eax
push str.Curl
push 0x29f
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x10010fea
mov eax, dword [esp + 0x20]
cmp eax, 0xc8
je 0x10010f4c
cmp eax, 0xce
je 0x10010f4c
cmp eax, 0x194
push ebp
mov ecx, str.cutil_download_CurlDownloadEx
jne 0x10010f04
push str.404_url:__s
push 0x2a8
push str..Cutil_FileDownload.c
push 1
call fcn.1000be40
add esp, 0x14
push ebp
push str.404_url:__s
push 0x2a8
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x10010fea
push eax
push 0x1002f8c4
push 0x2ac
push str..Cutil_FileDownload.c
push 1
call fcn.1000be40
mov edx, dword [esp + 0x38]
push ebp
push edx
push 0x1002f8c4
push 0x2ac
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x30
mov dword [esp + 0x14], 0
jmp 0x10010fea
lea eax, [esp + 0x28]
push eax
push 0x20000e
push esi
call dword [0x1006bfa4]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1001102e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x10010fea
mov eax, dword [esp + 0x28]
jg 0x10010f7c
test eax, eax
jbe 0x10010fea
cmp eax, 0xffffffff
jne 0x10010f85
test ecx, ecx
je 0x10010fea
push ecx
push eax
lea esi, [esp + 0x60]
call fcn.100126a0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
add esp, 8
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x44], edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x10010fe6
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x10010fe6
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [esp + 0x24]
test edi, edi
je 0x10010ff5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
je 0x10011008
push edi
call fcn.100186a9
add esp, 4
push esi
call dword [0x1006bfb4]
add esp, 4
cmp dword [esp + 0x14], ebx
je 0x10011025
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
call fcn.100115b0
mov eax, dword [esp + 0x14]
jmp 0x10011112
push ebx
call dword [0x1006bfb0]
add esp, 4
push eax
push ebp
push str.get_File:_s_LastTime_fail._err___s
push 0x2c7
push str..Cutil_FileDownload.c
push 2
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
push ebx
call dword [0x1006bfb0]
add esp, 0x1c
push eax
push ebp
push str.get_File:_s_LastTime_fail._err___s
push 0x2c7
push str..Cutil_FileDownload.c
push 2
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x18
jmp 0x10010fea
lea edx, [esp + 0x68]
push edx
push 0x1002f868
push 0x25e
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
add esp, 0x14
lea eax, [esp + 0x68]
push eax
push 0x1002f868
push 0x25e
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x10010fea
push str.libcurl_get_addr_failed
push 0x234
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000be40
push str.libcurl_get_addr_failed
push 0x234
push str..Cutil_FileDownload.c
push 1
mov ecx, str.cutil_download_CurlDownloadEx
call fcn.1000bb50
add esp, 0x20
xor eax, eax
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001829e
add esp, 0x190
ret