Function at 0x633790
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x687490
mov eax, dword fs:[0]
push eax
sub esp, 0xadc
mov eax, dword [0x78a6d4]
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 eax, dword [0x78b20c]
push 0x208
mov dword [ebp - 0xae0], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0058d130
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0058d130
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0058d130
push 0x268
mov dword [ebp - 0xad8], 0
mov dword [ebp - 0xad4], 0
call fcn.0058a8a1
add esp, 0x28
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xad8], eax
push 0x104
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x6338bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x63386b
movzx esi, si
or esi, 0x80070000
push 0
push 0
push esi
push str.GetModuleFileName
push 0x45
push 0x23b
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinMinidump.cpp
push str.CExceptionHandlerEx::PruneMiniDumpFiles
call fcn.00612830
mov eax, dword [ebp - 0xad8]
add esp, 0x20
push dword [eax + 4]
lea eax, [ebp - 0xad8]
push eax
mov ecx, eax
call fcn.004726e0
push 0x268
push dword [ebp - 0xad8]
call fcn.0058ab22
mov eax, esi
jmp 0x633aa9
push 0x7959a0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x63395d
test al, 0x10
je 0x63395d
lea eax, [ebp - 0xae4]
mov dword [ebp - 0xae4], 0
push eax
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [ebp - 0xae4]
test eax, eax
jne 0x633937
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x633921
movzx esi, si
or esi, 0x80070000
push 0
push 0
push esi
push str.GetFullPathName
push 0x45
push 0x24b
jmp 0x63387c
push str.5.0.00556
push eax
push 0x7959a0
push str._s_s__s_______________.mdmp
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0062e730
add esp, 0x18
jmp 0x633982
push str.5.0.00556
lea eax, [ebp - 0x628]
push eax
push str._s__s_______________.mdmp
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0062e730
add esp, 0x14
xor eax, eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x6339d7
mov eax, dword [ebp - 0xad8]
push dword [eax + 4]
lea eax, [ebp - 0xad8]
push eax
mov ecx, eax
call fcn.004726e0
push 0x268
push dword [ebp - 0xad8]
call fcn.0058ab22
mov eax, 1
jmp 0x633aa9
test byte [ebp - 0x878], 0x10
jne 0x633a24
mov eax, dword [ebp - 0x874]
lea esi, [ebp - 0x878]
mov ecx, dword [ebp - 0x870]
lea edi, [ebp - 0xac8]
mov dword [ebp - 0xad0], eax
lea eax, [ebp - 0xad0]
mov dword [ebp - 0xacc], ecx
mov ecx, 0x94
push eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xae8]
push eax
lea ecx, [ebp - 0xad8]
call fcn.004725c0
lea eax, [ebp - 0x878]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x6339d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x633a48
movzx eax, ax
or eax, 0x80070000
xor edi, edi
cmp eax, 0x80070012
push ebx
cmovne edi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jns 0x633ac8
push 0
push 0
push edi
push str.FindNextFile
push 0x45
push 0x284
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinMinidump.cpp
push str.CExceptionHandlerEx::PruneMiniDumpFiles
call fcn.00612830
add esp, 0x20
mov eax, dword [ebp - 0xad8]
push dword [eax + 4]
lea eax, [ebp - 0xad8]
push eax
mov ecx, eax
call fcn.004726e0
push 0x268
push dword [ebp - 0xad8]
call fcn.0058ab22
mov eax, edi
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.0058a893
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xadc]
mov dword [ebp - 0xadc], 0
push eax
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [ebp - 0xadc]
test eax, eax
jne 0x633b27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x633b11
movzx esi, si
or esi, 0x80070000
push 0
push 0
push esi
push str.GetFullPathName
push 0x45
push 0x292
jmp 0x63387c
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
call fcn.0059a3bd
mov ecx, dword [ebp - 0xae0]
mov ebx, 0x104
sub ebx, eax
add esp, 4
mov eax, dword [ebp - 0xad8]
mov esi, dword [eax]
cmp ecx, dword [ebp - 0xad4]
jae 0x633a86
nop dword [eax]
cmp esi, eax
je 0x633a86
mov ecx, dword [ebp - 0xadc]
lea edx, [esi + 0x44]
push ebx
call fcn.0062e840
add esp, 4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x633bbe
lea eax, [ebp - 0x420]
push eax
push str.failed_to_delete__ls
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteFile
push 0x57
push 0x2a9
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinMinidump.cpp
push str.CExceptionHandlerEx::PruneMiniDumpFiles
call fcn.00612830
add esp, 0x24
lea ecx, [ebp - 0xae4]
mov dword [ebp - 0xae4], esi
call fcn.004473b0
push esi
lea ecx, [ebp - 0xad8]
call int.00454120
push 0x268
push eax
call fcn.0058ab22
mov eax, dword [ebp - 0xae0]
add esp, 8
mov esi, dword [ebp - 0xae4]
cmp eax, dword [ebp - 0xad4]
jae 0x633a80
mov eax, dword [ebp - 0xad8]
jmp 0x633b60