Function at 0x415dbf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x4a0]
sub esp, 0x4a0
push 0xffffffffffffffff
push 0x4b91bb
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp + 0x49c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x4a8]
mov dword [ebp - 0x20], eax
call fcn.0043e590
mov edi, str.SaBsi.cpp
test al, al
jne 0x415e66
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp + 0x84]
mov dword [ebp + 0x84], edi
lea ecx, [ebp - 0xdc]
mov dword [ebp + 0x88], 0xd9
call fcn.00412b24
mov edx, str.InitSecureDllLoading_failed.
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
call fcn.0041230c
xor ebx, ebx
mov dword [ebp + 0x80], ebx
lea ecx, [ebp + 0x80]
mov dword [ebp - 4], ebx
call fcn.00415d03
test al, al
jne 0x415ed9
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp + 0x84]
mov dword [ebp + 0x84], edi
lea ecx, [ebp - 0xdc]
mov dword [ebp + 0x88], 0xdf
call fcn.00412b24
mov edx, str.WaitForOtherBSIToExit_failed
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
call fcn.0041230c
or ebx, 0xffffffff
jmp 0x416875
push ebx
push ebx
mov byte [ebp - 0x15], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x415eed
cmp eax, 1
jne 0x415ef1
mov byte [ebp - 0x15], 1
lea eax, [ebp + 0x80]
mov dword [ebp - 0x3c], eax
mov esi, 0x4de2c2
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push esi
push 4
movlpd qword [ebp + 0x58], xmm0
call fcn.00489300
pop ecx
pop ecx
test eax, eax
je 0x415f21
mov dword [eax], 0x4eac9c
jmp 0x415f23
mov eax, ebx
push eax
lea ecx, [ebp + 0x58]
call fcn.00416a8b
mov byte [ebp - 4], 3
cmp dword [ebp + 0x58], 0
jne 0x415f8c
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp + 0x84]
mov dword [ebp + 0x84], edi
lea ecx, [ebp - 0xdc]
mov dword [ebp + 0x88], 0xec
call fcn.00412b24
mov edx, str.Failed_to_create_xml_updater_logger
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
call fcn.0041230c
jmp 0x416855
xorps xmm0, xmm0
push esi
push 4
movlpd qword [ebp + 0x84], xmm0
call fcn.00489300
pop ecx
pop ecx
test eax, eax
je 0x415fad
mov dword [eax], 0x4eac94
jmp 0x415faf
mov eax, ebx
push eax
lea ecx, [ebp + 0x84]
call fcn.00416aea
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0x84]
test esi, esi
jne 0x416016
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp + 0x60]
mov dword [ebp + 0x60], edi
lea ecx, [ebp - 0xdc]
mov dword [ebp + 0x64], 0xf3
call fcn.00412b24
mov edx, str.Failed_to_create_xml_updater_signature_verifier
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
call fcn.0041230c
jmp 0x416846
push 0x38
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0048b4c0
xorps xmm0, xmm0
mov dword [ebp + 8], 0x4eaca0
movups xmmword [ebp + 0xc], xmm0
mov dword [ebp + 0x2c], ebx
movups xmmword [ebp + 0x1c], xmm0
mov word [ebp + 0x30], bx
mov byte [ebp + 0x32], bl
mov byte [ebp + 0x34], bl
mov dword [ebp + 0x38], ebx
mov byte [ebp + 0x3c], bl
push 0x4de2c2
push 0x80
movlpd qword [ebp + 0x60], xmm0
call fcn.00489300
add esp, 0x14
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x416073
push ecx
mov ecx, eax
call fcn.00427780
jmp 0x416075
mov eax, ebx
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 5
call fcn.00416b4a
mov byte [ebp - 4], 7
mov edi, dword [ebp + 0x60]
test edi, edi
jne 0x4160de
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x10], 0xfc
call fcn.00412b24
mov edx, str.Failed_to_allocate_memory_for_event_sender_service
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
call fcn.0041230c
jmp 0x416832
push ecx
push ecx
mov ecx, dword [ebp + 0x88]
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
test ecx, ecx
je 0x4160f5
lock inc dword [ecx + 4]
mov dword [eax + 4], ecx
push ecx
mov dword [eax], esi
push ecx
mov eax, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x5c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
test ecx, ecx
je 0x416117
lock inc dword [ecx + 4]
mov edx, dword [ebp + 0x58]
push 1
push ecx
mov dword [eax + 4], ecx
mov dword [eax], edx
push ecx
mov ecx, dword [ebp + 0x64]
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
test ecx, ecx
je 0x416135
lock inc dword [ecx + 4]
mov dword [eax + 4], ecx
lea ecx, [ebp + 8]
mov dword [eax], edi
call fcn.00444530
test al, al
jne 0x416192
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x10], 0x10c
call fcn.00412b24
mov edx, str.failed_to_initialize_updater
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
jmp 0x4162ab
mov eax, dword [edi]
push ebx
push ebx
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
push ebx
push ebx
push str.Started
push str.Process
push str.BootStrapInstaller
call dword [0x4ce328]
mov ecx, edi
call esi
lea eax, [ebp + 4]
mov dword [ebp + 4], ebx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x41621f
call fcn.0041a770
push 1
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x10], 0x119
call fcn.00412b24
mov edx, str.CommandLineToArgvW_failed:
lea ecx, [ebp - 0x17c]
call fcn.00412b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x20]
jmp 0x41629a
push 0x208
lea eax, [ebp + 0x8c]
push ebx
push eax
call fcn.0048b4c0
add esp, 0xc
lea eax, [ebp + 0x8c]
push 0x104
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4162b8
call fcn.0041a770
push 1
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x10], 0x120
call fcn.00412b24
mov edx, str.GetModuleFileName_failed:
lea ecx, [ebp - 0x17c]
call fcn.00412b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x17c]
call fcn.00416e70
lea ecx, [ebp - 0x17c]
call fcn.0041230c
or ebx, 0xffffffff
jmp 0x416832
push ecx
lea edx, [ebp + 0x8c]
lea ecx, [ebp + 0x40]
call fcn.0041e2f0
mov byte [ebp - 4], 8
lea eax, [ebp + 0x294]
mov dword [esp], 0x208
push ebx
push eax
call fcn.0048b4c0
add esp, 0xc
lea ecx, [ebp + 0x294]
cmp dword [ebp + 0x54], 8
lea eax, [ebp + 0x40]
cmovae eax, dword [ebp + 0x40]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x4163b4
call fcn.0041a770
push 2
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x10], 0x128
call fcn.00412b24
mov edx, str.GetLongPathName_failed__
lea ecx, [ebp - 0x17c]
call fcn.00412b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x17c]
call fcn.00416e70
lea ecx, [ebp - 0x17c]
call fcn.00416ee0
cmp dword [ebp + 0x54], 8
lea eax, [ebp + 0x40]
lea edx, [ebp - 0x1c]
cmovae eax, dword [ebp + 0x40]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x1c], eax
call fcn.00415130
lea ecx, [ebp - 0x17c]
call fcn.0041230c
cmp dword [ebp + 0x54], 8
lea eax, [ebp + 0x40]
mov ecx, 0x104
cmovae eax, dword [ebp + 0x40]
push ecx
push eax
push ecx
lea eax, [ebp + 0x294]
push eax
call fcn.0048f5e6
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [ebp + 0x294]
mov dword [ebp - 0x28], ebx
push eax
mov dword [ebp - 0x24], 7
call fcn.004126bd
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x68]
xor eax, eax
mov dword [ebp + 0x68], ebx
push 0x4ea0b0
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], 7
mov word [ebp + 0x68], ax
call fcn.004126bd
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp + 8]
call fcn.00446a60
lea ecx, [ebp + 0x68]
call fcn.00414839
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00414839
mov edx, dword [ebp + 4]
mov ecx, esi
push str._no_self_update
call fcn.00415972
pop ecx
xor ecx, ecx
mov dword [ebp + 0x68], ebx
mov word [ebp + 0x68], cx
test al, al
mov edx, str.FALSE
mov dword [ebp + 0x78], ebx
mov ecx, str.TRUE
mov dword [ebp + 0x7c], 7
cmovne ecx, edx
push ecx
lea ecx, [ebp + 0x68]
call fcn.004126bd
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x38], ebx
push str.SELF_UPDATE_ALLOWED
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.004126bd
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.00446a60
lea ecx, [ebp - 0x38]
call fcn.00414839
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 8
call fcn.00414839
mov edx, dword [ebp + 4]
mov ecx, esi
push str._xml
call fcn.00415972
pop ecx
test al, al
je 0x416531
xor eax, eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], 7
mov word [ebp + 0x68], ax
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp + 4]
mov ecx, esi
push eax
push str._xml
call fcn.004159a4
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x38], ebx
push str.MAIN_XML
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.004126bd
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.00446a60
lea ecx, [ebp - 0x38]
call fcn.00414839
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 8
call fcn.00414839
mov edx, dword [ebp + 4]
mov ecx, esi
push str._store_xml_on_disk
call fcn.00415972
pop ecx
test al, al
je 0x4165ac
push 7
pop esi
xor eax, eax
mov dword [ebp + 0x68], ebx
push str.TRUE
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], esi
mov word [ebp + 0x68], ax
call fcn.004126bd
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x38], ebx
push str.STORE_XML_ON_DISK
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
mov word [ebp - 0x38], ax
call fcn.004126bd
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
call fcn.00446a60
lea ecx, [ebp - 0x38]
call fcn.00414839
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 8
call fcn.00414839
mov eax, dword [edi]
push ebx
push ebx
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
push ebx
push ebx
push str.Started
push str.Install
push str.BootStrapInstaller
call dword [0x4ce328]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x20]
lea eax, [ebp + 8]
mov edx, dword [ebp + 4]
mov ecx, esi
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.004159ea
pop ecx
pop ecx
test al, al
jne 0x416633
call fcn.0041a770
push 2
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x10], 0x140
call fcn.00412b24
lea ecx, [ebp - 0xdc]
call fcn.00416f50
lea ecx, [ebp - 0xdc]
call fcn.0041230c
mov edx, dword [ebp + 4]
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00415b32
pop ecx
test al, al
jne 0x4166b6
mov esi, dword [edi]
push ebx
push ebx
push ebx
mov ecx, dword [esi + 8]
push ebx
push ebx
push str.InvalidArguments
push str.Install
push str.BootStrapInstaller
call dword [0x4ce328]
mov ecx, edi
call dword [esi + 8]
call fcn.0041a770
push 1
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x10], 0x146
call fcn.00412b24
mov edx, str.Some_command_line_BSI_variables_are_invalid.
lea ecx, [ebp - 0xdc]
call fcn.00412b80
lea ecx, [ebp - 0xdc]
jmp 0x416822
lea eax, [ebp + 8]
mov dword [ebp], ebx
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00414a28
mov edx, dword [ebp]
test al, al
je 0x416788
test edx, edx
je 0x4166e1
cmp edx, 1
jne 0x416788
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
mov esi, dword [eax + 8]
call fcn.0041893c
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x4166fa
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
push str.Ended
push str.Install
push str.BootStrapInstaller
mov ecx, esi
call dword [0x4ce328]
mov ecx, edi
call esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.004146ca
call fcn.0041a770
push 3
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x10], 0x152
call fcn.00412b24
mov edx, str.BSI_installation_success._Exit_code:
lea ecx, [ebp - 0x17c]
call fcn.00412b80
lea edx, [ebp]
lea ecx, [ebp - 0x17c]
call fcn.00416fc0
lea ecx, [ebp - 0x17c]
call fcn.0041230c
mov ebx, dword [ebp]
jmp 0x41682a
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
mov esi, dword [eax + 8]
call fcn.0041893c
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 0x10
jb 0x4167a1
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push eax
push str.Failed
push str.Install
push str.BootStrapInstaller
mov ecx, esi
call dword [0x4ce328]
mov ecx, edi
call esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.004146ca
call fcn.0041a770
push 1
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.0041a500
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.SaBsi.cpp
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x10], 0x157
call fcn.00412b24
mov edx, str.SA_WA_installation_failed_with_exit_code:
lea ecx, [ebp - 0x17c]
call fcn.00412b80
lea edx, [ebp]
lea ecx, [ebp - 0x17c]
call fcn.00416fc0
lea ecx, [ebp - 0x17c]
call fcn.0041230c
or ebx, 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00414839
mov ecx, dword [ebp + 0x64]
test ecx, ecx
je 0x41683e
call fcn.004188e1
lea ecx, [ebp + 8]
call fcn.004168e1
mov ecx, dword [ebp + 0x88]
test ecx, ecx
je 0x416855
call fcn.004188e1
mov ecx, dword [ebp + 0x5c]
test ecx, ecx
je 0x416861
call fcn.004188e1
lea ecx, [ebp - 0x3c]
call fcn.00416962
cmp byte [ebp - 0x15], 0
je 0x416875
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp + 0x80], 0
je 0x41688a
push dword [ebp + 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x49c]
xor ecx, ebp
call fcn.00488f07
add ebp, 0x4a0
leave
ret 8