Function at 0x42cd50
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e267
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x608
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cd90
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0041d5c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00430840
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004332f0
add esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42ce0c
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d540
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42ce58
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d540
push edx
push ecx
call fcn.0044d7ec
add esp, 8
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x18], 0
push str._CONFIG
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0042d580
add esp, 8
test al, al
je 0x42cef0
push 0x40
push str.Wayfinder_Updater
push str.This_plugin_has_no_configuration_options
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x42cedb
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ced1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d572
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [ebp - 0x70], 7
push eax
xor edi, edi
mov word [ebp - 0x84], ax
push 0x4a3010
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], edi
call fcn.00404ab0
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42cf36
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x9c]
call fcn.0041d5c0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00430840
add esp, 8
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [ebp - 0x30]
mov esi, eax
mov dword [ebp - 0x48], esi
cmp edx, 8
jb 0x42cfb8
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cfae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d545
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 0x10
jb 0x42d00a
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42d000
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d545
push edx
push ecx
call fcn.0044d7ec
add esp, 8
cmp dword [ebp - 0x4c], 3
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
jne 0x42d226
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d050
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404ab0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004332f0
push str._CALLBACK
push eax
call fcn.0042d580
mov edx, dword [ebp - 0x50]
add esp, 0x10
mov byte [ebp + 0x13], al
cmp edx, 8
jb 0x42d0c5
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d0bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d54a
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 8
jb 0x42d117
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d10d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d54a
push edx
push ecx
call fcn.0044d7ec
add esp, 8
cmp byte [ebp + 0x13], 0
je 0x42d226
mov edx, dword [ebp - 0x48]
xor eax, eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov edx, dword [edx + 4]
mov ecx, edx
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d144
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404ab0
mov byte [ebp - 4], 9
call fcn.00471062
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov edi, eax
lea eax, [ebp + 0x10]
cmovae esi, dword [ebp - 0x28]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00470a67
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebp + 0x10]
je 0x42d54f
cmp dword [edi], 0x22
je 0x42d563
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42d1db
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d559
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], 7
mov edx, dword [eax + 8]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d200
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.00404ab0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 5
push str.WAYFINDERUPDATER
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d32f
push dword [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.00435fa0
push 0
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
xor eax, eax
push 0x4e
push str.There_is_already_an_instance_of_the_updater_running__terminating_this_instance
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00404ab0
push 0x299
lea ecx, [ebp - 0x6c]
call fcn.004369e0
lea ecx, [ebp - 0x6c]
call fcn.00436150
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x42d2cd
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d2c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d55e
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x42cedb
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ced1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d55e
jmp 0x42ced1
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xcc]
push 1
push esi
call fcn.00437bb0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x84]
mov ecx, esp
push eax
call fcn.004049f0
push edi
push esi
lea ecx, [ebp - 0x614]
call fcn.004096a0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x130], 1
jg 0x42d48b
sub esp, 0x28
lea ecx, [ebp - 0xcc]
mov eax, esp
push dword [0x4bb7fc]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_82eef3d821819772ea0da883ddfd2195___long_int__unsigned_int__long_int_.0
mov dword [eax + 0x24], eax
call fcn.00438100
sub esp, 0x28
lea ecx, [ebp - 0x614]
mov eax, esp
push dword [0x4bb7f8]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0xcc]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_ce6db67bbb5a1275e91c43ecc4137e5e___long_int__unsigned_int__long_int_.0
mov dword [eax + 0x24], eax
call fcn.00438100
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x68]
movq qword [ebp - 0x58], xmm0
push eax
movups xmmword [ebp - 0x68], xmm0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x42d410
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x42d3f0
push 0x22
xor eax, eax
mov dword [ebp - 0x34], 0
push str.Received_quit_message_from_windows
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00404ab0
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
push 0x29a
lea ecx, [ebp - 0x614]
call fcn.00409340
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42d48b
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d481
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d56d
push edx
push ecx
call fcn.0044d7ec
add esp, 8
lea ecx, [ebp - 0x614]
call fcn.0040b3b0
mov esi, dword [ebp - 0x130]
lea ecx, [ebp - 0x614]
call fcn.0040ae80
lea ecx, [ebp - 0xcc]
call fcn.00437d40
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x42d4ef
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d4e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d572
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x42d52b
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d572
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
push str.invalid_stoi_argument
call fcn.00438354
call fcn.00468a1a
call fcn.00468a1a
push str.stoi_argument_out_of_range
call fcn.00438394
call fcn.00468a1a
call fcn.00468a1a
int3