Function at 0x10084e70
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x100b3beb
call fcn.100a4ea8
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
push 0x10
push 4
push 2
push dword [ebx + 0x2480]
mov dword [ebx + 0x2488], eax
call fcn.1007fe0b
mov eax, 0x246c
call fcn.100a52f0
lea eax, [ebx + 0x10]
mov ecx, esp
push eax
call fcn.1008cddd
lea ecx, [ebp - 0x10]
call fcn.10037257
xor edi, edi
lea ecx, [ebp - 0x1c]
push 0x1001000c
mov dword [ebp - 4], edi
call fcn.1006f372
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
mov edx, 0x1001d798
lea ecx, [ebp - 0x24]
call fcn.1006e932
push 0x1001dad0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1006e98e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
push ecx
push dword [eax]
lea ecx, [ebp - 0x34]
push 0x10010068
push dword [ebx + 8]
call fcn.1002e0ce
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x10084f51
xor eax, eax
mov ecx, ebx
cmp byte [ebx + 4], al
sete al
dec eax
and eax, 0xfff93fad
add eax, 0x80070057
push eax
call fcn.100886e0
jmp 0x100850d9
mov ecx, dword [ebx + 0x247c]
push ecx
mov esi, esp
mov dword [ebp - 0x28], esi
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.1008e35d
add eax, 0x10
mov dword [esi], eax
call fcn.1003001d
mov dword [ebp - 0x28], eax
test eax, eax
jns 0x10084fe0
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x14]
call fcn.1008df96
mov byte [ebp - 4], 7
mov eax, dword [ebx + 0x247c]
push dword [eax]
lea eax, [ebp - 0x14]
push 0x1001daf0
push eax
call fcn.1008dbf3
mov ebx, dword [ebx + 8]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx]
push esi
push edi
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x18]
mov eax, 0x80004004
cmp byte [ecx + 4], 0
jne 0x10084fcd
mov eax, dword [ebp - 0x28]
push eax
call fcn.100886e0
lea ecx, [esi - 0x10]
call fcn.1008e3f5
jmp 0x100850d9
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov byte [ebp - 4], 8
lea edi, [ebx - 8]
mov eax, dword [ebx + 0x247c]
mov esi, dword [edi]
push edi
push 0
push dword [eax]
mov ecx, dword [esi + 0x2c]
push dword [ebp - 0x10]
push 0
call dword [0x100cf608]
mov ecx, edi
call dword [esi + 0x2c]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jns 0x10085086
mov dl, byte [ebx + 4]
test dl, dl
jne 0x10085086
mov eax, dword [ebp + 8]
push 0
mov edx, dword [eax]
mov esi, dword [edx]
mov ecx, esi
call dword [0x100cf608]
mov ecx, dword [ebp + 8]
call esi
call fcn.1008e1f3
push eax
lea ecx, [ebp - 0x14]
call fcn.1008df96
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 9
push 0x1001db50
push eax
call fcn.1008dbf3
mov ebx, dword [ebx + 8]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx]
push esi
push 0
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100cf608]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 8
call fcn.1008e3f5
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
jmp 0x100850cb
mov eax, dword [ebx + 0x247c]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100850cb
mov edi, dword [ebp + 8]
push 0
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x100cf608]
mov ecx, edi
call esi
mov edi, dword [ebx + 8]
push 0x1001db90
push 0
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100cf608]
mov ecx, edi
call esi
push 2
pop edi
push edi
mov ecx, ebx
call fcn.100886e0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x34]
call fcn.1002e118
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008e3f5
call fcn.100a4e71
ret 4