Function at 0x421360
Capabilities:
Check for time delay via gettickcount
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427f49
mov eax, dword fs:[0]
push eax
mov eax, 0x1448
call fcn.0041ede0
mov eax, dword [0x42f068]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1450], ecx
lea ecx, [ebp - 0x1020]
call fcn.00409bd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.00409bd0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.00420ce0
movzx eax, al
test eax, eax
je 0x4213d7
push str.MaRepair_autocheck
lea ecx, [ebp - 0x1028]
call fcn.00409d20
jmp 0x421408
mov ecx, dword [ebp + 8]
call fcn.00420ca0
movzx ecx, al
test ecx, ecx
je 0x4213f8
push str.MaRepair_autofix
lea ecx, [ebp - 0x1028]
call fcn.00409d20
jmp 0x421408
push str.MaRepair
lea ecx, [ebp - 0x1028]
call fcn.00409d20
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x1454], edx
cmp dword [ebp - 0x1454], 1
je 0x421425
cmp dword [ebp - 0x1454], 2
je 0x421437
jmp 0x421447
push str._missing
lea ecx, [ebp - 0x1028]
call fcn.00409d80
jmp 0x421447
push str._invalid
lea ecx, [ebp - 0x1028]
call fcn.00409d80
cmp dword [ebp + 0x20], 0
je 0x421480
mov ecx, dword [ebp + 0x20]
call fcn.0040b7e0
movzx eax, al
test eax, eax
jne 0x421480
push 0x42b034
lea ecx, [ebp - 0x1028]
call fcn.00409d80
mov ecx, dword [ebp + 0x20]
call fcn.00401740
push eax
lea ecx, [ebp - 0x1028]
call fcn.00409d80
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1028]
call fcn.004011f0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4214d9
mov dword [ebp - 0x143c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.0040a660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1020]
call fcn.0040a660
mov eax, dword [ebp - 0x143c]
jmp 0x4217b2
cmp dword [ebp + 0x18], 0xffffffff
jne 0x4214f9
mov ecx, dword [ebp + 0x14]
push ecx
push 0x42b038
lea edx, [ebp - 0x101c]
push edx
call fcn.0041125d
add esp, 0xc
jmp 0x421515
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push str.Range:_bytes_u__u_r_n
lea edx, [ebp - 0x101c]
push edx
call fcn.0041125d
add esp, 0x10
push 0
push 0x84000300
lea eax, [ebp - 0x101c]
push eax
call fcn.004105e8
add esp, 4
push eax
lea ecx, [ebp - 0x101c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42158a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1440], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.0040a660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1020]
call fcn.0040a660
mov eax, dword [ebp - 0x1440]
jmp 0x4217b2
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x14]
cmp edx, 0xffffffff
je 0x4215d0
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
add eax, 1
push eax
push 0
push 0x42b090
lea ecx, [ebp - 0x1020]
push ecx
call fcn.00409db0
add esp, 0x10
push 0
lea edx, [ebp - 0x1020]
push edx
push 0x404
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1024], eax
lea edx, [ebp - 0x1030]
push edx
push 0x400
lea eax, [ebp - 0x1434]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x421647
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1444], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.0040a660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1020]
call fcn.0040a660
mov eax, dword [ebp - 0x1444]
jmp 0x4217b2
cmp dword [ebp - 0x1030], 0
jne 0x421655
jmp 0x42176d
mov ecx, dword [ebp + 0xc]
call fcn.00401a30
mov dword [ebp - 0x102c], eax
mov ecx, dword [ebp - 0x102c]
add ecx, dword [ebp - 0x1030]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040bc90
mov edx, dword [ebp - 0x1030]
push edx
lea eax, [ebp - 0x1434]
push eax
mov ecx, dword [ebp - 0x102c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040bcd0
push eax
call fcn.0040e7e0
add esp, 0xc
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x14]
cmp edx, 0xffffffff
je 0x421716
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1438], eax
mov eax, dword [ebp - 0x1438]
sub eax, dword [ebp - 0x1024]
cmp eax, 0x3e8
jb 0x421716
mov ecx, dword [ebp - 0x1438]
mov dword [ebp - 0x1024], ecx
mov edx, dword [ebp + 0x18]
sub edx, dword [ebp + 0x14]
add edx, 1
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00401a30
push eax
push str.Downloading_data_for_repairing:___d__d_
lea eax, [ebp - 0x1020]
push eax
call fcn.00409db0
add esp, 0x10
push 0
lea ecx, [ebp - 0x1020]
push ecx
push 0x404
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x3c]
test edx, edx
jne 0x421768
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1448], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.0040a660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1020]
call fcn.0040a660
mov eax, dword [ebp - 0x1448]
jmp 0x4217b2
jmp 0x4215dc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x144c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.0040a660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1020]
call fcn.0040a660
mov eax, dword [ebp - 0x144c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040e7d1
mov esp, ebp
pop ebp
ret 0x1c