Function at 0x140006d0c
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
call fcn.1400242bc
lea r14d, [rbx + 1]
mov dil, al
test al, al
je 0x140006d52
call fcn.14005c424
test al, al
cmove ebx, r14d
xor r9d, r9d
mov byte [rbp - 9], dil
mov byte [rsp + 0x48], r9b
lea rax, str.isTelemetryRampEnabled
mov edi, 3
mov qword [rbp - 0x11], rax
mov dword [rsp + 0x40], edi
lea rcx, str.FileCoAuth
and qword [rsp + 0x38], r9
lea rax, [0x1400ad2a8]
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov byte [rsp + 0x28], r14b
mov rdx, rcx
mov byte [rsp + 0x20], r9b
mov dword [rbp - 0x19], 7
mov qword [rbp + 0xf], rax
mov dword [rbp + 7], edi
call qword [sym.imp.LoggingPlatform.DLL_long_int___cdecl_LoggingInitializeForExternalComponent_wchar_t_const____ptr64__wchar_t_const____ptr64__bool__unsigned_short_int__bool__bool__enum_TelemetryTransportType__wchar_t_const____ptr64__unsigned_long_int__bool_]
mov dword [rsp + 0x40], edi
lea r9, str.wWinMain
mov dword [rbp + 0x17], eax
lea r8d, [rdi + 0x37]
mov dword [rbp + 0x37], ebx
lea rax, str.transportType
mov qword [rbp + 0x2f], rax
lea ebx, [rdi - 1]
mov dword [rsp + 0x38], ebx
lea rax, [0x1400ae7c0]
mov dword [rsp + 0x30], r14d
lea rdx, str.D:dbs_shodct1010_170902_4cmdyclientonedriveProductFileCoAuthDesktopexewinmain.cpp
mov dword [rsp + 0x28], 0x488e6a5b
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x27], 5
call qword [sym.imp.LoggingPlatform.DLL_public:_void___cdecl_StructuredEvent::constructor_char_const____ptr64__int__char_const____ptr64__struct__GUID_const____ptr64__unsigned_int__unsigned_int__unsigned_int__unsigned_int____ptr64]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x51]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingWriteStructuredEvent_struct_StructuredEvent_const____ptr64__struct_StructuredEventParameter__const___ptr64_]
call qword [sym.imp.LoggingPlatform.DLL_void___cdecl_LoggingRotateIfNeeded_void_]
call fcn.140023edc
cmp byte [0x1400e7551], 0
je 0x140006e2f
or ebx, 0xffffffff
jmp 0x140006f2e
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp - 0x59], eax
mov ebx, eax
test eax, eax
jns 0x140006e64
cmp eax, 0x80010106
jne 0x140006f2e
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140006e6b
jmp 0x140006f2e
mov byte [0x1400e7602], r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rbp - 0x59]
call fcn.140007dd8
cmp al, r14b
jne 0x140006f1c
call fcn.1400089f4
mov ebx, eax
test eax, eax
je 0x140006ebd
js 0x140006f1f
mov rdi, qword [0x1400e8430]
xor ebx, ebx
mov rcx, qword [0x1400e8438]
jmp 0x140006f00
lea rcx, [rbp - 0x51]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x51]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x51]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140006ea9
jmp 0x140006e97
test ebx, ebx
jne 0x140006f05
mov rax, qword [rdi]
test rax, rax
je 0x140006efc
mov rax, qword [rax + 0x20]
cmp dword [rax + 8], ebx
je 0x140006efc
mov ecx, dword [rax + 8]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rcx, qword [0x1400e8438]
mov ebx, eax
add rdi, 8
cmp rdi, rcx
jb 0x140006ed5
cmp byte [0x1400e7600], 0
je 0x140006f1f
mov ecx, dword [0x1400e75fc]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006f1f
mov ebx, dword [rbp - 0x59]
cmp byte [0x1400e7602], 0
je 0x140006f2e
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140092030
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret