Function at 0x422630
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x464f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], edi
je 0x422678
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422678
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea eax, [esp + 0x10]
push eax
push 0x46963c
push 1
push edi
push 0x46962c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xfc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x110]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x118]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [edx + 0x120]
cmp esi, edi
mov dword [esp + 0x20], edi
je 0x422790
push esi
mov word [esp + 0x2c], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, edi
mov dword [esp + 0x30], eax
jne 0x4226f9
push 0x8007000e
call fcn.00454c70
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
lea esi, [esp + 0x20]
push esi
sub esp, 0x10
mov esi, esp
mov dword [esi], ebx
mov ebx, dword [esp + 0x40]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
push ecx
mov dword [esp + 0x58], edi
mov dword [esi + 0xc], eax
call dword [edx + 0xe8]
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00422520
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x40], 1
je 0x42274a
mov ecx, dword [esi]
jmp 0x42274c
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ebx, [esp + 0x48]
push ebx
push ecx
push eax
call dword [edx + 0x94]
cmp esi, edi
je 0x42276a
mov ecx, esi
call fcn.004225c0
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, edi
jge 0x422868
push eax
call fcn.00454c70
jmp 0x422868
push 0x469624
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edi
call fcn.00422520
push str.version1.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 2
call fcn.00422520
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov byte [esp + 0x40], 3
je 0x4227c9
mov edx, dword [eax]
jmp 0x4227cb
xor edx, edx
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x4227d7
mov ecx, dword [esi]
jmp 0x4227d9
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax]
lea ebp, [esp + 0x14]
push ebp
push edx
push ecx
push eax
call dword [ebx + 0xd0]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
mov dword [esp + 0x24], edi
call dword [ecx + 0x54]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x422813
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push ecx
push eax
call dword [edx + 0xbc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
mov dword [esp + 0x24], edi
call dword [edx + 0x54]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x422850
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x42285d
call fcn.004225c0
cmp esi, edi
je 0x422868
mov ecx, esi
call fcn.004225c0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret