Function at 0x140015a20
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140067250]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rcx
mov qword [rbp + 0x68], rcx
xor edi, edi
mov dword [rsp + 0x60], edi
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rdi
mov esi, edi
mov dword [rbp + 0x98], edi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
lea rdx, [rbx + 0x68]
mov r8d, 0xf003f
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r13, rax
lea rax, [0x14004b9f0]
mov qword [rsp + 0x68], rax
lea rax, [0x14004b9f8]
mov qword [rsp + 0x78], rax
mov r14d, 1
mov dword [rsp + 0x60], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x88
mov qword [rsp + 0x70], rdi
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.14000a300
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x74], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x64], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp - 0x80]
call fcn.1400059a0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x64], edx
mov dword [rbp - 8], 0x64
lea rdx, str.ReconfigureService__
lea rcx, [rsp + 0x78]
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 8]
call fcn.14000c860
lea r12, vtable.std::ios_base.0
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
lea r9, [rbp + 0x98]
xor edx, edx
lea r8d, [rdi + 0x40]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x140016413
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140016413
mov eax, dword [rbp + 0x98]
lea ebx, [rax + 0x40]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.14001a5c0
lea r9, [rbp + 0x98]
mov r8d, ebx
mov rbx, qword [rbp + 0x70]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
lea r15, [0x14004b9f0]
test eax, eax
jne 0x140015d97
mov qword [rsp + 0x68], r15
lea rax, [0x14004b9f8]
mov qword [rsp + 0x78], rax
mov r14d, 0x21
mov dword [rsp + 0x60], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x88
mov qword [rsp + 0x70], rdi
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.14000a300
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x74], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x64], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp - 0x80]
call fcn.1400059a0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x64], edx
mov dword [rbp - 8], 0xa
lea rdx, str.error_QueryServiceConfig
lea rcx, [rsp + 0x78]
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 8]
call fcn.14000c860
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
test rbx, rbx
je 0x140016417
mov qword [rsp + 0x68], r15
lea rax, [0x14004b9f8]
mov qword [rsp + 0x78], rax
bts r14d, 0xa
mov dword [rsp + 0x60], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x88
mov qword [rsp + 0x70], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x10], rdi
mov dword [rbp + 0x1c], edi
mov dword [rbp + 0x20], 0x201
movdqa xmm0, xmmword [reloc.OLEAUT32.dll_SysStringLen]
movdqu xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
mov dword [rbp + 0x18], edi
mov ecx, 8
call fcn.14002cf84
mov r15, rax
test rax, rax
je 0x140015e1f
xor eax, eax
mov qword [r15], rax
mov cl, 1
call fcn.140042c30
mov qword [r15], rax
jmp 0x140015e22
mov r15, rdi
mov qword [rbp + 0x48], r15
lea rax, [rbp - 0x80]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdi
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 8]
call fcn.14000a2d0
nop
mov rcx, rax
call fcn.140005760
mov r15, rax
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x140015e73
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rax, rax
je 0x140015e73
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [r15]
mov dl, 0x20
mov rcx, r15
call qword [rax + 0x60]
mov word [rbp + 0x60], ax
cmp qword [rbp + 0x50], 0
jne 0x140015e9c
mov edx, dword [rbp + 0x18]
or edx, 4
xor r8d, r8d
lea rcx, [rbp + 8]
call fcn.140009b00
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x74], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x64], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp - 0x80]
call fcn.1400059a0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x64], edx
mov dword [rbp - 8], 0xa
lea rdx, str.Current_startup_type
lea rcx, [rsp + 0x78]
call fcn.140005370
mov rcx, rax
mov edx, dword [rbx + 4]
call fcn.14000cbb0
mov r15, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r15
lea rdx, [rsp + 0x60]
call fcn.14000a2d0
nop
mov rcx, rax
call fcn.140005760
mov r12, rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140015fbb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rax, rax
je 0x140015fbb
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [r12]
mov dl, 0xa
mov rcx, r12
call qword [rax + 0x60]
movzx edx, ax
mov rcx, r15
call fcn.140010690
mov rcx, r15
call fcn.14000a200
nop
lea rcx, [rbp + 8]
call fcn.14000c860
lea r12, vtable.std::ios_base.0
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
mov rcx, qword [rbp + 0x68]
call fcn.140015550
movzx ecx, al
mov eax, dword [rbx + 4]
cmp eax, 2
jne 0x14001624b
test cl, cl
jne 0x14001624b
lea rax, [0x14004b9f0]
mov qword [rsp + 0x68], rax
lea rax, [0x14004b9f8]
mov qword [rsp + 0x78], rax
bts r14d, 0xf
mov dword [rsp + 0x60], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x88
mov qword [rsp + 0x70], rdi
lea rcx, [rbp + 8]
call fcn.140009390
lea rax, [rbp - 0x80]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rdi
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 8]
call fcn.14000a2d0
nop
mov rcx, rax
call fcn.140005760
mov r15, rax
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400160a1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test rax, rax
je 0x1400160a1
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [r15]
mov dl, 0x20
mov rcx, r15
call qword [rax + 0x60]
mov word [rbp + 0x60], ax
cmp qword [rbp + 0x50], 0
jne 0x1400160ca
mov edx, dword [rbp + 0x18]
or edx, 4
xor r8d, r8d
lea rcx, [rbp + 8]
call fcn.140009b00
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x74], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x64], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp - 0x80]
call fcn.1400059a0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x64], edx
mov dword [rbp - 8], 0x64
lea rdx, str.ChangeServiceConfig_to_SERVICE_DEMAND_START
lea rcx, [rsp + 0x78]
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 8]
call fcn.14000c860
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
lea rax, str.RPCSS
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8d, 3
or edx, r9d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x14001641c
lea edx, [rax + 1]
lea rcx, [rsp + 0x68]
call fcn.140005dd0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Changing_startup_type_to_SERVICE_DEMAND_START_Failed
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 8]
call fcn.14000c860
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
jmp 0x140016417
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x14001641c
cmp cl, 1
jne 0x14001641c
lea rax, [0x14004b9f0]
mov qword [rsp + 0x68], rax
lea rax, [0x14004b9f8]
mov qword [rsp + 0x78], rax
bts r14d, 0x14
mov dword [rsp + 0x60], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x88
mov qword [rsp + 0x70], rdi
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.14000a300
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x74], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x64], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp - 0x80]
call fcn.1400059a0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x64], edx
mov dword [rbp - 8], 0x64
lea rdx, str.ChangeServiceConfig_to_SERVICE_AUTO_START
lea rcx, [rsp + 0x78]
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 8]
call fcn.14000c860
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
lea rax, str.RPCSS
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8d, 2
or edx, r9d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x14001641c
lea edx, [rax + 1]
lea rcx, [rsp + 0x68]
call fcn.140005dd0
nop
mov dword [rax + 0x90], 0xa
lea rcx, [rax + 0x10]
lea rdx, str.Changing_startup_type_to_SERVICE_AUTO_START_Failed
call fcn.140005370
mov rcx, rax
call fcn.140010fa0
nop
jmp 0x140016230
mov rbx, qword [rbp + 0x70]
mov esi, 0x80004005
lea rax, [0x14004b9f0]
mov qword [rsp + 0x68], rax
lea rax, [0x14004b9f8]
mov qword [rsp + 0x78], rax
bts r14d, 0x19
mov dword [rsp + 0x60], r14d
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 8], rax
mov dword [rbp + 4], 0x88
mov qword [rsp + 0x70], rdi
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 8]
call fcn.14000a300
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x74], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x64], edx
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp - 0x80]
call fcn.1400059a0
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rax, vtable.Logger.0
mov qword [rsp + rcx + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa0]
mov dword [rsp + rcx + 0x64], edx
mov dword [rbp - 8], 0x64
lea rdx, str.ReconfigureStartup___done:
lea rcx, [rsp + 0x78]
call fcn.140005370
mov rcx, rax
test rax, rax
je 0x140016546
mov rax, qword [rax]
movsxd rdi, dword [rax + 4]
add rdi, rcx
and dword [rdi + 0x18], 0xfffff9ff
or dword [rdi + 0x18], 0x800
mov edx, esi
call fcn.1400113f0
mov rcx, rax
call fcn.140010fa0
nop
lea rcx, [rbp + 8]
call fcn.14000c860
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140042f98
nop
test rbx, rbx
je 0x140016588
mov rcx, rbx
call fcn.14002d02c
mov eax, esi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14002d7f0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret