Function at 0x4018b0
Capabilities:
Delete file

Disassembly:
push 0x114
mov eax, 0x48897f
call fcn.0044465a
sub esp, 0x18
mov dword [ebp - 0x58], esp
mov eax, esp
je 0x4018dc
mov dword [eax], vtable.std::tr1::_Impl_base1_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____struct_AddonInfo_const__.0
mov dword [eax], 0x48ed5c
mov dword [eax + 4], 0x401700
mov dword [eax + 0x10], eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004232ce
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004058e0
add esp, 0x1c
lea ecx, [ebp - 0x120]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00405846
pop ecx
lea esi, [ebp - 0xe0]
call fcn.00403eb6
push dword [ebp - 0xe0]
call fcn.004437e4
pop ecx
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004042a4
push dword [ebp - 0x2c]
call fcn.004437e4
pop ecx
lea esi, [ebp - 0x4c]
call fcn.00401806
push edi
push edi
lea eax, [ebp - 0x8c]
call fcn.0042a348
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040379a
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x40197b
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0x8c]
call fcn.00401570
test al, al
je 0x401c6b
cmp byte [ebp - 0x84], 6
jne 0x401c6b
mov eax, esi
mov dword [ebp - 0x58], edi
call fcn.0042a06a
test eax, eax
jbe 0x401a50
push 0x48e5d4
lea ecx, [ebp - 0xa8]
call fcn.0040344e
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x48e56b
call fcn.0040344e
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0xd
push dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
push eax
call fcn.0042a0ba
mov esi, eax
lea ebx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.004015b7
add esp, 0x20
push edi
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xf
call fcn.00403c15
cmp dword [ebp - 0x1c], edi
je 0x401a2a
mov eax, ebx
push eax
lea eax, [ebp - 0x100]
push eax
lea ebx, [ebp - 0xd4]
call fcn.0040384e
push edi
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00403c15
inc dword [ebp - 0x58]
lea eax, [ebp - 0x8c]
call fcn.0042a06a
cmp dword [ebp - 0x58], eax
jb 0x4019ad
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x100]
lea edx, [ebp - 0x120]
call fcn.004059a7
pop ecx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc8]
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
call fcn.00435277
test al, al
jne 0x401b1d
call fcn.0040f788
push 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00423182
add esp, 0xc
mov byte [ebp - 4], 0x11
call fcn.0040f788
mov edi, eax
call fcn.00401876
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x2c]
jae 0x401ad2
lea esi, [ebp - 0x2c]
call fcn.0041bee0
mov ecx, str.succeeded
test eax, eax
jne 0x401ae5
mov ecx, 0x48e5ec
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x401af1
lea eax, [ebp - 0x2c]
push ecx
push eax
push str.clear_expired_addon__s__s
call fcn.0041f771
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00403d0d
lea esi, [ebp - 0x54]
call fcn.00404abd
jmp 0x401a81
lea eax, [ebp - 0x74]
push eax
call fcn.00403912
push 0x48e56b
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x12
call fcn.0040344e
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x13
call fcn.00423182
add esp, 0xc
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x18], 8
jb 0x401b64
mov eax, dword [eax + 4]
jmp 0x401b67
add eax, 4
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x74]
push ecx
push 0x401cb6
push edi
push eax
call fcn.0041b768
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.00403d0d
push ebx
push edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x12
call fcn.00403c15
mov esi, dword [ebp - 0x68]
cmp esi, dword [ebp - 0x64]
jbe 0x401ba3
call fcn.004437aa
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x64]
cmp dword [ebp - 0x68], esi
jbe 0x401bb9
call fcn.004437aa
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], esi
lea edi, [ebp - 0x5c]
lea esi, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
call fcn.004039c4
test al, al
je 0x401c28
call fcn.00404dde
cmp dword [eax + 0x18], 8
jb 0x401be1
mov eax, dword [eax + 4]
jmp 0x401be4
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0x48e630
test eax, eax
jne 0x401bf9
mov edi, 0x48e5ec
lea esi, [ebp - 0x54]
call fcn.00404dde
cmp dword [eax + 0x18], 8
jb 0x401c0c
mov eax, dword [eax + 4]
jmp 0x401c0f
add eax, 4
push eax
push edi
push str.clear_dirty_addon_file__s:__s
call fcn.0041f771
add esp, 0xc
lea esi, [ebp - 0x54]
call fcn.0040376f
jmp 0x401bac
lea esi, [ebp - 0x74]
call fcn.00404199
push dword [ebp - 0x74]
call fcn.004437e4
pop ecx
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0xb
call fcn.00403826
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0xa
call fcn.00403826
lea esi, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.0042966c
push ebx
jmp 0x401c96
push str.parse_addons_desc_failed
call fcn.0041fc97
pop ecx
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0xa
call fcn.00403826
lea esi, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.0042966c
push edi
push 1
lea esi, [ebp - 0x4c]
call fcn.00403d0d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x120]
push eax
call fcn.00403826
call fcn.004446dd
ret