Function at 0x5308d0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x6a60f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x11c], 3
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.005336b0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call fcn.00530f40
add esp, 4
test eax, eax
jne 0x53093f
mov eax, 4
jmp 0x530f01
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5309e0
cmp dword [ebp + 8], 0
je 0x530989
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530989
push 0xf2
push 2
push 0x19
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x124], eax
jmp 0x530993
mov dword [ebp - 0x124], 0x19
cmp dword [ebp + 8], 0
je 0x5309c7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5309c7
push 0xf3
push str.Insufficient_privilege_to_talk_to_the_Windows_Service_Control_Manager___set_the_FlexNet_Licensing_Service_to_auto_start
push 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x128], eax
jmp 0x5309d1
mov dword [ebp - 0x128], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x530ee7
push 0x14
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x530e53
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x530e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0x41f
ja 0x530a5c
cmp dword [ebp - 0x12c], 0x41f
je 0x530d37
cmp dword [ebp - 0x12c], 5
je 0x530caf
jmp case.0x530a88.1
mov ecx, dword [ebp - 0x12c]
sub ecx, 0x420
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0x10
ja case.0x530a88.1
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 0x530f24]
jmp dword [eax*4 + 0x530f10]
cmp dword [ebp + 8], 0
je 0x530ac0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x530ac0
push 0x102
push 3
push 0x19
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x130], eax
jmp 0x530aca
mov dword [ebp - 0x130], 0x19
cmp dword [ebp + 8], 0
je 0x530afe
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x530afe
push 0x103
push 0x6a38b0
push 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x134], eax
jmp 0x530b08
mov dword [ebp - 0x134], 0xc
mov dword [ebp - 0x11c], 1
jmp 0x530e42
cmp dword [ebp + 8], 0
je 0x530b48
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530b48
push 0x107
push 5
push 0x19
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x138], eax
jmp 0x530b52
mov dword [ebp - 0x138], 0x19
cmp dword [ebp + 8], 0
je 0x530b86
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x530b86
push 0x108
push str.The_FlexNet_Licensing_Service_is_disabled
push 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x13c], eax
jmp 0x530b90
mov dword [ebp - 0x13c], 0xc
mov dword [ebp - 0x11c], 8
jmp 0x530e42
cmp dword [ebp + 8], 0
je 0x530bd0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x530bd0
push 0x10c
push 6
push 0x19
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov dword [ebp - 0x140], eax
jmp 0x530bda
mov dword [ebp - 0x140], 0x19
cmp dword [ebp + 8], 0
je 0x530c0e
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x530c0e
push 0x10d
push str.The_FlexNet_Licensing_Service_is_marked_for_delete___reboot__then_re_install
push 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
add esp, 0x10
mov dword [ebp - 0x144], eax
jmp 0x530c18
mov dword [ebp - 0x144], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530e42
cmp dword [ebp + 8], 0
je 0x530c58
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x530c58
push 0x111
push 0
push 0x19
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x148], eax
jmp 0x530c62
mov dword [ebp - 0x148], 0x19
cmp dword [ebp + 8], 0
je 0x530c96
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x530c96
push 0x112
push str.The_FlexNet_Licensing_Service_is_already_running___no_action_required
push 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x14c], eax
jmp 0x530ca0
mov dword [ebp - 0x14c], 0xc
mov dword [ebp - 0x11c], 0
jmp 0x530e42
cmp dword [ebp + 8], 0
je 0x530ce0
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530ce0
push 0x116
push 6
push 0x19
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x150], eax
jmp 0x530cea
mov dword [ebp - 0x150], 0x19
cmp dword [ebp + 8], 0
je 0x530d1e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x530d1e
push 0x117
push str.Insufficient_privilege_to_talk_to_the_FlexNet_Licensing_Service___set_the_service_to_auto_start
push 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x154], eax
jmp 0x530d28
mov dword [ebp - 0x154], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530e42
cmp dword [ebp + 8], 0
je 0x530d68
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x530d68
push 0x11b
push 6
push 0x19
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
call ecx
add esp, 0x10
mov dword [ebp - 0x158], eax
jmp 0x530d72
mov dword [ebp - 0x158], 0x19
cmp dword [ebp + 8], 0
je 0x530da6
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x530da6
push 0x11c
push str.The_Windows_Service_Control_Manager_has_a_database_lock___check_which_app_is_using_it
push 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
add esp, 0x10
mov dword [ebp - 0x15c], eax
jmp 0x530db0
mov dword [ebp - 0x15c], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x530e42
cmp dword [ebp + 8], 0
je 0x530df0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x530df0
push 0x124
push 6
push 0x19
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov dword [ebp - 0x160], eax
jmp 0x530dfa
mov dword [ebp - 0x160], 0x19
cmp dword [ebp + 8], 0
je 0x530e2e
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x530e2e
push 0x125
push str.The__FlexNet_Licensing_Service_is_incorrectly_configured__please_re_install
push 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call ecx
add esp, 0x10
mov dword [ebp - 0x164], eax
jmp 0x530e38
mov dword [ebp - 0x164], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530e4e
mov dword [ebp - 0x11c], 0
jmp 0x530ee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x530ee7
cmp dword [ebp + 8], 0
je 0x530e95
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530e95
push 0x133
push 3
push 0x19
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov dword [ebp - 0x168], eax
jmp 0x530e9f
mov dword [ebp - 0x168], 0x19
cmp dword [ebp + 8], 0
je 0x530ed3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x530ed3
push 0x134
push str.The_FlexNet_Licensing_Service_is_not_installed
push 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call edx
add esp, 0x10
mov dword [ebp - 0x16c], eax
jmp 0x530edd
mov dword [ebp - 0x16c], 0xc
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532ffe
mov esp, ebp
pop ebp
ret