Function at 0x4742f0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51202f
mov eax, dword fs:[0]
push eax
sub esp, 0x908
mov eax, dword [0x574a28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
call fcn.00476da0
add esp, 4
test eax, eax
je 0x474358
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
call fcn.00475480
add esp, 8
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00474180
add esp, 8
lea ecx, [ebp - 0x860]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
lea ecx, [ebp - 0x908]
call fcn.00416ac0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x908]
push edx
lea ecx, [ebp - 0x43c]
call fcn.00477360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x908]
call fcn.00413280
lea ecx, [ebp - 0x43c]
call fcn.00475330
push eax
lea ecx, [ebp - 0x83c]
call sym.ftl.bin_public:_void___thiscall_FileHeader::constructor_struct_FileHeader_const__
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x43c]
call fcn.00475310
test eax, eax
je 0x474658
cmp dword [ebp - 0x7b4], 2
jne 0x474409
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x83c]
call sym.ftl.bin_public:_void___thiscall_FileHeader::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00476de0
jmp 0x474679
mov byte [ebp - 0x8ac], 0
push 0x40
push 0
lea eax, [ebp - 0x8ab]
push eax
call fcn.004cb660
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x7f8]
push ecx
lea edx, [ebp - 0x8ac]
push edx
call fcn.004cb2f0
add esp, 0xc
push 0x578c98
lea eax, [ebp - 0x8ac]
push eax
call fcn.004edf3e
add esp, 8
test eax, eax
je 0x474462
movsx ecx, byte [ebp - 0x8ac]
test ecx, ecx
jne 0x474658
lea edx, [ebp - 0x90c]
push edx
lea ecx, [ebp - 0x8e5]
call fcn.00475350
mov dword [ebp - 0x910], eax
mov eax, dword [ebp - 0x910]
mov dword [ebp - 0x914], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x914]
call fcn.00470fc0
push eax
lea ecx, [ebp - 0x8c8]
call fcn.00416ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90c]
call fcn.004708a0
push 0x52797c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x8e4]
push edx
call fcn.00421130
add esp, 0xc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x8c8]
push eax
lea ecx, [ebp - 0x8e4]
call fcn.00417030
push 0x527980
lea ecx, [ebp - 0x8e4]
call fcn.00421860
lea ecx, [ebp - 0x8e4]
push ecx
lea ecx, [ebp - 0x43c]
call fcn.00478140
test eax, eax
je 0x474628
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x8e4]
push eax
call fcn.004792e0
add esp, 8
test eax, eax
je 0x474541
lea ecx, [ebp - 0x8e4]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00474180
add esp, 8
jmp 0x4745bb
mov edx, dword [ebp - 0x860]
push edx
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x8e4]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00474180
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8e4]
call fcn.00413280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c8]
call fcn.00413280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x83c]
call sym.ftl.bin_public:_void___thiscall_FileHeader::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00476de0
jmp 0x474679
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x8ec], eax
cmp dword [ebp - 0x8ec], 0xffffffff
je 0x474626
lea ecx, [ebp - 0x84c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x8ec]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [ebp - 0x860]
push eax
mov ecx, dword [ebp + 8]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x8ec]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47463a
lea ecx, [ebp - 0x8e4]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8e4]
call fcn.00413280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c8]
call fcn.00413280
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x83c]
call sym.ftl.bin_public:_void___thiscall_FileHeader::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00476de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ca80c
mov esp, ebp
pop ebp
ret 4