Function at 0x5300b0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x6a5f90]
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.00532e90
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call fcn.00530720
add esp, 4
test eax, eax
jne 0x53011f
mov eax, 4
jmp 0x5306e1
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5301c0
cmp dword [ebp + 8], 0
je 0x530169
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530169
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 0x530173
mov dword [ebp - 0x124], 0x19
cmp dword [ebp + 8], 0
je 0x5301a7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5301a7
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 0x5301b1
mov dword [ebp - 0x128], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x5306c7
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 0x530633
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x530624
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 0x53023c
cmp dword [ebp - 0x12c], 0x41f
je 0x530517
cmp dword [ebp - 0x12c], 5
je 0x53048f
jmp case.0x530268.1
mov ecx, dword [ebp - 0x12c]
sub ecx, 0x420
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0x10
ja case.0x530268.1
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 0x530704]
jmp dword [eax*4 + 0x5306f0]
cmp dword [ebp + 8], 0
je 0x5302a0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x5302a0
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 0x5302aa
mov dword [ebp - 0x130], 0x19
cmp dword [ebp + 8], 0
je 0x5302de
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x5302de
push 0x103
push 0x6a3748
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 0x5302e8
mov dword [ebp - 0x134], 0xc
mov dword [ebp - 0x11c], 1
jmp 0x530622
cmp dword [ebp + 8], 0
je 0x530328
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530328
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 0x530332
mov dword [ebp - 0x138], 0x19
cmp dword [ebp + 8], 0
je 0x530366
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x530366
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 0x530370
mov dword [ebp - 0x13c], 0xc
mov dword [ebp - 0x11c], 8
jmp 0x530622
cmp dword [ebp + 8], 0
je 0x5303b0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x5303b0
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 0x5303ba
mov dword [ebp - 0x140], 0x19
cmp dword [ebp + 8], 0
je 0x5303ee
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x5303ee
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 0x5303f8
mov dword [ebp - 0x144], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530622
cmp dword [ebp + 8], 0
je 0x530438
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x530438
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 0x530442
mov dword [ebp - 0x148], 0x19
cmp dword [ebp + 8], 0
je 0x530476
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x530476
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 0x530480
mov dword [ebp - 0x14c], 0xc
mov dword [ebp - 0x11c], 0
jmp 0x530622
cmp dword [ebp + 8], 0
je 0x5304c0
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x5304c0
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 0x5304ca
mov dword [ebp - 0x150], 0x19
cmp dword [ebp + 8], 0
je 0x5304fe
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5304fe
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 0x530508
mov dword [ebp - 0x154], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530622
cmp dword [ebp + 8], 0
je 0x530548
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x530548
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 0x530552
mov dword [ebp - 0x158], 0x19
cmp dword [ebp + 8], 0
je 0x530586
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x530586
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 0x530590
mov dword [ebp - 0x15c], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x530622
cmp dword [ebp + 8], 0
je 0x5305d0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x5305d0
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 0x5305da
mov dword [ebp - 0x160], 0x19
cmp dword [ebp + 8], 0
je 0x53060e
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x53060e
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 0x530618
mov dword [ebp - 0x164], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x53062e
mov dword [ebp - 0x11c], 0
jmp 0x5306c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x5306c7
cmp dword [ebp + 8], 0
je 0x530675
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530675
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 0x53067f
mov dword [ebp - 0x168], 0x19
cmp dword [ebp + 8], 0
je 0x5306b3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5306b3
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 0x5306bd
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.005327db
mov esp, ebp
pop ebp
ret