Function at 0x418b70
Capabilities:
Check http status code
Check if file exists
Delete file
Download and write a file
Get http content length
Move file
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Send http request with host header
Set file attributes
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431cee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x600
push edi
mov dword [ebp - 0x5f4], ecx
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x48
call fcn.0041bcd0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00403265
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1e0]
xor edx, edx
cmp dword [ecx - 8], 0
sete dl
test edx, edx
jne 0x418c09
mov eax, 0x4348b8
test eax, eax
jne 0x418be1
mov dword [ebp - 0x5f8], 0
jmp 0x418bf2
push 0x4348b8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x5f8], eax
push 0x4348b8
mov ecx, dword [ebp - 0x5f8]
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.0041bdb0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x5f4]
call fcn.0041aeb0
test eax, eax
jne 0x418c43
mov dword [ebp - 0x3f4], SysReAllocString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x3f4]
jmp 0x41a1ce
mov eax, dword [ebp - 0x5f4]
cmp dword [eax + 0x44], 0
je 0x418c5a
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov ecx, dword [ebp - 0x5f4]
cmp dword [ecx + 0x40], 0
je 0x418c98
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x3f8], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x3f8]
jmp 0x41a1ce
lea edx, [ebp - 0x10]
mov dword [ebp - 0x4ac], edx
mov eax, dword [ebp - 0x4ac]
mov ecx, dword [0x43c180]
mov dword [eax], ecx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x5f4]
add edx, 0x24
mov dword [ebp - 0x4b8], edx
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [eax]
mov dword [ebp - 0x4b4], ecx
push 0x2f
mov edx, dword [ebp - 0x4b4]
push edx
call fcn.0041c718
add esp, 8
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0
jne 0x418d0a
mov dword [ebp - 0x5fc], 0xffffffff
jmp 0x418d1e
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [ebp - 0x4b0]
sub ecx, dword [eax]
mov dword [ebp - 0x5fc], ecx
mov edx, dword [ebp - 0x5fc]
add edx, 1
push edx
lea eax, [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x24
call fcn.0041bf00
mov dword [ebp - 0x600], eax
mov ecx, dword [ebp - 0x600]
mov dword [ebp - 0x604], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x604]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041bd30
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3fc]
sub eax, 0xc
cmp eax, dword [0x43c184]
je 0x418da9
mov ecx, dword [ebp - 0x3fc]
sub ecx, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x418da9
mov edx, dword [ebp - 0x3fc]
sub edx, 0xc
mov dword [ebp - 0x4bc], edx
mov eax, dword [ebp - 0x4bc]
push eax
call fcn.0041c1b2
add esp, 4
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x1e0]
xor edx, edx
cmp dword [ecx - 8], 0
sete dl
test edx, edx
jne 0x418dfe
mov eax, dword [ebp - 0x5f4]
cmp dword [eax + 0x4c], 0
je 0x418dfe
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418dfe
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xbd8
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x5f4]
call fcn.004186f0
test eax, eax
jne 0x418e40
mov dword [ebp - 0x400], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x400]
jmp 0x41a1ce
mov eax, dword [ebp - 0x5f4]
cmp dword [eax + 0x40], 0
je 0x418e8a
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x404], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x404]
jmp 0x41a1ce
mov dword [ebp - 0x1dc], 0x4400010
cmp dword [ebp + 0x10], 0
jne 0x418eac
mov ecx, dword [ebp - 0x1dc]
or ecx, 0x200000
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x4c8], eax
push 0
mov ecx, dword [ebp - 0x1dc]
push ecx
push 0x43d240
push 0
push 0x4348ac
mov edx, dword [ebp - 0x4c8]
push edx
push 0x4348a8
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x5f4]
cmp dword [eax + 0xc], 0
jne 0x418f4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x408], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x408]
jmp 0x41a1ce
mov byte [ebp - 0x134], 0
mov ecx, 0x43
xor eax, eax
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 0x14], 0
je 0x418fc6
push 0x4348a0
lea edx, [ebp - 0x134]
push edx
call fcn.0041c620
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x134]
push ecx
call fcn.0041c630
add esp, 8
push 0x43380c
lea edx, [ebp - 0x134]
push edx
call fcn.0041c630
add esp, 8
push 0x1000000
push 0xffffffffffffffff
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
push 0xffffffffffffffff
push str.Accept_Encoding:_deflate_r_n
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
push 0xffffffffffffffff
push str.Accept_Language:_zh_cn
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov byte [ebp - 0x18c], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x18b]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x1e0]
xor edx, edx
cmp dword [ecx - 8], 0
sete dl
test edx, edx
jne 0x4190d1
mov dword [ebp - 0x39c], 0
mov ecx, 0x4f
xor eax, eax
lea edi, [ebp - 0x398]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x1e0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x3a0], 0xffffffff
je 0x4190d1
mov edx, dword [ebp - 0x3a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x3a0], 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x388]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x37c]
push eax
push 0x434858
lea ecx, [ebp - 0x18c]
push ecx
call fcn.0041c783
add esp, 0xc
mov dword [ebp - 0x1d8], 1
mov edx, dword [ebp - 0x5f4]
cmp dword [edx + 0x40], 0
je 0x41911b
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x40c], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x40c]
jmp 0x41a1ce
push 0
push 0
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41924a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
cmp dword [ebp - 0x1d8], 0
je 0x41917c
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x608], ecx
cmp dword [ebp - 0x608], 0x2ee2
je 0x4191e4
cmp dword [ebp - 0x608], 0x2ee7
je 0x4191b1
cmp dword [ebp - 0x608], 0x2efd
je 0x4191b1
jmp 0x419217
mov dword [ebp - 0x410], reloc.OLEAUT32.dll_VariantClear
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x410]
jmp 0x41a1ce
mov dword [ebp - 0x414], SysStringLen
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x414]
jmp 0x41a1ce
mov dword [ebp - 0x418], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x418]
jmp 0x41a1ce
mov edx, dword [ebp - 0x5f4]
cmp dword [edx + 0x40], 0
je 0x419294
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x41c], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x41c]
jmp 0x41a1ce
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x20], 4
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x258]
push ecx
push 0x20000013
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x419318
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x420], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x420]
jmp 0x41a1ce
mov dword [ebp - 0x240], 0
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x60c], edx
cmp dword [ebp - 0x60c], 0x12e
ja 0x41937b
cmp dword [ebp - 0x60c], 0x12d
jae 0x4193b0
cmp dword [ebp - 0x60c], 0xc8
je 0x4194e5
cmp dword [ebp - 0x60c], 0xcb
je 0x4195e2
cmp dword [ebp - 0x60c], 0xce
je 0x4195e2
jmp 0x419759
cmp dword [ebp - 0x60c], 0x193
je 0x419595
cmp dword [ebp - 0x60c], 0x194
je 0x419548
cmp dword [ebp - 0x60c], 0x1f4
je 0x419717
jmp 0x419759
push 0x401
call fcn.0041d9a0
add esp, 4
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x3a4], eax
push 0x401
push 0
mov ecx, dword [ebp - 0x3a4]
push ecx
call fcn.0041c540
add esp, 0xc
mov dword [ebp - 0x20], 0x400
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x3a4]
push eax
push 0x21
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x419477
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x428]
push ecx
call fcn.00408c0e
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x42c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x42c]
jmp 0x41a1ce
mov eax, dword [ebp - 0x3a4]
push eax
mov ecx, dword [ebp - 0x5f4]
add ecx, 0x48
call fcn.00402471
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x430]
push edx
call fcn.00408c0e
add esp, 4
mov dword [ebp - 0x434], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x434]
jmp 0x41a1ce
mov eax, dword [ebp - 0x1e0]
xor ecx, ecx
cmp dword [eax - 8], 0
sete cl
test ecx, ecx
je 0x419536
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x438], reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004023b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x438]
jmp 0x41a1ce
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4197b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x43c], VariantCopy
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x43c]
jmp 0x41a1ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x440], reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x440]
jmp 0x41a1ce
mov byte [ebp - 0x3ec], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x3eb]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x40
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push 0xb
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41966f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x444], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x444]
jmp 0x41a1ce
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041b480
movzx ecx, word [ebp - 0x248]
movzx edx, word [ebp - 0x138]
cmp ecx, edx
jne 0x4196f4
movzx eax, word [ebp - 0x24a]
movzx ecx, word [ebp - 0x13a]
cmp eax, ecx
jne 0x4196f4
movzx edx, word [ebp - 0x24c]
movzx eax, word [ebp - 0x13c]
cmp edx, eax
jne 0x4196f4
movzx ecx, word [ebp - 0x24e]
movzx edx, word [ebp - 0x13e]
cmp ecx, edx
jne 0x4196f4
movzx eax, word [ebp - 0x252]
movzx ecx, word [ebp - 0x142]
cmp eax, ecx
jne 0x4196f4
movzx edx, word [ebp - 0x254]
movzx eax, word [ebp - 0x144]
cmp edx, eax
je 0x419712
mov ecx, dword [ebp - 0x1e0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x14], 0
jmp 0x4197b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov dword [ebp - 0x448], reloc.COMCTL32.dll_InitCommonControls
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x448]
jmp 0x41a1ce
cmp dword [ebp - 0x1d8], 0
je 0x41976e
mov dword [ebp - 0x240], 1
jmp 0x4197b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov dword [ebp - 0x44c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x44c]
jmp 0x41a1ce
mov edx, dword [ebp - 0x5f4]
cmp dword [edx + 0x40], 0
je 0x4197fa
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x450], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x450]
jmp 0x41a1ce
cmp dword [ebp - 0x240], 0
je 0x419aad
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x540], eax
push 0
mov ecx, dword [ebp - 0x1dc]
push ecx
push 0x43d240
push 0
push 0x4348ac
mov edx, dword [ebp - 0x540]
push edx
push 0x4348a8
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x5f4]
cmp dword [eax + 0xc], 0
jne 0x4198b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x454], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x454]
jmp 0x41a1ce
cmp dword [ebp + 0x14], 0
je 0x4198dd
push 0x1000000
push 0xffffffffffffffff
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov edx, dword [ebp - 0x5f4]
cmp dword [edx + 0x40], 0
je 0x419927
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x458], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x458]
jmp 0x41a1ce
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x419990
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x45c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x45c]
jmp 0x41a1ce
mov eax, dword [ebp - 0x5f4]
cmp dword [eax + 0x40], 0
je 0x4199da
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x460], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x460]
jmp 0x41a1ce
mov dword [ebp - 0x20], 4
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x258]
push edx
push 0x20000013
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x419a54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x464], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x464]
jmp 0x41a1ce
cmp dword [ebp - 0x258], 0xc8
je 0x419aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x468], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x468]
jmp 0x41a1ce
mov byte [ebp - 0x1d4], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x1d3]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x40
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1d4]
push eax
push 0xb
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x419b3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x5f4]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x46c]
jmp 0x41a1ce
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x1d4]
push edx
mov ecx, dword [ebp - 0x5f4]
call fcn.0041b480
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x20], 4
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x419b99
mov dword [ebp - 0x1f0], 0x32000
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 2
mov edx, dword [ebp - 0x1e0]
xor eax, eax
cmp dword [edx - 8], 0
sete al
test eax, eax
jne 0x419bfe
mov ecx, dword [ebp - 0x5f4]
cmp dword [ecx + 0x4c], 0
je 0x419bfe
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419bfe
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xbd8
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x5f4]
cmp dword [ecx + 0x40], 0
je 0x419c48
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x470], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x470]
jmp 0x41a1ce
push 0
push 1
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.0041a1e0
add esp, 0xc
test eax, eax
jne 0x419cbb
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x5a4], ecx
mov edx, dword [ebp - 0x5f4]
mov eax, dword [ebp - 0x5a4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x474], SysStringLen
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x474]
jmp 0x41a1ce
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp - 0x1e0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x419d3f
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x5b4], eax
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ebp - 0x5b4]
mov dword [ecx + 0x50], edx
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov dword [ebp - 0x478], SysStringLen
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x478]
jmp 0x41a1ce
cmp dword [ebp - 0x240], 0
je 0x419d5a
push 0
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x419d6a
push 2
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x1001
call fcn.0041d9a0
add esp, 4
mov dword [ebp - 0x47c], eax
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x1c], 3
push 0x1001
push 0
mov eax, dword [ebp - 0x1e4]
push eax
call fcn.0041c540
add esp, 0xc
mov ecx, dword [ebp - 0x5f4]
cmp dword [ecx + 0x40], 0
je 0x419e71
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x480], edx
mov eax, dword [ebp - 0x480]
push eax
call fcn.00408c0e
add esp, 4
mov dword [ebp - 0x1e4], 0
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [ebp - 0x1ec]
push edx
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x484], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x484]
jmp 0x41a1ce
lea edx, [ebp - 0x244]
push edx
push 0x1000
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x419f5c
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
push ecx
call fcn.00408c0e
add esp, 4
mov dword [ebp - 0x1e4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0x1ec]
push edx
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x1ec]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x48c], reloc.OLEAUT32.dll_VariantCopy
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x48c]
jmp 0x41a1ce
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x244]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x5f4]
cmp dword [edx + 0x4c], 0
je 0x419fa3
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x419fa3
lea edx, [ebp - 0x1c]
push edx
push 0
push 0xbd8
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x244], 0
jbe 0x419fd7
mov dword [ebp - 0x3f0], 0
push 0
lea edx, [ebp - 0x3f0]
push edx
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x1e4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x244], 0
ja 0x419d9a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x5f4]
cmp dword [ecx + 0x4c], 0
je 0x41a025
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a025
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xbd8
mov edx, dword [ebp - 0x5f4]
mov eax, dword [edx + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 0x23c], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x23b]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x40
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x23c]
push edx
push 0x17
mov eax, dword [ebp - 0x5f4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41a081
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x5f4]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
jmp 0x41a0c1
push 0x434850
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41a0a4
mov ecx, dword [ebp - 0x5f4]
call fcn.0041bbe0
jmp 0x41a0c1
mov ecx, dword [ebp - 0x5f4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x5f4]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp - 0x490]
push edx
call fcn.00408c0e
add esp, 4
mov dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0x1ec]
push edx
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x1ec]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41a15b
push 0x80
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41a1a0
mov dword [ebp - 0x494], reloc.OLEAUT32.dll_SysReAllocStringLen
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x494]
jmp 0x41a1ce
mov dword [ebp - 0x498], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0041a380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004023b4
mov eax, dword [ebp - 0x498]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10