Function at 0x422a0e
Capabilities:
Check if file exists

Disassembly:
push 0x88
mov eax, 0x57922e
call fcn.004890fc
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x40], ebx
call fcn.004190eb
pop ecx
pop ecx
mov eax, dword [ebp - 0x2c]
xor esi, esi
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], esi
jae 0x422a43
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422a72
mov eax, dword [ebx]
cmp eax, esi
je 0x422a5c
mov ecx, dword [eax + 4]
call fcn.004212b3
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040321f
mov al, bl
call fcn.00489158
ret
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x31], 0
call fcn.00421bb1
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.0042291a
pop ecx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00419432
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
call fcn.00419432
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041dd77
test al, al
jne 0x422c2d
lea ecx, [ebp - 0x3c]
call fcn.00437e5d
cmp dword [eax + 0x18], 8
jb 0x422ad5
mov eax, dword [eax + 4]
jmp 0x422ad8
add eax, 4
mov ecx, dword [ebp - 0x50]
push 0x17
push esi
push eax
call fcn.00421147
test eax, eax
jl 0x422c49
mov word [ebp - 0x94], 0xb
mov word [ebp - 0x8c], si
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.async
push eax
mov byte [ebp - 4], 4
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x140]
and word [ebp - 0x74], 0
push str.XPath
lea ecx, [ebp - 0x74]
call fcn.00401e2a
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.SelectionLanguage
push eax
mov byte [ebp - 4], 5
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x140]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x94]
push eax
call esi
mov dword [ebp - 4], 2
jmp 0x422b7e
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x422b8e
lea eax, [ebp - 0x2c]
and word [ebp - 0x84], 0
push eax
lea ecx, [ebp - 0x84]
call fcn.00401e2a
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 7
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xe8]
cmp word [ebp - 0x38], 0xffff
jne 0x422c20
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
mov edx, dword [eax]
add ecx, 4
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
jl 0x422c18
push 0x14
call fcn.00469919
pop ecx
mov dword [ebp - 0x40], eax
test eax, eax
mov byte [ebp - 4], 8
je 0x422c04
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.00421be6
jmp 0x422c06
xor eax, eax
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00421603
mov byte [ebp - 0x31], 1
jmp 0x422c20
mov ecx, dword [ebp - 0x50]
call fcn.004212b3
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x64]
call fcn.00438e60
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.004212d8
mov bl, byte [ebp - 0x31]
jmp 0x422a5e
lea ecx, [ebp - 0x3c]
call fcn.0040158b
jmp 0x422a9f