Function at 0x46f14a
Capabilities:
Check if file exists
Create directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8cf0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1288
call fcn.004b8880
mov eax, dword [0x56f710]
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 dword [ebp - 0x10], esp
mov edi, dword [0x5790b8]
lea ecx, [ebp - 0x1240]
call fcn.004a0bec
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0049219b
push eax
lea ecx, [ebp - 0x1224]
call fcn.00402802
xor eax, eax
mov byte [ebp - 4], 1
push 0xffe
mov word [ebp - 0x1220], ax
lea eax, [ebp - 0x121e]
push esi
push eax
call fcn.004b62d0
add esp, 0xc
call fcn.0049219b
push eax
lea ecx, [ebp - 0x1228]
call fcn.00402802
push 0x208
lea eax, [ebp - 0x220]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004b62d0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call fcn.0045d1ed
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x1228]
call fcn.0040272d
push dword [ebp - 0x1228]
lea eax, [ebp - 0x1220]
push 0x800
push eax
call fcn.004b3efe
add esp, 0xc
push esi
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46f24e
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f29b
lea eax, [ebp - 0x1220]
push eax
lea ecx, [ebp - 0x1224]
call fcn.0040272d
push ecx
mov ecx, esp
mov dword [ebp - 0x1230], esp
push str.summary2.bin
call fcn.0040254f
lea ecx, [ebp - 0x1224]
call fcn.00406dfa
push 0x80
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push 0x9001
mov byte [ebp - 4], 3
push dword [ebp - 0x1224]
lea ecx, [ebp - 0x1240]
call fcn.004a1071
cmp eax, esi
je 0x46f4e5
push esi
push 0x1000
push esi
lea eax, [ebp - 0x1240]
push eax
lea ecx, [ebp - 0x1298]
mov byte [ebp - 4], 4
call fcn.004a01bf
mov byte [ebp - 4], 5
push dword [edi + 0x5c]
lea ecx, [ebp - 0x1298]
call fcn.00414d3b
xor ebx, ebx
cmp ebx, dword [edi + 0x5c]
jge 0x46f3ab
mov eax, dword [edi + 0x58]
mov esi, ebx
imul esi, esi, 0x28
push dword [esi + eax]
lea ecx, [ebp - 0x1298]
call fcn.00414d3b
mov eax, dword [edi + 0x58]
push dword [eax + esi + 4]
lea ecx, [ebp - 0x1298]
call fcn.00414d3b
mov eax, dword [edi + 0x58]
push dword [eax + esi + 8]
lea ecx, [ebp - 0x1298]
call fcn.00414d3b
mov eax, dword [edi + 0x58]
push dword [eax + esi + 0xc]
lea ecx, [ebp - 0x1298]
call fcn.00414d3b
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x10]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x14]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x18]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x1c]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
mov eax, dword [edi + 0x58]
lea eax, [eax + esi + 0x20]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
inc ebx
xor esi, esi
jmp 0x46f2ef
lea eax, [ebp - 0x124c]
call fcn.00442a09
call fcn.0049219b
push eax
lea ecx, [ebp - 0x122c]
call fcn.00402802
push 0x53f708
lea edi, [ebp - 0x1230]
lea ecx, [ebp - 0x124c]
mov byte [ebp - 4], 6
call fcn.0044fa1c
push eax
lea ecx, [ebp - 0x122c]
mov byte [ebp - 4], 7
call fcn.004025ee
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1230]
add ecx, 0xfffffff0
call fcn.00402845
lea eax, [ebp - 0x122c]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
push 0x400
push esi
lea eax, [ebp - 0x1230]
push eax
lea ecx, [ebp - 0x124c]
call fcn.00442ba1
push eax
lea ecx, [ebp - 0x122c]
mov byte [ebp - 4], 8
call fcn.004025ee
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1230]
add ecx, 0xfffffff0
call fcn.00402845
lea eax, [ebp - 0x122c]
push eax
lea ecx, [ebp - 0x1298]
call fcn.0041593f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x122c]
add ecx, 0xfffffff0
call fcn.00402845
lea ecx, [ebp - 0x1298]
call fcn.004a0008
lea ecx, [ebp - 0x1298]
mov byte [ebp - 4], 4
call fcn.004a0181
lea ecx, [ebp - 0x1240]
mov dword [ebp - 4], 3
call fcn.004a0b86
mov ecx, dword [ebp - 0x1228]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x1224]
add ecx, 0xfffffff0
call fcn.00402845
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1240]
call fcn.004a0d05
mov al, 1
jmp 0x46f512
mov ecx, dword [ebp - 0x1228]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x1224]
add ecx, 0xfffffff0
call fcn.00402845
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1240]
call fcn.004a0d05
xor al, al
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.004b228f
leave
ret