Function at 0x42d329
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x59a530
call fcn.00591d11
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0xc64], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push ebx
push eax
mov dword [ebp - 0xc6c], ebx
call fcn.0043c880
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0043c880
add esp, 0x18
call fcn.0042c099
test al, al
je 0x42d39c
pop esp
pop ebx
push edx
pop ebx
pop ecx
push edx
push eax
push ebx
pop eax
pop edi
pop edi
push esi
push esp
push edx
push ecx
pop ecx
push ebx
pop edi
pop ebx
push esp
pop ebp
pop esi
pop eax
pop esp
push eax
pop eax
push edx
pop eax
push ebp
call fcn.0042c687
test al, al
je 0x42d3be
pop eax
pop ecx
push eax
pop ebp
push edx
push ebp
pop eax
pop esp
pop ebp
push edi
pop ebx
pop ebx
pop edi
push ecx
push ebp
push esp
push eax
push esp
pop eax
pop edi
pop ebx
pop edi
push esi
push edx
pop esi
call fcn.0042c237
test al, al
je 0x42d3e3
pop eax
pop ecx
pop ebp
pop ecx
pop ecx
push ebx
pop eax
pop edx
pop edx
push esi
pop eax
pop esi
pop ebx
pop esp
pop eax
push ebx
pop ebp
push esi
pop ebp
push edi
push edx
pop edi
pop ecx
push ebp
push esp
push esi
pop edi
push ebp
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.0043c880
push esi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.0043c880
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0043c880
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0043c880
add esp, 0x30
call fcn.0042c168
test al, al
je 0x42d440
pop edi
pop esi
push ebp
push esi
pop edi
push eax
pop eax
push esi
pop edx
pop edi
push ecx
pop eax
push edx
pop ecx
push ebp
pop ecx
push ebx
pop edx
call fcn.0042c711
test al, al
je 0x42d467
pop esp
push eax
pop esi
pop esi
push eax
push eax
push edi
push ecx
pop ebx
push eax
push edi
push ebp
pop esp
push eax
push esi
push ebp
push ecx
pop esi
push eax
pop edx
pop edi
push ecx
pop eax
push esp
push esi
pop edx
pop esp
pop ebx
push eax
push esi
call fcn.0042c27c
test al, al
je 0x42d482
push eax
pop edi
pop ecx
push ebp
pop edi
pop ecx
push ecx
push ecx
push edi
pop ebp
pop ebx
pop ecx
push eax
push edi
push ebx
push edi
push ebx
push esp
and dword [ebp - 0xc48], 0
xor eax, eax
mov dword [ebp - 0xc44], 7
mov word [ebp - 0xc58], ax
and dword [ebp - 4], eax
push eax
push 0x1a
lea eax, [ebp - 0xc40]
push eax
push 0
call fcn.0042d7c1
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044c029
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0043e4c7
add esp, 0x24
mov ebx, eax
mov dword [ebp - 0xc60], ebx
call fcn.0042c3d5
test al, al
je 0x42d517
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
mov ebx, dword [ebp - 0xc60]
test ebx, ebx
jne 0x42d549
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0042cc65
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004038b0
push ebx
push 1
jmp 0x42d7aa
xor eax, eax
mov word [ebx], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0044c029
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.0044bfb8
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edx, edx
xor ecx, ecx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc60], ecx
call fcn.0042c5b8
test al, al
je 0x42d5b4
pop esi
pop eax
push esp
pop edx
pop esi
push edx
pop ebp
push eax
push esp
pop ebx
push edi
pop edx
push ebp
pop eax
push edi
push esp
push edi
pop esp
pop edi
pop esi
push esp
pop edi
pop esi
pop ebp
push ebx
call fcn.0042c4a4
test al, al
je 0x42d5d3
pop ebx
pop eax
push ebp
pop esi
push ebx
pop eax
push edx
push ecx
pop edx
push esi
pop edx
pop eax
push eax
push esp
pop ecx
pop esp
pop edi
pop ecx
push ecx
pop ebx
pop esp
push esp
call fcn.0042c52e
test al, al
je 0x42d5fb
push ecx
push ebx
push ebx
pop edi
pop edx
pop ecx
pop edi
push ecx
pop esp
push esi
pop edx
push ecx
push edx
pop eax
push edx
pop esi
pop esi
push ebx
push edi
push edi
pop edx
pop edi
push ecx
pop ebx
push esp
pop edx
pop esi
pop eax
push edx
pop ebx
push edx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0044c029
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.0044bfb8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x628]
add esp, 0x10
push eax
call ebx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc68], ecx
push eax
call fcn.0044c029
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.0044bfb8
add esp, 0x10
call fcn.0042c687
test al, al
je 0x42d68b
push eax
push ebp
push ebp
push edi
push esp
push esp
push edx
push esp
pop eax
pop esi
push esp
push edi
pop eax
push esi
pop ebp
pop edi
push ebp
push ecx
push eax
push esp
push esi
push ebx
push ebx
push edx
push ecx
pop ebp
call fcn.0042c573
test al, al
je 0x42d6a9
push esi
pop edi
push eax
push ecx
push esi
push esi
pop ecx
push esi
pop ecx
push eax
push edx
push eax
pop ebp
pop esi
push eax
pop ecx
pop esp
pop edi
push eax
pop edx
pop edx
lea eax, [ebp - 0xa38]
push eax
call ebx
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
cmp dword [ebp - 0xc60], 0
je 0x42d73d
cmp dword [ebp - 0xc68], 0
je 0x42d73d
test ecx, ecx
je 0x42d73d
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x59f750
push eax
call fcn.00407ad0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call ebx
test eax, eax
jne 0x42d70d
lea eax, [ebp - 0x420]
push eax
call fcn.0042c9c2
pop ecx
cmp word [ebp - 0x420], 0
jne 0x42d71b
xor eax, eax
jmp 0x42d728
lea eax, [ebp - 0x420]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.004029e0
jmp 0x42d792
call fcn.0042c687
test al, al
je 0x42d764
push edx
push edi
pop edi
pop ebp
push ebp
pop ebx
pop esp
pop ebx
push eax
pop ebp
push ebx
push esi
pop edi
pop eax
push esi
push esp
push eax
pop ebx
push ecx
push esi
pop edx
pop esi
pop esp
pop edx
push eax
push eax
push esi
pop eax
push ecx
pop ebx
call fcn.0042c1f2
test al, al
je 0x42d77e
push edi
pop edi
push esi
push esp
pop ecx
push edx
push ebx
pop ebx
push ebp
push edx
pop edi
push esi
pop ebp
pop edx
push esp
push eax
push esi
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.0042cc65
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc64]
lea eax, [ebp - 0xc58]
push eax
call fcn.004038b0
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00402920
mov eax, dword [ebp - 0xc64]
call fcn.00591ccc
ret