Function at 0x452410
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f851
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xccc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
push 0x63b074
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
call fcn.0056dabf
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x45247d
push 1
push str.Err_open_file_in_CDDlg::DelGP_n
lea ecx, [edi + 0xc7c]
call fcn.00478c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [ebp - 0x330]
push pe_nt_image_headers32
push ecx
call fcn.0056dc9a
add esp, 0xc
test eax, eax
jne 0x4524c4
push 1
push str.Corrupted_igp_file_in_CDDlg::DelGP_n
lea ecx, [edi + 0xc7c]
call fcn.00478c60
push esi
call fcn.0056d8d8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
lea edx, [ebp - 0x330]
push pe_nt_image_headers32
push edx
call fcn.0056dc9a
add esp, 0xc
test eax, eax
je 0x452496
mov edi, 0x63e9f8
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x330]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x63e9f8
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45251d
lea ecx, [ebp - 0x28]
lea edx, [ebp + eax - 0x330]
push ecx
push 0x63b0d8
push edx
call fcn.0056deb3
add esp, 0xc
cmp eax, 1
je 0x45253b
mov eax, dword [ebp - 0x24]
push 1
push str.Corrupted_igp_file_in_CDDlg::DelGP_n
lea ecx, [eax + 0xc7c]
call fcn.00478c60
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x4524a9
mov eax, dword [ebp - 0x28]
cmp eax, 0x800
jge 0x45254d
mov eax, 0x800
mov dword [ebp - 0x28], eax
push eax
call fcn.00584a5c
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [ebp - 0x30], esi
jne 0x45257d
mov edx, dword [ebp - 0x24]
push 1
push str.newMemErr_in_DelGP_n
lea ecx, [edx + 0xc7c]
call fcn.00478c60
mov eax, dword [ebp - 0x20]
push eax
jmp 0x4524a9
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0xcd8]
mov byte [ebp - 4], 1
call fcn.00539700
mov edx, dword [0x65ec1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
push esi
mov byte [ebp - 4], 3
call fcn.0056dc9a
add esp, 0xc
test eax, eax
jne 0x452799
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005886c0
mov edx, dword [0x65ec1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push eax
push str._sgrprdb
push ecx
mov byte [ebp - 4], 4
call fcn.0058148b
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0055dcb0
mov edx, dword [ebp - 0x2c]
push 1
push edx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.0055df00
cmp eax, ebx
jne 0x4527f0
lea ecx, [ebp - 0x230]
call fcn.0055fbb0
cmp eax, ebx
je 0x4527f0
cmp dword [ebp - 0x188], 0x3e8
setg byte [ebp - 0x15]
xor edi, edi
xor esi, esi
cmp esi, dword [ebp - 0x188]
jge 0x4527ed
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x84], ebx
mov word [ebp - 0x88], bx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], ebx
mov word [ebp - 0x7c], bx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xe8], 0x5bd0e4
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0xe8]
push ebx
push eax
push esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.0055dfa0
cmp al, bl
je 0x452784
mov eax, dword [ebp - 0x58]
cmp dword [eax - 8], ebx
je 0x4526d3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x74]
cmp dword [eax - 8], ebx
je 0x452738
cmp dword [ebp - 0xd0], ebx
jne 0x452738
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x14], ecx
push eax
lea edx, [ebp - 0x14]
push 0x638fa8
push edx
mov byte [ebp - 4], 7
call fcn.0058148b
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x14]
push 0x5c
push ecx
call fcn.0056c5b0
add esp, 8
cmp eax, ebx
je 0x45272c
mov byte [eax], bl
mov edx, dword [ebp - 0x14]
push edx
call fcn.0056ec2b
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.005886c0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xcd8]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], esi
call fcn.00540ae0
cmp byte [ebp - 0x15], bl
je 0x452784
lea eax, [esi + esi*4]
lea eax, [eax + eax*8]
shl eax, 1
cdq
idiv dword [ebp - 0x188]
cmp eax, edi
jle 0x452784
mov ecx, dword [ebp - 0x24]
push eax
push 0x143e
push 0x111
mov edx, dword [ecx + 0x1c]
mov edi, eax
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00451870
inc esi
jmp 0x452636
lea edx, [ebp - 0x14]
push edx
push str.cache
push esi
call fcn.00491d30
add esp, 0xc
cmp al, bl
je 0x4527ca
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005886c0
jmp 0x452595
lea ecx, [ebp - 0x1c]
push ecx
push str.tmpFolder
push esi
call fcn.00491d30
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005886c0
jmp 0x452595
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x230]
call fcn.0055f920
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x452821
push edx
call fcn.00495000
mov eax, dword [ebp - 0x1c]
add esp, 4
push eax
call fcn.0056ec2b
add esp, 4
push esi
call fcn.00584a85
mov ecx, dword [ebp - 0x20]
add esp, 4
push ecx
call fcn.0056d8d8
mov edx, dword [ebp + 8]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0055dde0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.005886c0
lea ecx, [ebp - 0xcd8]
mov byte [ebp - 4], 1
call fcn.00539850
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.005886c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8