Function at 0x47ce60
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60fa10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040b990
mov bl, 1
mov byte [ebp - 4], bl
xor ecx, ecx
mov edx, 0x6d4200
lea esi, [ebp - 0x18]
call fcn.004301b0
cmp eax, 0xffffffff
je 0x47ceda
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
mov edx, esi
call fcn.00442dc0
mov byte [ebp - 4], 2
mov edi, esi
call fcn.0040ddb0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.0040ba40
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 0x24]
call fcn.0040b990
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x1c]
call fcn.004458e0
mov ebx, eax
call fcn.00445960
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0043fc30
add esp, 4
test al, al
jne 0x47d07c
lea ecx, [ebp - 0x18]
push ecx
call fcn.0043b470
add esp, 4
test al, al
je 0x47cf31
lea edx, [ebp - 0x18]
push edx
call fcn.0043b560
add esp, 4
jmp 0x47d07c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47cf65
test al, 0x10
je 0x47cf65
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x1c]
push ecx
push 1
lea edx, [ebp - 0x12]
push edx
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.0049d750
add esp, 0x14
jmp 0x47d07c
mov ecx, dword [ebp - 0x18]
call fcn.00435640
push 0x80
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x80
mov edx, dword [ebp - 0x18]
call fcn.00439f10
push ecx
mov edx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x18]
push eax
push edx
call fcn.0040b930
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 3
call fcn.00493f30
add esp, 8
mov byte [ebp - 4], 5
lea edi, [ebp - 0x18]
call fcn.0040ddb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0040ba40
push 1
lea esi, [ebp - 0x1c]
call fcn.0040be30
sub esp, 0x1c
mov dword [ebp - 0x24], esp
mov ecx, esp
call fcn.0040b3c0
mov byte [ebp - 4], 6
mov esi, edi
call fcn.0040be30
sub esp, 0x1c
mov dword [ebp - 0x20], esp
mov ecx, esp
call fcn.0040b3c0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
call fcn.004948d0
add esp, 0x3c
mov byte [ebp - 0x11], 0
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x6d4204
call fcn.0040b990
mov byte [ebp - 4], 8
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.004c18c0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0040ba40
test bl, bl
je 0x47d058
lea eax, [ebp - 0x11]
push eax
push 1
push 0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.0041e190
lea ecx, [ebp - 0x20]
call fcn.0040b810
cmp byte [ebp - 0x11], 0
jne 0x47d062
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x6d420c
call fcn.0040bb30
test eax, eax
jne 0x47d07c
mov ecx, dword [ebp - 0x18]
call fcn.00439af0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040ba40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ba40
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24