Function at 0x406dda
Capabilities:
Check os version

Disassembly:
mov eax, 0x4bf9a0
call fcn.00495654
sub esp, 0x134
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00411a6a
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00411a6a
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00411a6a
mov eax, dword [esi + 0xd4]
lea edi, [esi + 0xc8]
push 6
push 0x4c9754
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004075f8
mov ecx, eax
call fcn.0040790f
push eax
call fcn.0049a450
add esp, 0xc
cmp eax, ebx
jne 0x406e59
push ebx
push ebx
push str.This_item_cannot_be_modified_at_this_location._nPlease_refer_to_the_Borrowing_Tab_to_make_changes_to_this_item.
mov ecx, esi
call fcn.0040fcd6
jmp 0x406ff0
push dword [esi + 0xd4]
mov ecx, edi
call fcn.004075f8
mov ecx, eax
call fcn.0040790f
push eax
lea eax, [ebp - 0x140]
push str.Would_you_like_to_save_the_settings_for_the_service:_____s____
push eax
call fcn.004956af
add esp, 0xc
lea eax, [ebp - 0x140]
mov ecx, esi
push ebx
push 3
push eax
call fcn.0040fcd6
cmp eax, 6
jne 0x406ff0
mov ecx, dword [esi + 0xac]
lea eax, [ebp - 0x1c]
push eax
call fcn.00411155
mov ecx, dword [esi + 0xb0]
lea eax, [ebp - 0x30]
push eax
call fcn.00411155
mov ecx, dword [esi + 0xb4]
lea eax, [ebp - 0x40]
push eax
call fcn.00411155
mov ecx, dword [esi + 0xb8]
call fcn.004118f8
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0xdc], eax
call fcn.004118f8
push ebx
push ebx
lea ecx, [ebp - 0x1c]
mov dword [esi + 0xe0], eax
call fcn.00411c81
push eax
call fcn.004965d1
pop ecx
pop ecx
test eax, eax
push ebx
push ebx
je 0x406f0d
push str._The_lmgrd.exe_file_does_not_exist_where_specified.
jmp 0x406e4d
lea ecx, [ebp - 0x30]
call fcn.00411c81
push eax
call fcn.004965d1
pop ecx
test eax, eax
pop ecx
je 0x406f2d
push ebx
push ebx
push str._The_license_file___license_Path_does_not_exist_where_specified.
jmp 0x406e4d
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jb 0x406f52
lea ecx, [ebp - 0x1c]
call fcn.00411ea9
lea ecx, [ebp - 0x40]
call fcn.00411ea9
lea ecx, [ebp - 0x30]
call fcn.00411ea9
push dword [esi + 0xd4]
mov ecx, edi
call fcn.004075f8
push dword [esi + 0xdc]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], eax
push dword [esi + 0xe0]
push ebx
call fcn.00411c81
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00411c81
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.00411c81
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0040819a
push dword [esi + 0xd4]
mov ecx, edi
call fcn.004075f8
mov ecx, eax
call fcn.00407916
push dword [esi + 0xd4]
mov ecx, edi
call fcn.004075f8
push ebx
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.00411c81
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00411c81
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.00411c81
push eax
mov ecx, edi
call fcn.00407f7b
push ebx
push ebx
push 0x9c5
mov ecx, esi
call fcn.0040fb61
mov dword [esi + 0xc4], ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00411af7
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00411af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00411af7
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret