Function at 0x408a90
Capabilities:
Check if file exists
Copy file
Initialize winhttp library
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1b08
mov eax, dword fs:[0]
push eax
mov eax, 0x2a40
call fcn.004b0cc0
mov eax, dword [0x4e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x30], 0
je 0x408ace
mov eax, dword [ebp + 0x30]
mov dword [eax], 0
cmp dword [ebp + 0x34], 0
je 0x408ae4
xor ecx, ecx
mov edx, dword [ebp + 0x34]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
xor eax, eax
mov dword [ebp - 0x2164], eax
mov dword [ebp - 0x2160], eax
mov dword [ebp - 0x215c], eax
mov dword [ebp - 0x2158], eax
xor ecx, ecx
mov dword [ebp - 0x2154], ecx
mov dword [ebp - 0x2150], ecx
mov dword [ebp - 0x214c], ecx
push 0x1004
push 0
lea edx, [ebp - 0x211c]
push edx
call fcn.00487cb0
add esp, 0xc
mov dword [ebp - 0x21b8], 0
mov dword [ebp - 0x21d0], 0
xor eax, eax
mov dword [ebp - 0x2140], eax
mov dword [ebp - 0x213c], eax
mov dword [ebp - 0x2138], eax
mov dword [ebp - 0x2134], eax
mov dword [ebp - 0x220c], 0
mov dword [ebp - 0x21b0], 0
push 0x802
push 0
lea ecx, [ebp - 0x1118]
push ecx
call fcn.00487cb0
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00487cb0
add esp, 0xc
push 0x802
push 0
lea eax, [ebp - 0x2a4c]
push eax
call fcn.00487cb0
add esp, 0xc
push 0x802
push 0
lea ecx, [ebp - 0x914]
push ecx
call fcn.00487cb0
add esp, 0xc
push 0xc
lea ecx, [ebp - 0x212c]
call fcn.00408210
lea ecx, [ebp - 0x212c]
call fcn.0040c090
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.DownloadFileEx_File:__S__URL__S__CB__p__Ctx__p
call fcn.00424fe0
add esp, 0x14
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push str.__Pd__s__ISE__d
call fcn.00424fe0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x408c23
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x408c4a
mov dword [ebp - 0x2204], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x2204]
jmp 0x409f23
push str.file:
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004874a5
add esp, 8
cmp eax, dword [ebp + 0xc]
jne 0x408de9
mov dword [ebp - 0x21ac], 0
mov dword [ebp - 0x21b4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x802
lea eax, [ebp - 0x211c]
push eax
call fcn.0048b0bd
add esp, 0xc
lea ecx, [ebp - 0x2112]
mov dword [ebp - 0x21ac], ecx
jmp 0x408cad
mov edx, dword [ebp - 0x21ac]
add edx, 2
mov dword [ebp - 0x21ac], edx
mov eax, dword [ebp - 0x21ac]
movzx ecx, word [eax]
cmp ecx, 0x2f
jne 0x408cbd
jmp 0x408c9e
mov edx, dword [ebp - 0x21ac]
movzx eax, word [edx]
test eax, eax
jne 0x408cf1
mov dword [ebp - 0x21fc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x21fc]
jmp 0x409f23
mov ecx, dword [ebp - 0x21ac]
mov dword [ebp - 0x21b4], ecx
mov edx, dword [ebp - 0x21b4]
mov dword [ebp - 0x21ac], edx
jmp 0x408d1a
mov eax, dword [ebp - 0x21ac]
add eax, 2
mov dword [ebp - 0x21ac], eax
mov ecx, dword [ebp - 0x21ac]
movzx edx, word [ecx]
test edx, edx
je 0x408d45
mov eax, dword [ebp - 0x21ac]
movzx ecx, word [eax]
cmp ecx, 0x2f
jne 0x408d43
mov edx, 0x5c
mov eax, dword [ebp - 0x21ac]
mov word [eax], dx
jmp 0x408d0b
mov ecx, dword [ebp - 0x21b4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408d91
mov edx, dword [ebp - 0x21b4]
push edx
push str._S_not_found
call fcn.00424fe0
add esp, 8
mov dword [ebp - 0x21f8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x21f8]
jmp 0x409f23
cmp dword [ebp + 8], 0
je 0x408dc2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x21b4]
push ecx
push str.Copy_file__S_to__S
call fcn.00424fe0
add esp, 0xc
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x21b4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21f4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x21f4]
jmp 0x409f23
cmp dword [ebp + 0x20], 0
je 0x408dfa
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x21c4], ecx
jmp 0x408e04
mov dword [ebp - 0x21c4], 0x4d379c
push 0
push 0
push 0
push 1
mov edx, dword [ebp - 0x21c4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x21b8], eax
mov eax, dword [ebp + 0xc]
push eax
push 0x802
lea ecx, [ebp - 0x211c]
push ecx
call fcn.0048b0bd
add esp, 0xc
push str.https:
lea edx, [ebp - 0x211c]
push edx
call fcn.00405ea0
add esp, 8
test eax, eax
je 0x408e66
push str.Secure_HTTP_Access_Mode
call fcn.00424fe0
add esp, 4
mov dword [ebp - 0x21d0], 1
cmp dword [ebp + 0x28], 0
je 0x408f35
mov eax, dword [ebp + 0x28]
push eax
lea ecx, [ebp - 0x2224]
push ecx
call fcn.0040b910
add esp, 8
mov dword [ebp - 0x21f0], eax
mov edx, dword [ebp - 0x21f0]
push edx
lea ecx, [ebp - 0x212c]
call fcn.0040bf80
lea ecx, [ebp - 0x2224]
call fcn.0040bf40
cmp dword [ebp + 0x2c], 0
je 0x408f30
push 0
push 0
push 0x802
lea eax, [ebp - 0x914]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x2c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x408f30
push 0x4d37b4
call fcn.00424fe0
add esp, 4
call fcn.00425590
mov edx, dword [ebp - 0x21b0]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2164]
push ecx
mov edx, dword [ebp - 0x21b8]
push edx
call fcn.0040a000
add esp, 0x10
mov eax, dword [ebp - 0x21b0]
mov dword [ebp - 0x21ec], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x21ec]
jmp 0x409f23
jmp 0x4092d4
lea ecx, [ebp - 0x2164]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
jne 0x408f58
push str.WinHttpGetIEProxyConfigForCurrentUser_failed_n
call fcn.00424fe0
add esp, 4
jmp 0x4092d4
mov dword [ebp - 0x21c8], 0
cmp dword [ebp - 0x2164], 0
jne 0x408f78
cmp dword [ebp - 0x2160], 0
je 0x409043
xor edx, edx
mov dword [ebp - 0x219c], edx
mov dword [ebp - 0x2198], edx
mov dword [ebp - 0x2194], edx
mov dword [ebp - 0x2190], edx
mov dword [ebp - 0x218c], edx
mov dword [ebp - 0x2188], edx
cmp dword [ebp - 0x2164], 0
je 0x408fca
push str.Proxy_Auto_Detect
call fcn.00424fe0
add esp, 4
mov dword [ebp - 0x219c], 1
mov dword [ebp - 0x2198], 3
jmp 0x408ffd
cmp dword [ebp - 0x2160], 0
je 0x408ffd
mov eax, dword [ebp - 0x2160]
push eax
push str.Auto_Config_Url:__S_n
call fcn.00424fe0
add esp, 8
mov dword [ebp - 0x219c], 2
mov ecx, dword [ebp - 0x2160]
mov dword [ebp - 0x2194], ecx
mov dword [ebp - 0x2188], 0
lea edx, [ebp - 0x2154]
push edx
lea eax, [ebp - 0x219c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21b8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x409036
mov dword [ebp - 0x21c8], 1
jmp 0x409043
push str.WinHttpGetProxyForUrl_failed_n
call fcn.00424fe0
add esp, 4
cmp dword [ebp - 0x215c], 0
je 0x409160
cmp dword [ebp - 0x21c8], 0
jne 0x409160
push 0x4d3c44
call fcn.00424fe0
add esp, 4
mov eax, dword [ebp - 0x215c]
push eax
push 0x4d3c50
call fcn.00424fe0
add esp, 8
mov ecx, dword [ebp - 0x2158]
push ecx
push 0x4d3c5c
call fcn.00424fe0
add esp, 8
mov edx, dword [ebp - 0x215c]
push edx
lea eax, [ebp - 0x2218]
push eax
call fcn.0040b910
add esp, 8
mov dword [ebp - 0x21e8], eax
mov ecx, dword [ebp - 0x21e8]
push ecx
lea ecx, [ebp - 0x212c]
call fcn.0040bf80
lea ecx, [ebp - 0x2218]
call fcn.0040bf40
cmp dword [ebp - 0x2158], 0
je 0x40915b
push 0
push 0
push 0x802
lea edx, [ebp - 0x914]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2158]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40915b
push 0x4d3c68
call fcn.00424fe0
add esp, 4
call fcn.00425590
mov ecx, dword [ebp - 0x21b0]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2164]
push eax
mov ecx, dword [ebp - 0x21b8]
push ecx
call fcn.0040a000
add esp, 0x10
mov edx, dword [ebp - 0x21b0]
mov dword [ebp - 0x2200], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x2200]
jmp 0x409f23
jmp 0x4092d4
cmp dword [ebp - 0x2150], 0
je 0x4092d4
push str.Named_Proxy
call fcn.00424fe0
add esp, 4
mov eax, dword [ebp - 0x2150]
push eax
push str.Proxy:__S_n
call fcn.00424fe0
add esp, 8
mov ecx, dword [ebp - 0x214c]
push ecx
push str.Bypss:__S_n
call fcn.00424fe0
add esp, 8
mov edx, dword [ebp - 0x2150]
push edx
lea eax, [ebp - 0x2230]
push eax
call fcn.0040b910
add esp, 8
mov dword [ebp - 0x21d8], eax
mov ecx, dword [ebp - 0x21d8]
push ecx
lea ecx, [ebp - 0x212c]
call fcn.0040bf80
lea ecx, [ebp - 0x2230]
call fcn.0040bf40
cmp dword [ebp - 0x214c], 0
je 0x40929d
push 0
push 0
push 0x802
lea edx, [ebp - 0x914]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x214c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40929d
push str.WideCharToMultiByte__szProxyBypassA__failed
call fcn.00424fe0
add esp, 4
call fcn.00425590
mov ecx, dword [ebp - 0x21b0]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2164]
push eax
mov ecx, dword [ebp - 0x21b8]
push ecx
call fcn.0040a000
add esp, 0x10
mov edx, dword [ebp - 0x2150]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x2150], 0
mov eax, dword [ebp - 0x214c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x214c], 0
mov ecx, dword [ebp - 0x21b0]
mov dword [ebp - 0x21dc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x21dc]
jmp 0x409f23
mov edx, dword [ebp - 0x2150]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x2150], 0
cmp dword [ebp - 0x214c], 0
je 0x4092d4
mov eax, dword [ebp - 0x214c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x214c], 0
mov dword [ebp - 0x21a0], 0
mov dword [ebp - 0x21a8], 0
mov dword [ebp - 0x21a4], 0
mov dword [ebp - 0x21bc], 2
mov dword [ebp - 0x2120], 0
mov dword [ebp - 0x217c], 0
mov dword [ebp - 0x2178], 0
mov dword [ebp - 0x2180], 0
mov dword [ebp - 0x2170], 0xffffffff
push 8
call fcn.0043a7a8
add esp, 4
mov dword [ebp - 0x21c0], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c0], 0
je 0x40936b
push 8
mov ecx, dword [ebp - 0x21c0]
call fcn.00408210
mov ecx, dword [ebp - 0x21c0]
call fcn.0040c0d0
mov dword [ebp - 0x21cc], eax
jmp 0x409375
mov dword [ebp - 0x21cc], 0
mov ecx, dword [ebp - 0x21cc]
mov dword [ebp - 0x21e0], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21e0]
mov dword [ebp - 0x2184], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x216c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2168], ecx
cmp dword [ebp - 0x2184], 0
jne 0x4093e3
push str.new_failed.
call fcn.00424fe0
add esp, 4
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
cmp dword [ebp + 8], 0
je 0x40944b
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2170], eax
cmp dword [ebp - 0x2170], 0xffffffff
jne 0x40944b
push str.CreateFile_failed
call fcn.00424fe0
add esp, 4
lea eax, [ebp - 0x2184]
push eax
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00409f40
add esp, 8
mov edx, dword [ebp - 0x21a0]
add edx, 1
mov dword [ebp - 0x21a0], edx
jmp 0x409ec7
push str.Setting_up_cURL...
call fcn.00424fe0
add esp, 4
movzx eax, byte [0x4e7f58]
test eax, eax
jne 0x4094ce
push str.curl_global_initalizing
call fcn.00424fe0
add esp, 4
push 3
call fcn.0043d5e0
add esp, 4
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x4094c7
mov ecx, dword [ebp - 0x21a4]
push ecx
push str.curl_global_init_failed__d
call fcn.00424fe0
add esp, 8
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
mov byte [0x4e7f58], 1
call fcn.0043d590
mov dword [ebp - 0x21a8], eax
cmp dword [ebp - 0x21a8], 0
jne 0x409519
push str.curl_easy_init_failed
call fcn.00424fe0
add esp, 4
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
push 0
push 0
push 0x802
lea edx, [ebp - 0x1118]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x409579
push str.WideCharToMultiByte__szURLA__failed
call fcn.00424fe0
add esp, 4
call fcn.00425590
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
cmp dword [ebp + 0x20], 0
je 0x40958a
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x21d4], ecx
jmp 0x409594
mov dword [ebp - 0x21d4], str.HttpRequest
push 0
push 0
push 0x100
lea edx, [ebp - 0x110]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x21d4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4095f7
push str.WideCharToMultiByte__szUserAgentA__failed
call fcn.00424fe0
add esp, 4
call fcn.00425590
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
lea ecx, [ebp - 0x1118]
push ecx
push 0x2712
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x40965f
mov eax, dword [ebp - 0x21a4]
push eax
push str.curl_easy_setopt_CURLOPT_URL__failed__d
call fcn.00424fe0
add esp, 8
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
lea ecx, [ebp - 0x110]
push ecx
push 0x2722
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x4096ce
mov eax, dword [ebp - 0x21a4]
push eax
lea ecx, [ebp - 0x110]
push ecx
push str.curl_easy_setopt_CURLOPT_USERAGENT___s__failed__d
call fcn.00424fe0
add esp, 0xc
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
lea edx, [ebp - 0x2184]
push edx
push 0x272d
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x409736
mov ecx, dword [ebp - 0x21a4]
push ecx
push str.curl_easy_setopt_CURLOPT_HEADERDATA__failed__d
call fcn.00424fe0
add esp, 8
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
push 0x40a0a0
push 0x4e6f
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x40979c
mov eax, dword [ebp - 0x21a4]
push eax
push str.curl_easy_setopt_CURLOPT_HEADERFUNCTION__failed__d
call fcn.00424fe0
add esp, 8
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
lea ecx, [ebp - 0x2184]
push ecx
push 0x2711
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x409804
mov eax, dword [ebp - 0x21a4]
push eax
push str.curl_easy_setopt_CURLOPT_WRITEDATA__failed__d
call fcn.00424fe0
add esp, 8
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
push 0x40a2c0
push 0x4e2b
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x40986a
mov edx, dword [ebp - 0x21a4]
push edx
push str.curl_easy_setopt_CURLOPT_WRITEFUNCTION__failed__d
call fcn.00424fe0
add esp, 8
lea eax, [ebp - 0x2184]
push eax
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00409f40
add esp, 8
mov edx, dword [ebp - 0x21a0]
add edx, 1
mov dword [ebp - 0x21a0], edx
jmp 0x409ec7
cmp dword [ebp + 0x1c], 0
je 0x4098d5
mov eax, dword [ebp + 0x1c]
push eax
push 0x271f
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x4098d5
mov edx, dword [ebp - 0x21a4]
push edx
push str.curl_easy_setopt_CURLOPT_POSTFIELDS__failed__d
call fcn.00424fe0
add esp, 8
lea eax, [ebp - 0x2184]
push eax
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00409f40
add esp, 8
mov edx, dword [ebp - 0x21a0]
add edx, 1
mov dword [ebp - 0x21a0], edx
jmp 0x409ec7
cmp dword [ebp + 8], 0
jne 0x409911
push 1
push 0x2c
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x409911
mov ecx, dword [ebp - 0x21a4]
push ecx
push str.WARN:_curl_easy_setopt_CURLOPT_NOBODY__failed__d
call fcn.00424fe0
add esp, 8
cmp dword [ebp - 0x21d0], 0
je 0x409a52
push 6
push 0x20
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x40997e
mov eax, dword [ebp - 0x21a4]
push eax
push str.curl_easy_setopt_CURLOPT_SSLVERSION__failed__d
call fcn.00424fe0
add esp, 8
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
cmp dword [ebp + 0x10], 0xffffffff
jne 0x40998b
mov dword [ebp + 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x409a0c
push str.Setting_up_to_ignore_SSL_errors.
call fcn.00424fe0
add esp, 4
push 0
push 0x40
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x4099d4
mov edx, dword [ebp - 0x21a4]
push edx
push str.WARN:_curl_easy_setopt_CURLOPT_SSL_VERIFYPEER__failed__d
call fcn.00424fe0
add esp, 8
push 0
push 0x51
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x409a0a
mov ecx, dword [ebp - 0x21a4]
push ecx
push str.WARN:_curl_easy_setopt_CURLOPT_SSL_VERIFYHOST__failed__d
call fcn.00424fe0
add esp, 8
jmp 0x409a52
push str.Setting_up_ignoring_cert_revocation_errors.
call fcn.00424fe0
add esp, 4
push 2
push 0xd8
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x409a52
mov eax, dword [ebp - 0x21a4]
push eax
push str.WARN:_curl_easy_setopt_CURLOPT_SSL_OPTIONS__failed__d
call fcn.00424fe0
add esp, 8
lea ecx, [ebp - 0x212c]
call fcn.0040bdf0
test eax, eax
jbe 0x409ba4
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x914]
test eax, eax
je 0x409ae8
lea ecx, [ebp - 0x914]
push ecx
push 0x27c1
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
cmp dword [ebp - 0x21a4], 0
je 0x409ae8
mov eax, dword [ebp - 0x21a4]
push eax
lea ecx, [ebp - 0x914]
push ecx
push str.curl_easy_setopt_CURLOPT_NOPROXY___s__failed__d
call fcn.00424fe0
add esp, 0xc
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
mov edx, dword [ebp - 0x21a0]
push edx
lea ecx, [ebp - 0x212c]
call fcn.0040bdc0
mov ecx, eax
call fcn.0040c610
push eax
push 0x2714
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00440a80
add esp, 0xc
mov dword [ebp - 0x21a4], eax
mov ecx, dword [ebp - 0x21a0]
push ecx
lea ecx, [ebp - 0x212c]
call fcn.0040bdc0
mov ecx, eax
call fcn.0040c610
push eax
push str.curl_easy_setopt_CURLOPT_PROXY___s_
call fcn.00424fe0
add esp, 8
cmp dword [ebp - 0x21a4], 0
je 0x409ba4
mov edx, dword [ebp - 0x21a4]
push edx
mov eax, dword [ebp - 0x21a0]
push eax
lea ecx, [ebp - 0x212c]
call fcn.0040bdc0
mov ecx, eax
call fcn.0040c610
push eax
push str.curl_easy_setopt_CURLOPT_PROXY___s__failed__d
call fcn.00424fe0
add esp, 0xc
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
push str.Calling_curl_easy_perform___...
call fcn.00424fe0
add esp, 4
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.0043d5d0
add esp, 4
mov dword [ebp - 0x21bc], eax
lea edx, [ebp - 0x2120]
push edx
push 0x200002
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.0043d570
add esp, 0xc
mov ecx, dword [ebp - 0x2120]
push ecx
mov edx, dword [ebp - 0x21bc]
push edx
push str.DONE__cuc___d_Response___d
call fcn.00424fe0
add esp, 0xc
cmp dword [ebp + 0x30], 0
je 0x409c0d
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp - 0x2120]
mov dword [eax], ecx
push 4
lea ecx, [ebp - 0x2130]
call fcn.00408210
push str.Last_Modified
lea ecx, [ebp - 0x2248]
call fcn.0040c7d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2248]
push edx
lea eax, [ebp - 0x2130]
push eax
mov ecx, dword [ebp - 0x2184]
call fcn.0040bc50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2248]
call fcn.0040c700
lea ecx, [ebp - 0x2208]
push ecx
mov ecx, dword [ebp - 0x2184]
call fcn.0040bd00
push eax
lea ecx, [ebp - 0x2130]
call fcn.0040bbc0
movzx edx, al
test edx, edx
je 0x409cce
lea ecx, [ebp - 0x2130]
call fcn.0040bc30
add eax, 0x18
push eax
lea eax, [ebp - 0x2140]
push eax
call fcn.0040a6e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x409ccc
cmp dword [ebp + 0x34], 0
je 0x409ccc
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp - 0x2140]
mov dword [edx], eax
mov ecx, dword [ebp - 0x213c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2138]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2134]
mov dword [edx + 0xc], ecx
jmp 0x409cf0
cmp dword [ebp - 0x21bc], 0
je 0x409ce3
cmp dword [ebp - 0x2120], 0xc8
jne 0x409cf0
push str.Cannot_find_last_modified_date_in_header.
call fcn.00424fe0
add esp, 4
cmp dword [ebp - 0x21bc], 0
je 0x409d37
mov edx, dword [ebp - 0x21a4]
push edx
push str.curl_easy_perform_failed.__d
call fcn.00424fe0
add esp, 8
lea eax, [ebp - 0x2184]
push eax
mov ecx, dword [ebp - 0x21a8]
push ecx
call fcn.00409f40
add esp, 8
mov edx, dword [ebp - 0x21a0]
add edx, 1
mov dword [ebp - 0x21a0], edx
jmp 0x409ec7
cmp dword [ebp + 8], 0
je 0x409e81
cmp dword [ebp - 0x2120], 0xc8
je 0x409d8b
mov eax, dword [ebp - 0x2120]
push eax
push str.Response_code_is__d
call fcn.00424fe0
add esp, 8
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
movzx ecx, word [ebp - 0x2140]
test ecx, ecx
jne 0x409dc0
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
xor edx, edx
mov dword [ebp - 0x2148], edx
mov dword [ebp - 0x2144], edx
lea eax, [ebp - 0x2148]
push eax
lea ecx, [ebp - 0x2140]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x409e27
push str.SystemTimeToFileTime_failed
call fcn.00424fe0
add esp, 4
push 0
call fcn.004255a0
add esp, 4
lea edx, [ebp - 0x2184]
push edx
mov eax, dword [ebp - 0x21a8]
push eax
call fcn.00409f40
add esp, 8
mov ecx, dword [ebp - 0x21a0]
add ecx, 1
mov dword [ebp - 0x21a0], ecx
jmp 0x409ec7
lea edx, [ebp - 0x2148]
push edx
push 0
push 0
mov eax, dword [ebp - 0x2170]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x409e81
push str.SetFileTime_failed
call fcn.00424fe0
add esp, 4
push 0
call fcn.004255a0
add esp, 4
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
jmp 0x409ec7
lea ecx, [ebp - 0x2184]
push ecx
mov edx, dword [ebp - 0x21a8]
push edx
call fcn.00409f40
add esp, 8
cmp dword [ebp - 0x21bc], 0
je 0x409eac
cmp dword [ebp - 0x2120], 0xc8
jne 0x409eb8
mov dword [ebp - 0x21b0], 1
jmp 0x409ede
mov eax, dword [ebp - 0x21a0]
add eax, 1
mov dword [ebp - 0x21a0], eax
lea ecx, [ebp - 0x212c]
call fcn.0040bdf0
cmp dword [ebp - 0x21a0], eax
jl 0x4092de
mov ecx, dword [ebp - 0x21b0]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2164]
push eax
mov ecx, dword [ebp - 0x21b8]
push ecx
call fcn.0040a000
add esp, 0x10
mov edx, dword [ebp - 0x21b0]
mov dword [ebp - 0x21e4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x212c]
call fcn.0040bf40
mov eax, dword [ebp - 0x21e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a792
mov esp, ebp
pop ebp
ret