Function at 0x4bbe30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e664b
mov eax, dword fs:[0]
push eax
sub esp, 0xc54
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x4bc24e
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], eax
mov word [esi + 0x210], ax
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], eax
mov word [esi + 0x420], ax
push 0x40e
push eax
mov dword [esi + 0x62c], eax
mov dword [esi + 0x628], eax
lea eax, [ebp - 0x82e]
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x41e]
push 0x40e
push 0
push eax
call fcn.005b9c20
xor eax, eax
mov dword [ebp - 0xc5c], 0x207
add esp, 0xc
mov word [ebp - 0x830], ax
lea eax, [ebp - 0xc5c]
mov edx, 0x618db8
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x830]
push eax
push 0x613f04
call fcn.004bbb90
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, al
je 0x4bbf3c
push 0x613f10
lea eax, [ebp - 0x830]
push eax
call edi
push 0x618d50
lea eax, [ebp - 0x830]
push eax
call edi
lea eax, [ebp - 0x830]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4bbf45
xor eax, eax
mov word [ebp - 0x830], ax
xor eax, eax
mov dword [ebp - 0xc5c], 0x207
mov word [ebp - 0x420], ax
mov edx, 0x618d88
lea eax, [ebp - 0xc5c]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x420]
push eax
push 0x613f04
call fcn.004bbb90
add esp, 0xc
test al, al
je 0x4bbfab
push 0x613f10
lea eax, [ebp - 0x420]
push eax
call edi
push 0x618e08
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4bbfb4
xor eax, eax
mov word [ebp - 0x420], ax
push 0x410
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
lea ecx, [ebp - 0xc40]
xor edi, edi
mov dword [ebp - 0xc5c], edi
call fcn.004bbd30
test al, al
je 0x4bc1da
push 0xb
xor eax, eax
mov dword [ebp - 0xc48], edi
push str.Shlwapi.dll
lea ecx, [ebp - 0xc58]
mov dword [ebp - 0xc44], 7
mov word [ebp - 0xc58], ax
call fcn.00409060
lea eax, [ebp - 0xc58]
mov dword [ebp - 4], edi
push eax
call fcn.004d9190
mov ecx, eax
call fcn.004d9250
lea ecx, [ebp - 0xc58]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.00408ff0
test ebx, ebx
je 0x4bc24e
push 0x62912c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4bc24e
push 0x618d70
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4bc15c
push 0x618d50
lea eax, [ebp - 0xc40]
push eax
call ebx
test eax, eax
jne 0x4bc15c
push 0x618de0
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4bc0e8
push 0x618e08
lea eax, [ebp - 0xc40]
push eax
call ebx
test eax, eax
jne 0x4bc0e8
lea eax, [ebp - 0xc5c]
mov ecx, esi
push eax
push 4
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.004bbcd0
lea eax, [ebp - 0xc5c]
mov ecx, esi
push eax
push 3
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.004bbcd0
add esp, 0x20
jmp 0x4bc24e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x420], ax
je 0x4bc11f
lea eax, [ebp - 0x420]
push eax
push esi
call ebx
mov dword [esi + 0x208], 1
mov edi, 1
mov dword [esi + 0x20c], 4
imul eax, edi, 0x210
add esi, eax
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x830], ax
je 0x4bc24e
lea eax, [ebp - 0x830]
push eax
push esi
call ebx
mov dword [esi + 0x208], 0
mov dword [esi + 0x20c], 3
jmp 0x4bc24e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ecx, ecx
cmp word [ebp - 0x830], ax
je 0x4bc197
lea eax, [ebp - 0x830]
push eax
push esi
call ebx
mov edi, 1
mov dword [esi + 0x208], 1
mov dword [esi + 0x20c], 3
mov ecx, edi
imul edi, edi, 0x210
xor eax, eax
mov word [edi + esi], ax
cmp word [ebp - 0x420], ax
je 0x4bc24e
lea eax, [ebp - 0x420]
push eax
imul eax, ecx, 0x210
add eax, esi
push eax
call ebx
mov dword [edi + esi + 0x208], 0
mov dword [edi + esi + 0x20c], 4
jmp 0x4bc24e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [esi], ax
xor ecx, ecx
cmp word [ebp - 0x420], ax
je 0x4bc211
lea eax, [ebp - 0x420]
push eax
push esi
call ebx
mov dword [esi + 0x208], edi
mov edi, 1
mov dword [esi + 0x20c], 4
mov ecx, edi
imul edi, edi, 0x210
xor eax, eax
mov word [edi + esi], ax
cmp word [ebp - 0x830], ax
je 0x4bc24e
lea eax, [ebp - 0x830]
push eax
imul eax, ecx, 0x210
add eax, esi
push eax
call ebx
mov dword [edi + esi + 0x208], 0
mov dword [edi + esi + 0x20c], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret