Function at 0xadf3b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0xc85ff6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
xor ebx, ebx
mov ebp, 8
mov esi, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
cmp dword [eax + 0x14], ebp
jb 0xadf40e
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0xadf6b4
cmp dword [esi + 0x14], ebp
jb 0xadf428
mov eax, dword [esi]
jmp 0xadf42a
mov eax, esi
push eax
call edi
test eax, eax
jne 0xadf6b4
cmp dword [esi + 0x14], ebp
jb 0xadf43e
mov ecx, dword [esi]
jmp 0xadf440
mov ecx, esi
xor eax, eax
mov word [esp + 0x98], ax
mov edi, 7
mov eax, ecx
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0xadf462
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.00ad1d20
push 0xffffffffffffffff
mov dword [esp + 0xe0], ebx
xor ecx, ecx
push ebx
lea edx, [esp + 0xa0]
mov word [esp + 0x4c], cx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
call fcn.00ad19e0
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0xe0], 1
call fcn.00b42520
push eax
mov byte [esp + 0xe0], 2
call fcn.00b422f0
add esp, 4
test al, al
sete byte [esp + 0x17]
mov byte [esp + 0xdc], 1
cmp dword [esp + 0xc8], ebp
jb 0xadf4fb
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00c18a36
add esp, 4
xor edx, edx
mov byte [esp + 0xdc], bl
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], dx
cmp dword [esp + 0x58], ebp
jb 0xadf52d
mov eax, dword [esp + 0x44]
push eax
call fcn.00c18a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
cmp dword [esp + 0xac], ebp
jb 0xadf560
mov edx, dword [esp + 0x98]
push edx
call fcn.00c18a36
add esp, 4
cmp byte [esp + 0x17], bl
jne 0xadf6b4
xor eax, eax
lea esi, [esp + 0x44]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
call fcn.00adf870
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x80]
push edx
mov ebx, esi
mov dword [esp + 0xe4], 6
call fcn.00adfb30
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0xec], 7
call fcn.00adfb30
add esp, 0x10
mov dword [esp + 0x24], 2
cmp dword [esp + 0x90], ebp
jb 0xadf5f7
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
jmp 0xadf5ff
lea eax, [esp + 0x7c]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x74], ebp
jb 0xadf60f
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
jmp 0xadf617
lea edx, [esp + 0x60]
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x20]
mov eax, 0x614
push ecx
mov word [esp + 0x34], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [esp + 0xdc], ebp
mov ebx, 7
mov byte [esp + 0xdc], bl
cmp dword [esp + 0x74], ebp
jb 0xadf652
mov edx, dword [esp + 0x60]
push edx
call fcn.00c18a36
add esp, 4
xor esi, esi
xor eax, eax
mov byte [esp + 0xdc], 6
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], esi
mov word [esp + 0x60], ax
cmp dword [esp + 0x90], ebp
jb 0xadf681
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00c18a36
add esp, 4
xor edx, edx
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], esi
mov word [esp + 0x7c], dx
cmp dword [esp + 0x58], ebp
jb 0xadf6b4
mov eax, dword [esp + 0x44]
push eax
call fcn.00c18a36
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.00c18a41
add esp, 0xcc
ret