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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4a62c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], 8
push eax
mov dword [ebp - 0x294], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x4a85f4
push 0
call fcn.00422340
lea ecx, [ebp - 0x28d]
call fcn.004243f0
push 0
push 0
push str.win11check
call fcn.004224a0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00455240
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.logLdsWin11Assistant.log
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e7b0
push dword [0x4a50e4]
push str.win11assistant
push 1
call fcn.004192f0
mov ecx, eax
call fcn.00448430
push 1
call fcn.00430360
add esp, 4
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x425ffe
mov eax, dword [ecx]
call dword [eax + 0xc]
push 8
add eax, 0x10
lea ecx, [ebp - 0x28c]
push str.embedded
mov dword [ebp - 0x28c], eax
call fcn.0040b820
lea eax, [ebp - 0x28c]
push eax
call fcn.004192f0
mov ecx, eax
call fcn.00448490
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42582b
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040d860
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x330]
push 0xa2
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00404e20
mov esi, eax
push str.current_channel_pid:
push esi
call fcn.00402c60
mov ecx, dword [ebp - 0x28c]
mov edx, 0x485b30
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00402c60
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x330]
call fcn.00406330
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x4257d6
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4257cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426008
push edx
push ecx
call fcn.00446e66
add esp, 8
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
cmp edx, 0x10
jb 0x42582b
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426008
push edx
push ecx
call fcn.00446e66
add esp, 8
push 0
push 0
push 1
push 0
push 0x488db4
call fcn.004192f0
mov ecx, eax
call fcn.00448450
xor eax, eax
mov dword [ebp - 0x294], 0
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
call fcn.00438070
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x214], 0
mov ecx, edx
mov dword [ebp - 0x210], 7
xor eax, eax
mov word [ebp - 0x224], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4258a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x224]
call fcn.0040d950
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x284]
call fcn.004388a0
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x42590e
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425904
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42600d
push edx
push ecx
call fcn.00446e66
add esp, 8
xor eax, eax
mov dword [ebp - 0x214], 0
push 9
push str.inst_path
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.0040d950
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x284]
call fcn.004386c0
mov edx, dword [ebp - 0x228]
mov esi, eax
cmp edx, 8
jb 0x4259af
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4259a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426012
push edx
push ecx
call fcn.00446e66
add esp, 8
xor eax, eax
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.00438170
or ebx, 0xffffffff
test esi, esi
je 0x425ad6
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x425ab1
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040d860
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x330]
push 0xa9
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00404e20
mov esi, eax
push str.current_is_update_mode
push esi
call fcn.00402c60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x330]
call fcn.00406330
lea ecx, [ebp - 0x224]
call fcn.004058f0
lea ecx, [ebp - 0x23c]
call fcn.004058f0
lea eax, [ebp - 0x254]
push eax
call fcn.00423c30
add esp, 4
lea ecx, [ebp - 0x254]
call fcn.00405940
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x425ef9
mov esi, dword [0x4a50e0]
call fcn.0040aed0
mov ecx, eax
test ecx, ecx
je 0x426017
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x288]
push esi
mov dword [ebp - 0x288], eax
call fcn.00408bc0
test al, al
jne 0x425b32
test esi, esi
jne 0x425b11
xor ecx, ecx
jmp 0x425b25
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425b16
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x288]
call fcn.0040b820
push 1
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [ebp - 0x288]
lea eax, [ebp - 0x220]
push esi
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push 1
push eax
mov dword [ebp - 0x230], 0xc
mov dword [ebp - 0x228], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x425ba6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425ba6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425bbd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x425e3b
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x425d09
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040d860
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x330]
push 0xb1
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00404e20
mov esi, eax
push str.CheckInstance_Exist
push esi
call fcn.00406150
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x330]
call fcn.00406330
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x425cb4
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425caa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426021
push edx
push ecx
call fcn.00446e66
add esp, 8
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
cmp edx, 0x10
jb 0x425d09
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x425cff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426021
push edx
push ecx
call fcn.00446e66
add esp, 8
push 0
push 0x486858
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x425e3b
push 0
push 0xbb8
push 2
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0x3e9
push ecx
push eax
push 0x4a
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
call fcn.0042e4b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x425e25
push 0x73
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcwin11installenvcheck.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040d860
push 3
push 0x485cd4
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040d860
call fcn.0042e4b0
mov edi, eax
lea ecx, [ebp - 0x330]
push 0xb5
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00404e20
mov esi, eax
push str.SendCommand_kCopydataMsgShowWnd
push esi
call fcn.00402c60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x330]
call fcn.00406330
lea ecx, [ebp - 0x224]
call fcn.004058f0
lea ecx, [ebp - 0x23c]
call fcn.004058f0
lea ecx, [ebp - 0x254]
call fcn.00405940
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x425ef9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00423910
mov ecx, dword [0x4a81c4]
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x294], eax
test ecx, ecx
jne 0x425ea7
push 0x4a5094
call esi
cmp dword [0x4a81c4], 0
jne 0x425e96
push 4
call fcn.0042f5b0
add esp, 4
test eax, eax
je 0x425e88
mov ecx, eax
call fcn.004483a0
mov ecx, eax
jmp 0x425e8a
xor ecx, ecx
xchg dword [ebp - 0x288], eax
mov dword [0x4a81c4], ecx
push 0x4a5094
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4a81c4]
push 0
push 0
push 0
push 0
push str.close
call fcn.00448450
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x425ef9
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425eef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426026
push edx
push ecx
call fcn.00446e66
add esp, 8
mov edi, dword [0x4a8140]
add edi, 0x10
push edi
call esi
mov esi, dword [0x4a862c]
test esi, esi
je 0x425f57
cmp dword [esi + 4], 0
jle 0x425f25
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4a862c]
test esi, esi
je 0x425f57
mov eax, dword [esi]
test eax, eax
je 0x425f3e
push eax
call fcn.00458430
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00446e66
add esp, 8
push edi
mov dword [0x4a862c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4a8628]
test esi, esi
je 0x425fb0
mov eax, dword [esi]
test eax, eax
je 0x425f87
push eax
call fcn.00458430
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x425f9e
push eax
call fcn.00458430
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.00446e66
add esp, 8
mov ecx, 0x4a85f4
call fcn.00424710
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0042ec20
call fcn.00430750
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
pop edi
pop esi
test ebx, ebx
pop ebx
jg 0x425fe8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x294]
xor ecx, ebp
call fcn.00447113
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00406bd0
call fcn.00458349
call fcn.00458349
call fcn.00458349
push 0x80004005
call fcn.00406bd0
call fcn.00458349
call fcn.00458349
int3