Function at 0x10009ad0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032cda
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x10048034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x10009b0f
or eax, 0xffffffff
jmp 0x10009fc0
cmp dword [esi + 0x14], 8
jb 0x10009b19
mov eax, dword [esi]
jmp 0x10009b1b
mov eax, esi
push 0
push eax
lea ecx, [ebp - 0x654]
call dword [0x10040c90]
xor eax, eax
push 0x1fe
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x10036bc0
push 0x104
push eax
push str.module
push str.REPORT_INFO
lea ecx, [ebp - 0x654]
call dword [0x10040c88]
xor eax, eax
mov dword [ebp - 0x674], 7
mov dword [ebp - 0x678], 0
mov word [ebp - 0x688], ax
cmp word [ebp - 0x414], ax
jne 0x10009ba0
xor ecx, ecx
jmp 0x10009bbf
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009bb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x688]
call fcn.100019a0
lea edx, [ebp - 0x688]
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 1
call fcn.10011da0
cmp dword [eax + 0x10], 0
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
sete bl
cmp dword [ebp - 0x65c], 8
jb 0x10009c08
push dword [ebp - 0x670]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x674], 8
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
jb 0x10009c3c
push dword [ebp - 0x688]
call edi
add esp, 4
test bl, bl
jne 0x10009fa8
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x10036bc0
push 0x104
push eax
push str.dumppath
push str.REPORT_INFO
lea ecx, [ebp - 0x654]
call dword [0x10040c88]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x6a0]
call fcn.10001690
lea edx, [ebp - 0x6a0]
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 2
call fcn.10011da0
cmp dword [eax + 0x10], 0
sete bl
cmp dword [ebp - 0x65c], 8
jb 0x10009ccb
push dword [ebp - 0x670]
call edi
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x68c], 8
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
jb 0x10009cff
push dword [ebp - 0x6a0]
call edi
add esp, 4
test bl, bl
jne 0x10009fa8
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x670]
call fcn.10001690
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 3
call fcn.10001690
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x6a0]
mov byte [ebp - 4], 4
call fcn.10001690
mov byte [ebp - 4], 5
mov eax, dword [0x1004a770]
test al, 1
jne 0x10009d67
or eax, 1
push 0x10035220
mov dword [0x1004a770], eax
call fcn.1002f887
add esp, 4
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x688]
push eax
push ecx
lea eax, [ebp - 0x42c]
push eax
call fcn.10005920
cmp dword [ebp - 0x68c], 8
jb 0x10009d96
push dword [ebp - 0x6a0]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x68c], 7
mov dword [ebp - 0x690], 0
mov word [ebp - 0x6a0], ax
cmp dword [ebp - 0x674], 8
jb 0x10009dc7
push dword [ebp - 0x688]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x674], 7
mov dword [ebp - 0x678], 0
mov word [ebp - 0x688], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x65c], 8
jb 0x10009dfc
push dword [ebp - 0x670]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
cmp dword [ebp - 0x41c], eax
jne 0x10009e29
or esi, 0xffffffff
jmp 0x10009f75
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x6c0]
call fcn.10001690
lea edx, [ebp - 0x6c0]
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0xa
call fcn.100099e0
lea ecx, [ebp - 0x6c0]
call fcn.100016f0
mov dword [ebp - 0x658], 0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x430], 8
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push 1
push eax
push 1
lea ecx, [ebp - 0x658]
call fcn.1001a010
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x658]
call fcn.1001a1a0
cmp dword [esi + 0x14], 8
jb 0x10009ea9
mov eax, dword [esi]
jmp 0x10009eab
mov eax, esi
push eax
lea ecx, [ebp - 0x658]
call fcn.1001a1a0
lea ecx, [ebp - 0x658]
call fcn.1001a160
cmp dword [ebp - 0x430], 8
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6a4], esp
push eax
call fcn.10001690
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10001690
mov cl, 1
mov byte [ebp - 4], 0xd
call fcn.10002e30
add esp, 0x30
test eax, eax
jne 0x10009f21
or esi, 0xffffffff
jmp 0x10009f5b
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
lea eax, [ebp - 0x214]
push eax
call ebx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x10009f4a
mov esi, dword [esi]
push 0x80
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0xc
call fcn.10019fe0
lea ecx, [ebp - 0x444]
call fcn.100016f0
cmp dword [ebp - 0x418], 8
jb 0x10009f89
push dword [ebp - 0x42c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
jmp 0x10009fab
or esi, 0xffffffff
lea ecx, [ebp - 0x654]
mov dword [ebp - 4], 0xffffffff
call dword [0x10040c8c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002f746
mov esp, ebp
pop ebp
ret 4