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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff376
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x1c], di
mov eax, dword [0x6ca27c]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x9c], edi
mov word [ebp - 0xa0], di
call fcn.0041a850
lea ecx, [ebp - 0x8c]
call fcn.0041a850
mov eax, dword [0x6ca27c]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
call fcn.0041a850
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x100], 0x61b6e4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x100]
push edi
push eax
push ecx
lea ecx, [esi + 8]
mov byte [ebp - 4], 2
call fcn.005b5970
test al, al
jne 0x4b8e2c
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 1
call fcn.0046c810
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x8c]
cmp eax, edi
jne 0x4b8e3c
lea eax, [ebp - 0x88]
push eax
call fcn.005c4b4a
add esp, 4
test eax, eax
jbe 0x4b8efa
mov eax, dword [ebp - 0x8c]
cmp eax, edi
jne 0x4b8e5d
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b8efa
mov eax, dword [ebp - 0x8c]
cmp eax, edi
jne 0x4b8e7d
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401f60
lea ecx, [ebp - 0x270]
call fcn.0048b3f0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
mov eax, dword [edx - 8]
cmp eax, 5
lea eax, [ebp - 0x5c]
jg 0x4b8ea9
lea eax, [ebp - 0xb0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x4b8eb5
lea eax, [ebp - 0x1c]
push edi
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.0048f070
mov ebx, eax
push 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], edi
call fcn.005dd58d
add esp, 4
cmp eax, edi
je 0x4b8f76
mov esi, eax
mov dword [eax + 4], 0x62570c
mov dword [eax + 8], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [ebp - 0x14], esi
jmp 0x4b8f7b
cmp byte [ebp - 0xc2], 4
jne 0x4b8f57
mov eax, dword [ebp - 0xa4]
cmp eax, edi
jne 0x4b8f13
lea eax, [ebp - 0xa0]
push eax
call fcn.005c4b4a
add esp, 4
test eax, eax
jbe 0x4b8f57
mov eax, dword [ebp - 0xa4]
cmp eax, edi
jne 0x4b8f30
lea eax, [ebp - 0xa0]
push eax
call fcn.004492a0
add esp, 4
cmp eax, 0xffffffff
je 0x4b8f57
mov eax, dword [ebp - 0xa4]
cmp eax, edi
jne 0x4b8e7d
lea eax, [ebp - 0xa0]
jmp 0x4b8e7d
mov ecx, dword [0x6cef74]
cmp ecx, edi
je 0x4b8dfe
push 1
push str.Error_839415
call fcn.0049e4e0
jmp 0x4b8dfe
mov dword [ebp - 0x14], edi
mov esi, edi
cmp esi, edi
je 0x4b9034
mov eax, dword [ebp + 8]
mov dword [esi], eax
cmp ebx, edi
je 0x4b9016
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
mov edx, dword [ecx + 4]
push edx
push 0x69ffbc
push eax
call fcn.005d9fbb
mov edi, dword [esi + 0xc]
add esi, 4
add esp, 0xc
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.004c3210
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [ebp - 0x34]
push edx
lea ecx, [ecx + eax*4]
call fcn.004c3640
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.005e118c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.005e118c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.005e118c
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebx + 0x1c]
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x28], eax
xor edi, edi
jmp 0x4b8f88
mov edx, dword [ebp - 0x24]
push esi
push 0x13fb
push 0x111
mov eax, dword [edx + 0x54c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [ebp - 0x38]
cmp ebx, edi
je 0x4b9044
push ebx
lea ecx, [ebp - 0x270]
call fcn.0048eb90
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x24]
push ecx
mov ecx, ebx
call fcn.004bd880
mov edx, dword [ebx + 0x550]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push edi
push edi
push 0x1425
push edx
call esi
mov ecx, dword [ebx + 0x4e8]
mov eax, dword [ebx + 0x414]
push edi
push 0x1427
inc ecx
push 0x111
push eax
mov dword [ebx + 0x4e8], ecx
call esi
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.0048b870
jmp 0x4b8dfe