Function at 0x1400078d4
Capabilities:
Accept command line arguments
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140312ca0]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r13d, r13d
mov qword [rsp + 0x78], r13
movdqa xmm0, xmmword [0x1402c7850]
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x48], r13
lea r14d, [r13 + 0x48]
mov ecx, r14d
call fcn.1400b5880
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x50], rax
mov rdx, qword [str._install]
mov qword [rbp - 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140007967
lea rcx, [rbp - 0x40]
call fcn.14000b5b4
mov byte [rbp - 0x20], r13b
mov qword [rsp + 0x70], r13
mov rcx, r14
call fcn.1400b5880
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov r12, rax
mov qword [rsp + 0x68], rax
lea rbx, [rbp - 0x40]
mov r9, rbx
mov r8, rdi
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.14000cb34
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp + 0x110], xmm0
cmp byte [rbp + 0x110], r13b
jne 0x140007a63
movabs rax, 0x38e38e38e38e38e
cmp qword [rsp + 0x70], rax
je 0x140007fa4
mov rcx, r14
call fcn.1400b5880
mov r14, rax
mov qword [rax + 0x20], r13
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r13
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140007a18
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rax + 0x20]
call fcn.14000ce3c
mov al, byte [rbx + 0x20]
mov byte [r14 + 0x40], al
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov word [r14 + 0x18], r13w
movdqu xmmword [rbp + 0xe0], xmm6
mov r8, r14
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.14000c8f4
mov r12, qword [rsp + 0x68]
mov r14d, 0x48
add rbx, 0x28
lea rax, [rbp - 0x18]
cmp rbx, rax
jne 0x1400079ab
lea r9, [fcn.140007fb0]
mov edx, 0x28
lea r8d, [rdx - 0x27]
lea rcx, [rbp - 0x40]
call fcn.1400b58bc
mov qword [rsp + 0x60], r13
mov ecx, 0x60
call fcn.1400b5880
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r13, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
movsxd rcx, dword [rsp + 0x50]
lea r12, [rax + rcx*8]
lea r14, [rax + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov rdi, r12
sub rdi, r14
sar rdi, 3
test rdi, rdi
je 0x140007b82
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x140007faa
shl rdi, 5
cmp rdi, 0x1000
jb 0x140007b29
mov rcx, rdi
call fcn.14000c680
mov rbx, rax
xor ecx, ecx
jmp 0x140007b3b
test rdi, rdi
je 0x140007b38
mov rcx, rdi
call fcn.1400b5880
jmp 0x140007b22
mov rbx, rcx
mov qword [rbp - 0x68], rbx
lea rax, [rbx + rdi]
mov qword [rbp - 0x58], rax
jmp 0x140007b79
mov rdx, qword [r14]
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov r8, rsi
inc r8
cmp word [rdx + r8*2], cx
jne 0x140007b5a
mov rcx, rbx
call fcn.14000b5b4
add rbx, 0x20
add r14, 8
mov ecx, 0
cmp r14, r12
jne 0x140007b49
mov qword [rbp - 0x60], rbx
xor r14d, r14d
test r15, r15
je 0x140007b93
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x68]
call fcn.14006eb18
mov r15d, 2
xorps xmm0, xmm0
test eax, eax
js 0x140007e16
mov rdx, qword [str._install]
mov qword [rbp + 0xe0], r14
movdqu xmmword [rbp + 0xf0], xmm0
inc rsi
cmp word [rdx + rsi*2], r14w
jne 0x140007bd1
mov r8, rsi
lea rcx, [rbp + 0xe0]
call fcn.14000b5b4
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.14000c5b4
mov rbx, qword [rbp + 0x110]
cmp byte [rbx + 0x19], r14b
jne 0x140007c23
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0xe0]
call fcn.14000cd80
test al, al
je 0x140007c28
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x58]
setne dil
lea rcx, [rbp + 0xe0]
call fcn.140009e68
call fcn.140007ff0
mov ebx, eax
test eax, eax
jns 0x140007d76
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x10]
call fcn.1400b8c40
mov edx, 1
lea rcx, [rbp - 0x10]
call fcn.140008ad0
mov rcx, qword [rbp - 0x10]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rbp + rdx + 8]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rbp + rdx + 8], ecx
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.140008bb4
mov qword [rbp + 0x100], r14
movdqa xmm0, xmmword [0x1402c7850]
movdqu xmmword [rbp + 0x110], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 8]
call fcn.14000ab84
mov rdx, qword [rbp + 0xe0]
test rdx, rdx
je 0x140007cd6
mov r8, qword [rbp + 0xe8]
lea rcx, [rbp + 0x100]
call fcn.14000afb8
mov r9d, 0x22
lea r8, str.InitializeLogging_failed_with_hr:
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.14000c2b4
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rsp + 0x78]
call fcn.140009e68
movups xmmword [rsp + 0x78], xmm7
movups xmmword [rbp - 0x78], xmm6
movdqa xmm0, xmmword [0x1402c7850]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], r14w
lea rcx, [rbp + 0xe0]
call fcn.140009e68
lea rcx, [rbp + 0x100]
call fcn.140009e68
lea rcx, [rbp + 0x78]
call fcn.140008a54
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x78]
call fcn.140091374
nop
jmp 0x140007ebe
test dil, dil
je 0x140007e0c
call fcn.14000cf3c
mov ebx, eax
lea rax, [0x1402c5afc]
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x100], 3
mov dword [rbp + 0x110], ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x871879bb
lea rax, [0x1402c63c8]
mov qword [rsp + 0x20], rax
lea r9, str.wWinMain
mov r8d, 0x50
lea rdx, str.D:dbs_shodct0521_230459_0cmd_bclientonedriveProductElevatedHelperServerexewinmain.cpp
lea rcx, [rbp - 0x40]
call fcn.14001f43c
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x40]
call fcn.1400206a0
call fcn.1400202b8
test ebx, ebx
jns 0x140007f33
jmp 0x140007ebe
call fcn.14000d244
jmp 0x140007f33
mov qword [rbp + 0x100], r14
movdqu xmmword [rbp + 0x110], xmm0
inc rsi
cmp word [r13 + rsi*2], r14w
jne 0x140007e25
mov r8, rsi
mov rdx, r13
lea rcx, [rbp + 0x100]
call fcn.14000b5b4
mov r9d, SafeArrayGetElement
lea r8, str.Invalid_Command_Line:
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.14000c2b4
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rsp + 0x78]
call fcn.140009e68
movups xmmword [rsp + 0x78], xmm7
movups xmmword [rbp - 0x78], xmm6
movdqa xmm0, xmmword [0x1402c7850]
movdqu xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], r14w
lea rcx, [rbp + 0xe0]
call fcn.140009e68
lea rcx, [rbp + 0x100]
call fcn.140009e68
lea rdi, str.FileSyncHelper
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140007f33
mov qword [rbp + 0xe0], rdi
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rbp + 0xe8], rcx
xor r8d, r8d
lea edx, [r8 + 1]
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov word [rsp + 0x28], r15w
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [rbp - 0x68]
call fcn.140009ddc
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.14000b440
lea rcx, [rsp + 0x68]
call fcn.140008dd8
lea rcx, [rbp - 0x50]
call fcn.140008dd8
lea rcx, [rsp + 0x78]
call fcn.140009e68
xor eax, eax
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400b5860
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400078c0
int3
call fcn.14000cb20
int3