Function at 0x435b81
Capabilities:
Check if file exists

Disassembly:
push 0x298
mov eax, 0x5d1ea6
call fcn.00492e9f
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
je 0x436171
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436171
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a8e00
add esp, 0xc
test ebx, ebx
jne 0x435bf7
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.005a9145
pop ecx
pop ecx
test eax, eax
je 0x435bf7
xor ecx, ecx
lea ebx, [eax + 2]
mov word [eax], cx
lea esi, [ebp - 0x218]
and dword [ebp - 0x248], 0
lea eax, [ebp - 0x248]
push 0
push eax
push dword [ebp + 8]
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x43616d
cmp dword [ebp - 0x248], 0
je 0x43616d
push eax
push dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.004357e7
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x270], ecx
lea eax, [ebp - 0x270]
push eax
push 0x5db0a4
push 0x17
push ecx
push 0x5dddc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x435c73
xor bl, bl
jmp 0x436146
push 3
pop ecx
xor eax, eax
mov word [ebp - 0x2a4], cx
mov dword [ebp - 0x29c], eax
mov word [ebp - 0x294], cx
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x234], eax
lea edx, [ebp - 0x234]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x270]
push edx
push 1
lea edx, [ebp - 0x274]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
push edx
push 8
lea edx, [ebp - 0x294]
push edx
lea edx, [ebp - 0x2a4]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
mov eax, dword [ebp - 0x234]
js 0x43611a
test eax, eax
je 0x43611a
and dword [ebp - 0x26c], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x26c]
push edx
push 0x5ddd80
push eax
mov byte [ebp - 4], 5
call dword [ecx]
test eax, eax
jns 0x435d0b
xor bl, bl
jmp 0x4360fe
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x268]
push edx
push 0x5ddd70
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx]
test eax, eax
jns 0x435d38
xor bl, bl
jmp 0x4360ea
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
push edx
push 0x5ddcd0
push 0x5ddd00
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0xc]
test eax, eax
jns 0x435d6b
xor bl, bl
jmp 0x4360d6
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
push edx
push eax
mov byte [ebp - 4], 8
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
js 0x4360c0
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x435da8
and dword [ebp - 0x234], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x234]
push edx
push 0x5ddd60
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x4360c0
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x25c]
push edx
push 0x5ddd40
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx]
test eax, eax
js 0x4360a8
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x435e0b
and dword [ebp - 0x234], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x234]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x4360a8
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x258]
push edx
push 0x5ddd50
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0xa
call dword [ecx]
test eax, eax
jns 0x435e53
xor bl, bl
jmp 0x436092
and dword [ebp - 0x254], 0
xor eax, eax
mov byte [ebp - 4], 0xb
push esi
lea ecx, [ebp - 0x284]
mov word [ebp - 0x284], ax
call fcn.0043587c
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
push edx
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edi, esp
lea esi, [ebp - 0x284]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
mov esi, eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x435eb3
xor bl, bl
jmp 0x43607e
and dword [ebp - 0x250], 0
mov esi, dword [ebp - 0x254]
lea ecx, [ebp - 0x23c]
push ebx
mov byte [ebp - 4], 0xd
call fcn.0043580f
mov ecx, dword [esi]
lea edx, [ebp - 0x250]
push edx
push dword [eax]
mov byte [ebp - 4], 0xe
push esi
call dword [ecx + 0x30]
push dword [ebp - 0x23c]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x435efc
xor bl, bl
jmp 0x43606a
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x244]
push edx
push eax
mov byte [ebp - 4], 0xf
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
js 0x436054
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x24c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x436054
xor eax, eax
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x24c], eax
jle 0x436054
and dword [ebp - 0x238], 0
push 3
pop ecx
mov word [ebp - 0x284], cx
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x238]
push edx
sub esp, 0x10
mov byte [ebp - 4], 0x11
mov edi, esp
lea esi, [ebp - 0x284]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
test eax, eax
lea eax, [ebp - 0x284]
push eax
sets bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test bl, bl
jne 0x435fe7
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x240]
push edx
push eax
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
call dword [ecx + 0x24]
push dword [ebp - 0x240]
test eax, eax
js 0x435fe1
lea ecx, [ebp - 0x230]
call fcn.0042051f
test eax, eax
je 0x436016
push dword [ebp - 0x240]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x435ffb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
cmp eax, dword [ebp - 0x24c]
jl 0x435f51
jmp 0x436048
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push dword [ebp - 0x240]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x238]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x436042
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x24c]
jge 0x436054
mov bl, 1
jmp 0x436056
xor bl, bl
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x43606a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x43607e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x436092
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
mov byte [ebp - 4], 9
test eax, eax
je 0x4360aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4360aa
xor bl, bl
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 8
test eax, eax
je 0x4360c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4360c2
xor bl, bl
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 7
test eax, eax
je 0x4360d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 6
test eax, eax
je 0x4360ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x268]
mov byte [ebp - 4], 5
test eax, eax
je 0x4360fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 4
test eax, eax
je 0x436112
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
jmp 0x43611c
xor bl, bl
push 3
pop ecx
mov byte [ebp - 4], cl
test eax, eax
je 0x43612c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43615a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402230
mov al, bl
jmp 0x436173
xor al, al
jmp 0x436173
mov al, 1
call fcn.00492e49
ret