Function at 0x419690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xf0], 0
push 0x4c
push 0
lea eax, [ebp - 0xec]
push eax
call fcn.004057a0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
sub edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x38], 0
je 0x419702
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
push eax
push str.Starting_vendor_daemon_at_port__d_n
call fcn.00454520
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x419712
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
jne 0x41974d
push 0
push 1
call fcn.004542f0
add esp, 8
push 0x53dc6c
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp + 8]
push eax
push str.ATTEMPT_TO_START_VENDOR_DAEMON__s_with_NO_MASTER_n
call fcn.00454520
add esp, 8
jmp 0x41a05d
push 0x53dcdc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x419799
push 0
push 1
call fcn.004542f0
add esp, 8
push str.INTERNAL_error:_Please_report_the_following_to_your_vendor_n
call fcn.00454520
add esp, 4
push 0
push 1
call fcn.004542f0
add esp, 8
push str.Attempt_to_start_a_vendor_daemon_named__lmgrd__n
call fcn.00454520
add esp, 4
jmp 0x41a05d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x38], 0
je 0x4197c2
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
push ecx
push str.Using_vendor_daemon_port__d_specified_in_license_file_n
call fcn.00454520
add esp, 8
mov dword [ebp - 0xc], 0xffffffff
mov edx, dword [0x558b28]
movzx eax, word [edx + 6]
push eax
mov ecx, dword [0x558b28]
movzx edx, word [ecx + 4]
push edx
push str._d._d
lea eax, [ebp - 0x310]
push eax
call fcn.00443408
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
push 0x53dd90
lea edx, [ebp - 0x300]
push edx
call fcn.00443408
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0x53dd94
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x88], ecx
cmp dword [0x5589d4], 0
jne 0x419845
lea edx, [ebp - 0x310]
mov dword [ebp - 0x84], edx
mov dword [ebp - 8], 4
jmp 0x41984c
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x300]
mov dword [ebp + eax*4 - 0x90], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
lea eax, [ebp - 0x304]
push eax
push 0x2e
mov ecx, dword [0x558b28]
push ecx
call fcn.00488010
add esp, 0xc
cmp dword [ebp - 0x304], 0
je 0x4198b8
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x90], 0x53dd98
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x304]
mov dword [ebp + ecx*4 - 0x90], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4198c2
mov dword [ebp - 0x304], 0x558b17
cmp dword [0x5589d4], 0
jne 0x419908
cmp dword [0x53be88], 0
jne 0x4198eb
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], 0x53dd9c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 6
jne 0x419908
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0x53dda0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [0x539d04], 0x6978
jl 0x41996d
mov edx, dword [0x558b28]
mov eax, dword [0x539d04]
cmp eax, dword [edx + 0x194]
jg 0x41996d
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], str._lmgrd_port
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [0x539d04]
push eax
push 0x53ddb0
push 0x558af4
call fcn.00443408
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], 0x558af4
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [0x539d00], 0
jne 0x4199a4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0x53ddb4
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x90], str.lmremove
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [0x53e798], 0
jne 0x4199c4
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], str._nfs_log
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [0x55d8d4], 0
je 0x419a14
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], str._max_connections
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [0x55d8d4]
push edx
push 0x53dde4
push 0x558b0c
call fcn.00443408
add esp, 0xc
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0x558b0c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x38], 0
je 0x419a64
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], str._daemon_port
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x38]
push eax
push 0x53ddf8
push 0x558b00
call fcn.00443408
add esp, 0xc
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], 0x558b00
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], str.__lmgrd_start
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [0x55d8cc]
push edx
mov eax, dword [0x55d8c8]
push eax
push 0x53de0c
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00443408
add esp, 0x10
mov edx, dword [ebp - 8]
lea eax, [ebp - 0xa0]
mov dword [ebp + edx*4 - 0x90], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [0x558b1c], 0
je 0x419ad5
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x90], str._dlog
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [0x558aa0], 0
je 0x419b0e
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], str._debug_file
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [0x558aa0]
mov dword [ebp + eax*4 - 0x90], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [0x558aa4], 1
jne 0x419b2e
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], str._reuseaddr
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [0x558bc0], 1
jne 0x419b4e
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x90], str._msglog
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [0x558aa8], 1
jne 0x419d0f
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], str._3ServerTS
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [0x558b1c], 0
je 0x419b94
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.ls_startup:__3ServerTS__n
call fcn.00454520
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x419d0f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x20]
cmp edx, dword [ecx + 0x24]
jne 0x419be7
cmp dword [0x558b1c], 0
je 0x419bce
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.ls_startup:__master__n
call fcn.00454520
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], str._master
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x419c09
cmp dword [0x558b1c], 0
je 0x419c09
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.ls_startup:_Not_master__n
call fcn.00454520
add esp, 4
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x419cb2
cmp dword [ebp - 0x420], 1
je 0x419c39
cmp dword [ebp - 0x420], 2
je 0x419c77
jmp 0x419ced
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], str._quorumFailover
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [0x558b1c], 0
je 0x419c72
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.ls_startup:_Failover_n
call fcn.00454520
add esp, 4
jmp 0x419d0f
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], str._quorumRecovery
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [0x558b1c], 0
je 0x419cb0
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.ls_startup:_Recovery_n
call fcn.00454520
add esp, 4
jmp 0x419d0f
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x90], str._default
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [0x558b1c], 0
je 0x419ceb
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.ls_startup:_Default__n
call fcn.00454520
add esp, 4
jmp 0x419d0f
cmp dword [0x558b1c], 0
je 0x419d0f
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push str.Invalid_quorum_reset_state.__n
call fcn.00454520
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x90], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0xfc], 0xffffffff
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xfc]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x419e8e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00443310
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.0041a090
add esp, 0x14
test eax, eax
jne 0x419e84
push 0
push 1
call fcn.004542f0
add esp, 8
push 0x53df34
call fcn.00454520
add esp, 4
cmp dword [ebp - 0x418], 0
je 0x419dea
mov eax, dword [ebp - 0x418]
movsx ecx, byte [eax]
test ecx, ecx
je 0x419dea
push 0
push 1
call fcn.004542f0
add esp, 8
mov edx, dword [ebp - 0x418]
push edx
push 0x53df68
call fcn.00454520
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 2
jne 0x419e5b
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
push 0x53df70
call fcn.00454520
add esp, 8
call fcn.00460150
test eax, eax
je 0x419e59
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xf0], eax
push 0
push 0
lea ecx, [ebp - 0xf0]
push ecx
push 1
push 0xc00002f4
push 4
push 1
mov edx, dword [0x558b28]
push edx
call fcn.004603d0
add esp, 0x20
jmp 0x419e82
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x414]
push edx
push str.CreateProcess_error_code:_0x_x_File__s_n
call fcn.00454520
add esp, 0xc
jmp 0x419e8e
mov dword [ebp - 0x41c], 1
cmp dword [ebp - 0x41c], 0
jne 0x419fd3
mov eax, dword [ebp + 8]
push eax
push str._s.exe
lea ecx, [ebp - 0x410]
push ecx
call fcn.00443408
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.0041a090
add esp, 0x14
test eax, eax
jne 0x419fc9
push 0
push 1
call fcn.004542f0
add esp, 8
push str.License_server_manager__lmgrd__startup_failed:__n
call fcn.00454520
add esp, 4
cmp dword [ebp - 0x418], 0
je 0x419f2f
mov ecx, dword [ebp - 0x418]
movsx edx, byte [ecx]
test edx, edx
je 0x419f2f
push 0
push 1
call fcn.004542f0
add esp, 8
mov eax, dword [ebp - 0x418]
push eax
push 0x53dfec
call fcn.00454520
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 2
jne 0x419fa0
push 0
push 1
call fcn.004542f0
add esp, 8
lea ecx, [ebp - 0x410]
push ecx
push str.File_not_found___s_n
call fcn.00454520
add esp, 8
call fcn.00460150
test eax, eax
je 0x419f9e
lea edx, [ebp - 0x410]
mov dword [ebp - 0xf0], edx
push 0
push 0
lea eax, [ebp - 0xf0]
push eax
push 1
push 0xc00002f4
push 4
push 1
mov ecx, dword [0x558b28]
push ecx
call fcn.004603d0
add esp, 0x20
jmp 0x419fc7
push 0
push 1
call fcn.004542f0
add esp, 8
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x414]
push eax
push str.CreateProcess_error_code:_0x_x___File__s_n
call fcn.00454520
add esp, 0xc
jmp 0x419fd3
mov dword [ebp - 0x41c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0xfc], edx
push 0
call fcn.0041a070
add esp, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xf8]
sub ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0xf4]
sbb edx, dword [eax + 0x2c]
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], edx
js 0x41a02d
jg 0x41a023
cmp dword [ebp - 0x428], 0x78
jbe 0x41a02d
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xf8]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0xf4]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0x18], edx
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret