Function at 0x1035321
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 0x10353b8
test byte [eax + 0x1c], 4
je 0x10353b8
cmp byte [eax + 0x19], 5
jb 0x10353b8
push 0x1002380
push 0xc9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
cmp dword [ebp - 0x214], 0
je 0x1035424
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x214]
call fcn.0102d5d9
test eax, eax
jne 0x1035424
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10355a2
test byte [eax + 0x1c], 4
je 0x10355a2
cmp byte [eax + 0x19], 2
jb 0x10355a2
push dword [ebp - 0x210]
push 0x1002380
push 0xca
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x10355a2
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.01031b95
test eax, eax
jne 0x103549f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x10355a2
test byte [eax + 0x1c], 4
je 0x10355a2
cmp byte [eax + 0x19], 2
jb 0x10355a2
push dword [ebp - 0x210]
push dword [edi + 8]
push 0x1002380
push 0xcb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
jmp 0x10355a2
lea eax, [ebp - 0x20c]
push eax
call fcn.01048e87
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x218], ebx
test ebx, ebx
jne 0x10354fb
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1035554
test byte [eax + 0x1c], 4
je 0x1035554
cmp byte [eax + 0x19], 2
jb 0x1035554
push dword [ebp - 0x210]
push 0x1002380
push 0xcc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101463a
jmp 0x1035554
cmp dword [ebp - 0x214], 0
je 0x1035548
push dword [ebp - 0x214]
call fcn.01048e87
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x1035548
call edi
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x1035554
test byte [eax + 0x1c], 4
je 0x1035554
cmp byte [eax + 0x19], 2
jb 0x1035554
push dword [ebp - 0x210]
push 0x1002380
push 0xcd
jmp 0x10354ee
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 0x103559e
mov eax, dword [0x1075004]
cmp eax, esi
je 0x103559e
test byte [eax + 0x1c], 4
je 0x103559e
cmp byte [eax + 0x19], 2
jb 0x103559e
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.010091cb
test ebx, ebx
jne 0x10355b4
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.0105b7af
leave
ret 0x14