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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x582355
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x5eb6e0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
call fcn.0045dfd3
xor esi, esi
push esi
lea ecx, [edi + 0x150]
call fcn.0045abb2
push esi
lea ecx, [edi + 0x1a4]
call fcn.0045abb2
push esi
lea ecx, [edi + 0x1f8]
call fcn.0045abb2
push esi
lea ecx, [edi + 0x24c]
call fcn.0045abb2
push esi
lea ecx, [edi + 0x2a0]
call fcn.0045abb2
mov ecx, dword [edi + 0x118]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push eax
push ecx
call ebx
lea edx, [esp + 0x34]
push edx
mov ecx, edi
call fcn.0045cd7d
mov ecx, dword [edi + 0xc4]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call ebx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.0045cd7d
mov eax, dword [esp + 0x38]
add eax, 0xffffffec
push 0xc8
mov dword [esp + 0x30], eax
call fcn.0045337b
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xd8], esi
cmp eax, esi
je 0x41e754
push eax
call fcn.0040ef10
mov esi, eax
mov dword [esp + 0xd8], 0xffffffff
push edi
lea eax, [esp + 0x24]
mov dword [edi + 0xa0], esi
call fcn.0040f0d0
mov ecx, dword [edi + 0xa0]
push 5
call fcn.0045abb2
lea edi, [esp + 0x44]
call fcn.00401eb0
push 0x5f399c
mov ebx, edi
mov dword [esp + 0xdc], 1
call fcn.00401000
call fcn.00453e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e7b6
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x78]
cmp eax, 5
je 0x41e827
cmp eax, 6
je 0x41e827
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5b7468
call fcn.00403320
push ecx
mov byte [esp + 0xe0], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push str.ForAdmin
call fcn.00403320
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5f38c8
mov byte [esp + 0xe4], 2
call fcn.00436360
mov byte [esp + 0xd8], 4
jmp 0x41e870
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.BTN_Folder
call fcn.00403320
push ecx
mov byte [esp + 0xe0], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ViewManual
call fcn.00403320
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x5f38c8
mov byte [esp + 0xe4], 2
call fcn.00436360
mov byte [esp + 0xd8], 6
push eax
lea ecx, [esp + 0x1c]
call fcn.004037d0
mov byte [esp + 0xd8], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e8a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
add esi, 0xf8
push edi
mov ecx, esi
call fcn.0045aae7
call fcn.00420e40
call fcn.00453e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e8d7
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 9
lea ecx, [esp + 0x18]
push ecx
mov bl, 7
mov ecx, 0x5f38c8
mov byte [esp + 0xe0], bl
call fcn.00432310
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 8
call fcn.004037d0
mov byte [esp + 0xd8], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e93a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe
push str.SetupGuide.pdf
lea ecx, [esp + 0x18]
call fcn.00405900
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], 0
je 0x41e964
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e964
test al, 0x10
je 0x41e976
mov eax, dword [esp + 0x78]
cmp eax, 5
je 0x41e976
cmp eax, 6
je 0x41e976
push 0
jmp 0x41e978
push 5
mov ecx, esi
call fcn.0045abb2
lea eax, [ebx - 0x10]
mov byte [esp + 0xd8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e9a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0xd8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e9c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0xc8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e9f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ea18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x68]
call fcn.00401fa0
mov eax, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret