Function at 0x415ae0
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ef68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004068d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004068d0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004010a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._cid_d
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040a500
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.00407430
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.KHelper::DownloadFileAndDecompress_url:_ws_file:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x415bec
push 0
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
jne 0x415bec
lea eax, [ebp - 0x1c]
push eax
push 0x5c
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
add eax, 2
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.00414fc0
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x415bec
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041d690
test eax, eax
jne 0x415bec
mov dword [ebp - 0x24], 0
jmp 0x415ddb
mov dword [ebp - 0x14], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 0
jmp 0x415c0e
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 7
jge 0x415db3
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x2c], 3
jge 0x415c63
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00413820
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x415c61
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, 0x46b018
call fcn.004235d0
jmp 0x415cbd
cmp dword [ebp - 0x2c], 5
jge 0x415c82
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004140b0
add esp, 0xc
mov dword [ebp - 0x28], eax
jmp 0x415cbd
cmp dword [ebp - 0x2c], 6
jge 0x415ca1
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00414710
add esp, 0xc
mov dword [ebp - 0x28], eax
jmp 0x415cbd
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f280
push eax
call fcn.00413820
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x415ccf
mov dword [ebp - 0x24], 7
jmp 0x415c05
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00415360
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x415d10
mov dword [ebp - 0x24], 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push str.Decompress_return:_d__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
jmp 0x415c05
cmp dword [ebp + 0x14], 0
jne 0x415d22
mov dword [ebp - 0x24], 0
jmp 0x415db3
lea edx, [ebp - 0x1c]
push edx
push 0x5c
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
add eax, 2
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00414fc0
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x415d74
mov dword [ebp - 0x24], 5
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x28]
push eax
push str.GetFileMd5_return:_d__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
jmp 0x415c05
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d690
test eax, eax
jne 0x415d8d
mov dword [ebp - 0x24], 0
jmp 0x415db3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x14]
push eax
push str.Compare_md5_not_matched__expected:_ws__actually:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
mov dword [ebp - 0x24], 6
jmp 0x415c05
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x24]
push eax
push str.DownloadFileAndDecompress_return:_d__cost_time:_d__url:_ws__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x18
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401080
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret