Function at 0x4101de
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
mov edi, edx
test ebx, ebx
je 0x41029c
cmp word [ebx], dx
je 0x41029c
push edx
push str.ignored
lea eax, [ebp - 8]
push eax
call fcn.00437b22
mov edi, eax
test edi, edi
jns 0x410233
push str.Failed_to_initialize_command_line.
push edi
call fcn.004348ae
pop ecx
pop ecx
jmp 0x410c5a
push 0
push ebx
lea eax, [ebp - 8]
push eax
call fcn.00437b22
mov edi, eax
test edi, edi
jns 0x41024c
push str.Failed_to_copy_command_line.
jmp 0x410226
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 0x410297
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.00433f1c
push str.Failed_to_get_command_line.
jmp 0x410226
mov eax, dword [ebp - 4]
xor edx, edx
xor ebx, ebx
inc ebx
cmp eax, ebx
jle 0x410c0c
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 0x4102c9
cmp ax, dx
jne 0x410a92
push 0xffffffffffffffff
push 0x4494a4
push 0xffffffffffffffff
lea eax, [ecx + 2]
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ad6
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x447778
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ad6
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x4494e8
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ace
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x4494ec
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ace
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x4494f0
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ace
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x4494fc
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ab4
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x449500
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ab4
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x44950c
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ab4
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x449510
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x410ab4
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 0x41043c
mov ecx, dword [ebp + 0xc]
xor edx, edx
push 3
pop eax
mov dword [ecx + 4], eax
cmp dword [ecx + 8], edx
jne 0x410aff
mov dword [ecx + 8], eax
jmp 0x410aff
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 0x41046a
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 1
jmp 0x410afd
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 0x410498
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 4
jmp 0x410afd
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 0x4104c6
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 2
jmp 0x410afd
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 0x41053c
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 1
je 0x4104f1
mov dword [ecx], edx
lea edx, [ebx + 1]
cmp edx, dword [ebp - 4]
jge 0x410afd
mov eax, dword [esi + ebx*4 + 4]
movzx eax, word [eax]
cmp ax, word [ebp + 8]
je 0x410afd
cmp ax, word [ebp - 0x10]
je 0x410afd
mov ebx, edx
lea eax, [ecx + 0x24]
push 3
push dword [esi + ebx*4]
push eax
call fcn.00435774
mov edi, eax
test edi, edi
jns 0x410afd
push str.Failed_to_copy_path_for_layout_directory.
jmp 0x410a22
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 0x410573
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], 1
je 0x410aff
mov dword [ecx], 3
jmp 0x410aff
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 0x4105ab
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], 1
je 0x410aff
mov dword [ecx], 6
jmp 0x410aff
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 0x4105e3
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], 1
je 0x410aff
mov dword [ecx], 5
jmp 0x410aff
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 0x410aa3
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 0x410aa3
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 0x410654
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov dword [eax], edx
jmp 0x410aff
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 0x41068b
mov eax, dword [ebp + 0x1c]
xor edx, edx
cmp dword [eax], edx
je 0x410aff
mov dword [eax], 2
jmp 0x410aff
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x448784
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4106d5
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x410b11
push 0
push dword [esi + ebx*4]
push dword [ebp + 0x30]
call fcn.00437e7f
mov edi, eax
test edi, edi
jns 0x410afd
push str.Failed_to_copy_parent.
jmp 0x410a22
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 0x410717
push 0
push 0x440580
push dword [ebp + 0x30]
call fcn.00437e7f
mov edi, eax
test edi, edi
jns 0x410afd
push str.Failed_to_initialize_parent_to_none.
jmp 0x410a22
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 0x410762
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x410b3a
push 0
push dword [esi + ebx*4]
push dword [ebp + 0x2c]
call fcn.00437e7f
mov edi, eax
test edi, edi
js 0x410b30
mov eax, dword [ebp + 0x28]
or dword [eax], 1
jmp 0x410afd
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 0x4107b5
lea eax, [ebx + 3]
cmp eax, dword [ebp - 4]
jge 0x410b60
mov eax, dword [ebp + 0x20]
inc ebx
push dword [ebp + 0x10]
mov dword [eax], 3
lea eax, [esi + ebx*4]
push eax
call fcn.00410c84
mov edi, eax
test edi, edi
js 0x410b56
add ebx, 2
jmp 0x410afd
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 0x410806
lea eax, [ebx + 3]
cmp eax, dword [ebp - 4]
jge 0x410b7c
mov eax, dword [ebp + 0x20]
inc ebx
push dword [ebp + 0x10]
mov dword [eax], 1
lea eax, [esi + ebx*4]
push eax
call fcn.00410c84
mov edi, eax
test edi, edi
jns 0x4107ad
push str.Failed_to_parse_unelevated_connection.
jmp 0x410a22
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 0x410859
lea eax, [ebx + 3]
cmp eax, dword [ebp - 4]
jge 0x410b98
mov eax, dword [ebp + 0x18]
inc ebx
push dword [ebp + 0x14]
mov dword [eax], ecx
lea eax, [esi + ebx*4]
push eax
call fcn.00410c84
mov edi, eax
test edi, edi
jns 0x4107ad
push str.Failed_to_parse_embedded_connection.
jmp 0x410a22
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 0x41089b
xor ecx, ecx
inc ecx
mov eax, dword [ebp + 0xc]
push ecx
mov dword [eax + 0x1c], ecx
call fcn.0040e955
push eax
push 0x20000003
push 2
call fcn.00402085
add esp, 0xc
jmp 0x410afd
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 0x41087a
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 0x4108df
push 3
pop ecx
jmp 0x41087a
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 0x410902
push 4
jmp 0x4108dc
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 0x410925
push 6
jmp 0x4108dc
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 0x410953
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], 1
jmp 0x410afd
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 0x410980
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
jmp 0x410afd
mov eax, dword [esi + ebx*4]
push 0xffffffffffffffff
push 0x440530
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x4109ad
mov eax, dword [ebp + 0x18]
mov dword [eax], 3
jmp 0x410afd
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 0x410a2f
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 0x410bba
add eax, 4
xor ecx, ecx
cmp cx, word [eax]
je 0x410bba
push ecx
push eax
push dword [ebp + 0x34]
call fcn.00437e7f
mov edi, eax
test edi, edi
jns 0x410afd
push str.Failed_to_allocate_the_list_of_dependencies_to_ignore.
push edi
call fcn.004348ae
pop ecx
pop ecx
jmp 0x410c4c
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 0x410a8f
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 0x410a92
mov eax, dword [esi + ebx*4]
add eax, 2
push eax
push 0xa0000002
jmp 0x41088c
mov esi, dword [ebp - 0xc]
push dword [esi + ebx*4]
mov eax, dword [ebp + 0xc]
add eax, 0xc
push eax
call fcn.0043510e
jmp 0x410afd
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ecx], edx
jne 0x410aff
mov dword [ecx], 4
jmp 0x410aff
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ecx + 4], 2
cmp dword [ecx + 8], edx
jne 0x410aff
mov dword [ecx + 8], 3
jmp 0x410aff
mov eax, dword [ebp + 0xc]
jmp 0x410975
mov eax, dword [ebp + 0x28]
and dword [eax], 0xfffffffe
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x410bf0
push 0
push dword [esi + ebx*4]
push dword [ebp + 0x2c]
call fcn.00437e7f
mov edi, eax
test edi, edi
js 0x410be6
xor edx, edx
inc ebx
cmp ebx, dword [ebp - 4]
jge 0x410c0c
push 0x2f
pop edx
jmp 0x4102b4
mov esi, 0x80070057
push esi
push 0x405
push str.core.cpp
call fcn.00433f1c
push str.Must_specify_a_value_for_parent.
jmp 0x410bb2
push str.Failed_to_copy_append_log_file_path.
jmp 0x410a22
mov esi, 0x80070057
push esi
push 0x416
push str.core.cpp
call fcn.00433f1c
push str.Must_specify_a_path_for_append_log.
jmp 0x410bb2
push str.Failed_to_parse_elevated_connection.
jmp 0x410a22
mov esi, 0x80070057
push esi
push 0x424
push str.core.cpp
call fcn.00433f1c
push str.Must_specify_the_elevated_name__token_and_parent_process_id.
jmp 0x410bb2
mov esi, 0x80070057
push esi
push 0x434
push str.core.cpp
call fcn.00433f1c
push str.Must_specify_the_unelevated_name__token_and_parent_process_id.
jmp 0x410bb2
mov esi, 0x80070057
push esi
push 0x444
push str.core.cpp
call fcn.00433f1c
push str.Must_specify_the_embedded_name__token_and_parent_process_id.
mov edi, esi
push esi
jmp 0x410a23
mov esi, 0x80070057
push esi
push 0x480
push str.core.cpp
call fcn.00433f1c
push str.burn.ignoredependencies
push str.Missing_required_parameter_for_switch:__ls
push esi
mov edi, esi
call fcn.004348ae
add esp, 0xc
jmp 0x410c4c
push str.Failed_to_copy_log_file_path.
jmp 0x410a22
mov esi, 0x80070057
push esi
push 0x399
push str.core.cpp
call fcn.00433f1c
push str.Must_specify_a_path_for_log.
jmp 0x410bb2
mov eax, dword [ebp + 0x18]
cmp dword [eax], 3
je 0x410c73
mov ecx, dword [ebp + 0x20]
cmp dword [ecx], 2
je 0x410c21
cmp dword [ecx], 3
jne 0x410c73
mov dword [eax], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax], edx
jne 0x410c34
mov dword [eax], 4
cmp dword [eax + 4], edx
jne 0x410c40
mov dword [eax + 4], 4
cmp dword [eax + 8], edx
jne 0x410c4c
mov dword [eax + 8], 2
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x410c5a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], 0
je 0x410c68
push dword [ebp - 8]
call fcn.0043bfd9
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
cmp dword [eax], 2
jne 0x410c27
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], 1
jmp 0x410c2a