Function at 0x103572e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
xor eax, eax
push 0x206
push eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x20a]
xor ecx, ecx
push eax
mov word [ebp - 0x20c], cx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x1075004]
mov esi, 0x1075004
cmp eax, esi
je 0x10357c5
test byte [eax + 0x1c], 4
je 0x10357c5
cmp byte [eax + 0x19], 5
jb 0x10357c5
push 0x1002380
push 0xc9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp - 0x214], 0
je 0x1035831
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x214]
call fcn.0102d9e5
test eax, eax
jne 0x1035831
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10359af
test byte [eax + 0x1c], 4
je 0x10359af
cmp byte [eax + 0x19], 2
jb 0x10359af
push dword [ebp - 0x210]
push 0x1002380
push 0xca
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x10359af
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1002c70
push ebx
push dword [ebp - 0x224]
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x21c]
call fcn.01031fa1
test eax, eax
jne 0x10358ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10359af
test byte [eax + 0x1c], 4
je 0x10359af
cmp byte [eax + 0x19], 2
jb 0x10359af
push dword [ebp - 0x210]
push dword [edi + 8]
push 0x1002380
push 0xcb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
jmp 0x10359af
lea eax, [ebp - 0x20c]
push eax
call fcn.01049322
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x218], ebx
test ebx, ebx
jne 0x1035908
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1035961
test byte [eax + 0x1c], 4
je 0x1035961
cmp byte [eax + 0x19], 2
jb 0x1035961
push dword [ebp - 0x210]
push 0x1002380
push 0xcc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x1035961
cmp dword [ebp - 0x214], 0
je 0x1035955
push dword [ebp - 0x214]
call fcn.01049322
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x1035955
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1035961
test byte [eax + 0x1c], 4
je 0x1035961
cmp byte [eax + 0x19], 2
jb 0x1035961
push dword [ebp - 0x210]
push 0x1002380
push 0xcd
jmp 0x10358fb
add ebx, dword [ebp - 0x220]
mov dword [ebp - 0x218], ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10359ab
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10359ab
test byte [eax + 0x1c], 4
je 0x10359ab
cmp byte [eax + 0x19], 2
jb 0x10359ab
call edi
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [0x1075004]
push 0x1002380
push 0xce
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a6e9
test ebx, ebx
jne 0x10359c1
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 0x14