Function at 0x40cac0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4569e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x470a10]
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], esi
call fcn.0043f220
mov ebx, dword [esp + 0x244]
mov edi, dword [ebx + 8]
cmp edi, 1
mov dword [esp + 0x30], edi
jge 0x40cb32
push str._Error__Not_Found_the_Update_List_Info
call fcn.00404400
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0043f295
jmp 0x40cdcc
mov ecx, dword [0x470a10]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 1
call fcn.0043f220
push str.UpdateList.ini
push 0x475368
push 0x475360
lea edx, [esp + 0x18]
push str._s_s_s
push edx
call fcn.0043620d
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.0041ffcf
add esp, 0x1c
test eax, eax
jne 0x40cb88
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0xc]
push ebp
push esi
push 0x80
push 5
push esi
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x470a10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov eax, dword [0x475354]
push str.Update.ini
push eax
lea ecx, [esp + 0x30]
push 0x46e810
push ecx
mov byte [esp + 0x250], 4
mov byte [esp + 0x2c], 0
mov dword [esp + 0x2d], esi
call fcn.0043620d
add esp, 0x10
lea edx, [esp + 0x24]
push str.Update.ini
push 0x475368
push 0x475360
push str._s_s_s
push edx
call fcn.0043620d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esp, 0x14
lea edx, [esp + 0x18]
push eax
push ecx
push str._s_s
push edx
call fcn.0043620d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x10
push eax
push ecx
push str.PATH
push str.INI_FILE
call ebp
mov esi, 1
cmp edi, esi
jl 0x40cd73
add ebx, 0x14
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x138]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edi, [esi - 1]
mov ecx, ebx
push edi
push edx
call fcn.00405fe0
mov eax, dword [eax]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x138]
push ecx
push edx
push 0
push 0
push eax
call fcn.004205df
add esp, 0x14
lea ecx, [esp + 0x2c]
call fcn.0043f295
lea ecx, [esp + 0x14]
call fcn.0043f220
mov edx, dword [0x475354]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x138]
push eax
push ecx
push 0x46e1b8
push edx
lea eax, [esp + 0x24]
push str._s_s_s_s
push eax
call fcn.0043620d
add esp, 0x18
lea ecx, [esp + 0x18]
call fcn.0043f220
lea ecx, [esp + 0x30]
push edi
push ecx
mov ecx, ebx
call fcn.00405fe0
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
mov byte [esp + 0x250], 5
call fcn.0043620d
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x240], 4
call fcn.0043f295
xor ecx, ecx
lea edx, [esp + 0x1c]
push 0xa
mov dword [esp + 0x20], ecx
push edx
push esi
mov byte [esp + 0x2c], cl
call fcn.00423c14
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x1c]
push eax
push ecx
push str.LIST_CNT
push str.UPDATE_LIST
call ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
push str.UPDATE_LIST
call ebp
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jle 0x40cc53
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 3
call fcn.0043f295
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 2
call fcn.0043f295
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 1
call fcn.0043f295
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 0
call fcn.0043f295
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], 0xffffffff
call fcn.0043f295
pop ebp
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret