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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008793d
mov eax, dword fs:[0]
push eax
sub esp, 0x74c
mov eax, dword [0x100a5c90]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x700], ecx
mov dword [ebp - 0x71c], eax
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], cx
mov dword [ebp - 4], edi
xor edx, edx
mov dword [ebp - 0x220], eax
mov eax, ebx
mov word [ebp - 0x234], dx
mov dword [ebp - 0x224], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10030140
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [ebp - 0x234]
call fcn.10003a30
lea eax, [ebp - 0x6e8]
push eax
mov byte [ebp - 4], 1
call fcn.10034300
mov byte [ebp - 4], 2
push 0x10
mov dword [ebp - 0x714], edi
call fcn.10067232
add esp, 4
cmp eax, edi
je 0x1003096f
mov dword [eax], eax
mov dword [ebp - 0x718], eax
mov dword [eax + 4], eax
xor ecx, ecx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], cx
or eax, 0xffffffff
lea edx, [ebp - 0x4b8]
push edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x6ec], eax
call fcn.10034300
push 0x1ff
lea eax, [ebp - 0x217]
push edi
mov byte [ebp - 4], 5
push eax
mov byte [ebp - 0x218], 0
call fcn.1006b580
mov eax, dword [ebp - 0x234]
mov esi, 8
add esp, 0xc
mov dword [ebp - 0x70c], edi
mov dword [ebp - 0x6fc], edi
mov dword [ebp - 0x720], edi
mov dword [ebp - 0x708], edi
mov dword [ebp - 0x704], edi
cmp dword [ebp - 0x220], esi
jae 0x10030223
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x1003025e
call fcn.1000ea50
test al, al
je 0x100302b5
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x1003024b
lea eax, [ebp - 0x234]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x720], 1
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x10030272
lea eax, [ebp - 0x234]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push eax
call dword [0x100ac6c4]
mov edi, eax
mov dword [ebp - 0x6f0], edi
cmp edi, 0xffffffff
jne 0x100302bf
push ebx
push 0x100953d4
mov esi, 0x100aa2d0
mov edi, 0x7ab8
call fcn.10005ac0
add esp, 8
jmp 0x1003072c
mov edi, 0x7ab7
jmp 0x1003072c
lea ecx, [ebp - 0x6e8]
call fcn.10034de0
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x6cc]
cmp cl, byte [eax + 0x10091754]
jne 0x100302ef
inc eax
cmp eax, 9
jl 0x100302d0
mov edi, 0x9c40
jmp 0x1003072c
lea edx, [ebp - 0x708]
push edx
push edi
call dword [0x100ac6fc]
test eax, eax
jne 0x1003030b
mov edi, 0x7aba
jmp 0x1003072c
mov ecx, dword [ebp - 0x704]
mov edx, dword [ebp - 0x708]
push 1
lea eax, [ebp - 0x250]
push eax
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.10032f00
test eax, eax
jne 0x1003033b
mov edi, 0x7ab9
jmp 0x1003072c
cmp dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x234]
jae 0x1003034f
lea esi, [ebp - 0x234]
mov eax, dword [ebp - 0x704]
mov ecx, dword [ebp - 0x708]
push eax
push ecx
lea eax, [ebp - 0x718]
call fcn.1002fcd0
add esp, 8
test eax, eax
jne 0x100303d1
lea esi, [ebp - 0x4b8]
call fcn.10034420
lea ecx, [ebp - 0x26c]
call fcn.10003710
lea esi, [ebp - 0x718]
call fcn.10033330
lea esi, [ebp - 0x6e8]
call fcn.10034420
lea ecx, [ebp - 0x234]
call fcn.10003710
lea ecx, [ebp - 0x250]
call fcn.10003710
xor eax, eax
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.10066b1b
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x100303e6
lea eax, [ebp - 0x250]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [0x100ac6c4]
mov dword [ebp - 0x6ec], eax
cmp eax, 0xffffffff
jne 0x10030414
mov edi, 0x7ab8
jmp 0x1003072c
lea edx, [ebp - 0x758]
push edx
mov edx, dword [ebp - 0x6f0]
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x744]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [ebp - 0x700]
mov ecx, dword [eax + 0x808]
push ecx
lea esi, [ebp - 0x4b8]
call fcn.10034fc0
lea eax, [ebp - 0x718]
mov ecx, esi
call fcn.10034bb0
mov ecx, esi
call fcn.100347f0
lea ebx, [ebp - 0x218]
mov eax, esi
call fcn.100346a0
mov esi, dword [ebp - 0x6ec]
push 0
push 0
push 0
push esi
call dword [0x100ac6e4]
push 0
lea edx, [ebp - 0x70c]
push edx
push 0x200
mov eax, ebx
push eax
push esi
call dword [0x100ac6dc]
test eax, eax
jne 0x100304a8
mov edi, 0x7abb
jmp 0x1003072c
mov ecx, dword [ebp - 0x700]
mov byte [ebp - 4], 6
mov edx, dword [ecx + 0x818]
push edx
call fcn.1005f071
mov ecx, dword [ebp - 0x6f0]
add esp, 4
push 0
push 0
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x708]
mov ebx, eax
mov eax, dword [ebp - 0x704]
push 0
push ecx
mov dword [ebp - 0x6fc], ebx
mov dword [ebp - 0x6f4], eax
call dword [0x100ac6e4]
jmp 0x10030500
mov edx, dword [ebp - 0x700]
mov eax, dword [edx + 0x818]
xor ecx, ecx
cmp dword [ebp - 0x6f4], ecx
jg 0x10030520
jl 0x1003051c
cmp edi, eax
jae 0x10030520
mov esi, edi
jmp 0x10030522
mov esi, eax
push eax
push 0
push ebx
call fcn.1006b580
mov ecx, dword [ebp - 0x6f0]
add esp, 0xc
push 0
lea eax, [ebp - 0x70c]
push eax
push esi
push ebx
push ecx
call dword [0x100ac6d4]
test eax, eax
je 0x100306f7
mov eax, dword [ebp - 0x6ec]
push 0
lea edx, [ebp - 0x70c]
push edx
push esi
push ebx
push eax
call dword [0x100ac6dc]
test eax, eax
je 0x1003049e
sub edi, esi
sbb dword [ebp - 0x6f4], 0
js 0x1003057f
jg 0x10030500
test edi, edi
jne 0x10030500
test ebx, ebx
je 0x10030596
push ebx
call fcn.10067956
add esp, 4
mov dword [ebp - 0x6fc], 0
mov eax, dword [ebp - 0x718]
mov edi, dword [eax]
cmp edi, eax
je 0x1003065b
jmp 0x100305b0
xor eax, eax
mov dword [ebp - 0x734], eax
mov dword [ebp - 0x730], eax
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x728], eax
mov dword [ebp - 0x724], eax
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push esi
mov dword [ebp - 0x6f4], ecx
call fcn.1005f071
add esp, 4
push esi
mov ebx, eax
push 0
push ebx
call fcn.1006b580
mov edx, dword [ebp - 0x6f4]
mov ecx, dword [ebp - 0x6ec]
add esp, 0xc
lea eax, [ebp - 0x734]
push eax
push 0
push esi
push ebx
add edx, 0x200
push ecx
mov dword [ebp - 0x72c], edx
call dword [0x100ac6d4]
mov edx, dword [ebp - 0x700]
push ebx
push edx
mov ecx, ebx
call fcn.1002ff00
mov ecx, dword [ebp - 0x6ec]
lea eax, [ebp - 0x734]
push eax
push 0
push esi
push ebx
push ecx
call dword [0x100ac6dc]
push ebx
call fcn.10067956
mov edi, dword [edi]
add esp, 4
cmp edi, dword [ebp - 0x718]
jne 0x100305b0
mov esi, dword [ebp - 0x6ec]
lea edx, [ebp - 0x758]
push edx
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x744]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0x6f0]
push edx
call dword [0x100ac70c]
test eax, eax
je 0x100306fe
push esi
call dword [0x100ac70c]
test eax, eax
je 0x100306fe
mov ecx, dword [ebp - 0x234]
or eax, 0xffffffff
mov dword [ebp - 0x6f0], eax
mov dword [ebp - 0x6ec], eax
mov eax, 8
cmp dword [ebp - 0x220], eax
jae 0x100306c1
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x250]
jae 0x100306d5
lea eax, [ebp - 0x250]
push 1
push 0
push 0
push ecx
push eax
call dword [0x100ac71c]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffff8542
add edi, 0x7abe
jmp 0x1003072c
mov edi, 0x7abd
jmp 0x1003072c
mov edi, 0x7ac1
jmp 0x1003072c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x71c]
test eax, eax
je 0x10030740
mov dword [eax], edi
cmp dword [ebp - 0x720], 0
mov esi, 8
je 0x1003076b
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x10030762
lea eax, [ebp - 0x234]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x6f0]
cmp eax, 0xffffffff
je 0x1003077d
push eax
call dword [0x100ac70c]
mov eax, dword [ebp - 0x6ec]
cmp eax, 0xffffffff
je 0x1003078f
push eax
call dword [0x100ac70c]
mov eax, dword [ebp - 0x6fc]
test eax, eax
je 0x100307a2
push eax
call fcn.10067956
add esp, 4
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], esi
jae 0x100307b6
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100307e7
shr eax, 4
not eax
and eax, 1
je 0x100307e7
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], esi
jae 0x100307e0
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test edi, edi
je 0x100308d4
cmp edi, 0x9c40
je 0x100308d4
mov eax, edi
lea esi, [ebp - 0x288]
call fcn.10029bc0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x10030814
mov eax, dword [eax]
mov ecx, dword [ebp - 0x234]
mov esi, 8
cmp dword [ebp - 0x220], esi
jae 0x1003082d
lea ecx, [ebp - 0x234]
push eax
push edi
push ebx
push ecx
push 0x100953f8
mov ecx, 0x100aa2d0
call fcn.10005a50
add esp, 0x14
cmp dword [ebp - 0x274], esi
jb 0x1003085a
mov eax, dword [ebp - 0x288]
push eax
call fcn.10066b10
add esp, 4
lea esi, [ebp - 0x4b8]
call fcn.10034420
lea esi, [ebp - 0x718]
call fcn.10033330
lea esi, [ebp - 0x6e8]
call fcn.10034420
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x10030897
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x23c], esi
jb 0x100303b1
mov eax, dword [ebp - 0x250]
push eax
call fcn.10066b10
add esp, 4
jmp 0x100303b1
lea esi, [ebp - 0x4b8]
call fcn.10034420
mov edi, dword [ebp - 0x718]
mov eax, dword [edi]
mov dword [edi], edi
mov dword [edi + 4], edi
cmp eax, edi
je 0x10030901
mov esi, dword [eax]
push eax
call fcn.10066b10
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x100308f0
push edi
call fcn.10066b10
add esp, 4
lea esi, [ebp - 0x6e8]
call fcn.10034420
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x10030931
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.10066b10
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x23c], esi
jb 0x10030965
mov eax, dword [ebp - 0x250]
push eax
call fcn.10066b10
add esp, 4
mov eax, 1
jmp 0x100303b3
lea ecx, [ebp - 0x6f4]
push ecx
lea ecx, [ebp - 0x750]
mov dword [ebp - 0x6f4], edi
call fcn.10066dc7
push 0x10099a10
lea edx, [ebp - 0x750]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.1006752f
int3