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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x4e23d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
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 - 0x294]
mov dword [ebp - 0x294], 8
push eax
mov dword [ebp - 0x290], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x4e5d64
push 0
call fcn.0042ee30
lea ecx, [ebp - 0x289]
call fcn.004313d0
push 0
push 0
push str.win11check
call fcn.0042ef90
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004813a0
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.0043c2d0
push dword [0x4e110c]
push str.winupdate
push 1
call fcn.0041d500
mov ecx, eax
call fcn.0045d630
push 1
call fcn.0043de80
add esp, 4
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x4331fd
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
push 8
add eax, 0x10
lea ecx, [ebp - 0x290]
push str.embedded
mov dword [ebp - 0x290], eax
call fcn.0040ba60
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x432805
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040daa0
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x104
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405060
mov esi, eax
push str.cmdline:
push esi
call fcn.00406390
test ebx, ebx
mov ecx, 0x4b59e4
cmovne ecx, ebx
push ecx
push esi
call fcn.00402ea0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.00406570
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x4327b0
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4327a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433207
push edx
push ecx
call fcn.0045bfb6
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 0x432805
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4327fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433207
push edx
push ecx
call fcn.0045bfb6
add esp, 8
call fcn.0042d4f0
test al, al
jne 0x4329eb
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4328e1
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040daa0
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x108
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405060
mov esi, eax
push str.parent_sign_check_not_pass
push esi
call fcn.00406390
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.00406570
lea ecx, [ebp - 0x224]
call fcn.00405b30
lea ecx, [ebp - 0x23c]
call fcn.00405b30
xor ebx, ebx
mov edi, dword [0x4e5864]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4e5d9c]
test esi, esi
je 0x432945
cmp dword [esi + 4], 0
jle 0x432913
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4e5d9c]
test esi, esi
je 0x432945
mov eax, dword [esi]
test eax, eax
je 0x43292c
push eax
call fcn.00484590
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0045bfb6
add esp, 8
push edi
mov dword [0x4e5d9c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4e5d98]
pop edi
test esi, esi
je 0x43299f
mov eax, dword [esi]
test eax, eax
je 0x432976
push eax
call fcn.00484590
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43298d
push eax
call fcn.00484590
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.0045bfb6
add esp, 8
mov ecx, 0x4e5d64
call fcn.00431700
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0043c740
call fcn.0043e270
mov edx, dword [ebp - 0x290]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4329d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0045c263
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.0042da80
add esp, 4
test al, al
je 0x432a9e
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4328e1
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040daa0
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x10e
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405060
mov esi, eax
push str.popularize
jmp 0x4328af
xor eax, eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
call fcn.00445ee0
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 0x432af0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x224]
call fcn.0040db90
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x284]
call fcn.00446710
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x432b5e
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432b54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43320c
push edx
push ecx
call fcn.0045bfb6
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.0040db90
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00446530
mov edx, dword [ebp - 0x228]
mov esi, eax
cmp edx, 8
jb 0x432bff
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432bf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433211
push edx
push ecx
call fcn.0045bfb6
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.00445fe0
test esi, esi
je 0x432d1d
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x432cfe
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040daa0
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x114
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405060
mov esi, eax
push str.current_is_update_mode
push esi
call fcn.00402ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.00406570
lea ecx, [ebp - 0x224]
call fcn.00405b30
lea ecx, [ebp - 0x23c]
call fcn.00405b30
lea eax, [ebp - 0x254]
push eax
call fcn.00430c10
add esp, 4
lea ecx, [ebp - 0x254]
call fcn.00405b80
jmp 0x4328e1
mov esi, dword [0x4e1104]
call fcn.0040b110
mov ecx, eax
test ecx, ecx
je 0x433216
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x288]
push esi
mov dword [ebp - 0x288], eax
call fcn.00408e00
test al, al
jne 0x432d7c
test esi, esi
jne 0x432d58
xor ecx, ecx
jmp 0x432d6f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432d60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x288]
call fcn.0040ba60
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 0x432df0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x432df0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432e08
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x433080
call fcn.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x432f54
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040daa0
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x11c
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405060
mov esi, eax
push str.CheckInstance_Exist
push esi
call fcn.00406390
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.00406570
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x432eff
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432ef5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433220
push edx
push ecx
call fcn.0045bfb6
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 0x432f54
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x432f4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433220
push edx
push ecx
call fcn.0045bfb6
add esp, 8
push 0
push 0x4b6708
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x433080
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.0043bfd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433070
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.0040daa0
push 3
push 0x4b5b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040daa0
call fcn.0043bfd0
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x120
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00405060
mov esi, eax
push str.SendCommand_kCopydataMsgShowWnd
push esi
call fcn.00402ea0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.00406570
lea ecx, [ebp - 0x224]
call fcn.00405b30
lea ecx, [ebp - 0x23c]
call fcn.00405b30
lea ecx, [ebp - 0x254]
call fcn.00405b80
jmp 0x4328e1
lea eax, [ebp - 0x224]
push eax
call fcn.0042a570
mov esi, eax
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x433099
mov esi, dword [esi]
mov ecx, dword [0x4e58f8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
jne 0x4330f3
push 0x4e10b8
call edi
cmp dword [0x4e58f8], 0
jne 0x4330e2
push 4
call fcn.0043d0d0
add esp, 4
test eax, eax
je 0x4330d0
mov ecx, eax
call fcn.0045d5a0
jmp 0x4330d2
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x288]
lock or dword [ecx], edx
mov dword [0x4e58f8], eax
push 0x4e10b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4e58f8]
push 0
push 0
push 1
push esi
push str.start_exe
call fcn.0045d650
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x433144
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43313a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433225
push edx
push ecx
call fcn.0045bfb6
add esp, 8
push dword [ebp + 0x14]
push ebx
call fcn.004308f0
mov ecx, dword [0x4e58f8]
add esp, 8
mov ebx, eax
test ecx, ecx
jne 0x4331a6
push 0x4e10b8
call edi
cmp dword [0x4e58f8], 0
jne 0x433195
push 4
call fcn.0043d0d0
add esp, 4
test eax, eax
je 0x433183
mov ecx, eax
call fcn.0045d5a0
jmp 0x433185
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x288]
lock or dword [ecx], edx
mov dword [0x4e58f8], eax
push 0x4e10b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4e58f8]
push 0
push 0
push 0
push 0
push str.close
call fcn.0045d650
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x4328e3
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4331ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43322a
push edx
push ecx
call fcn.0045bfb6
add esp, 8
jmp 0x4328e3
push 0x80004005
call fcn.00406e10
call fcn.004844a9
call fcn.004844a9
call fcn.004844a9
push 0x80004005
call fcn.00406e10
call fcn.004844a9
call fcn.004844a9
call fcn.004844a9
int3