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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a4a9
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x60], 0
jne 0x100184fd
mov esi, 5
jmp 0x1001863b
lea eax, [edi + 0x50]
push 0
push eax
call fcn.1003bca0
add esp, 8
call fcn.10018130
cmp dword [eax + 0x74], 0
lea esi, [eax + 0x64]
jne 0x10018523
mov esi, 1
jmp 0x1001863b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
mov dword [ebp - 0xe8], eax
jb 0x1001853a
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x10018542
mov esi, dword [esi]
push 2
lea eax, [ebp - 0x2c]
push eax
push ecx
push esi
call fcn.100342b0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
test eax, eax
setne bl
call esi
sub eax, dword [ebp - 0xe8]
mov dword [edi + 0x6c], eax
test bl, bl
jne 0x10018576
mov esi, 2
jmp 0x1001863b
call esi
mov dword [ebp - 0xe8], eax
lea ebx, [edi + 0x50]
lea eax, [ebp - 0x11c]
mov ecx, ebx
push eax
call fcn.1003aae0
push eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 1
push eax
call fcn.1003bb80
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x100185ab
mov eax, dword [eax]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov edx, eax
cmovae ecx, dword [ebp - 0x2c]
call fcn.1001a1f0
cmp dword [ebp - 0xf0], 0x10
mov dword [ebp - 0xe4], eax
jb 0x100185da
push dword [ebp - 0x104]
call fcn.100498af
add esp, 4
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0
call fcn.10002280
call esi
sub eax, dword [ebp - 0xe8]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x10018626
mov dword [ebp - 0xec], eax
mov esi, 3
jmp 0x1001863b
push ebx
call fcn.1003bdf0
xor esi, esi
add esp, 4
test al, al
mov ecx, 4
cmove esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push eax
push str.trycount
push str.1007
call fcn.10035340
mov ecx, eax
call fcn.10035170
mov eax, dword [ebp - 0x14]
inc eax
push eax
push str.trycount
push str.1007
call fcn.10035340
mov ecx, eax
call fcn.10035560
push 0xb0
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.1004cee0
add esp, 0xc
mov dword [ebp - 0xe0], 0x1007d9b0
mov dword [ebp - 0xd0], 0x1007d9b8
mov dword [ebp - 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe4], 1
call fcn.100106d0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xc8]
call fcn.10011360
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
inc eax
push eax
push ecx
push str.trycnt:
push ecx
push dword [edi + 0x70]
lea eax, [ebp - 0xd0]
push ecx
push str.unzipused:
push ecx
push dword [edi + 0x6c]
push ecx
push str.downused:
push ecx
push dword [ebp - 0xec]
push ecx
push str.subret:
push ecx
push esi
push ecx
push str.ret:
push eax
call fcn.10012230
add esp, 0xc
mov ecx, eax
call fcn.1000f780
add esp, 4
push eax
call fcn.10012230
add esp, 0xc
mov ecx, eax
call fcn.1000f780
add esp, 4
push eax
call fcn.10012230
add esp, 0xc
mov ecx, eax
call fcn.1000f920
add esp, 4
push eax
call fcn.10012230
add esp, 0xc
mov ecx, eax
call fcn.1000f920
add esp, 4
push eax
call fcn.10012230
add esp, 0xc
mov ecx, eax
call fcn.1000f780
push 0x11
push str.ACT_RECOM_DGMUSIC
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
call fcn.100027a0
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xe0]
call fcn.100101a0
push eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 7
push eax
call fcn.10014b40
mov ecx, eax
call fcn.100302a0
cmp dword [ebp - 0x108], 0x10
jb 0x1001882e
push dword [ebp - 0x11c]
call fcn.100498af
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0xf0], 0x10
mov dword [ebp - 0x108], 0xf
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x11c], 0
jb 0x10018864
push dword [ebp - 0x104]
call fcn.100498af
add esp, 4
call fcn.10014b40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [ebp - 0x1c], 0
je 0x10018888
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.10010120
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::ios_base.0
push eax
call fcn.10049221
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x100188b8
push dword [ebp - 0x2c]
call fcn.100498af
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100498b4
mov esp, ebp
pop ebp
ret