Function at 0x41e630
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4caf2b
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x1024], eax
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0x1030]
mov dword fs:[0], eax
push 0x800
lea eax, [esp + 0x830]
push 0
push eax
call fcn.004ab450
add esp, 0xc
push 0x400
lea ecx, [esp + 0x830]
push ecx
lea ecx, [esi + 0x74]
mov edx, str.LICENSE_FILE
call fcn.004674e0
test eax, eax
je 0x41e6ba
push str.Load_License_File_data_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov byte [esi + 0x1538], 1
lea eax, [esp + 0x82c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e6c4
sub eax, edx
sar eax, 1
lea edx, [esp + 0x2c]
je 0x41e6fa
push 0
push 0x4f0c80
push 0x400
push edx
lea eax, [esp + 0x83c]
push eax
mov ecx, 0x527d38
call fcn.00459000
jmp 0x41e715
push 0x3ff
lea ecx, [esp + 0x830]
push ecx
push 0x400
push edx
call fcn.004a9be0
add esp, 0x10
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x41e7ff
lea ecx, [esp + 0x2c]
push ecx
push str.License_File_Not_Found_____s_
mov ecx, 0x527b30
call fcn.00449000
push 0x800
lea edx, [esp + 0x38]
push 0
push edx
call fcn.004ab450
add esp, 0x14
push 0x400
push 0x4e2638
lea eax, [esp + 0x834]
push str._LANG_ABBR_
push eax
call fcn.004422a0
lea eax, [esp + 0x83c]
add esp, 0x10
lea edx, [eax + 2]
jmp 0x41e780
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e780
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x2c]
je 0x41e7b6
push 0
push 0x4f0c80
push 0x400
push ecx
lea edx, [esp + 0x83c]
push edx
mov ecx, 0x527d38
call fcn.00459000
jmp 0x41e7d1
push 0x3ff
lea eax, [esp + 0x830]
push eax
push 0x400
push ecx
call fcn.004a9be0
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
call edi
test eax, eax
jne 0x41e7ff
lea eax, [esp + 0x2c]
push eax
push str.License_File_Not_Found_____s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov byte [esi + 0x1538], 1
jmp 0x41e8cd
mov ecx, dword [esi + 0x1504]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x303
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.004a2398
mov dword [esp + 0x1038], 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.004a2794
test eax, eax
je 0x41e89a
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x28]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
call edx
mov edx, dword [esi + 0x1504]
lea ecx, [esp + 0x20]
push ecx
push 2
push 0x449
lea eax, [esp + 0x1c]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x41e900
call edi
test eax, eax
jne 0x41e8b9
lea eax, [esp + 0x2c]
push eax
push str.Load_RTF_File_data_fail______s_
mov ecx, 0x527b30
call fcn.00449000
mov byte [esi + 0x1538], 1
jmp 0x41e8b6
lea ecx, [esp + 0x2c]
push ecx
push str.Open_License_file__s__fail__
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 8
mov dword [esp + 0x1038], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004a246c
mov ecx, dword [esp + 0x1030]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004a998e
add esp, 0x1034
ret