Function at 0x52f6b0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x6a50f0]
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.00532490
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call fcn.0052fd20
add esp, 4
test eax, eax
jne 0x52f71f
mov eax, 4
jmp 0x52fce1
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x52f7c0
cmp dword [ebp + 8], 0
je 0x52f769
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52f769
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 0x52f773
mov dword [ebp - 0x124], 0x19
cmp dword [ebp + 8], 0
je 0x52f7a7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x52f7a7
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 0x52f7b1
mov dword [ebp - 0x128], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x52fcc7
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 0x52fc33
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x52fc24
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 0x52f83c
cmp dword [ebp - 0x12c], 0x41f
je 0x52fb17
cmp dword [ebp - 0x12c], 5
je 0x52fa8f
jmp case.0x52f868.1
mov ecx, dword [ebp - 0x12c]
sub ecx, 0x420
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0x10
ja case.0x52f868.1
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 0x52fd04]
jmp dword [eax*4 + 0x52fcf0]
cmp dword [ebp + 8], 0
je 0x52f8a0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52f8a0
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 0x52f8aa
mov dword [ebp - 0x130], 0x19
cmp dword [ebp + 8], 0
je 0x52f8de
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x52f8de
push 0x103
push 0x6a28b0
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 0x52f8e8
mov dword [ebp - 0x134], 0xc
mov dword [ebp - 0x11c], 1
jmp 0x52fc22
cmp dword [ebp + 8], 0
je 0x52f928
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52f928
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 0x52f932
mov dword [ebp - 0x138], 0x19
cmp dword [ebp + 8], 0
je 0x52f966
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x52f966
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 0x52f970
mov dword [ebp - 0x13c], 0xc
mov dword [ebp - 0x11c], 8
jmp 0x52fc22
cmp dword [ebp + 8], 0
je 0x52f9b0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x52f9b0
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 0x52f9ba
mov dword [ebp - 0x140], 0x19
cmp dword [ebp + 8], 0
je 0x52f9ee
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x52f9ee
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 0x52f9f8
mov dword [ebp - 0x144], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x52fc22
cmp dword [ebp + 8], 0
je 0x52fa38
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52fa38
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 0x52fa42
mov dword [ebp - 0x148], 0x19
cmp dword [ebp + 8], 0
je 0x52fa76
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x52fa76
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 0x52fa80
mov dword [ebp - 0x14c], 0xc
mov dword [ebp - 0x11c], 0
jmp 0x52fc22
cmp dword [ebp + 8], 0
je 0x52fac0
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52fac0
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 0x52faca
mov dword [ebp - 0x150], 0x19
cmp dword [ebp + 8], 0
je 0x52fafe
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x52fafe
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 0x52fb08
mov dword [ebp - 0x154], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x52fc22
cmp dword [ebp + 8], 0
je 0x52fb48
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x52fb48
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 0x52fb52
mov dword [ebp - 0x158], 0x19
cmp dword [ebp + 8], 0
je 0x52fb86
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x52fb86
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 0x52fb90
mov dword [ebp - 0x15c], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x52fc22
cmp dword [ebp + 8], 0
je 0x52fbd0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x52fbd0
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 0x52fbda
mov dword [ebp - 0x160], 0x19
cmp dword [ebp + 8], 0
je 0x52fc0e
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x52fc0e
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 0x52fc18
mov dword [ebp - 0x164], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x52fc2e
mov dword [ebp - 0x11c], 0
jmp 0x52fcc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x52fcc7
cmp dword [ebp + 8], 0
je 0x52fc75
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x52fc75
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 0x52fc7f
mov dword [ebp - 0x168], 0x19
cmp dword [ebp + 8], 0
je 0x52fcb3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x52fcb3
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 0x52fcbd
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.00531ddb
mov esp, ebp
pop ebp
ret