Function at 0x5305b0
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.00533390
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call fcn.00530c20
add esp, 4
test eax, eax
jne 0x53061f
mov eax, 4
jmp 0x530be1
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5306c0
cmp dword [ebp + 8], 0
je 0x530669
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530669
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 0x530673
mov dword [ebp - 0x124], 0x19
cmp dword [ebp + 8], 0
je 0x5306a7
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5306a7
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 0x5306b1
mov dword [ebp - 0x128], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x530bc7
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 0x530b33
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x530b24
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 0x53073c
cmp dword [ebp - 0x12c], 0x41f
je 0x530a17
cmp dword [ebp - 0x12c], 5
je 0x53098f
jmp case.0x530768.1
mov ecx, dword [ebp - 0x12c]
sub ecx, 0x420
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x12c], 0x10
ja case.0x530768.1
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 0x530c04]
jmp dword [eax*4 + 0x530bf0]
cmp dword [ebp + 8], 0
je 0x5307a0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x5307a0
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 0x5307aa
mov dword [ebp - 0x130], 0x19
cmp dword [ebp + 8], 0
je 0x5307de
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x5307de
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 0x5307e8
mov dword [ebp - 0x134], 0xc
mov dword [ebp - 0x11c], 1
jmp 0x530b22
cmp dword [ebp + 8], 0
je 0x530828
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530828
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 0x530832
mov dword [ebp - 0x138], 0x19
cmp dword [ebp + 8], 0
je 0x530866
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x530866
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 0x530870
mov dword [ebp - 0x13c], 0xc
mov dword [ebp - 0x11c], 8
jmp 0x530b22
cmp dword [ebp + 8], 0
je 0x5308b0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x5308b0
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 0x5308ba
mov dword [ebp - 0x140], 0x19
cmp dword [ebp + 8], 0
je 0x5308ee
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x5308ee
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 0x5308f8
mov dword [ebp - 0x144], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530b22
cmp dword [ebp + 8], 0
je 0x530938
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x530938
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 0x530942
mov dword [ebp - 0x148], 0x19
cmp dword [ebp + 8], 0
je 0x530976
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x530976
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 0x530980
mov dword [ebp - 0x14c], 0xc
mov dword [ebp - 0x11c], 0
jmp 0x530b22
cmp dword [ebp + 8], 0
je 0x5309c0
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x5309c0
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 0x5309ca
mov dword [ebp - 0x150], 0x19
cmp dword [ebp + 8], 0
je 0x5309fe
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x5309fe
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 0x530a08
mov dword [ebp - 0x154], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530b22
cmp dword [ebp + 8], 0
je 0x530a48
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x530a48
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 0x530a52
mov dword [ebp - 0x158], 0x19
cmp dword [ebp + 8], 0
je 0x530a86
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x530a86
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 0x530a90
mov dword [ebp - 0x15c], 0xc
mov dword [ebp - 0x11c], 7
jmp 0x530b22
cmp dword [ebp + 8], 0
je 0x530ad0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x530ad0
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 0x530ada
mov dword [ebp - 0x160], 0x19
cmp dword [ebp + 8], 0
je 0x530b0e
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x530b0e
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 0x530b18
mov dword [ebp - 0x164], 0xc
mov dword [ebp - 0x11c], 9
jmp 0x530b2e
mov dword [ebp - 0x11c], 0
jmp 0x530bc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x530bc7
cmp dword [ebp + 8], 0
je 0x530b75
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x530b75
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 0x530b7f
mov dword [ebp - 0x168], 0x19
cmp dword [ebp + 8], 0
je 0x530bb3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x530bb3
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 0x530bbd
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.00532cdb
mov esp, ebp
pop ebp
ret