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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44efb0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
call fcn.004068d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004068d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004068d0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.004010a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._cid_d
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040a500
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
call fcn.00407430
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.KHelper::DownloadFileAndDecompressCrcDat_url:_ws_file:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x416230
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x14]
call fcn.004010a0
lea ecx, [ebp - 0x14]
call fcn.00403440
movzx eax, al
test eax, eax
jne 0x4162bc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
jne 0x4162bc
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415830
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4162bc
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4568ac
lea edx, [ebp - 0x1c]
push edx
call fcn.0040a500
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041d690
test eax, eax
jne 0x4162bc
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00415360
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4162bc
mov dword [ebp - 0x2c], 0
jmp 0x416484
mov dword [ebp - 0x20], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0
jmp 0x4162de
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 7
jge 0x41645c
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x34], 3
jge 0x416333
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00413820
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x416331
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, 0x46b018
call fcn.004235d0
jmp 0x41638d
cmp dword [ebp - 0x34], 5
jge 0x416352
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004140b0
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x41638d
cmp dword [ebp - 0x34], 6
jge 0x416371
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00414710
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x41638d
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
call fcn.00413820
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41639f
mov dword [ebp - 0x2c], 7
jmp 0x4162d5
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00415360
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4163c6
mov dword [ebp - 0x2c], 4
jmp 0x4162d5
lea ecx, [ebp - 0x14]
call fcn.00403440
movzx ecx, al
test ecx, ecx
je 0x4163de
mov dword [ebp - 0x2c], 0
jmp 0x41645c
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415830
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x416403
mov dword [ebp - 0x2c], 8
jmp 0x4162d5
mov ecx, dword [ebp - 0x10]
push ecx
push str._08x
lea edx, [ebp - 0x1c]
push edx
call fcn.0040a500
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0040f280
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041d690
test eax, eax
jne 0x416436
mov dword [ebp - 0x2c], 0
jmp 0x41645c
mov dword [ebp - 0x2c], 9
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push str.DownloadFileAndDecompressCrcDat_Crc_is_not_correct__expect_crc:_ws__crc:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
jmp 0x4162d5
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.DownloadFileAndDecompressCrcDat_return:_d__cost_time:_d__url:_ws__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x18
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00401080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401080
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret