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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4872
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4c9144]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
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 ecx, esi
mov dword [eax], 1
call fcn.00469860
cmp eax, 0xffffffff
jne 0x4834e9
cmp byte [esi + 0x152], 0
je 0x4834d4
cmp byte [esi + 0x151], 0
jne 0x4834d4
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 0x4838d4
push ecx
mov dword [esp + 0x20], esp
push esp
mov ecx, 0x4b2390
call fcn.0041be20
lea ebx, [esp + 0x20]
mov edi, esi
call fcn.00471aa0
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
jne 0x48353e
cmp byte [esi + 0x152], bl
je 0x483529
cmp byte [esi + 0x151], bl
jne 0x483529
mov byte [esi + 0x152], bl
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 0x4838d4
mov edi, dword [esi + 0x3bc]
push 0x7f02
push ebx
mov dword [esp + 0x24], 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 + 0x2c]
mov byte [esp + 0x1f], bl
mov dword [esp + 0x28], ebx
call fcn.0041c410
lea ecx, [esp + 0x20]
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_MsgPlusSetup
call fcn.0041dae0
test al, al
je 0x483668
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x483668
lea edx, [esp + 0x10]
push edx
call fcn.0041b8b0
mov byte [esp + 0xd0], 2
mov eax, dword [0x4d2da8]
push eax
push str._sMsgPlusSetup.dat
lea edi, [esp + 0x18]
call fcn.00417250
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
push ebx
push ecx
call fcn.004179d0
add esp, 0x10
test al, al
je 0x483634
mov edx, dword [0x4d2da8]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
xor edx, edx
mov ecx, str._MsgPlusLive_Agreement.rtf_
call fcn.0041c550
add esp, 0xc
mov bl, 1
test al, al
jne 0x483638
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 0x483660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4836a6
mov edi, dword [esp + 0x1c]
mov ecx, esi
call fcn.004732d0
lea eax, [esp + 0x20]
mov byte [esp + 0xd0], 0
call fcn.00440440
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 0x4838d4
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._sMsgPlusLive_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 0x48371c
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 0x483744
mov edx, dword [0x4d2da8]
push edx
push str._sMsgPlusLive_Agreement.rtf
lea edi, [esp + 0x20]
call fcn.00417250
add esp, 8
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
push 0x80
push 3
push ebx
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 0x4838f9
call fcn.00418010
cmp eax, ebx
jl 0x483822
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
xor ebx, ebx
push 1
push ecx
mov dword [esp + 0x18], esp
push esp
mov ecx, 0x4b2390
call fcn.0041be20
mov edi, esi
call fcn.00471b40
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
jne 0x48386e
push ecx
mov dword [esp + 0x14], esp
push esp
mov ecx, 0x4b2390
call fcn.0041be20
lea ebx, [esp + 0x14]
call fcn.00471aa0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x48387d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4838a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x20]
mov byte [esp + 0xd0], bl
call fcn.00440440
mov ecx, dword [esp + 0x1c]
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 ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x28], eax
jmp 0x483787