Function at 0x4c41a0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bada
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x5c3678]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x43c], ebx
mov eax, dword [edi]
mov dword [ebp - 0x440], ecx
cmp eax, ebx
je 0x4c41f7
mov dword [edi], ebx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [0x5d136c]
cmp eax, ebx
je 0x4c437a
push edi
push 0x50
call eax
cmp eax, ebx
jl 0x4c437a
cmp dword [edi], ebx
je 0x4c437a
push 0x103
lea ecx, [ebp - 0x11b]
push ebx
push ecx
mov byte [ebp - 0x11c], bl
call fcn.00544310
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
call fcn.004c4cd0
lea eax, [ebp - 0x11c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c4250
sub eax, edx
je 0x4c437a
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 0x43c], eax
lea esi, [ebp - 0x454]
mov eax, edi
call fcn.004c7180
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x440]
mov eax, dword [eax]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x11c]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
mov ecx, esi
setge byte [ebp - 0x435]
mov dword [ebp - 4], 0xffffffff
call fcn.004c7b50
cmp byte [ebp - 0x435], bl
je 0x4c450c
push 0x103
push ebx
cmp dword [ebp - 0x43c], ebx
je 0x4c43a1
lea ecx, [ebp - 0x433]
push ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 0x434], bl
call fcn.00544310
add esp, 0xc
push str.BootRecord
push str.select__from__s
lea edx, [ebp - 0x434]
push 0x104
push edx
call fcn.004d0d60
mov edi, dword [ebp - 0x444]
add esp, 0x10
lea eax, [edi + 0x34]
lea esi, [ebp - 0x454]
call fcn.004c7180
push ebx
push ebx
lea edx, [ebp - 0x440]
push edx
lea edx, [ebp - 0x43c]
push edx
mov dword [ebp - 4], 1
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 0x434]
push edx
mov edx, dword [edi + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov ecx, esi
setl byte [ebp - 0x435]
mov dword [ebp - 4], 0xffffffff
call fcn.004c7b50
cmp byte [ebp - 0x435], bl
je 0x4c439a
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c15d
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x4c437c
lea edx, [ebp - 0x223]
push edx
mov byte [ebp - 0x224], bl
call fcn.00544310
add esp, 0xc
push str.leakfixflag
push str.powerspeedflag
push str.rmflag
push str.btime
push str.newborn
push str.bootkey
push str.dkey
push str.BootRecord
push str.create_table__s__s_int___s_char___s_char___s_int___s_int___s_int___s_int__
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.004d0d60
add esp, 0x2c
push 0x103
lea ecx, [ebp - 0x32b]
push ebx
push ecx
mov byte [ebp - 0x32c], bl
call fcn.00544310
add esp, 0xc
push str.description
push 0x58332c
push str.NewItems
push str.create_table__s__s_char___s_char__
lea edx, [ebp - 0x32c]
push 0x104
push edx
call fcn.004d0d60
add esp, 0x18
lea esi, [ebp - 0x474]
mov eax, edi
call fcn.004c7180
push ebx
push ebx
mov dword [ebp - 4], 2
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x440]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x43c], 1
call eax
test eax, eax
jl 0x4c44bc
lea esi, [ebp - 0x464]
mov eax, edi
call fcn.004c7180
push ebx
push ebx
push ebx
mov ecx, 3
mov dword [ebp - 4], ecx
mov eax, dword [eax]
lea edx, [ebp - 0x32c]
push edx
mov edx, dword [ebp - 0x440]
mov edx, dword [edx]
mov dword [ebp - 0x43c], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov byte [ebp - 0x435], 1
test eax, eax
jge 0x4c44c2
mov byte [ebp - 0x435], bl
mov dword [ebp - 4], 2
test byte [ebp - 0x43c], 2
je 0x4c44e4
and dword [ebp - 0x43c], 0xfffffffd
lea ecx, [ebp - 0x464]
call fcn.004c7b50
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x43c], 1
je 0x4c44ff
lea ecx, [ebp - 0x474]
call fcn.004c7b50
cmp byte [ebp - 0x435], bl
je 0x4c450c
mov ebx, 1
mov eax, ebx
jmp 0x4c437c