Function at 0x42cd2b
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x78
mov eax, 0x4c4ad3
call fcn.0043e682
mov edi, dword [ebp + 0x234]
mov esi, dword [ebp + 0x238]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x30], esi
je 0x42d28b
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d28b
push 0x206
lea eax, [ebp + 0x1e]
push ebx
push eax
mov word [ebp + 0x1c], bx
call fcn.0043db10
add esp, 0xc
cmp esi, ebx
jne 0x42cdb9
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.0043ea96
cmp eax, ebx
pop ecx
pop ecx
je 0x42cdb9
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 0x42ce2a
cmp dword [ebp - 0x70], ebx
je 0x42ce2a
push eax
push dword [ebp - 0x70]
lea ecx, [ebp]
call fcn.0042ccd4
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4cf4f4
push 0x17
push ebx
push 0x4d01d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x42ce31
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x42ce1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a0
xor al, al
jmp 0x42d28d
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 0x42ce9c
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42ce85
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 0x42ce0f
cmp eax, ebx
je 0x42ce85
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4d0210
push eax
mov byte [ebp - 4], 5
call dword [ecx]
cmp eax, ebx
jge 0x42cecf
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42ceca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x42ce77
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4d01c0
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp eax, ebx
jge 0x42cefe
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42ceb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42ceb9
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4d0110
push 0x4d00e0
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x42cf33
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42ceeb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42ceeb
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 0x42cf5e
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42cf20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cf20
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42cf6e
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 0x4d0190
push ebx
push eax
call dword [ecx + 0x3c]
cmp eax, ebx
jl 0x42cf4b
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x4d0180
push eax
mov byte [ebp - 4], 9
call dword [ecx]
cmp eax, ebx
jge 0x42cfb4
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42cf4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cf4b
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x42cfc4
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 0x42cfa1
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 0x4d0170
push eax
mov byte [ebp - 4], 0xa
call dword [ecx]
cmp eax, ebx
jge 0x42d004
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42cfa1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cfa1
mov dword [ebp - 0x3c], ebx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
mov word [ebp - 0x80], bx
call fcn.0042cbcc
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 0x42d058
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42cff1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42cff1
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.0042cb9e
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 0x42d0a0
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42d045
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d045
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 0x42d0cb
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42d08d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x42d08d
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x42d0de
mov eax, dword [ebp - 0x40]
jmp 0x42d0bb
cmp dword [ebp - 0x6c], ebx
mov dword [ebp - 0x30], ebx
jle 0x42d1ac
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 0x42d15b
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 0x42d155
lea ecx, [ebp]
call fcn.0040d2c7
test eax, eax
je 0x42d17d
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 0x42d16c
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 0x42d0ea
jmp 0x42d1a0
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 0x42d1a0
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 0x42d1af
mov byte [ebp - 0x11], bl
mov eax, dword [ebp - 0x40]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x42d1c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x42d1d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov byte [ebp - 4], 0xa
je 0x42d1e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42d1f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x42d204
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 7
je 0x42d215
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x42d226
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x42d237
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x42d248
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x42d259
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 0x42d27b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp]
call fcn.004017a0
mov al, byte [ebp - 0x11]
jmp 0x42d28d
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.0043daf5
add ebp, 0x228
leave
ret