Function at 0x463710
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1068]
mov eax, 0x1068
call fcn.006222c0
push 0xffffffffffffffff
push 0x64b16f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x1064], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0x1070]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
push 0x67de24
push eax
call fcn.0062385d
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x463790
push 1
push str.Err_open_file_in_CDDlg::DelGP_n
lea ecx, [edi + 0x15c0]
call fcn.004c1d70
jmp 0x4637c4
push esi
push 0x100
lea eax, [ebp + 0xf64]
push eax
call fcn.006243c5
add esp, 0xc
test eax, eax
jne 0x4637eb
push 1
push str.Corrupted_igp_file_in_CDDlg::DelGP_n
lea ecx, [edi + 0x15c0]
call fcn.004c1d70
push esi
call fcn.00623537
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1064]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x1068
mov esp, ebp
pop ebp
ret 8
push esi
push 0x100
lea ecx, [ebp + 0xf64]
push ecx
call fcn.006243c5
add esp, 0xc
test eax, eax
je 0x4637a9
xor bl, bl
mov byte [ebp - 0x16], bl
mov edi, 3
mov eax, edi
mov ecx, 0x684da8
lea esi, [ebp + 0xf64]
jmp 0x463820
cmp eax, 4
jb 0x46383a
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4638c3
sub eax, 4
add ecx, 4
add esi, 4
jmp 0x463820
test eax, eax
je 0x46385e
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x4638c3
cmp eax, 1
jbe 0x46385e
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x4638c3
cmp eax, 2
jbe 0x46385e
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x4638c3
lea ecx, [ebp - 0x28]
push ecx
push 0x6795fc
lea edx, [ebp + edi + 0xf64]
push edx
call fcn.0062257e
add esp, 0xc
cmp eax, 1
jne 0x4638c3
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x28]
cmp eax, 0x800
jge 0x463891
mov eax, 0x800
mov dword [ebp - 0x28], eax
push eax
call fcn.005f4e47
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
xor ebx, ebx
cmp edi, ebx
jne 0x4638e5
push 1
push str.newMemErr_in_DelGP_n
mov ecx, dword [ebp - 0x20]
add ecx, 0x15c0
call fcn.004c1d70
mov ecx, dword [ebp - 0x1c]
push ecx
jmp 0x4637bc
test bl, bl
jne 0x46387f
push 1
push str.Corrupted_igp_file_in_CDDlg::DelGP_n
mov ecx, dword [ebp - 0x20]
add ecx, 0x15c0
call fcn.004c1d70
mov eax, dword [ebp - 0x1c]
push eax
jmp 0x4637bc
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.005b9780
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
push edi
call fcn.006243c5
add esp, 0xc
test eax, eax
jne 0x463c51
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402560
mov dword [ebp + 0xf40], ebx
mov dword [ebp + 0xf48], ebx
xor ecx, ecx
mov word [ebp + 0xf44], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp + 0xf4c]
call fcn.004070a0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xf4c]
cmp eax, ebx
jne 0x463970
lea eax, [ebp + 0xf50]
push ebx
push eax
push str._sgrprdb
lea ecx, [ebp + 0xf40]
call fcn.004021a0
lea ecx, [ebp + 0xd30]
call fcn.005e8900
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xf40]
cmp eax, ebx
jne 0x4639a1
lea eax, [ebp + 0xf44]
push 1
push eax
lea ecx, [ebp + 0xd30]
call fcn.005ea260
test eax, eax
jne 0x463b82
lea ecx, [ebp + 0xd30]
call fcn.005e97f0
test eax, eax
je 0x463b82
cmp dword [ebp + 0xdd8], 0x3e8
setg byte [ebp - 0x15]
mov dword [ebp - 0x2c], ebx
xor edi, edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp + 0xdd8]
jge 0x463b82
lea ecx, [ebp + 0xe78]
call fcn.004612c0
mov byte [ebp - 4], 7
push ebx
lea eax, [ebp + 0xe78]
push eax
push edi
lea ecx, [ebp + 0xd30]
call fcn.005ea4c0
test al, al
je 0x463b6d
mov esi, dword [ebp + 0xf10]
cmp esi, ebx
mov eax, esi
jne 0x463a29
lea eax, [ebp + 0xf14]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x463a30
sub eax, edx
sar eax, 1
je 0x463a54
cmp esi, ebx
mov eax, esi
jne 0x463a4d
lea eax, [ebp + 0xf14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xeec]
cmp eax, ebx
jne 0x463a64
lea eax, [ebp + 0xef0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x463a67
sub eax, edx
sar eax, 1
je 0x463b26
cmp dword [ebp + 0xe90], ebx
jne 0x463b26
mov dword [ebp + 0xf58], ebx
mov dword [ebp + 0xf60], ebx
xor ecx, ecx
mov word [ebp + 0xf5c], cx
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xeec]
cmp eax, ebx
jne 0x463ab1
lea eax, [ebp + 0xef0]
push ebx
push eax
push 0x678ea8
lea ecx, [ebp + 0xf58]
call fcn.004021a0
mov eax, dword [ebp + 0xf58]
cmp eax, ebx
jne 0x463ad3
lea eax, [ebp + 0xf5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xf58]
cmp eax, ebx
jne 0x463aea
lea eax, [ebp + 0xf5c]
push 0x5c
push eax
call fcn.006206a1
add esp, 8
cmp eax, ebx
je 0x463b17
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp + 0xf58]
cmp eax, ebx
jne 0x463b0e
lea eax, [ebp + 0xf5c]
push eax
call fcn.00625878
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xf58]
call fcn.00401210
mov eax, dword [ebp + 0x1074]
mov dword [ebp + 0xae0], eax
mov dword [ebp + 0xae4], edi
lea ecx, [ebp]
call fcn.005be430
cmp byte [ebp - 0x15], 0
je 0x463b6d
mov eax, edi
imul eax, eax, 0x5a
cdq
idiv dword [ebp + 0xdd8]
cmp eax, dword [ebp - 0x2c]
jle 0x463b6d
mov dword [ebp - 0x2c], eax
push eax
push 0x143e
push 0x111
mov ecx, dword [ebp - 0x20]
call fcn.004015a0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xe78]
call fcn.00461410
inc edi
jmp 0x4639dd
lea ecx, [ebp + 0xd30]
call fcn.005ea3d0
mov esi, dword [ebp + 0xf4c]
cmp esi, ebx
mov eax, esi
jne 0x463b9f
lea eax, [ebp + 0xf50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x463ba2
sub eax, edx
sar eax, 1
je 0x463be1
cmp esi, ebx
mov eax, esi
jne 0x463bbf
lea eax, [ebp + 0xf50]
push eax
call fcn.004cf5a0
add esp, 4
mov eax, dword [ebp + 0xf4c]
cmp eax, ebx
jne 0x463bd8
lea eax, [ebp + 0xf50]
push eax
call fcn.00625878
add esp, 4
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005f4e52
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00623537
add esp, 8
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xd30]
call fcn.005e8a30
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xf4c]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xf40]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.005b9980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402560
mov dword [ebp - 4], 0xffffffff
jmp 0x4637c4
lea ecx, [ebp - 0x14]
push ecx
push str.cache
push edi
call fcn.004d3650
add esp, 0xc
test al, al
je 0x463c7e
mov edx, dword [ebp - 0x14]
push edx
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402560
jmp 0x463903
lea eax, [ebp - 0x24]
push eax
push str.tmpFolder
push edi
call fcn.004d3650
add esp, 0xc
test al, al
je 0x463c6d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402560
jmp 0x463903