Function at 0x10008d70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015273b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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 byte [ebp - 0x51], 0
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0x70]
test ecx, ecx
jne 0x10008e23
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x7c], 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 - 0x84], eax
mov ecx, dword [ebp - 0x50]
call fcn.10008be0
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0
je 0x10008e1a
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.100092e0
movzx ecx, al
test ecx, ecx
jne 0x10008dfc
jmp 0x10008fe7
mov edx, dword [ebp - 0x5c]
push edx
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 byte [ebp - 0x51], 1
jmp 0x10008fe7
mov eax, dword [ebp - 0x50]
add eax, 0x74
mov dword [ebp - 0x60], eax
push 4
lea ecx, [ebp - 0x18]
call fcn.10001860
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.10005650
push 4
lea ecx, [ebp - 0x1c]
call fcn.10001860
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.1000af30
jmp 0x10008e62
lea ecx, [ebp - 0x18]
call fcn.1000b070
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000b090
movzx ecx, al
test ecx, ecx
je 0x10008fdb
lea ecx, [ebp - 0x18]
call fcn.100031c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.10004030
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.100035f0
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.1000aec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.1000af10
mov dword [ebp - 0x58], 0
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 0x10008f09
lea ecx, [ebp - 0x14]
call fcn.1000b070
lea ecx, [ebp - 0x80]
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 0x10008fc7
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 - 0x74], esp
lea eax, [ebp - 0x34]
push eax
call fcn.10004030
mov dword [ebp - 0x78], 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 0x10008faf
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.100092e0
movzx ecx, al
test ecx, ecx
jne 0x10008f91
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003e00
jmp 0x10008fc7
mov edx, dword [ebp - 0x58]
push edx
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 - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10003e00
jmp 0x10008f01
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10003e00
jmp 0x10008e5a
mov byte [ebp - 0x51], 1
xor eax, eax
jne 0x10008da2
mov al, byte [ebp - 0x51]
jmp 0x10008fee
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