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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + Ordinal_1461], rbx
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
mov rdx, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_300]
mov rcx, rax
call fcn.180035650
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800358d5
mov rdx, rbx
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov dl, reloc.ca_core.dll_Ordinal_46
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_11428]
mov ebx, eax
test eax, eax
jle 0x1800358ca
lea r8d, [rax + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_7575]
nop
mov r8d, ebx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_7190]
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_1291]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov ebx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_316]
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, qword [rsp + 0x58]
lea rdx, str._s__d._s
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_4124]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800358a1
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
inc ebx
cmp ebx, 0xa
jl 0x180035842
jmp 0x1800358be
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_1291]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc100.dll_Ordinal_889]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_405]
lea r14, vtable.CFileException.0
mov qword [rsp + 0x68], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_316]
nop
mov dword [rsp + 0x78], 0
or ebx, 0xffffffff
mov dword [rsp + 0x7c], ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_1294]
nop
lea r9, [rsp + 0x68]
mov r8d, 0x1041
mov rdx, qword [rsp + 0x50]
lea rcx, [0x18005efc8]
call qword [sym.imp.mfc100.dll_Ordinal_10593]
test eax, eax
jne 0x18003597f
xor r9d, r9d
mov r8d, 0x400
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_4689]
mov r11, qword [0x180040ed8]
mov rax, qword [r11]
mov qword [0x18005efd0], rax
mov qword [rsp + 0x68], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
xor eax, eax
jmp 0x180035b3f
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x18005ebc8], eax
lea rdx, str._r_n
xor ecx, ecx
call fcn.180035240
mov r8, rdi
lea rdx, str._t__s__X64__r_n
xor ecx, ecx
call fcn.180035240
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCR100.dll__localtime64_s]
mov esi, ebx
test eax, eax
cmove esi, dword [rbp + 0x34]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCR100.dll__localtime64_s]
test eax, eax
cmove ebx, dword [rbp - 0x18]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCR100.dll__localtime64_s]
xor r12d, r12d
test eax, eax
cmove r12d, dword [rbp - 0x64]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCR100.dll__localtime64_s]
test eax, eax
jne 0x180035a16
mov edi, dword [rbp - 0x38]
inc edi
jmp 0x180035a18
xor edi, edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCR100.dll__localtime64_s]
test eax, eax
jne 0x180035a38
mov r8d, dword [rbp + 0x1c]
add r8d, 0x76c
jmp 0x180035a3b
xor r8d, r8d
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r12d
mov r9d, edi
lea rdx, str._t_Time:__d____d____d___d:_d_r_n
xor ecx, ecx
call fcn.180035240
lea rcx, [rsp + 0x40]
call fcn.1800349a0
nop
mov r8, qword [rax]
lea rdx, str._t__s__r_n
xor ecx, ecx
call fcn.180035240
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
lea rcx, [rsp + 0x40]
call fcn.180035070
nop
mov r8, qword [rax]
lea rdx, str._t__s__r_n
xor ecx, ecx
call fcn.180035240
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
lea rcx, [rsp + 0x40]
call fcn.180035170
nop
mov r8, qword [rax]
lea rdx, str._t__s__r_n
xor ecx, ecx
call fcn.180035240
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
lea rcx, [rsp + 0x40]
call fcn.180035210
nop
mov r8, qword [rax]
lea rdx, str._t_System:__s__r_n
xor ecx, ecx
call fcn.180035240
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
lea rdx, str._r_n
xor ecx, ecx
call fcn.180035240
lea rdx, [0x180048d98]
xor ecx, ecx
call fcn.180035240
mov dword [0x18005ee10], 0
mov qword [rsp + 0x68], r14
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 1
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.18003c580
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x570
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret