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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4782
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4c9144]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c9144]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [eax], 1
call fcn.00469860
cmp eax, 0xffffffff
jne 0x486b2a
cmp byte [esi + 0x152], 0
je 0x486b15
cmp byte [esi + 0x151], 0
jne 0x486b15
mov byte [esi + 0x152], 0
mov byte [esi + 0x118], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 1
push 2
mov ecx, esi
call edx
or eax, 0xffffffff
jmp 0x486f16
mov edi, dword [esi + 0x3bc]
push 0x7f02
xor ebx, ebx
push ebx
mov dword [esp + 0x2c], edi
mov byte [esp + 0x44], 1
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f02
push ebx
mov dword [edi + 0xfc], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0xd0], ebx
mov byte [esp + 0x10], bl
mov eax, dword [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f], bl
mov dword [esp + 0x24], ebx
call fcn.0041c410
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 1
mov eax, dword [0x4d2910]
push ecx
mov dword [esp + 0x14], ebx
push str.Files
lea ebx, [esp + 0x18]
mov edx, str.File_PlusNetwork
call fcn.0041dae0
test al, al
je 0x486c5a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x486c5a
lea edx, [esp + 0x10]
push edx
call fcn.0041b8b0
mov byte [esp + 0xd0], 2
mov eax, dword [0x4d2da8]
push eax
push str._sAskFiles.dat
lea edi, [esp + 0x18]
call fcn.00417250
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push ebx
push ecx
call fcn.004179d0
add esp, 0x10
test al, al
je 0x486c22
mov edx, dword [0x4d2da8]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
xor edx, edx
mov ecx, str._Ask.com_Agreement.rtf_
call fcn.0041c550
add esp, 0xc
mov bl, 1
test al, al
jne 0x486c26
mov bl, byte [esp + 0x17]
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486c4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x486ce7
mov edi, dword [esp + 0x24]
cmp byte [esi + 0x152], 0
je 0x486c7a
cmp byte [esi + 0x151], 0
jne 0x486c7a
mov byte [esi + 0x152], 0
mov byte [esi + 0x118], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push 1
push 2
mov ecx, esi
call eax
mov byte [esp + 0xd0], 0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x486cc1
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x486cc1
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x486cc1
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x7f00
push 0
mov dword [edi + 0xfc], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
or eax, 0xffffffff
jmp 0x486f16
lea ecx, [esp + 0x18]
push ecx
call fcn.0041b8b0
push str.LanguageId
push str.FileInfo
lea edx, [esp + 0x18]
mov byte [esp + 0xd8], 3
mov ebx, dword [0x4d2918]
push edx
call fcn.0041b1b0
mov byte [esp + 0xd0], 4
mov eax, dword [eax]
push eax
mov eax, dword [0x4d2da8]
push eax
push str._sAsk.com_Agreement___s_.rtf
lea edi, [esp + 0x24]
call fcn.00417250
mov byte [esp + 0xdc], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x486d85
mov edx, dword [0x4d2da8]
push edx
push str._sAsk.com_Agreement.rtf
lea edi, [esp + 0x20]
call fcn.00417250
add esp, 8
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
push edi
push 0x80
push 3
push edi
push 3
mov byte [esp + 0xe4], 5
mov eax, dword [esp + 0x2c]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x486f3c
call fcn.00418010
cmp eax, edi
jl 0x486e61
push ecx
mov dword [esp + 0x14], esp
push esp
mov ecx, str.EdtLicense
call fcn.0041be20
lea ebx, [esp + 0x14]
mov edi, esi
call fcn.00471aa0
push 0x74
lea ecx, [esp + 0x48]
push 0
push ecx
call fcn.0048bb40
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
lea edx, [esp + 0x44]
push edx
push 0
push 0x43a
push edi
mov dword [esp + 0x54], 0x74
mov dword [esp + 0x58], 0xe0000000
call ebx
lea ecx, [esp + 0x30]
push ecx
xor eax, eax
push 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
push 0x449
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0x4867d0
call ebx
lea edx, [esp + 0x44]
push edx
push 4
push 0x444
push edi
mov dword [esp + 0x58], 0xe0000000
call ebx
push ecx
mov dword [esp + 0x14], esp
push esp
mov ecx, 0x4b2864
call fcn.0041be20
lea ebx, [esp + 0x14]
mov edi, esi
call fcn.00471aa0
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
je 0x486e96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486ebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], bl
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x486ef7
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x486ef7
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x486ef7
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x24]
push 0x7f00
push ebx
mov dword [ecx + 0xfc], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x28], eax
jmp 0x486dc8