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

Disassembly:
push 0x38
mov eax, 0x10580c6
call fcn.0100f160
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xf4], ebx
je 0x1032b03
mov eax, dword [esi + 0x160]
push 1
add eax, 0x1c
push eax
lea edi, [esi + 0x158]
push 0x9a2
mov ecx, edi
call fcn.0103254a
mov eax, dword [esi + 0x160]
push 1
add eax, 0x20
push eax
push 0x997
mov ecx, edi
call fcn.0103254a
mov eax, dword [esi + 0x160]
push 1
add eax, 0x28
push eax
push 0x99b
mov ecx, edi
call fcn.0103254a
mov eax, dword [esi + 0x160]
push ebx
push ebx
push 1
push 4
add eax, 0x2c
push eax
push 0x99f
mov ecx, edi
call fcn.010326d0
mov eax, dword [0x1061024]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
push 0xf7d7
lea ecx, [ebp - 0x14]
call fcn.010086cc
test eax, eax
setne al
cmp al, bl
jne 0x1032b3a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010061d0
mov eax, ebx
call fcn.0100f24c
ret 0x10
push dword [ebp - 0x14]
push dword [esi + 0x318]
call fcn.01013900
mov edi, 0x1001d98
test eax, eax
jne 0x1032b5d
push edi
lea ecx, [esi + 0x318]
call fcn.0100864e
mov eax, dword [esi + 0x318]
push edi
push eax
mov dword [ebp - 0x18], eax
call fcn.01013900
test eax, eax
je 0x1032c97
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1032caf
test al, 0x10
je 0x1032caf
push 0x1002648
push dword [esi + 0x318]
call fcn.01013900
test eax, eax
je 0x1032caf
push 0x10034cc
lea ecx, [ebp - 0x18]
call fcn.010133a5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 0x318]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01026852
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.010061d0
push ebx
push ebx
push 2
push ebx
push 7
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1032c7c
lea ecx, [ebp - 0x30]
call fcn.0102d184
mov byte [ebp - 4], 6
push edi
lea ecx, [ebp + 0x14]
call fcn.01010421
mov byte [ebp - 4], 7
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0xf732
push 0xf740
push 0xf692
push dword [esi + 4]
lea ecx, [ebp - 0x30]
call fcn.0102d245
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x14]
call fcn.010061d0
cmp esi, ebx
jge 0x1032c60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0102d1aa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010061d0
jmp 0x1032d08
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0102d1aa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010061d0
jmp 0x1032b24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.010061d0
lea ecx, [esi + 0x2ec]
call fcn.01047ad6
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor ebx, ebx
inc ebx
jmp 0x1032b24
lea ecx, [ebp - 0x44]
call fcn.0102d184
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp + 0x14]
call fcn.01010421
mov byte [ebp - 4], 2
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0xf732
push 0xf740
push 0xf692
push dword [esi + 4]
lea ecx, [ebp - 0x44]
call fcn.0102d245
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.010061d0
cmp esi, ebx
jge 0x1032d0f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0102d1aa
mov ebx, esi
jmp 0x1032b24
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.0102d1aa
jmp 0x1032b24