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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebx + 0xc]
call fcn.01018a22
mov edi, eax
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102d445
test byte [eax + 0x1c], 1
je 0x102d445
cmp byte [eax + 0x19], 4
jb 0x102d445
push 0x10023f8
push 0x16d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
lea esi, [ebx + 0x11c]
cmp dword [esi], 0
jne 0x102d464
push 0x1002530
push 0x1ff3
push 0x1002460
call fcn.0107b4be
push dword [esi]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
mov esi, eax
test esi, esi
jl 0x102d4d0
test byte [ebx + 0xec], 1
jne 0x102d685
mov eax, dword [edi]
xor ecx, ecx
cmp dword [ebx + 0xe8], 4
setne cl
push ecx
push dword [ebx + 0x178]
push edi
call dword [eax + 0x68]
mov esi, eax
test esi, esi
jge 0x102d562
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102d4d5
test byte [eax + 0x1c], 1
je 0x102d4d5
cmp byte [eax + 0x19], 2
jb 0x102d4d5
push esi
push 0x10023f8
push 0x16e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp dword [ebp - 4], 0
je 0x102d4e9
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x111124c]
cmp dword [ebp - 8], 0
je 0x102d501
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.010fe5d0
mov eax, dword [0x111124c]
test esi, esi
jge 0x102d533
cmp eax, 0x111124c
je 0x102d55b
test byte [eax + 0x1c], 1
je 0x102d533
cmp byte [eax + 0x19], 2
jb 0x102d533
push esi
push 0x10023f8
push 0x172
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102d55b
test byte [eax + 0x1c], 1
je 0x102d55b
cmp byte [eax + 0x19], 4
jb 0x102d55b
push 0x10023f8
push 0x173
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
cmp dword [ebx + 0x140], 0
jne 0x102d57f
push 0x1002bc8
push 0x200c
push 0x1002460
call fcn.0107b4be
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebx + 0xd0]
push eax
push dword [ebx + 0x140]
call fcn.010dfdd9
mov esi, eax
test esi, esi
jl 0x102d4d0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x102d60a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x102d60a
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102d5f1
test byte [eax + 0x1c], 1
je 0x102d5f1
cmp byte [eax + 0x19], 2
jb 0x102d5f1
push esi
push dword [ebp - 4]
push 0x10023f8
push 0x16f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
mov eax, dword [0x111124c]
test esi, esi
jle 0x102d4d5
and esi, 0xffff
or esi, 0x80070000
jmp 0x102d4d5
test byte [ebx + 0xec], 0x80
je 0x102d685
cmp byte [ebx + 0xbc], 0
je 0x102d685
push dword [ebp - 4]
lea ecx, [ebx + 0x1e0]
call fcn.01026409
test al, al
jne 0x102d642
push 0x10031cc
push 0x2023
push 0x1002460
call fcn.0107b4be
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
pop ecx
cmp eax, edi
je 0x102d662
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax], 0x10028ac
mov byte [eax + 4], 1
mov edi, eax
push dword [ebx + 0x178]
mov ecx, edi
call fcn.0101a945
mov esi, eax
test esi, esi
jl 0x102d4d0
push edi
lea ecx, [ebx + 0x1e0]
call fcn.01029c6b
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
push 0
push 0xffffffffffffffff
push 0
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x10]
mov esi, 0x100cbcc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x58]
mov esi, eax
test esi, esi
jge 0x102d6e7
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102d4d5
test byte [eax + 0x1c], 1
je 0x102d4d5
cmp byte [eax + 0x19], 2
jb 0x102d4d5
push esi
push 0x10023f8
push 0x170
jmp 0x102d4c5
push dword [ebp - 8]
lea eax, [ebx + 0x18]
push dword [ebp - 0xc]
push eax
push dword [ebx + 0x224]
push dword [ebx + 0xf0]
call fcn.0106cfab
mov esi, eax
test esi, esi
jge 0x102d4d0
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x102d73f
test byte [eax + 0x1c], 1
je 0x102d73f
cmp byte [eax + 0x19], 3
jb 0x102d73f
push esi
push 0x10023f8
push 0x171
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
xor esi, esi
jmp 0x102d4d5