Function at 0x42a800
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x78
mov eax, 0x4c1fa0
call fcn.0043c032
mov edi, dword [ebp + 0x234]
mov esi, dword [ebp + 0x238]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x30], esi
je 0x42ad60
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ad60
push 0x206
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.0043b4c0
add esp, 0xc
cmp esi, ebx
jne 0x42a88e
push edi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0x1c]
push 0x5c
push eax
call fcn.0043c3e6
cmp eax, ebx
pop ecx
pop ecx
je 0x42a88e
mov word [eax], bx
add eax, 2
mov dword [ebp - 0x30], eax
lea edi, [ebp + 0x1c]
push ebx
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x230]
mov dword [ebp - 0x70], ebx
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
je 0x42a8ff
cmp dword [ebp - 0x70], ebx
je 0x42a8ff
push eax
push dword [ebp - 0x70]
lea ecx, [ebp]
call fcn.0042a7a9
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4cbfe4
push 0x17
push ebx
push 0x4cccd8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x42a906
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x42a8f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.004017c0
xor al, al
jmp 0x42ad62
mov word [ebp - 0x68], 3
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x58], 3
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 1
lea edx, [ebp - 0x84]
push edx
push 8
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x84], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x3c]
cmp eax, ebx
mov eax, dword [ebp - 0x10]
jge 0x42a971
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42a95a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
jmp 0x42a8e4
cmp eax, ebx
je 0x42a95a
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4ccd18
push eax
mov byte [ebp - 4], 5
call dword [ecx]
cmp eax, ebx
jge 0x42a9a4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42a99f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x42a94c
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4cccc8
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp eax, ebx
jge 0x42a9d3
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42a98e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42a98e
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4ccc18
push 0x4ccbe8
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x42aa08
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42a9c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42a9c0
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov byte [ebp - 4], 8
call dword [ecx + 0x3c]
cmp eax, ebx
jge 0x42aa33
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42a9f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42a9f5
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42aa43
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x4ccc98
push ebx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jl 0x42aa20
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x4ccc88
push eax
mov byte [ebp - 4], 9
call dword [ecx]
cmp eax, ebx
jge 0x42aa89
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42aa20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42aa20
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42aa99
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jl 0x42aa76
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 0x4ccc78
push eax
mov byte [ebp - 4], 0xa
call dword [ecx]
cmp eax, ebx
jge 0x42aad9
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42aa76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42aa76
mov dword [ebp - 0x3c], ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
mov word [ebp - 0x80], bx
call fcn.0042a6a1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0xc
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jge 0x42ab2d
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42aac6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42aac6
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.0042a673
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x44]
push edx
push eax
push esi
mov byte [ebp - 4], 0xe
call dword [ecx + 0x30]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jge 0x42ab75
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42ab1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42ab1a
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
mov byte [ebp - 4], 0xf
call dword [ecx + 0x58]
cmp eax, ebx
mov eax, dword [ebp - 0x40]
jge 0x42aba0
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42ab62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42ab62
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x42abb3
mov eax, dword [ebp - 0x40]
jmp 0x42ab90
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0x30], ebx
jle 0x42ac81
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x30]
mov word [ebp - 0x80], 3
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0x11
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
lea eax, [ebp - 0x80]
push eax
setl byte [ebp - 0x11]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp - 0x11], bl
jne 0x42ac30
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
mov byte [ebp - 4], 0x12
call dword [ecx + 0x24]
test eax, eax
push dword [ebp - 0x48]
jl 0x42ac2a
lea ecx, [ebp]
call fcn.0040cf49
test eax, eax
je 0x42ac52
push dword [ebp - 0x48]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x42ac41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x6c]
jl 0x42abbf
jmp 0x42ac75
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push dword [ebp - 0x48]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov byte [ebp - 4], 0xf
je 0x42ac75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x30], eax
mov byte [ebp - 0x11], 1
jl 0x42ac84
mov byte [ebp - 0x11], bl
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42ac95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42aca6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42acb7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42acc8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42acd9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42acea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42acfb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42ad0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42ad1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42ad2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x42ad50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.004017c0
mov al, byte [ebp - 0x11]
jmp 0x42ad62
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0043b4a5
add ebp, 0x228
leave
ret