Function at 0x10009080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015278b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0x70]
test ecx, ecx
jne 0x1000911e
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x78], esp
push edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x50]
call fcn.10008be0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
je 0x10009117
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.100098f0
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.100f6550
add esp, 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x1c
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x100092c3
mov edx, dword [ebp - 0x50]
add edx, 0x74
mov dword [ebp - 0x5c], edx
push 4
lea ecx, [ebp - 0x18]
call fcn.10001860
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.10005650
push 4
lea ecx, [ebp - 0x1c]
call fcn.10001860
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.1000af30
jmp 0x1000915d
lea ecx, [ebp - 0x18]
call fcn.1000b070
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.1000b090
movzx eax, al
test eax, eax
je 0x100092c1
lea ecx, [ebp - 0x18]
call fcn.100031c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.10004030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.100035f0
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.1000aec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1000af10
push 4
lea ecx, [ebp - 0x14]
call fcn.10001860
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.10005650
jmp 0x10009204
lea ecx, [ebp - 0x14]
call fcn.1000b070
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.1000af30
push eax
lea ecx, [ebp - 0x14]
call fcn.1000b090
movzx edx, al
test edx, edx
je 0x100092ad
lea ecx, [ebp - 0x14]
call fcn.100031c0
push eax
lea ecx, [ebp - 0x34]
call fcn.10004030
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10004030
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x50]
call fcn.10008be0
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 0
je 0x10009295
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.100098f0
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.100f6550
add esp, 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x1c
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003e00
jmp 0x100091fc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10003e00
jmp 0x10009155
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 4