Function at 0x415e20
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::DownloadFileAndDecompressCrc_url:_ws_file:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x415ef0
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 0x415f63
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
jne 0x415f63
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00415830
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x415f63
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4566f8
lea edx, [ebp - 0x1c]
push edx
call fcn.0040a500
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041abe0
add esp, 8
movzx edx, al
test edx, edx
je 0x415f63
mov dword [ebp - 0x2c], 0
jmp 0x416113
mov dword [ebp - 0x20], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0
jmp 0x415f85
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 7
jge 0x4160eb
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x34], 3
jge 0x415fda
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413820
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x415fd8
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, 0x46b018
call fcn.004235d0
jmp 0x416034
cmp dword [ebp - 0x34], 5
jge 0x415ff9
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004140b0
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x416034
cmp dword [ebp - 0x34], 6
jge 0x416018
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00414710
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x416034
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
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 0x416046
mov dword [ebp - 0x2c], 7
jmp 0x415f7c
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
jne 0x41606d
mov dword [ebp - 0x2c], 4
jmp 0x415f7c
lea ecx, [ebp - 0x14]
call fcn.00403440
movzx edx, al
test edx, edx
je 0x416085
mov dword [ebp - 0x2c], 0
jmp 0x4160eb
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00415830
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4160aa
mov dword [ebp - 0x2c], 8
jmp 0x415f7c
mov edx, dword [ebp - 0x10]
push edx
push 0x4566f8
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a500
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0041abe0
add esp, 8
movzx eax, al
test eax, eax
je 0x4160df
mov dword [ebp - 0x2c], 0
jmp 0x4160eb
mov dword [ebp - 0x2c], 9
jmp 0x415f7c
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 - 0x18]
push eax
mov eax, dword [ebp - 0x2c]
push eax
push str.DownloadFileAndDecompressCrc_return:_d__cost_time:_d__url:_ws__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x18
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
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