Function at 0x11011260
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x111ee566
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x11279148]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov bl, byte [ebp + 0xc]
mov edi, ecx
mov dword [esp + 0x14], edi
test bl, 1
je 0x1101131a
lea eax, [esp + 0x70]
push 1
push eax
mov edx, edi
call fcn.1100d0a0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x110112c7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esp + 0x84], 8
mov esi, eax
jb 0x110112e8
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, 0xffffffff
je 0x1101131a
mov eax, dword [0x11279f28]
test eax, eax
jne 0x11011302
push 0xdc
xor ecx, ecx
call fcn.110014b0
push 1
push esi
call eax
add esp, 8
test al, 1
je 0x1101131a
push 0x20
mov edx, edi
call fcn.11010be0
add esp, 4
test bl, 4
jne 0x1101136b
lea edx, [esp + 0x70]
push 0
push edx
mov edx, edi
call fcn.1100d0a0
mov ebx, 8
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x1101133c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
cmp dword [esp + 0x84], ebx
jb 0x1101135c
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
test esi, esi
je 0x1101165e
mov al, 1
jmp 0x110114c7
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], esi
mov word [esp + 0x38], cx
mov dword [esp + 0xb8], esi
cmp edi, esi
jne 0x11011398
push esi
push esi
lea ecx, [esp + 0x40]
call fcn.11004bf0
jmp 0x110113ba
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x110113a0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x40]
call fcn.11004e40
mov dword [esp + 0xb8], 1
mov eax, dword [esp + 0x48]
cmp eax, 0x104
jl 0x1101155d
lea edx, [esp + 0x54]
push esi
push edx
mov edx, edi
call fcn.1100d0a0
add esp, 8
mov byte [esp + 0xb8], 2
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x110113fb
lea eax, [esp + 0x54]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push esi
push esi
push eax
call ebx
mov esi, eax
test esi, esi
je 0x110114a1
mov eax, dword [esp + 0x48]
cmp esi, eax
jle 0x1101143c
ja 0x11011428
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x40]
call fcn.11004bf0
jmp 0x11011438
mov ecx, esi
sub ecx, eax
push 0
push ecx
lea ecx, [esp + 0x40]
call fcn.110060a0
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x1101144b
lea eax, [esp + 0x38]
cmp dword [esp + 0x68], 8
mov ecx, dword [esp + 0x54]
jae 0x1101145a
lea ecx, [esp + 0x54]
push esi
push eax
push ecx
call ebx
mov edx, dword [esp + 0x38]
mov ebx, 8
mov esi, eax
cmp dword [esp + 0x4c], ebx
jae 0x11011474
lea edx, [esp + 0x38]
call fcn.1100cdb0
mov ecx, dword [esp + 0x48]
cmp eax, ecx
ja 0x1101148f
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
call fcn.11004bf0
jmp 0x1101149d
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x40]
call fcn.110060a0
test esi, esi
jne 0x110114eb
cmp byte [ebp + 8], 0
je 0x110114b3
push 0xda
mov ecx, edi
call fcn.110014b0
lea ecx, [esp + 0x54]
call fcn.11004bc0
lea ecx, [esp + 0x38]
call fcn.11004bc0
xor al, al
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x38]
call fcn.1100cf80
test eax, eax
jle 0x11011526
push eax
lea esi, [esp + 0x90]
lea ecx, [esp + 0x3c]
call fcn.11001410
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xc4], 3
call fcn.11004d40
mov ecx, esi
call fcn.11004bc0
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x68], ebx
jb 0x11011542
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [esp + 0x54], ax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
lea edi, [eax + eax + 4]
xor esi, esi
mov ebx, eax
test edi, edi
je 0x11011580
push edi
call fcn.111709c0
add esp, 4
push edi
mov esi, eax
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x38]
mov edi, 8
cmp dword [esp + 0x4c], edi
jae 0x11011593
lea eax, [esp + 0x38]
lea ecx, [ebx + ebx]
push ecx
push eax
push esi
call sub.MSVCR100.dll_memcpy
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], ax
add esp, 0xc
lea eax, [esp + 0x18]
mov edx, 0x454
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 3
mov word [esp + 0x2c], dx
mov dword [esp + 0x24], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x1101161a
cmp dword [esp + 0x2a], ebx
jne 0x1101161a
cmp esi, ebx
je 0x110115ff
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x4c], edi
jb 0x11011613
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x110114c7
cmp esi, ebx
je 0x11011628
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x4c], edi
jb 0x11011647
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
cmp byte [ebp + 8], 0
je 0x110114c5
push 0xda
mov ecx, edi
call fcn.110014b0
int3