Function at 0x100db6b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
mov eax, dword [0x10206370]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xc24], ecx
cmp dword [ebp + 8], 0
je 0x100db6d5
cmp dword [ebp + 0xc], 0
jne 0x100db6df
mov eax, 0x80004005
jmp 0x100db952
call fcn.10001140
mov dword [ebp - 0xc1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc20], eax
cmp dword [ebp - 0xc20], 0
jne 0x100db708
mov dword [ebp - 0xc28], 0
jmp 0x100db770
mov ecx, dword [ebp - 0xc20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x100db730
mov dword [ebp - 0xc2c], 0
jmp 0x100db764
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.1018d1d0
mov dword [ebp - 0xc30], esp
mov edx, dword [ebp - 0xc1c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc20]
push ecx
mov edx, dword [ebp - 0xc30]
push edx
call fcn.100dbd00
mov dword [ebp - 0xc2c], eax
mov eax, dword [ebp - 0xc2c]
mov dword [ebp - 0xc28], eax
mov ecx, dword [ebp - 0xc28]
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x40c], eax
xor eax, eax
mov word [ebp - 0xc18], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xc16]
push ecx
call fcn.101845c0
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc34], edx
mov eax, dword [ebp - 0xc34]
add eax, 1
mov dword [ebp - 0xc38], eax
mov ecx, dword [ebp - 0xc34]
mov dl, byte [ecx]
mov byte [ebp - 0xc39], dl
add dword [ebp - 0xc34], 1
cmp byte [ebp - 0xc39], 0
jne 0x100db7c6
mov eax, dword [ebp - 0xc34]
sub eax, dword [ebp - 0xc38]
mov dword [ebp - 0xc40], eax
push 0x400
lea ecx, [ebp - 0xc18]
push ecx
mov edx, dword [ebp - 0xc40]
push edx
mov eax, dword [ebp + 8]
push eax
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x100db822
xor eax, eax
jmp 0x100db952
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x407]
push ecx
call fcn.101845c0
add esp, 0xc
push 0
push 0
push 0x400
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0xc18]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x100db87c
xor eax, eax
jmp 0x100db952
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.10161ad0
add esp, 8
test eax, eax
je 0x100db89d
mov eax, 0x80004005
jmp 0x100db952
cmp dword [ebp - 0x40c], 0
jne 0x100db8ad
xor eax, eax
jmp 0x100db952
mov byte [ebp - 0x415], 0
cmp dword [ebp - 0x40c], 0
je 0x100db92e
push 0
push 0
push 0
push 0x101bfe9c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.1013fa50
add esp, 0x14
test eax, eax
jne 0x100db8e3
mov byte [ebp - 0x415], 1
jmp 0x100db92e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.1015fb90
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100db90d
jmp 0x100db92e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10161ad0
add esp, 8
test eax, eax
je 0x100db923
jmp 0x100db92e
mov byte [ebp - 0x415], 1
xor eax, eax
jne 0x100db8bd
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc24]
call fcn.100403b0
movzx eax, byte [ebp - 0x415]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
lea esp, [ebp - 0xc40]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1017e01c
mov esp, ebp
pop ebp
ret 8