Function at 0x4012e3
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x60], eax
cmp dword [0x41ac24], 1
mov edx, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x6c]
push esi
mov esi, dword [ebp + 0x78]
push edi
mov edi, dword [ebp + 0x7c]
push esi
push edx
push ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edi
push eax
jne 0x401329
call fcn.004010de
jmp 0x40132e
call fcn.0040116c
xor edi, edi
add esp, 0x10
cmp eax, edi
je 0x4014ad
cmp dword [0x41ac24], 1
jne 0x4014ad
push ebx
push 0x41ad40
mov ebx, 0x20006
push ebx
push edi
push str.SOFTWARE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40149f
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push str.FLEXlm_License_Manager_s
push eax
call fcn.00401e7b
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push edi
push 0x41335d
push edi
lea eax, [ebp - 0x18]
push eax
push dword [0x41ad40]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401493
push esi
call fcn.00401df0
pop ecx
inc eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push edi
push str.Lmgrd
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x2c]
call fcn.00401df0
pop ecx
inc eax
push eax
push dword [ebp - 0x2c]
push 1
push edi
push str.LMGRD_LOG_FILE
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x24]
call fcn.00401df0
pop ecx
inc eax
push eax
push dword [ebp - 0x24]
push 1
push edi
push str.License
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x30]
call fcn.00401df0
pop ecx
inc eax
push eax
push dword [ebp - 0x30]
push 1
push edi
push str.cmdlineparams
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x20]
call fcn.00401df0
pop ecx
inc eax
push eax
push dword [ebp - 0x20]
push 1
push edi
push str.Service
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0x18]
push str.FLEXlm_License_Manager
push eax
call fcn.00401e7b
pop ecx
pop ecx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push ebx
push edi
push 0x41335d
push edi
lea eax, [ebp - 0x18]
push eax
push dword [0x41ad40]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401483
push dword [ebp - 0x20]
call fcn.00401df0
pop ecx
inc eax
push eax
push dword [ebp - 0x20]
push 1
push edi
push str.Service
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1c]
call esi
push dword [0x41ad40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str._nFLEXnet_License_Manager_is_successfully_installed__nas_one_of_your_Windows_Services.__Some_handy_tips:__n_n_n_t_The_FLEXnet_License_Manager_will_be_automatically_started_n_t__every_time_your_system_is_booted._n_n_t_The_FLEXnet_service_log_file_is_lmgrd.log_in_your_NT_system_n_t__directory._n_n_t_To_remove_FLEXnet_License_Manager__type_installs__r_n
call fcn.00401c80
pop ecx
pop ebx
jmp 0x4014b8
push str.The_FLEXnet_License_Manager_was_not_successfully__ninstalled_as_a_service_on_your_system._n
call fcn.00401c80
pop ecx
mov ecx, dword [ebp + 0x60]
pop edi
xor ecx, ebp
pop esi
call fcn.00402168
add ebp, 0x64
leave
ret