Function at 0x40ff4d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, edx
mov esi, edx
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
test ebx, ebx
je 0x41000b
cmp word [ebx], dx
je 0x41000b
push edx
push str.ignored
lea eax, [ebp - 8]
push eax
call fcn.00433a55
mov edi, eax
test edi, edi
jns 0x40ffa2
push str.Failed_to_initialize_command_line.
push edi
call fcn.00430877
pop ecx
pop ecx
jmp 0x4109c9
push 0
push ebx
lea eax, [ebp - 8]
push eax
call fcn.00433a55
mov edi, eax
test edi, edi
jns 0x40ffbb
push str.Failed_to_copy_command_line.
jmp 0x40ff95
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x410006
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, 0x80004005
test edi, edi
cmovns edi, eax
push edi
push 0x389
push str.core.cpp
call fcn.0042fef9
push str.Failed_to_get_command_line.
jmp 0x40ff95
mov eax, dword [ebp - 4]
xor edx, edx
xor ebx, ebx
inc ebx
cmp eax, ebx
jle 0x41097b
push 0x2f
pop edx
mov dword [ebp + 8], 0x2d
mov dword [ebp - 0x10], edx
mov ecx, dword [esi + ebx*4]
movzx eax, word [ecx]
cmp ax, word [ebp + 8]
je 0x410038
cmp ax, dx
jne 0x410801
push 0xffffffffffffffff
push 0x4443f4
push 0xffffffffffffffff
lea eax, [ecx + 2]
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410845
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x4426c8
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410845
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x444438
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x41083d
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x44443c
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x41083d
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x444440
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x41083d
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x44444c
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410823
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x444450
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410823
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x44445c
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410823
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x444460
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410823
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.passive
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4101ab
mov ecx, dword [ebp + 0xc]
push 3
xor edx, edx
pop eax
mov dword [ecx + 4], eax
cmp dword [ecx + 8], edx
jne 0x41086e
mov dword [ecx + 8], eax
jmp 0x41086e
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.norestart
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4101d9
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 1
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.forcerestart
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410207
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 4
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.promptrestart
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410235
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 2
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.layout
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 2
pop edx
cmp eax, edx
jne 0x4102ab
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 1
je 0x410260
mov dword [ecx], edx
lea edx, [ebx + 1]
cmp edx, dword [ebp - 4]
jge 0x41086c
mov eax, dword [esi + ebx*4 + 4]
movzx eax, word [eax]
cmp ax, word [ebp + 8]
je 0x41086c
cmp ax, word [ebp - 0x10]
je 0x41086c
mov ebx, edx
push 3
push dword [esi + ebx*4]
lea eax, [ecx + 0x24]
push eax
call fcn.0043173f
mov edi, eax
test edi, edi
jns 0x41086c
push str.Failed_to_copy_path_for_layout_directory.
jmp 0x410791
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.uninstall
push 0xffffffffffffffff
add eax, edx
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4102e2
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], 1
je 0x41086e
mov dword [ecx], 3
jmp 0x41086e
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.repair
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41031a
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], 1
je 0x41086e
mov dword [ecx], 6
jmp 0x41086e
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.modify
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410352
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], 1
je 0x41086e
mov dword [ecx], 5
jmp 0x41086e
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.package
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410812
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.update
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410812
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.noaupause
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4103c3
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov dword [eax], edx
jmp 0x41086e
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.keepaupaused
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4103fa
mov eax, dword [ebp + 0x1c]
xor edx, edx
cmp dword [eax], edx
je 0x41086e
mov dword [eax], 2
jmp 0x41086e
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x4436d4
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410444
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x410880
push 0
push dword [esi + ebx*4]
push dword [ebp + 0x30]
call fcn.00433da8
mov edi, eax
test edi, edi
jns 0x41086c
push str.Failed_to_copy_parent.
jmp 0x410791
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.parent:none
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410486
push 0
push 0x43b580
push dword [ebp + 0x30]
call fcn.00433da8
mov edi, eax
test edi, edi
jns 0x41086c
push str.Failed_to_initialize_parent_to_none.
jmp 0x410791
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.log.append
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4104d1
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x4108a9
push 0
push dword [esi + ebx*4]
push dword [ebp + 0x2c]
call fcn.00433da8
mov edi, eax
test edi, edi
js 0x41089f
mov eax, dword [ebp + 0x28]
or dword [eax], 1
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.elevated
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410524
lea eax, [ebx + 3]
cmp eax, dword [ebp - 4]
jge 0x4108cf
mov eax, dword [ebp + 0x20]
push dword [ebp + 0x10]
inc ebx
mov dword [eax], 3
lea eax, [esi + ebx*4]
push eax
call fcn.004109f1
mov edi, eax
test edi, edi
js 0x4108c5
add ebx, 2
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.unelevated
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410575
lea eax, [ebx + 3]
cmp eax, dword [ebp - 4]
jge 0x4108eb
mov eax, dword [ebp + 0x20]
push dword [ebp + 0x10]
inc ebx
mov dword [eax], 1
lea eax, [esi + ebx*4]
push eax
call fcn.004109f1
mov edi, eax
test edi, edi
jns 0x41051c
push str.Failed_to_parse_unelevated_connection.
jmp 0x410791
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.embedded
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 2
pop ecx
cmp eax, ecx
jne 0x4105c8
lea eax, [ebx + 3]
cmp eax, dword [ebp - 4]
jge 0x410907
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
inc ebx
mov dword [eax], ecx
lea eax, [esi + ebx*4]
push eax
call fcn.004109f1
mov edi, eax
test edi, edi
jns 0x41051c
push str.Failed_to_parse_embedded_connection.
jmp 0x410791
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.related.detect
push 0xffffffffffffffff
add eax, ecx
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41060a
xor ecx, ecx
inc ecx
mov eax, dword [ebp + 0xc]
push ecx
mov dword [eax + 0x1c], ecx
call fcn.0040e6e0
push eax
push 0x20000003
push 2
call fcn.00402003
add esp, 0xc
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.related.upgrade
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 2
pop ecx
cmp eax, ecx
je 0x4105e9
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.related.addon
push 0xffffffffffffffff
add eax, ecx
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41064e
push 3
pop ecx
jmp 0x4105e9
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.related.patch
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410671
push 4
jmp 0x41064b
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.related.update
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410694
push 6
jmp 0x41064b
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.passthrough
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4106c2
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], 1
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push str.burn.disable.unelevate
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4106ef
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
jmp 0x41086c
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x43b530
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41071c
mov eax, dword [ebp + 0x18]
mov dword [eax], 3
jmp 0x41086c
push str.burn.ignoredependencies
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, str.burn.ignoredependencies
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [esi + ebx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41079e
push str.burn.ignoredependencies
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi + ebx*4]
push 0x3d
lea eax, [ecx + eax*2]
pop ecx
cmp cx, word [eax + 2]
jne 0x410929
add eax, 4
xor ecx, ecx
cmp cx, word [eax]
je 0x410929
push ecx
push eax
push dword [ebp + 0x34]
call fcn.00433da8
mov edi, eax
test edi, edi
jns 0x41086c
push str.Failed_to_allocate_the_list_of_dependencies_to_ignore.
push edi
call fcn.00430877
pop ecx
pop ecx
jmp 0x4109bb
mov eax, dword [esi + ebx*4]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.burn.
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, eax
jl 0x4107fe
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.burn.
call esi
push eax
mov eax, str.burn.
push eax
push eax
call esi
mov esi, dword [ebp - 0xc]
push eax
mov eax, dword [esi + ebx*4]
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x410801
mov eax, dword [esi + ebx*4]
add eax, 2
push eax
push 0xa0000002
jmp 0x4105fb
mov esi, dword [ebp - 0xc]
push dword [esi + ebx*4]
mov eax, dword [ebp + 0xc]
add eax, 0xc
push eax
call fcn.004310c7
jmp 0x41086c
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], edx
jne 0x41086e
mov dword [ecx], 4
jmp 0x41086e
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ecx + 4], 2
cmp dword [ecx + 8], edx
jne 0x41086e
mov dword [ecx + 8], 3
jmp 0x41086e
mov eax, dword [ebp + 0xc]
jmp 0x4106e4
mov eax, dword [ebp + 0x28]
and dword [eax], 0xfffffffe
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x41095f
push 0
push dword [esi + ebx*4]
push dword [ebp + 0x2c]
call fcn.00433da8
mov edi, eax
test edi, edi
js 0x410955
xor edx, edx
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x41097b
push 0x2f
pop edx
jmp 0x410023
mov esi, 0x80070057
push esi
push 0x405
push str.core.cpp
call fcn.0042fef9
push str.Must_specify_a_value_for_parent.
jmp 0x410921
push str.Failed_to_copy_append_log_file_path.
jmp 0x410791
mov esi, 0x80070057
push esi
push 0x416
push str.core.cpp
call fcn.0042fef9
push str.Must_specify_a_path_for_append_log.
jmp 0x410921
push str.Failed_to_parse_elevated_connection.
jmp 0x410791
mov esi, 0x80070057
push esi
push 0x424
push str.core.cpp
call fcn.0042fef9
push str.Must_specify_the_elevated_name__token_and_parent_process_id.
jmp 0x410921
mov esi, 0x80070057
push esi
push 0x434
push str.core.cpp
call fcn.0042fef9
push str.Must_specify_the_unelevated_name__token_and_parent_process_id.
jmp 0x410921
mov esi, 0x80070057
push esi
push 0x444
push str.core.cpp
call fcn.0042fef9
push str.Must_specify_the_embedded_name__token_and_parent_process_id.
mov edi, esi
push esi
jmp 0x410792
mov esi, 0x80070057
push esi
push 0x480
push str.core.cpp
call fcn.0042fef9
push str.burn.ignoredependencies
push str.Missing_required_parameter_for_switch:__ls
push esi
mov edi, esi
call fcn.00430877
add esp, 0xc
jmp 0x4109bb
push str.Failed_to_copy_log_file_path.
jmp 0x410791
mov esi, 0x80070057
push esi
push 0x399
push str.core.cpp
call fcn.0042fef9
push str.Must_specify_a_path_for_log.
jmp 0x410921
mov eax, dword [ebp + 0x18]
cmp dword [eax], 3
je 0x4109e0
mov ecx, dword [ebp + 0x20]
cmp dword [ecx], 2
je 0x410990
cmp dword [ecx], 3
jne 0x4109e0
mov dword [eax], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
jne 0x4109a3
mov dword [eax], 4
cmp dword [eax + 4], edx
jne 0x4109af
mov dword [eax + 4], 4
cmp dword [eax + 8], edx
jne 0x4109bb
mov dword [eax + 8], 2
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4109c9
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], 0
je 0x4109d7
push dword [ebp - 8]
call fcn.00434266
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x30
cmp dword [eax], 2
jne 0x410996
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 1
jmp 0x410999