Function at 0x101ac480
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1035160b
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10002400
test eax, eax
ja 0x101ac4c1
xor al, al
jmp 0x101ac81d
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xc8
je 0x101ac7f8
mov ecx, dword [ebp + 0xc]
call fcn.10002400
test eax, eax
jbe 0x101ac530
mov ecx, dword [ebp + 0xc]
call fcn.10004ba0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x101ac50e
mov ecx, dword [ebp + 0xc]
call fcn.10004ba0
push eax
call fcn.101ac050
add esp, 4
jmp 0x101ac530
mov ecx, dword [ebp + 0xc]
call fcn.10004ba0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x101ac530
mov ecx, dword [ebp + 0xc]
call fcn.10004ba0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x103d28b0
lea eax, [ebp - 0x1c]
push eax
call fcn.101abd00
add esp, 8
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101af930
push 0
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101af950
push 5
push 1
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101af590
cmp dword [ebp + 0x10], 0
je 0x101ac5e6
lea ecx, [ebp - 0x24]
call fcn.1001c620
mov byte [ebp - 4], 1
lea eax, [ebp + 0x10]
push eax
push str.Referer
lea ecx, [ebp - 0xbc]
push ecx
call fcn.101abc70
add esp, 0xc
push eax
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x24]
call fcn.101abc30
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea eax, [ebp - 0x24]
push eax
call fcn.101abdf0
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101af770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1001db00
cmp dword [ebp + 0x14], 0
je 0x101ac5ff
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101af710
cmp dword [ebp + 0x18], 0
je 0x101ac618
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101af740
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x1c]
call fcn.101abe70
mov ecx, eax
call fcn.101afd80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x12e
jne 0x101ac7bb
push str.Location
lea ecx, [ebp - 0xe0]
call fcn.100050e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x38]
call fcn.1001d870
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.10002730
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x38]
call fcn.1001da60
push eax
lea ecx, [ebp - 0x58]
call fcn.1001d9b0
movzx ecx, al
test ecx, ecx
je 0x101ac78d
lea ecx, [ebp - 0x58]
call fcn.1001d780
add eax, 0x18
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c40
mov ecx, dword [ebp + 0xc]
call fcn.10002400
test eax, eax
jbe 0x101ac78d
push 0xffffffffffffffff
push 0x103e1124
mov ecx, dword [ebp + 0xc]
call fcn.100d83b0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x101ac6f3
push 0xffffffffffffffff
push 0x103658e4
mov ecx, dword [ebp + 0xc]
call fcn.100d83b0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
push 0
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.100b7320
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10004010
lea ecx, [ebp - 0xfc]
call fcn.10002730
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.10002400
sub eax, 4
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
call fcn.100b7320
mov byte [ebp - 4], 4
push 0
push 0x103db0a0
lea ecx, [ebp - 0x74]
call fcn.100cc6e0
cmp eax, 0xffffffff
je 0x101ac774
mov ecx, dword [ebp + 8]
call fcn.10004ba0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10006a80
jmp 0x101ac781
push str.tmpfile.tmp
mov ecx, dword [ebp + 0xc]
call fcn.10006a80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.10002730
cmp dword [ebp - 0x14], 5
jl 0x101ac7b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100d4d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.101abe30
jmp 0x101ac7f8
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x101ac7d8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100d4d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.101abe30
jmp 0x101ac7f8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100d4d20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.101abe30
jmp 0x101ac4cf
cmp dword [ebp - 0x18], 0xc8
jne 0x101ac80d
mov dword [ebp - 0x100], 1
jmp 0x101ac817
mov dword [ebp - 0x100], 0
mov al, byte [ebp - 0x100]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret