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

Disassembly:
push 0xffffffffffffffff
push 0x62946c
mov eax, dword fs:[0]
push eax
sub esp, 0xdb8
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0xdb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0xdcc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xde0]
mov dword [esp + 0x14], eax
mov eax, dword [0x70f66c]
xor ebx, ebx
mov ebp, ecx
cmp eax, ebx
jne 0x4b6d28
mov eax, 0x70f670
xor ecx, ecx
mov word [esp + 0x1c], cx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.004017d0
mov dword [esp + 0xdd4], ebx
xor edi, edi
cmp dword [0x70f738], ebx
je 0x4b6e4b
mov edx, dword [0x70f700]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4b6e4b
mov eax, dword [0x70f700]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b6d91
mov ecx, dword [0x70f700]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004017d0
jmp 0x4b6e59
mov edx, dword [0x70f700]
push 0x5c
push edx
call fcn.005f80fb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4b6e4b
push ebx
lea ecx, [esp + 0x34]
add esi, 2
call fcn.00443e30
mov byte [esp + 0xdd4], 1
push str._languages_
lea ecx, [esp + 0xc8]
call fcn.00402fc0
push esi
lea ecx, [esp + 0xc4]
call fcn.0040e2d0
mov eax, dword [0x70f700]
push eax
lea ecx, [esp + 0xb0]
call fcn.004017d0
mov ecx, dword [ebp + 4]
mov dword [esp + 0xa4], ecx
push 0x7105a4
lea ecx, [esp + 0xac]
mov byte [esp + 0xbc], 1
call fcn.00405800
lea ecx, [esp + 0x30]
call fcn.005d199e
cmp eax, 1
jne 0x4b6e37
mov edx, dword [0x70f700]
push edx
lea ecx, [esp + 0x1c]
call fcn.004017d0
mov edi, 1
mov byte [esp + 0xdd4], bl
lea ecx, [esp + 0x30]
call fcn.00443f40
cmp edi, ebx
jne 0x4b6e59
push str.idman.chm
lea ecx, [esp + 0x1c]
call fcn.00405210
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4b6e65
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b6f2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4b6f2b
push ebx
lea ecx, [esp + 0x34]
call fcn.00443e30
mov byte [esp + 0xdd4], 2
push 9
push str._data_v4_
lea ecx, [esp + 0xcc]
call fcn.00402940
push 9
push 0x661598
lea ecx, [esp + 0xc8]
call fcn.00402940
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4b6ec8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xb0]
call fcn.004017d0
mov eax, dword [ebp + 4]
push 0x7105a4
lea ecx, [esp + 0xac]
mov dword [esp + 0xa8], eax
mov byte [esp + 0xbc], 1
call fcn.00405800
lea ecx, [esp + 0x30]
call fcn.005d199e
cmp eax, 1
je 0x4b6f1b
mov byte [esp + 0xdd4], bl
lea ecx, [esp + 0x30]
call fcn.00443f40
jmp 0x4b6fb6
mov byte [esp + 0xdd4], bl
lea ecx, [esp + 0x30]
call fcn.00443f40
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4b6f89
push 0x661590
lea ecx, [esp + 0x1c]
call fcn.00405210
xor ecx, ecx
push ebx
mov word [esp + 0x2c], cx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.00401960
mov byte [esp + 0xdd4], 3
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4b6f6f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405210
mov byte [esp + 0xdd4], bl
lea ecx, [esp + 0x24]
call fcn.004011f0
cmp dword [0x70ff7c], ebx
je 0x4b6fb6
mov esi, dword [esp + 0x18]
cmp esi, ebx
jne 0x4b6f9d
lea esi, [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005d4546
mov edx, dword [eax + 0x20]
push ebx
push ebx
push esi
push edx
call dword [0x70ff7c]
mov dword [esp + 0xdd4], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004011f0
mov ecx, dword [esp + 0xdcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdb4]
xor ecx, esp
call fcn.005f85e7
add esp, 0xdc4
ret 8