Function at 0x43d2d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54dae1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbb4
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x59a220
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
call fcn.0051dc3f
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [ebp - 0x2c], ebx
jne 0x43d33f
push 1
push str.Err_open_file_in_CDDlg::DelGP_n
lea ecx, [esi + 0xc44]
call fcn.004593e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 0x320]
push 0x100
push ecx
call fcn.0051de71
add esp, 0xc
test eax, eax
jne 0x43d386
push 1
push str.Corrupted_igp_file_in_CDDlg::DelGP_n
lea ecx, [esi + 0xc44]
call fcn.004593e0
push ebx
call fcn.0051da58
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 ebx
lea edx, [ebp - 0x320]
push 0x100
push edx
call fcn.0051de71
add esp, 0xc
test eax, eax
je 0x43d358
mov edi, 0x59ce88
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x320]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x59ce88
xor edx, edx
mov eax, ecx
repe cmpsb byte [esi], byte es:[edi]
jne 0x43d3df
lea ecx, [ebp - 0x28]
lea edx, [ebp + eax - 0x320]
push ecx
push 0x599b9c
push edx
call fcn.0051de3d
add esp, 0xc
cmp eax, 1
je 0x43d3f4
mov eax, dword [ebp - 0x20]
push 1
push str.Corrupted_igp_file_in_CDDlg::DelGP_n
lea ecx, [eax + 0xc44]
jmp 0x43d365
mov eax, dword [ebp - 0x28]
cmp eax, 0x800
jge 0x43d406
mov eax, 0x800
mov dword [ebp - 0x28], eax
push eax
call fcn.005380a1
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp - 0x30], esi
jne 0x43d42d
mov ecx, dword [ebp - 0x20]
push 1
push str.newMemErr_in_DelGP_n
add ecx, 0xc44
jmp 0x43d365
mov edx, dword [0x5b5ecc]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0xbc0]
mov byte [ebp - 4], 1
call fcn.004f5d30
mov bl, 3
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
push ecx
push edx
push esi
mov byte [ebp - 4], bl
call fcn.0051de71
add esp, 0xc
test eax, eax
jne 0x43d633
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
push ecx
push str._sgrprdb
push edx
mov byte [ebp - 4], 4
call fcn.0053091a
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00510a10
mov eax, dword [ebp - 0x24]
push 1
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.00510c60
xor ebx, ebx
cmp eax, ebx
jne 0x43d68a
lea ecx, [ebp - 0x220]
call fcn.00512550
cmp eax, ebx
je 0x43d68a
cmp dword [ebp - 0x178], 0x3e8
setg byte [ebp - 0x15]
xor edi, edi
xor esi, esi
cmp esi, dword [ebp - 0x178]
jge 0x43d687
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0xd8], 0x5602e8
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
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 - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0xd8]
push ebx
push ecx
push esi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.00510d00
test al, al
je 0x43d61e
mov eax, dword [ebp - 0x5c]
cmp dword [eax - 8], ebx
je 0x43d56a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x78]
cmp dword [eax - 8], ebx
je 0x43d5d0
cmp dword [ebp - 0xc0], ebx
jne 0x43d5d0
mov edx, dword [0x5b5ecc]
mov dword [ebp - 0x14], edx
push eax
lea eax, [ebp - 0x14]
push 0x597ddc
push eax
mov byte [ebp - 4], 7
call fcn.0053091a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x14]
push 0x5c
push edx
call fcn.0051c7b0
add esp, 8
cmp eax, ebx
je 0x43d5c4
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0051e9d6
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00537b04
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x444], ecx
lea ecx, [ebp - 0xbc0]
call fcn.004fb010
mov al, byte [ebp - 0x15]
test al, al
je 0x43d61e
lea eax, [esi + esi*4]
lea eax, [eax + eax*8]
shl eax, 1
cdq
idiv dword [ebp - 0x178]
cmp eax, edi
jle 0x43d61e
mov edx, dword [ebp - 0x20]
mov edi, eax
push eax
push 0x143e
mov eax, dword [edx + 0x1c]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.0043c730
inc esi
jmp 0x43d4e7
lea eax, [ebp - 0x14]
push eax
push str.cache
push esi
call fcn.0046e250
add esp, 0xc
test al, al
je 0x43d664
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
jmp 0x43d447
lea edx, [ebp - 0x1c]
push edx
push str.tmpFolder
push esi
call fcn.0046e250
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
jmp 0x43d447
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x220]
call fcn.005122c0
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 0x43d6bb
push edx
call fcn.00471100
mov ecx, dword [ebp - 0x1c]
add esp, 4
push ecx
call fcn.0051e9d6
add esp, 4
push esi
call fcn.005380ca
mov edx, dword [ebp - 0x2c]
add esp, 4
push edx
call fcn.0051da58
mov eax, dword [ebp + 8]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.00510b40
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00537b04
lea ecx, [ebp - 0xbc0]
mov byte [ebp - 4], 1
call fcn.004f5e70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8