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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10053060]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x70
mov eax, 0x100435be
call fcn.1002bc81
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000226c
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0x220]
cmp esi, dword [ebp + 0x224]
jbe 0x10001899
call fcn.1002b217
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp + 0x224]
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x220], esi
jbe 0x100018b8
call fcn.1002b217
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
jmp 0x1000195f
lea esi, [ebp - 0x20]
call fcn.100279d1
cmp dword [eax + 0x18], 8
jb 0x100018dc
mov eax, dword [eax + 4]
jmp 0x100018df
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001957
lea esi, [ebp - 0x20]
test al, 0x10
je 0x1000190d
call fcn.100279d1
cmp dword [eax + 0x18], 8
jb 0x10001902
mov eax, dword [eax + 4]
jmp 0x10001905
add eax, 4
push eax
call fcn.1000d35b
jmp 0x10001926
call fcn.100279d1
cmp dword [eax + 0x18], 8
jb 0x1000191d
mov eax, dword [eax + 4]
jmp 0x10001920
add eax, 4
push eax
call fcn.1000d022
add dword [ebp - 0x14], eax
adc dword [ebp - 0x10], edx
xor esi, esi
cmp dword [ebp - 0x10], esi
ja 0x1000198c
jb 0x1000193e
cmp dword [ebp - 0x14], 0x40000000
ja 0x1000198c
lea esi, [ebp - 0x20]
call fcn.100279d1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
push ecx
push edx
push eax
lea edi, [ebp - 0x3c]
call fcn.10002839
lea esi, [ebp - 0x20]
call fcn.10002378
lea edi, [ebp - 0x44]
lea esi, [ebp - 0x20]
call fcn.100023a3
test al, al
jne 0x100018c9
xor esi, esi
cmp dword [ebp - 0x24], esi
jne 0x100019ea
push str.no_file_available
lea ecx, [ebp - 0x60]
call fcn.100021cc
mov byte [ebp - 4], 3
jmp 0x1000199d
push str.too_large_files
lea ecx, [ebp - 0x60]
call fcn.100021cc
mov byte [ebp - 4], 2
push esi
push 0x1f4
push 2
push ebx
lea edx, [ebp - 0x60]
call fcn.1000c359
add esp, 0x10
push esi
push 1
lea ecx, [ebp - 0x60]
call fcn.100026d5
lea edi, [ebp - 0x3c]
call fcn.100028c2
push dword [ebp - 0x3c]
call fcn.1002b251
pop ecx
lea esi, [ebp + 0x214]
call fcn.10002931
push dword [ebp + 0x214]
call fcn.1002b251
mov eax, ebx
jmp 0x10001b28
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.1002d190
add esp, 0xc
lea esi, [ebp]
call fcn.1000d3d6
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x10047958
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x3c]
mov ebx, esi
call fcn.1001daa9
test eax, eax
je 0x10001a68
push str.archive_failed
lea ecx, [ebp - 0x60]
call fcn.100021cc
push 0
push 0x1f4
push 2
push dword [ebp - 0x18]
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.1000c359
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.100026d5
jmp 0x10001afe
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
push 0x10047970
call fcn.10002214
lea ecx, [ebp - 0x3c]
lea edi, [ebp - 0x60]
call fcn.100011f8
add esp, 0x1c
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x10001a97
mov eax, dword [eax + 4]
jmp 0x10001a9a
add eax, 4
push eax
push 0x10047974
call fcn.1000be1d
pop ecx
pop ecx
xor ebx, ebx
xor edi, edi
inc ebx
push edi
push ebx
lea esi, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.100027cd
lea eax, [ebp]
push eax
lea esi, [ebp - 0x60]
call fcn.10002214
mov eax, esi
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 6
call fcn.10001277
push ebx
push 0xc8
push ebx
push dword [ebp - 0x18]
mov edx, eax
mov byte [ebp - 4], 7
call fcn.1000c359
add esp, 0x18
push edi
push ebx
lea ecx, [ebp - 0x7c]
call fcn.100026d5
push edi
push ebx
call fcn.100027cd
lea edi, [ebp - 0x3c]
call fcn.100028c2
push dword [ebp - 0x3c]
call fcn.1002b251
pop ecx
lea esi, [ebp + 0x214]
call fcn.10002931
push dword [ebp + 0x214]
call fcn.1002b251
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1002ada2
add ebp, 0x20c
leave
ret