Function at 0x140010ac0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
xor esi, esi
mov edi, esi
mov dword [rbp + 0x280], esi
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp + 0x288]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
jne 0x140010ce0
lea r13, [0x140055f40]
mov qword [rbp + 0x140], r13
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rbp + 0x280], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x140], rax
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x1b0], rsi
mov dword [rbp + 0x1b8], 4
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rbp + rcx + 0x140], rax
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x13c], edx
mov ecx, dword [0x14006b410]
mov eax, dword [0x14006b40c]
add ecx, eax
je 0x140010c44
mov dword [rsp + 0x28], esi
call fcn.1400288d0
mov qword [rsp + 0x20], rax
lock inc dword [rsp + 0x28]
mov dword [rbp + 0x280], 0xa
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x140010c21
call fcn.1400288d0
mov qword [rsp + 0x20], rax
lock inc dword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
cmp qword [rax], 0
je 0x140010c40
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140010c40
call qword [case.0x14004448e.0]
movzx edi, al
jmp 0x140010c47
xor edi, edi
jmp 0x140010c47
xor dil, dil
mov eax, dword [rbp + 0x280]
test al, 8
je 0x140010c8a
and eax, 0xfffffff7
mov dword [rbp + 0x280], eax
mov qword [rsp + 0x20], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x28], eax
cmp eax, 1
js 0x140010c85
nop
call fcn.140028a30
mov eax, 0xffffffff
lock xadd dword [rsp + 0x28], eax
cmp eax, 1
jns 0x140010c70
lock inc dword [rsp + 0x28]
mov byte [rbp + 0x1c0], dil
mov dword [rbp + 0x1c4], 4
lea r12, str.ParseCommandLine
mov qword [rbp + 0x1c8], r12
test dil, dil
je 0x140010cc2
lea rdx, str.Failed_to_parse_command_line
lea rcx, [rbp + 0x140]
call fcn.140020ff0
nop
lea rcx, [rbp + 0x1d8]
call fcn.140028b20
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x1400110be
mov r15d, 1
cmp dword [rbp + 0x288], r15d
jle 0x1400110be
lea r14, [rax + 8]
lea r13, [0x140055f40]
lea rsi, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea r12, str.ParseCommandLine
nop dword [rax]
mov qword [rsp + 0x50], r13
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or edi, 0x20
mov dword [rbp + 0x280], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
mov qword [rsp + 0x58], rsi
mov qword [rbp - 0x40], 0
mov dword [rbp - 0x38], 4
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
mov ecx, dword [0x14006b410]
mov eax, dword [0x14006b40c]
add ecx, eax
je 0x140010e18
mov dword [rsp + 0x38], 0
call fcn.1400288d0
mov qword [rsp + 0x30], rax
lock inc dword [rsp + 0x38]
or dword [rbp + 0x280], 0x80
mov rax, qword [rsp + 0x30]
test rax, rax
jne 0x140010df9
call fcn.1400288d0
mov qword [rsp + 0x30], rax
lock inc dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140010e18
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140010e18
call qword [case.0x14004448e.0]
movzx esi, al
jmp 0x140010e1b
xor sil, sil
mov edi, dword [rbp + 0x280]
test dil, dil
jns 0x140010e70
btr edi, 7
mov dword [rbp + 0x280], edi
mov qword [rsp + 0x30], 0
mov eax, 0xffffffff
lock xadd dword [rsp + 0x38], eax
cmp eax, 1
js 0x140010e65
nop dword [rax]
call fcn.140028a30
mov eax, 0xffffffff
lock xadd dword [rsp + 0x38], eax
cmp eax, 1
jns 0x140010e50
lock inc dword [rsp + 0x38]
mov edi, dword [rbp + 0x280]
mov byte [rbp - 0x30], sil
mov dword [rbp - 0x2c], 0x10
mov qword [rbp - 0x28], r12
or edi, 0x10
test sil, sil
je 0x140010eaf
lea rdx, str.Parsing_command_line_argument
lea rcx, [rsp + 0x50]
call fcn.140020ff0
movzx esi, byte [rbp - 0x30]
test sil, sil
je 0x140010eaf
mov rdx, qword [r14]
lea rcx, [rsp + 0x50]
call fcn.140020ff0
nop
lea rcx, [rbp - 0x18]
call fcn.140028b20
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rdx, str.config
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140010edd
mov bl, 1
jmp 0x1400110a3
mov qword [rbp + 0x48], r13
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
bts edi, 9
mov dword [rbp + 0x280], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x48]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x48], rax
mov rax, qword [rbp + 0x48]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x44], edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0xb8], 0
mov dword [rbp + 0xc0], 4
mov rax, qword [rbp + 0x48]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rbp + rcx + 0x48], rax
mov rax, qword [rbp + 0x48]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x44], edx
mov ecx, dword [0x14006b410]
mov eax, dword [0x14006b40c]
add ecx, eax
je 0x140010fed
mov dword [rsp + 0x48], 0
call fcn.1400288d0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
or dword [rbp + 0x280], 0x800
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x140010fce
call fcn.1400288d0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x140010fed
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140010fed
call qword [case.0x14004448e.0]
movzx esi, al
jmp 0x140010ff0
xor sil, sil
mov edi, dword [rbp + 0x280]
bt edi, 0xb
jae 0x140011040
btr edi, 0xb
mov dword [rbp + 0x280], edi
mov qword [rsp + 0x40], 0
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x140011035
nop
call fcn.140028a30
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x140011020
lock inc dword [rsp + 0x48]
mov edi, dword [rbp + 0x280]
mov byte [rbp + 0xc8], sil
mov dword [rbp + 0xcc], 8
mov qword [rbp + 0xd0], r12
bts edi, 8
test sil, sil
je 0x14001108a
lea rdx, str.Unknown_argument:
lea rcx, [rbp + 0x48]
call fcn.140020ff0
movzx esi, byte [rbp + 0xc8]
test sil, sil
je 0x14001108a
mov rdx, qword [r14]
lea rcx, [rbp + 0x48]
call fcn.140020ff0
nop
lea rcx, [rbp + 0xe0]
call fcn.140028b20
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
inc r15d
add r14, 8
cmp r15d, dword [rbp + 0x288]
lea rsi, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
jl 0x140010d10
movzx eax, bl
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret