Function at 0x52d7f0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b575d
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x63b404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x42c], ebx
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push 0x104
mov dword [ebp - 0x430], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x52d892
lea eax, [ebp - 0x420]
push eax
push esi
push 0x62668c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x52d892
push 8
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], esi
push ecx
mov ecx, eax
call fcn.00545630
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x430], esi
push 0
push 0
push esi
mov ecx, ebx
call fcn.0052d520
push esi
lea ecx, [ebp - 0x438]
call fcn.005456c0
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 1
call fcn.00546d80
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x438]
cmp edi, 0xffffffff
setne bl
test eax, eax
je 0x52d8f4
push 2
push eax
call fcn.0056f898
add esp, 8
test bl, bl
je 0x52dba0
mov ecx, dword [ebp - 0x430]
call fcn.005483c0
mov dword [ebp - 0x434], eax
test eax, eax
je 0x52db77
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
je 0x52db77
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x434]
push 0xfffffffffffffffa
call fcn.00548180
mov dword [ebp - 0x424], eax
test eax, eax
je 0x52db64
mov edx, dword [eax]
or esi, 0xffffffff
test edx, edx
je 0x52db64
mov eax, dword [eax + 4]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x52db64
xor ecx, ecx
nop dword [eax + eax]
mov edi, ecx
mov ebx, esi
cmp esi, 0xffffffff
jne 0x52d990
movzx eax, word [edx]
inc ecx
add edx, 2
mov esi, edi
cmp eax, 0x3d
cmovne esi, ebx
cmp ecx, dword [ebp - 0x428]
jb 0x52d970
test esi, esi
jle 0x52db64
mov ecx, dword [ebp - 0x424]
push esi
push 0
call fcn.005469d0
mov ecx, dword [ebp - 0x424]
inc esi
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x428], eax
call fcn.005469d0
mov esi, dword [ebp - 0x428]
mov edi, eax
mov dword [ebp - 0x424], edi
test esi, esi
je 0x52db37
test edi, edi
je 0x52db0e
mov ecx, esi
call fcn.00547520
mov ecx, edi
call fcn.00547520
cmp dword [esi + 4], 0
jle 0x52db0e
cmp dword [edi + 4], 0
jle 0x52db0e
push str.TYPE
lea ecx, [ebp - 0x440]
call fcn.005455a0
push eax
mov ecx, esi
call fcn.00547150
lea ecx, [ebp - 0x440]
mov bl, al
call fcn.00500b70
test bl, bl
je 0x52da38
mov ecx, dword [ebp - 0x42c]
push edi
lea ecx, [ecx + 0x1c]
call fcn.00546210
jmp 0x52db0e
push str.NAME
lea ecx, [ebp - 0x448]
call fcn.005455a0
push eax
mov ecx, esi
call fcn.00547150
lea ecx, [ebp - 0x448]
mov bl, al
call fcn.00500b70
test bl, bl
je 0x52da75
mov ecx, dword [ebp - 0x42c]
push edi
lea ecx, [ecx + 0x14]
call fcn.00546210
jmp 0x52db0e
push 0x625718
lea ecx, [ebp - 0x450]
call fcn.005455a0
push eax
mov ecx, esi
call fcn.00547150
lea ecx, [ebp - 0x450]
mov bl, al
call fcn.00500b70
test bl, bl
je 0x52db0e
push 0xffffffffffffffff
push 0x3a
mov ecx, edi
call fcn.00546850
mov ecx, edi
lea esi, [eax + 1]
push esi
push 0x3a
call fcn.00546850
mov ecx, dword [ebp - 0x424]
push 0
lea edi, [eax + 1]
call fcn.00546ba0
mov ecx, dword [ebp - 0x424]
mov ebx, eax
push esi
call fcn.00546ba0
push edi
mov edi, dword [ebp - 0x424]
mov esi, eax
mov ecx, edi
call fcn.00546ba0
mov ecx, ebx
shl ecx, 4
sub ecx, ebx
lea edx, [esi + ecx*4]
mov esi, dword [ebp - 0x428]
mov ecx, edx
shl ecx, 4
sub ecx, edx
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x42c]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], 0
mov eax, dword [esi]
test eax, eax
je 0x52db25
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056f898
add esp, 8
test edi, edi
je 0x52db64
mov eax, dword [edi]
test eax, eax
je 0x52db52
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056f898
add esp, 8
mov ecx, dword [ebp - 0x434]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x52d930
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x52dba0
mov ecx, eax
call fcn.00546d80
mov esi, eax
test esi, esi
je 0x52dba0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push esi
call fcn.0056f898
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056f3c2
mov esp, ebp
pop ebp
ret