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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d8c7
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 0x42c6f0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0041ce70
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004301b0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00432c60
add esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42c76c
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c762
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cea0
push edx
push ecx
call fcn.0044cee7
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 0x42c7b8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c7ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cea0
push edx
push ecx
call fcn.0044cee7
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.0042cee0
add esp, 8
test al, al
je 0x42c850
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 0x42c83b
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ced2
push edx
push ecx
call fcn.0044cee7
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 0x4a2010
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], edi
call fcn.00404a80
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 0x42c896
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x9c]
call fcn.0041ce70
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004301b0
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 0x42c918
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c90e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cea5
push edx
push ecx
call fcn.0044cee7
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 0x42c96a
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42c960
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cea5
push edx
push ecx
call fcn.0044cee7
add esp, 8
cmp dword [ebp - 0x4c], 3
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
jne 0x42cb86
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 0x42c9b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404a80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00432c60
push str._CALLBACK
push eax
call fcn.0042cee0
mov edx, dword [ebp - 0x50]
add esp, 0x10
mov byte [ebp + 0x13], al
cmp edx, 8
jb 0x42ca25
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ca1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ceaa
push edx
push ecx
call fcn.0044cee7
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 0x42ca77
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ca6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ceaa
push edx
push ecx
call fcn.0044cee7
add esp, 8
cmp byte [ebp + 0x13], 0
je 0x42cb86
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 0x42caa4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404a80
mov byte [ebp - 4], 9
call fcn.004706b2
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.004700b7
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebp + 0x10]
je 0x42ceaf
cmp dword [edi], 0x22
je 0x42cec3
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42cb3b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cb31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ceb9
push edx
push ecx
call fcn.0044cee7
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 0x42cb60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.00404a80
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 0x42cc8f
push dword [ebp + 8]
lea ecx, [ebp - 0x6c]
call fcn.00435930
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.00404a80
push 0x299
lea ecx, [ebp - 0x6c]
call fcn.004362d0
lea ecx, [ebp - 0x6c]
call fcn.00435ae0
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x42cc2d
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cc23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cebe
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x42c83b
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cebe
jmp 0x42c831
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xcc]
push 1
push esi
call fcn.004372b0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x84]
mov ecx, esp
push eax
call fcn.004049c0
push edi
push esi
lea ecx, [ebp - 0x614]
call fcn.00408c90
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x130], 1
jg 0x42cdeb
sub esp, 0x28
lea ecx, [ebp - 0xcc]
mov eax, esp
push dword [0x4ba7ec]
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.00437800
sub esp, 0x28
lea ecx, [ebp - 0x614]
mov eax, esp
push dword [0x4ba7e8]
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.00437800
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 0x42cd70
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 0x42cd50
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.00404a80
push 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
push 0x29a
lea ecx, [ebp - 0x614]
call fcn.00408930
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42cdeb
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cde1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cecd
push edx
push ecx
call fcn.0044cee7
add esp, 8
lea ecx, [ebp - 0x614]
call fcn.0040a9a0
mov esi, dword [ebp - 0x130]
lea ecx, [ebp - 0x614]
call fcn.0040a470
lea ecx, [ebp - 0xcc]
call fcn.00437440
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x42ce4f
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ced2
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x42ce8b
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ced2
push edx
push ecx
call fcn.0044cee7
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.0046811a
call fcn.0046811a
call fcn.0046811a
push str.invalid_stoi_argument
call fcn.00437a54
call fcn.0046811a
call fcn.0046811a
push str.stoi_argument_out_of_range
call fcn.00437a94
call fcn.0046811a
call fcn.0046811a
int3