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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x4f0464]
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, 0x4f41fc
push 0
call fcn.00437a80
lea ecx, [ebp - 0x289]
call fcn.00439f70
push 0
push 0
push str.win11check
call fcn.00437be0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0048c160
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.00445480
push dword [0x4ef10c]
push str.winupdate
push 1
call fcn.00421770
mov ecx, eax
call fcn.00468480
push 1
call fcn.00447030
add esp, 4
call fcn.0040f380
mov ecx, eax
test ecx, ecx
je 0x43be1d
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.0040fcd0
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43b425
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.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.00411d10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x104
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004092d0
mov esi, eax
push str.cmdline:
push esi
call fcn.0040a600
test ebx, ebx
mov ecx, 0x4c19e4
cmovne ecx, ebx
push ecx
push esi
call fcn.00407110
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.0040a7e0
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x43b3d0
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b3c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be27
push edx
push ecx
call fcn.00466e06
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 0x43b425
mov ecx, dword [ebp - 0x254]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43b41b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be27
push edx
push ecx
call fcn.00466e06
add esp, 8
call fcn.00436140
test al, al
jne 0x43b60b
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43b501
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.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.00411d10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x108
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004092d0
mov esi, eax
push str.parent_sign_check_not_pass
push esi
call fcn.0040a600
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.0040a7e0
lea ecx, [ebp - 0x224]
call fcn.00409da0
lea ecx, [ebp - 0x23c]
call fcn.00409da0
xor ebx, ebx
mov edi, dword [0x4f3acc]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x4f4234]
test esi, esi
je 0x43b565
cmp dword [esi + 4], 0
jle 0x43b533
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x4f4234]
test esi, esi
je 0x43b565
mov eax, dword [esi]
test eax, eax
je 0x43b54c
push eax
call fcn.0048f360
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00466e06
add esp, 8
push edi
mov dword [0x4f4234], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x4f4230]
pop edi
test esi, esi
je 0x43b5bf
mov eax, dword [esi]
test eax, eax
je 0x43b596
push eax
call fcn.0048f360
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43b5ad
push eax
call fcn.0048f360
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.00466e06
add esp, 8
mov ecx, 0x4f41fc
call fcn.0043a2a0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004458f0
call fcn.00447420
mov edx, dword [ebp - 0x290]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43b5f7
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.004670b3
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.004366d0
add esp, 4
test al, al
je 0x43b6be
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43b501
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.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.00411d10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x10e
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004092d0
mov esi, eax
push str.popularize
jmp 0x43b4cf
xor eax, eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
call fcn.0044f4b0
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 0x43b710
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x224]
call fcn.00411e00
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x284]
call fcn.0044fce0
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x43b77e
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be2c
push edx
push ecx
call fcn.00466e06
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.00411e00
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x284]
call fcn.0044fb00
mov edx, dword [ebp - 0x228]
mov esi, eax
cmp edx, 8
jb 0x43b81f
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43b815
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be31
push edx
push ecx
call fcn.00466e06
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.0044f5b0
test esi, esi
je 0x43b93d
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43b91e
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.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.00411d10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x114
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004092d0
mov esi, eax
push str.current_is_update_mode
push esi
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.0040a7e0
lea ecx, [ebp - 0x224]
call fcn.00409da0
lea ecx, [ebp - 0x23c]
call fcn.00409da0
lea eax, [ebp - 0x254]
push eax
call fcn.004397b0
add esp, 4
lea ecx, [ebp - 0x254]
call fcn.00409df0
jmp 0x43b501
mov esi, dword [0x4ef104]
call fcn.0040f380
mov ecx, eax
test ecx, ecx
je 0x43be36
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x288]
push esi
mov dword [ebp - 0x288], eax
call fcn.0040d070
test al, al
jne 0x43b99c
test esi, esi
jne 0x43b978
xor ecx, ecx
jmp 0x43b98f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b980
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x288]
call fcn.0040fcd0
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 0x43ba10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43ba10
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 0x43ba28
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x43bca0
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43bb74
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.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.00411d10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x11c
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004092d0
mov esi, eax
push str.CheckInstance_Exist
push esi
call fcn.0040a600
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.0040a7e0
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x43bb1f
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bb15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be40
push edx
push ecx
call fcn.00466e06
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 0x43bb74
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bb6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be40
push edx
push ecx
call fcn.00466e06
add esp, 8
push 0
push 0x4c2708
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x43bca0
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.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43bc90
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.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.00411d10
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x32c]
push 0x120
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004092d0
mov esi, eax
push str.SendCommand_kCopydataMsgShowWnd
push esi
call fcn.00407110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x32c]
call fcn.0040a7e0
lea ecx, [ebp - 0x224]
call fcn.00409da0
lea ecx, [ebp - 0x23c]
call fcn.00409da0
lea ecx, [ebp - 0x254]
call fcn.00409df0
jmp 0x43b501
lea eax, [ebp - 0x224]
push eax
call fcn.0042a160
mov esi, eax
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x43bcb9
mov esi, dword [esi]
mov ecx, dword [0x4f3b60]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
jne 0x43bd13
push 0x4ef0b8
call edi
cmp dword [0x4f3b60], 0
jne 0x43bd02
push 4
call fcn.00446280
add esp, 4
test eax, eax
je 0x43bcf0
mov ecx, eax
call fcn.004683f0
jmp 0x43bcf2
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x288]
lock or dword [ecx], edx
mov dword [0x4f3b60], eax
push 0x4ef0b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4f3b60]
push 0
push 0
push 1
push esi
push str.start_exe
call fcn.004684a0
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x43bd64
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be45
push edx
push ecx
call fcn.00466e06
add esp, 8
push dword [ebp + 0x14]
push ebx
call fcn.00439490
mov ecx, dword [0x4f3b60]
add esp, 8
mov ebx, eax
test ecx, ecx
jne 0x43bdc6
push 0x4ef0b8
call edi
cmp dword [0x4f3b60], 0
jne 0x43bdb5
push 4
call fcn.00446280
add esp, 4
test eax, eax
je 0x43bda3
mov ecx, eax
call fcn.004683f0
jmp 0x43bda5
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x288]
lock or dword [ecx], edx
mov dword [0x4f3b60], eax
push 0x4ef0b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4f3b60]
push 0
push 0
push 0
push 0
push str.close
call fcn.004684a0
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x43b503
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43be0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43be4a
push edx
push ecx
call fcn.00466e06
add esp, 8
jmp 0x43b503
push 0x80004005
call fcn.0040b080
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
push 0x80004005
call fcn.0040b080
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
int3