Function at 0x140057a3c
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2e0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140191810]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rdx
mov qword [rsp + 0x48], rcx
xor ebx, ebx
cmp word [rcx], bx
jne 0x140057a8b
mov al, 1
jmp 0x1400582d0
mov dword [rsp + 0x40], ebx
mov sil, 1
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
mov r12d, ebx
cmp dword [rsp + 0x40], ebx
jle 0x1400582bf
mov r13, rax
or rdi, 0xffffffffffffffff
mov rdx, qword [r13]
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rbx
mov word [rbp - 0x58], bx
cmp word [rdx], bx
jne 0x140057ad2
mov r8, rbx
jmp 0x140057adf
mov r8, rdi
inc r8
cmp word [rdx + r8*2], bx
jne 0x140057ad5
lea rcx, [rbp - 0x58]
call fcn.140007f48
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x38], bx
mov r8d, 1
lea rdx, [0x14019dda8]
lea rcx, [rbp - 0x38]
call fcn.140007f48
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x58]
call fcn.140036b80
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.140007a08
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub rax, rdx
sar rax, 5
cmp rax, 2
jne 0x140057f5c
mov qword [rbp], 7
mov qword [rbp - 8], rbx
mov word [rbp - 0x18], bx
mov r9, rdi
xor r8d, r8d
lea rcx, [rbp - 0x18]
call fcn.140007e10
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0x20
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rbx
mov word [rbp + 8], bx
mov r9, rdi
xor r8d, r8d
lea rcx, [rbp + 8]
call fcn.140007e10
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
sete al
test al, al
jne 0x140057bed
mov rdi, rbx
test rcx, rcx
je 0x140057be9
lea rax, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rax, qword [rbp - 0x18]
lea rbx, [rbp - 0x18]
cmovae rbx, qword [rbp - 0x18]
movzx ecx, word [rax + rdi*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi*2], ax
inc rdi
cmp rdi, qword [rbp - 8]
jb 0x140057bb9
xor ebx, ebx
or rdi, 0xffffffffffffffff
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x70]
lea rcx, [0x140266400]
call fcn.140058d34
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [0x140266400]
je 0x140057c3e
add rdx, 0x40
mov rcx, r14
call fcn.14001e5d0
lea rcx, [rbp + 8]
cmp rax, rcx
je 0x140057f1c
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140007e10
jmp 0x140057f1c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], rbx
mov word [rbp - 0x38], bx
mov r8d, 1
lea rdx, [0x140191d10]
lea rcx, [rbp - 0x38]
call fcn.140007f48
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x18]
call fcn.140036b80
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.140007a08
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
cmp rax, 2
jne 0x140057ebc
mov qword [rbp + 0x60], 7
mov qword [rbp + 0x58], rbx
mov word [rbp + 0x48], bx
mov r9, rdi
xor r8d, r8d
lea rcx, [rbp + 0x48]
call fcn.140007e10
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0x20
mov qword [rbp + 0x40], 7
mov qword [rbp + 0x38], rbx
mov word [rbp + 0x28], bx
mov r9, rdi
xor r8d, r8d
lea rcx, [rbp + 0x28]
call fcn.140007e10
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
sete al
test al, al
jne 0x140057d3a
mov rdi, rbx
test rcx, rcx
je 0x140057d3a
lea rax, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rax, qword [rbp + 0x28]
lea rbx, [rbp + 0x28]
cmovae rbx, qword [rbp + 0x28]
movzx ecx, word [rax + rdi*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rbx + rdi*2], ax
inc rdi
cmp rdi, qword [rbp + 0x38]
jb 0x140057d0c
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [0x140266400]
call fcn.140058d34
mov rbx, qword [rbp - 0x68]
cmp rbx, qword [0x140266400]
je 0x140057e46
lea rdx, [rbx + 0x40]
mov rcx, r14
call fcn.14001e5d0
mov qword [rbp - 0x20], 7
xor edi, edi
mov qword [rbp - 0x28], rdi
mov word [rbp - 0x38], di
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140007e10
nop
lea r9, [rbp + 8]
lea r8, [rbp + 0x48]
lea rdx, [0x140197ce8]
lea rcx, [rbp + 0x68]
call fcn.140009dc8
nop
cmp qword [rbp - 0x28], rdi
sete al
test al, al
je 0x140057ddf
lea rdx, [rbx + 0x40]
mov rcx, r14
call fcn.14001e5d0
lea rcx, [rbp + 0x68]
cmp rax, rcx
je 0x140057e27
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140007e10
jmp 0x140057e27
lea r9, [rbp + 0x68]
lea r8, [rbp - 0x38]
lea rdx, str._s_s
lea rcx, [rbp + 0x88]
call fcn.140009dc8
mov rdi, rax
lea rdx, [rbx + 0x40]
mov rcx, r14
call fcn.14001e5d0
mov rcx, rax
mov rdx, rdi
call fcn.140057308
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x88]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x68]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.140007a08
jmp 0x140057e9b
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rax, qword [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.ScenarioSettings::FillScenarioParameter___unmapped_wildcard_parameter._Name:__s_Value:__s
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x4ca39c
lea r8d, [rdx + 0x24]
call fcn.14001d49c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x28]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x48]
call fcn.140007a08
xor ebx, ebx
jmp 0x140057f11
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rax, qword [rbp - 0x18]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str.ScenarioSettings::FillScenarioParameter___Unhandled_parameter._Name:__s_Value:__s
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x450286
lea r8d, [rdx + 0x24]
call fcn.14001d49c
nop
lea rcx, [rsp + 0x78]
call fcn.140013fbc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 8]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.140007a08
nop
lea rcx, [rsp + 0x58]
call fcn.140013fbc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.140007a08
or rdi, 0xffffffffffffffff
jmp 0x140058049
lea rdx, [0x14025f520]
cmp qword [0x14025f538], 8
cmovae rdx, qword [0x14025f520]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8, rdi
call fcn.140006a68
test eax, eax
je 0x14005827e
lea rdx, [0x14025f500]
cmp qword [0x14025f518], 8
cmovae rdx, qword [0x14025f500]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8, rdi
call fcn.140006a68
test eax, eax
jne 0x140057fd6
lea r9, str.ScenarioSettings::FillScenarioParameter___Admin_mode_context_starting:__s
mov ecx, 0x450288
jmp 0x140058016
lea rdx, [0x14025f540]
cmp qword [0x14025f558], 8
cmovae rdx, qword [0x14025f540]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8, rdi
call fcn.140006a68
test eax, eax
jne 0x140058060
lea r9, str.ScenarioSettings::FillScenarioParameter___Upgrade_mode_context_starting:__s
mov ecx, 0x5c1162
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x32
lea edx, [r8 - 0x24]
call fcn.14001d3c8
nop
lea rcx, [rsp + 0x58]
call fcn.140013fbc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.140007a08
inc r12d
add r13, 8
cmp r12d, dword [rsp + 0x40]
jl 0x140057ab4
jmp 0x1400582bf
lea rdx, [0x14025f560]
cmp qword [0x14025f578], 8
cmovae rdx, qword [0x14025f560]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8, rdi
call fcn.140006a68
test eax, eax
jne 0x1400580a5
lea r9, str.ScenarioSettings::FillScenarioParameter___Update_mode_context_starting:__s
mov ecx, 0x65e69f
jmp 0x14005828a
lea rdx, [0x14025f580]
cmp qword [0x14025f598], 8
cmovae rdx, qword [0x14025f580]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
xor r9d, r9d
mov r8, rdi
call fcn.140006a68
test eax, eax
jne 0x1400580ea
lea r9, str.ScenarioSettings::FillScenarioParameter___Standalone_system_mode_context_starting:__s
mov ecx, 0x8006d1
jmp 0x14005828a
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rdx, str.Unexpected_parameter_format:__s
lea rcx, [rbp + 0x88]
call fcn.14000987c
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140058122
mov rdi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call fcn.140007a08
nop
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.140007a08
nop
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x60], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.140007a08
nop
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.140007a08
nop
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x68]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.14000edf8
mov rbx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400f7cb0
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x78], rcx
lea rcx, str.ContextData
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rdi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, str.ScenarioSettings::FillScenarioParameter
mov edx, 0x3ae
mov ecx, 0x450289
mov r8d, 0xa
call fcn.14000b648
lea rcx, [rbp + 0xb0]
call fcn.14000f278
nop
lea rcx, [rbp + 0x140]
call fcn.14000f334
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x68]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x48]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 8]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x88]
call fcn.140007a08
xor ebx, ebx
mov sil, bl
jmp 0x1400582a6
lea r9, str.ScenarioSettings::FillScenarioParameter___User_mode_context_starting:__s
mov ecx, 0x450287
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x32
lea edx, [r8 - 0x24]
call fcn.14001d3c8
mov sil, 1
lea rcx, [rsp + 0x58]
call fcn.140013fbc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x58]
call fcn.140007a08
test r15, r15
je 0x1400582cd
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, sil
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140021f10
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret