Function at 0x417f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x41c
mov eax, dword [0x4d1ce0]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
mov edi, dword [esp + 0x424]
lea eax, [esp + 0x14]
push 0x94
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.004056e0
push 0x4c
lea eax, [esp + 0xbc]
mov dword [esp + 0xb8], 0
push 0
push eax
call fcn.004056e0
mov eax, dword [edi + 0x1c]
add esp, 0x18
dec eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x3c]
test eax, eax
js 0x418734
cmp eax, 0xffff
jg 0x418734
test eax, eax
je 0x417f8e
push 0
push 1
call fcn.004354b0
push dword [edi + 0x3c]
push str.Starting_vendor_daemon_at_port__d_n
call fcn.00435180
add esp, 0x10
push ebx
mov ebx, dword [esp + 0x430]
test ebx, ebx
je 0x4186f3
cmp byte [ebx], 0
je 0x4186f3
push 0
push str.lmgrd
push edi
call fcn.0041a660
add esp, 0xc
test eax, eax
jne 0x417ffa
push eax
push 1
call fcn.004354b0
push str.INTERNAL_error:_Please_report_the_following_to_your_vendor_n
call fcn.00435180
push 0
push 1
call fcn.004354b0
push str.Attempt_to_start_a_vendor_daemon_named__lmgrd__n
call fcn.00435180
add esp, 0x18
pop ebx
pop edi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00404be0
add esp, 0x41c
ret
cmp dword [edi + 0x3c], 0
je 0x418019
push 0
push 1
call fcn.004354b0
push dword [edi + 0x3c]
push str.Using_vendor_daemon_port__d_specified_in_license_file_n
call fcn.00435180
add esp, 0x10
push ebp
push esi
xor esi, esi
cmp byte [0x4da410], 0
jne 0x41809e
push 0x40
push 0x4da410
push dword [0x4da654]
call fcn.00459220
add esp, 0xc
test eax, eax
je 0x418095
mov ecx, dword [str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov ebp, 0x3e
mov byte [0x4da44f], 0
movzx eax, byte [esi + 0x4da410]
cdq
idiv ebp
movzx eax, byte [edx + ecx]
mov byte [esi + 0x4da410], al
movzx eax, byte [esi + 0x4da411]
cdq
idiv ebp
movzx eax, byte [edx + ecx]
mov byte [esi + 0x4da411], al
movzx eax, byte [esi + 0x4da412]
cdq
idiv ebp
movzx eax, byte [edx + ecx]
mov byte [esi + 0x4da412], al
add esi, 3
cmp esi, 0x3f
jl 0x418051
cmp byte [0x4da410], 0
je 0x4180ab
push 0x4da410
call fcn.00450490
add esp, 4
push 0x1ff
lea eax, [esp + 0x22d]
mov byte [esp + 0x22c], 0
push 0
push eax
call fcn.004056e0
mov ecx, dword [0x4da654]
xorps xmm0, xmm0
mov byte [esp + 0x110], 0
movq qword [esp + 0x111], xmm0
mov byte [esp + 0x119], 0
mov byte [esp + 0x11c], 0
movq qword [esp + 0x11d], xmm0
mov word [esp + 0x125], 0
mov dword [esp + 0x20], 0
movzx eax, word [ecx + 6]
push eax
movzx eax, word [ecx + 4]
push eax
lea eax, [esp + 0x118]
push str._d._d
push eax
call fcn.00427717
push 0xffffffffffffffff
lea eax, [esp + 0x248]
push 0x4bc0a8
push eax
call fcn.00427717
add esp, 0x28
mov dword [esp + 0x1c], edi
cmp dword [0x4d9f00], 0
mov dword [esp + 0x20], 0x4bf770
mov dword [esp + 0x24], ebx
jne 0x41816a
lea eax, [esp + 0x104]
mov esi, 4
mov dword [esp + 0x28], eax
jmp 0x41816f
mov esi, 3
lea eax, [esp + 0x228]
mov dword [esp + esi*4 + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push 0x2e
push dword [0x4da654]
inc esi
call fcn.00459200
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4181a9
mov dword [esp + esi*4 + 0x1c], 0x4bf774
mov dword [esp + esi*4 + 0x20], eax
add esi, 2
jmp 0x4181b1
mov dword [esp + 0x14], 0x4bc509
cmp dword [0x4d9f00], 0
jne 0x4181f0
cmp dword [0x4d2394], 0
jne 0x4181cc
mov dword [esp + esi*4 + 0x1c], 0x4bf778
inc esi
cmp dword [0x4e1118], 1
jne 0x4181de
mov dword [esp + esi*4 + 0x1c], str._Local
inc esi
cmp esi, 6
jne 0x4181f0
mov dword [esp + 0x34], 0x4bf784
mov esi, 7
mov ecx, dword [0x4d20e4]
cmp ecx, 0x6978
jl 0x418231
mov eax, dword [0x4da654]
cmp ecx, dword [eax + 0x19c]
jg 0x418231
push ecx
push 0x4bf794
push 0x4da450
mov dword [esp + esi*4 + 0x28], str._lmgrd_port
call fcn.00427717
add esp, 0xc
mov dword [esp + esi*4 + 0x20], 0x4da450
add esi, 2
cmp dword [0x4d20e0], 0
jne 0x41824d
mov dword [esp + esi*4 + 0x1c], 0x4bf798
mov dword [esp + esi*4 + 0x20], str.lmremove
add esi, 2
cmp dword [0x4d255c], 0
jne 0x41825f
mov dword [esp + esi*4 + 0x1c], str._nfs_log
inc esi
mov dword [esp + esi*4 + 0x1c], str._srv
inc esi
cmp byte [0x4da410], 0
je 0x41827a
mov dword [esp + esi*4 + 0x1c], 0x4da410
inc esi
mov eax, dword [0x4e1100]
test eax, eax
je 0x4182a9
push eax
push 0x4bc0a8
push 0x4da45c
mov dword [esp + esi*4 + 0x28], str._max_connections
call fcn.00427717
add esp, 0xc
mov dword [esp + esi*4 + 0x20], 0x4da45c
add esi, 2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4182d6
push eax
push 0x4bf794
push 0x4da468
mov dword [esp + esi*4 + 0x28], str._daemon_port
call fcn.00427717
add esp, 0xc
mov dword [esp + esi*4 + 0x20], 0x4da468
add esi, 2
push dword [0x4e1114]
lea eax, [esp + 0x120]
mov dword [esp + esi*4 + 0x20], str.__lmgrd_start
push dword [0x4e1110]
push str._llx
push eax
call fcn.00427717
lea eax, [esp + 0x12c]
add esp, 0x10
mov dword [esp + esi*4 + 0x20], eax
add esi, 2
cmp dword [0x4da650], 0
je 0x41831f
mov dword [esp + esi*4 + 0x1c], str._dlog
inc esi
mov eax, dword [0x4d9f28]
test eax, eax
je 0x418337
mov dword [esp + esi*4 + 0x1c], str._debug_file
mov dword [esp + esi*4 + 0x20], eax
add esi, 2
cmp dword [0x4d9f30], 1
jne 0x418349
mov dword [esp + esi*4 + 0x1c], str._reuseaddr
inc esi
cmp dword [0x4da47c], 1
jne 0x41835b
mov dword [esp + esi*4 + 0x1c], str._msglog
inc esi
cmp dword [0x4d2554], 0
jne 0x41836d
mov dword [esp + esi*4 + 0x1c], str._no_slog
inc esi
push dword [edi + 0x34]
lea eax, [esp + 0x114]
push 0x4bc0a8
push eax
call fcn.00427717
mov dword [esp + esi*4 + 0x28], str._vdrestart
lea eax, [esp + 0x11c]
mov dword [esp + esi*4 + 0x2c], eax
add esp, 0xc
add esi, 2
cmp dword [0x4d9f34], 1
jne 0x4184b8
mov ecx, dword [0x4da650]
mov dword [esp + esi*4 + 0x1c], str._3ServerTS
inc esi
test ecx, ecx
je 0x4183d7
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.ls_startup:__3ServerTS__n
call fcn.00435180
mov ecx, dword [0x4da650]
add esp, 0xc
mov ebx, dword [esp + 0x43c]
test ebx, ebx
je 0x4184b8
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebx + 0x24]
jne 0x418419
test ecx, ecx
je 0x41840e
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.ls_startup:__master__n
call fcn.00435180
mov ecx, dword [0x4da650]
add esp, 0xc
mov dword [esp + esi*4 + 0x1c], str._master
inc esi
jmp 0x418439
test ecx, ecx
je 0x418439
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.ls_startup:_Not_master__n
call fcn.00435180
mov ecx, dword [0x4da650]
add esp, 0xc
mov eax, dword [ebx + 0x2c]
sub eax, 0
je 0x418495
dec eax
je 0x418478
dec eax
je 0x41845b
test ecx, ecx
je 0x4184b8
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.Invalid_quorum_reset_state.__n
jmp 0x4184b0
mov dword [esp + esi*4 + 0x1c], str._quorumRecovery
inc esi
test ecx, ecx
je 0x4184b8
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.ls_startup:_Recovery_n
jmp 0x4184b0
mov dword [esp + esi*4 + 0x1c], str._quorumFailover
inc esi
test ecx, ecx
je 0x4184b8
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.ls_startup:_Failover_n
jmp 0x4184b0
mov dword [esp + esi*4 + 0x1c], str._default
inc esi
test ecx, ecx
je 0x4184b8
push 0xffffffffffffffff
push 1
call fcn.004354b0
push str.ls_startup:_Default__n
call fcn.00435180
add esp, 0xc
mov eax, dword [edi + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x18], 0xffffffff
mov dword [esp + esi*4 + 0x1c], 0
cmp byte [eax], 0
mov dword [esp + 0x10], 0
je 0x4185bd
push 0
push 0xff
push eax
lea eax, [esp + 0x134]
push eax
call fcn.0041ab00
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x144]
push edi
push eax
call fcn.00417c50
add esp, 0x24
test eax, eax
jne 0x4186a0
push eax
push 1
call fcn.004354b0
push str.License_server_manager__lmgrd__startup_failed:__n
call fcn.00435180
mov ebx, dword [esp + 0x1c]
add esp, 0xc
test ebx, ebx
je 0x418553
cmp byte [ebx], 0
je 0x418553
push 0
push 1
call fcn.004354b0
push ebx
push str._t_s_n
call fcn.00435180
add esp, 0x10
call ebp
push 0
push 1
mov ebx, eax
call fcn.004354b0
push dword [edi + 0xc]
cmp ebx, 2
jne 0x4185af
push str.File_not_found___s_n
add dword [eax], eax
add byte [eax], al
jl 0x4185b7
neg eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
ret
mov esi, dword [esi + 0x78]
test esi, esi
je 0x41878f
mov ebx, dword [esi + edi + 0x24]
add esi, edi
add ebx, edi
call fcn.004185fc
and edi, ecx
and dword [ebx + ecx*4], eax
inc esi
and byte [ebx], al
invalid
invalid
xor eax, eax