Function at 0x41a610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f60
call fcn.0040a530
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov eax, dword [0x558b28]
mov ecx, dword [eax + 0xd0]
mov edx, dword [ecx + 0x38]
push edx
call fcn.00467ac0
add esp, 4
mov dword [ebp - 0x2f50], eax
mov dword [ebp - 0x1074], 0
mov dword [ebp - 0x2f54], 0
mov dword [ebp - 0x2f4c], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0x10c8], 0
push 0x4c
push 0
lea eax, [ebp - 0x10c4]
push eax
call fcn.004057a0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
call fcn.0046f520
add esp, 4
push 0
push 1
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1070]
push eax
mov ecx, dword [0x558b28]
push ecx
call fcn.0047c110
add esp, 0x14
mov dword [ebp - 0x2f54], eax
cmp dword [ebp - 0x2f54], 0
je 0x41a6c9
mov eax, 1
jmp 0x41ad3b
push 0x400
lea edx, [ebp - 0x428]
push edx
call fcn.00468e50
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x10]
push ecx
call fcn.00465b40
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x2f48]
push edx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x1070]
push edx
mov eax, dword [0x558b28]
push eax
call fcn.0047b4a0
add esp, 0x18
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x41a779
push 0
push 1
call fcn.004542f0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.Cant_connect_to_the_license_server_system._Shutdown__s_failed.__n
call fcn.00454520
add esp, 8
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [0x558b28]
push edx
call fcn.004634e0
add esp, 4
push eax
push str._t_s_n
call fcn.00454520
add esp, 8
mov dword [ebp - 0x1074], 1
jmp 0x41ac63
cmp dword [ebp + 0xc], 1
jne 0x41a786
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
mov cl, byte [ebp - 8]
push ecx
mov edx, dword [0x558b28]
mov eax, dword [edx + 0xd0]
mov ecx, dword [eax + 0x38]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x558b28]
push eax
call fcn.0048a490
add esp, 0x1c
mov dword [ebp - 0x2f54], eax
cmp dword [ebp - 0x2f54], 0
je 0x41a7ef
push 0
push 1
call fcn.004542f0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.Cant_write_to_the_license_server_system.__First_try_of_shutdown__s_failed._n
call fcn.00454520
add esp, 8
mov dword [ebp - 0x1074], 1
jmp 0x41ac63
mov edx, dword [0x558b28]
mov eax, dword [edx + 0xd0]
cmp dword [eax + 0x38], 3
jge 0x41a886
push 0
push 1
call fcn.004542f0
add esp, 8
push 0
mov ecx, dword [0x558b28]
push ecx
call fcn.00489800
add esp, 8
push eax
mov edx, dword [ebp + 8]
push edx
push str.Shut_down_FlexNet__s_license_server_system_on_node__s_n
call fcn.00454520
add esp, 0xc
call fcn.00460150
test eax, eax
je 0x41a881
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c8], eax
push 0
mov ecx, dword [0x558b28]
push ecx
call fcn.00489800
add esp, 8
mov dword [ebp - 0x10c4], eax
push 0
push 0
lea edx, [ebp - 0x10c8]
push edx
push 2
push 0x400002f3
push 4
push 4
mov eax, dword [0x558b28]
push eax
call fcn.004603d0
add esp, 0x20
jmp 0x41ac63
mov ecx, dword [0x558b28]
mov edx, dword [ecx + 0xd0]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [0x558b28]
push edx
call fcn.0047a7c0
add esp, 8
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x558b28]
push ecx
call fcn.0047a6c0
add esp, 8
movzx edx, word [ebp - 0x18]
test edx, edx
jne 0x41a965
cmp dword [0x558b28], 0
je 0x41a939
mov eax, dword [0x558b28]
cmp dword [eax + 0x80], 0
je 0x41a8fd
xor ecx, ecx
je 0x41a8fd
mov edx, dword [0x558b28]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x2f58], eax
jmp 0x41a907
mov dword [ebp - 0x2f58], 0xfffffff0
mov ecx, dword [0x558b28]
mov edx, dword [ebp - 0x2f58]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x162
push 0xfffffffffffffff0
mov eax, dword [0x558b28]
push eax
call fcn.00463eb0
add esp, 0x1c
push 0
push 1
call fcn.004542f0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.Cant_read_from_license_server_system.__First_try_of_shutdown__s_failed.__n
call fcn.00454520
add esp, 8
mov dword [ebp - 0x1074], 1
jmp 0x41ac63
movzx edx, word [ebp - 0x18]
cmp edx, 0x4f
jne 0x41a9f2
push 0
push 1
call fcn.004542f0
add esp, 8
push 0
mov eax, dword [0x558b28]
push eax
call fcn.00489800
add esp, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x53e24c
call fcn.00454520
add esp, 0xc
call fcn.00460150
test eax, eax
je 0x41a9ed
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10c8], edx
push 0
mov eax, dword [0x558b28]
push eax
call fcn.00489800
add esp, 8
mov dword [ebp - 0x10c4], eax
push 0
push 0
lea ecx, [ebp - 0x10c8]
push ecx
push 2
push 0x400002f3
push 4
push 4
mov edx, dword [0x558b28]
push edx
call fcn.004603d0
add esp, 0x20
jmp 0x41ac63
movzx eax, word [ebp - 0x18]
cmp eax, 0x48
jne 0x41aa9c
cmp dword [0x558b28], 0
je 0x41aa6b
mov ecx, dword [0x558b28]
cmp dword [ecx + 0x80], 0
je 0x41aa2e
xor edx, edx
je 0x41aa2e
mov eax, dword [0x558b28]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2f5c], ecx
jmp 0x41aa38
mov dword [ebp - 0x2f5c], 0xffffffc1
mov edx, dword [0x558b28]
mov eax, dword [ebp - 0x2f5c]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x163
push 0xffffffffffffffc1
mov ecx, dword [0x558b28]
push ecx
call fcn.00463eb0
add esp, 0x1c
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
push edx
push str.Unauthorized_shutdown_detected.__Shutdown__s_failed._n
call fcn.00454520
add esp, 8
mov dword [ebp - 0x1074], 0xffffffc1
jmp 0x41ac63
movzx eax, word [ebp - 0x18]
cmp eax, 0x42
jne 0x41ac3c
call fcn.00416b30
test eax, eax
je 0x41ab6e
cmp dword [0x55d8c4], 0
je 0x41aaef
mov dword [ebp - 8], 0
cmp dword [0x558b1c], 0
je 0x41aae8
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.forcing_shutdown..._n
call fcn.00454520
add esp, 4
jmp 0x41a779
cmp dword [0x558b1c], 0
je 0x41ab11
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.Not_forced_n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str.Redo_lmdown_with__force_arg._n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str.Required_when_borrowed_licenses_outstanding_n
call fcn.00454520
add esp, 4
call fcn.00460150
test eax, eax
je 0x41ab6c
push 0
push 0
push 0
push 0
push 0x800002fd
push 4
push 2
mov ecx, dword [0x558b28]
push ecx
call fcn.004603d0
add esp, 0x20
jmp 0x41ab90
cmp dword [0x558b1c], 0
je 0x41ab90
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.Not_local_n
call fcn.00454520
add esp, 4
mov dword [0x558c60], 0
cmp dword [0x558b28], 0
je 0x41ac06
mov edx, dword [0x558b28]
cmp dword [edx + 0x80], 0
je 0x41abca
xor eax, eax
je 0x41abca
mov ecx, dword [0x558b28]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x2f60], edx
jmp 0x41abd4
mov dword [ebp - 0x2f60], 0xffffff88
mov eax, dword [0x558b28]
mov ecx, dword [ebp - 0x2f60]
mov dword [eax + 0x80], ecx
push 0
push 0xff
push 0
push 0
push 0x237
push 0xffffffffffffff88
mov edx, dword [0x558b28]
push edx
call fcn.00463eb0
add esp, 0x1c
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [0x558b28]
push eax
call fcn.004634e0
add esp, 4
push eax
push 0x53e340
call fcn.00454520
add esp, 8
mov dword [ebp - 0x1074], 0xffffff88
jmp 0x41ac63
push 0
push 1
call fcn.004542f0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
movzx edx, word [ebp - 0x18]
push edx
movzx eax, word [ebp - 0x18]
push eax
push str.Unknown_response___c__0x_x.__First_try_of_shutdown__s_failed._n
call fcn.00454520
add esp, 0x10
push 0
mov ecx, dword [0x558b28]
push ecx
call fcn.0047a4a0
add esp, 8
cmp dword [ebp - 0x1074], 1
jne 0x41ad35
mov edx, dword [ebp - 0x2f4c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41ad18
push 0
push 1
call fcn.004542f0
add esp, 8
push 0
mov edx, dword [0x558b28]
push edx
call fcn.00489800
add esp, 8
push eax
mov eax, dword [ebp + 8]
push eax
push str.Shut_down_FlexNet__s_license_server_system_on_machine__s_n
call fcn.00454520
add esp, 0xc
call fcn.00460150
test eax, eax
je 0x41ad16
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10c8], ecx
push 0
mov edx, dword [0x558b28]
push edx
call fcn.00489800
add esp, 8
mov dword [ebp - 0x10c4], eax
push 0
push 0
lea eax, [ebp - 0x10c8]
push eax
push 2
push 0x400002f3
push 4
push 4
mov ecx, dword [0x558b28]
push ecx
call fcn.004603d0
add esp, 0x20
jmp 0x41ad35
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
push edx
push str.Cant_shutdown_the_license_server_system.__Shutdown__s_failed._n
call fcn.00454520
add esp, 8
mov eax, dword [ebp - 0x1074]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret