Function at 0x102d4cc
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.010189d5
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 [0x111024c]
cmp eax, 0x111024c
je 0x102d51e
test byte [eax + 0x1c], 1
je 0x102d51e
cmp byte [eax + 0x19], 4
jb 0x102d51e
push 0x10023f8
push 0x16c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
lea esi, [ebx + 0x11c]
cmp dword [esi], 0
jne 0x102d53d
push 0x1002530
push 0x1fe9
push 0x1002460
call fcn.0107b644
push dword [esi]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
mov esi, eax
test esi, esi
jl 0x102d5a9
test byte [ebx + 0xec], 1
jne 0x102d75e
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 0x102d63b
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102d5ae
test byte [eax + 0x1c], 1
je 0x102d5ae
cmp byte [eax + 0x19], 2
jb 0x102d5ae
push esi
push 0x10023f8
push 0x16d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
cmp dword [ebp - 4], 0
je 0x102d5c2
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [0x111024c]
cmp dword [ebp - 8], 0
je 0x102d5da
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.010fe3dd
mov eax, dword [0x111024c]
test esi, esi
jge 0x102d60c
cmp eax, 0x111024c
je 0x102d634
test byte [eax + 0x1c], 1
je 0x102d60c
cmp byte [eax + 0x19], 2
jb 0x102d60c
push esi
push 0x10023f8
push 0x171
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102d634
test byte [eax + 0x1c], 1
je 0x102d634
cmp byte [eax + 0x19], 4
jb 0x102d634
push 0x10023f8
push 0x172
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
cmp dword [ebx + 0x140], 0
jne 0x102d658
push 0x1002bc8
push 0x2002
push 0x1002460
call fcn.0107b644
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebx + 0xd0]
push eax
push dword [ebx + 0x140]
call fcn.010dfceb
mov esi, eax
test esi, esi
jl 0x102d5a9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x102d6e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x102d6e3
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102d6ca
test byte [eax + 0x1c], 1
je 0x102d6ca
cmp byte [eax + 0x19], 2
jb 0x102d6ca
push esi
push dword [ebp - 4]
push 0x10023f8
push 0x16e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
mov eax, dword [0x111024c]
test esi, esi
jle 0x102d5ae
and esi, 0xffff
or esi, 0x80070000
jmp 0x102d5ae
test byte [ebx + 0xec], 0x80
je 0x102d75e
cmp byte [ebx + 0xbc], 0
je 0x102d75e
push dword [ebp - 4]
lea ecx, [ebx + 0x1e0]
call fcn.01026320
test al, al
jne 0x102d71b
push 0x10031d4
push 0x2019
push 0x1002460
call fcn.0107b644
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
pop ecx
cmp eax, edi
je 0x102d73b
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.0101a853
mov esi, eax
test esi, esi
jl 0x102d5a9
push edi
lea ecx, [ebx + 0x1e0]
call fcn.01029ca7
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, 0x1007124
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 0x102d7c0
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102d5ae
test byte [eax + 0x1c], 1
je 0x102d5ae
cmp byte [eax + 0x19], 2
jb 0x102d5ae
push esi
push 0x10023f8
push 0x16f
jmp 0x102d59e
push dword [ebp - 8]
lea eax, [ebx + 0x18]
push dword [ebp - 0xc]
push eax
push dword [ebx + 0x224]
push dword [ebx + 0xf0]
call fcn.0106d141
mov esi, eax
test esi, esi
jge 0x102d5a9
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x102d818
test byte [eax + 0x1c], 1
je 0x102d818
cmp byte [eax + 0x19], 3
jb 0x102d818
push esi
push 0x10023f8
push 0x170
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
xor esi, esi
jmp 0x102d5ae