Function at 0x42b4cc
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4a139b
call fcn.00481d3a
mov esi, dword [ebp + 0xc]
or dword [ebp - 0x14], 0xffffffff
push esi
lea ecx, [ebp - 0x18]
call fcn.0040144c
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, dword [ebp + 0x1c]
jne 0x42b4ff
mov dword [ebx], edi
cmp dword [ebx], edi
jne 0x42b50a
mov ecx, esi
call fcn.00402a47
mov dword [ebp - 0x28], 0x4b9668
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
mov byte [ebp - 4], 1
mov esi, dword [esi]
mov ebx, dword [ebx]
jle 0x42b529
push dword [ebp + 0x18]
jmp 0x42b52e
push 0x10000
call fcn.0045d840
cmp eax, edi
mov dword [ebp - 0x20], eax
pop ecx
jne 0x42b549
push 0x4000
call fcn.0045d840
pop ecx
mov dword [ebp - 0x20], eax
cmp ebx, edi
push edi
push 0x80
je 0x42b55b
push 4
push edi
push edi
push 4
jmp 0x42b564
push 2
push edi
push edi
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
je 0x42b699
mov esi, dword [ebp + 8]
push 0x2f
call fcn.0040a447
cmp eax, 0xffffffff
je 0x42b68a
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x14]
call fcn.0040161b
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040144c
push edi
push 0x3a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040441d
cmp eax, 0xffffffff
je 0x42b649
add eax, 3
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404519
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004015ba
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401325
push edi
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.0040441d
mov esi, eax
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040453c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004015ba
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401325
inc esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404519
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004015ba
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401325
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x28]
push dword [ebp + 0x14]
mov edx, esi
push dword [ebp + 0x10]
mov ecx, ebx
push eax
call fcn.0042b0d1
add esp, 0x18
lea ecx, [esi - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00401325
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 1
call fcn.00401325
cmp dword [ebp - 0x24], 0xffffffff
je 0x42b699
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], edi
je 0x42b6a7
push dword [ebp - 0x20]
call fcn.0045d845
pop ecx
mov eax, dword [ebp + 0x1c]
cmp dword [eax], edi
je 0x42b6ba
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
push eax
call fcn.0045fb68
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x28], vtable.CAbstractBuffer.0
call fcn.00401325
mov eax, dword [ebp - 0x14]
call fcn.00481e12
ret