Function at 0x10047240
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100950b6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10012810
add esp, 4
mov dword [ebp - 4], 0
push 0x100a794c
mov ecx, dword [ebp + 8]
add ecx, 0x48
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.10012d10
add esp, 0x10
test eax, eax
jne 0x100472c5
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000e020
mov eax, dword [ebp - 0x84]
jmp 0x1004749b
lea ecx, [ebp - 0x40]
push ecx
call fcn.10012810
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.10012e10
add esp, 8
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x28]
call fcn.1000e0f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x7c], 0
jne 0x10047327
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000e020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000e020
mov eax, dword [ebp - 0x80]
jmp 0x1004749b
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.100128c0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.1000e0f0
push eax
lea ecx, [ebp - 0x40]
call fcn.1000e0f0
push eax
call fcn.100061e0
add esp, 8
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x40]
call fcn.1000e0f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x74], 0
je 0x100473ac
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000e020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000e020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000e020
mov eax, dword [ebp - 0x88]
jmp 0x1004749b
push 0x100b7d78
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.10043da0
add esp, 0xc
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.10011830
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.10011830
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x94]
push edx
call fcn.10045220
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb0]
call fcn.1000df90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call fcn.1000df90
lea ecx, [ebp - 0x70]
call fcn.1000e0f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x8c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000e020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000e020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1000e020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000e020
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret