Function at 0x103697e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov eax, dword [0x1075004]
mov ebx, 0x1075004
mov esi, 0x1002380
cmp eax, ebx
je 0x10369be
test byte [eax + 0x1c], 4
je 0x10369be
cmp byte [eax + 0x19], 5
jb 0x10369be
push esi
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push dword [ebp + 8]
call fcn.0105e220
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, 0xffffffff
jne 0x1036a1d
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1036b69
test byte [eax + 0x1c], 4
je 0x1036b69
cmp byte [eax + 0x19], 2
jb 0x1036b69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
mov eax, dword [0x1075004]
push esi
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x1036ae7
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.01035a6d
test eax, eax
je 0x1036a59
mov ecx, dword [0x1075004]
cmp ecx, ebx
je 0x1036b69
test byte [ecx + 0x1c], 4
je 0x1036b69
cmp byte [ecx + 0x19], 2
jb 0x1036b69
push eax
push dword [ebp + 8]
push esi
push 0x26
jmp 0x1036ae1
xor eax, eax
inc eax
cmp dword [ebp - 0x10], eax
jne 0x1036aee
lea eax, [ebp - 8]
push eax
push edi
call fcn.010362eb
test eax, eax
je 0x1036bc6
mov ecx, 0x80091007
cmp eax, ecx
jne 0x1036ab8
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1036b62
test byte [eax + 0x1c], 4
je 0x1036b62
cmp byte [eax + 0x19], 2
jb 0x1036b62
push ecx
push dword [ebp + 8]
push esi
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
jmp 0x1036b62
mov ecx, dword [0x1075004]
cmp ecx, ebx
je 0x1036b69
test byte [ecx + 0x1c], 4
je 0x1036b69
cmp byte [ecx + 0x19], 2
jb 0x1036b69
push eax
push dword [ebp + 8]
push esi
push 0x28
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010091cb
jmp 0x1036b69
cmp dword [ebp - 0x10], 0x590
je 0x1036afc
mov dword [ebp - 4], eax
jmp 0x1036b69
lea eax, [ebp - 8]
push eax
push edi
call fcn.01036490
mov edi, eax
test edi, edi
je 0x1036bc6
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1036b3c
test byte [eax + 0x1c], 4
je 0x1036b3c
cmp byte [eax + 0x19], 2
jb 0x1036b3c
push edi
push dword [ebp + 8]
push esi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
mov eax, dword [0x1075004]
cmp edi, 0x570
jne 0x1036b69
cmp eax, ebx
je 0x1036b62
test byte [eax + 0x1c], 4
je 0x1036b62
cmp byte [eax + 0x19], 2
jb 0x1036b62
push esi
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov dword [ebp - 4], 1
push dword [ebp - 8]
call fcn.0105c21c
xor edi, edi
cmp dword [ebp - 4], edi
je 0x1036bc9
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
or dword [ebp - 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1036bd8
mov eax, dword [0x1075004]
cmp eax, ebx
je 0x1036bd8
test byte [eax + 0x1c], 4
je 0x1036bd8
cmp byte [eax + 0x19], 2
jb 0x1036bd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
mov eax, dword [0x1075004]
push esi
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010091cb
jmp 0x1036bc9
mov edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 0xffffffff
je 0x1036bd8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
leave
ret 8