Function at 0x14006b0a0
Capabilities:
Accept command line arguments
Create thread
Get system information on windows
Identify system language via api
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x208], rax
mov r12, rcx
mov qword [0x1403758f0], rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
lea r14d, [r15 + 0xa]
cmp dword [rsp + 0x50], 1
jle 0x14006b413
mov rcx, qword [rax + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
mov rbx, rax
movzx eax, word [rax]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x14006b132
add rbx, 2
test rbx, rbx
je 0x14006b413
mov r8d, 9
lea rdx, str.enablelog
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14006b182
xor edx, edx
mov cl, 1
call fcn.1400cfbc0
lea rdx, str.Successfully_enabled_logging.
lea rcx, str.Failed_to_enable_logging.
test al, al
cmovne rcx, rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x14006c574
mov r8, r14
lea rdx, str.disablelog
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14006b1b2
xor edx, edx
xor ecx, ecx
call fcn.1400cfbc0
lea rdx, str.Successfully_disabled_logging.
lea rcx, str.Failed_to_disable_logging.
jmp 0x14006b16c
mov r8d, 6
lea rdx, str.ziplog
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14006b1e7
mov r8, r14
lea rdx, str.preparelog
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14006b413
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
je 0x14006b257
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140273708]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x140273708]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
lea rcx, str.Collecting_and_ZIPing_log_files..._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.Collecting_and_ZIPing_log_files..._n
call fcn.14006c5c0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], 7
cmp dword [rsp + 0x50], 2
jle 0x14006b2bb
mov rdx, qword [rdi + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14006b2a0
lea rcx, [rbp + 0x120]
call fcn.1400523d0
jmp 0x14006b385
lea rcx, [rbp + 0x180]
call fcn.1400a9800
mov rbx, rax
lea rax, [rbp + 0x120]
cmp rax, rbx
je 0x14006b362
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x14006b323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b31e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b31e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r15w
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov r8, qword [rbp + 0x198]
cmp r8, 8
jb 0x14006b385
inc r8
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
call fcn.1400627f0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea rcx, [rbp + 0x120]
call fcn.1400a0ae0
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, str.Done_saving_logs.__Exiting._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.Done_saving_logs.__Exiting._n
call fcn.14006c5c0
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x14006b178
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b404
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b404
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov eax, 1
jmp 0x14006c574
call fcn.1400c1f80
mov ebx, dword [rax + 0x78]
call fcn.1400c1f80
mov qword [rbp + 0x118], r15
lea r8, [rbp + 0xe0]
mov edx, ebx
mov rcx, rax
call fcn.1400c1ef0
mov cl, 1
call fcn.1400d3dc0
call fcn.1400b07f0
cmp qword [rax], r15
jne 0x14006b46f
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, str.iCloud_Services
lea rdx, str.Unable_to_load_localized_resources._Please_reinstall_iCloud.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x14006c574
mov rcx, qword [str.P2_]
call fcn.1400518e0
test al, al
jne 0x14006b4c7
call fcn.1400c1f80
cmp dword [rax + 0x78], 6
jl 0x14006c572
call fcn.1400c1f80
lea rcx, str.Instance_already_running
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xcb
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 6
mov rcx, rax
call fcn.1400c23b0
jmp 0x14006c572
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14006b575
call fcn.1400c1f80
cmp dword [rax + 0x78], 6
jl 0x14006b575
lea rcx, [rbp + 0x1a0]
call fcn.1400c04b0
mov qword [rbp + 0x50], r15
movdqa xmm0, xmmword [0x140272430]
movdqu xmmword [rbp + 0x60], xmm0
mov r8d, SafeArrayGetLBound
lea rdx, str.iCloudServices
lea rcx, [rbp + 0x50]
call fcn.1400523d0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0xa0]
call fcn.1400591a0
lea rdx, [rbp + 0x50]
mov rcx, rax
call fcn.1400ccc70
mov r8, qword [rbp + 0x1b8]
cmp r8, 8
jb 0x14006b559
inc r8
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1a0]
call fcn.1400627f0
mov qword [rbp + 0x1b0], r15
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], r15w
jmp 0x14006b5b4
call fcn.1400c1f80
cmp dword [rax + 0x78], 6
jl 0x14006b5b4
call fcn.1400c1f80
lea rcx, str.Not_enabling_crash_dump_generator__either_debugger_is_present_or_present_or_logging_is_not_enabled
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xdd
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 6
mov rcx, rax
call fcn.1400c2500
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call fcn.1400c1f80
cmp dword [rax + 0x78], 4
jl 0x14006b7a4
call fcn.1400c1f80
mov rsi, rax
lea rcx, [rbp + 0x180]
call fcn.1400c85d0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006b603
mov rbx, qword [rax]
mov r8d, 4
mov rdx, qword [0x1403758f0]
lea rcx, [rbp + 0x1e0]
call fcn.1400c9dc0
mov rdi, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006b629
mov rdi, qword [rax]
mov r8d, 4
mov rdx, qword [0x1403758f0]
lea rcx, [rbp + 0x1c0]
call fcn.1400caba0
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006b64f
mov rcx, qword [rax]
mov eax, dword [rbp + 0x90]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rcx
lea rax, str.iCloudServices_version__s___s__running_on__s_with__d_cores
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xe6
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 4
mov rcx, rsi
call fcn.1400c23b0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0x10
jb 0x14006b6d8
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b6d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b77f
call fcn.1400e6a28
mov qword [rbp + 0x1d0], r15
mov qword [rbp + 0x1d8], SafeArrayGetLBound
mov byte [rbp + 0x1c0], r15b
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0x10
jb 0x14006b72e
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b729
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b77f
call fcn.1400e6a28
mov qword [rbp + 0x1f0], r15
mov qword [rbp + 0x1f8], SafeArrayGetLBound
mov byte [rbp + 0x1e0], r15b
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x14006b78b
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006b786
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp + 0x190], r15
mov qword [rbp + 0x198], SafeArrayGetLBound
mov byte [rbp + 0x180], r15b
lea rcx, [rbp]
call fcn.1400ca6d0
mov rdi, qword [rbp + 8]
mov rbx, qword [rbp]
cmp rbx, rdi
je 0x14006b814
lea rsi, [0x140273b24]
call fcn.1400c1f80
cmp dword [rax + 0x78], 4
jl 0x14006b80b
call fcn.1400c1f80
mov rcx, rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14006b7e1
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0xeb
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 4
call fcn.1400c2500
add rbx, 0x20
cmp rbx, rdi
jne 0x14006b7c1
call fcn.1400c1f80
cmp dword [rax + 0x78], 4
jl 0x14006b890
call fcn.1400c1f80
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
lea rax, str.UILanguage:_0x_04X_0x_04X___d__d_
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xee
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 4
mov rcx, r14
call fcn.1400c2500
mov r14d, 0xa
mov dword [rbp + 0x38], 1
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], r15
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x30]
call sub.gdiplus.dll_GdiplusStartup
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
lea rdi, [0x140375a50]
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x18], r15b
mov qword [rbp - 8], r15
mov dword [rbp - 0x14], 0x1388
mov dword [rbp - 0x10], 0x3e8
lea r9, [0x14027e1f8]
mov r8, r12
lea rdx, [0x140375ac0]
mov rcx, rdi
call fcn.140068eb0
mov dword [rbp - 0x30], 8
mov dword [rbp - 0x2c], 0x80ff
lea rcx, [rbp - 0x30]
call fcn.14006ace0
mov eax, dword [0x140273b74]
mov dword [rbp + 0x200], eax
movzx eax, word [0x140273b78]
mov word [rbp + 0x204], ax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
mov rbx, rax
je 0x14006bbed
cmp word [rax], r15w
je 0x14006bbed
lea rax, [rbp + 0x200]
nop dword [rax]
movzx ecx, word [rax]
test cx, cx
je 0x14006b97b
cmp word [rbx], cx
je 0x14006b986
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
jne 0x14006b960
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
jmp 0x14006b93c
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
mov rbx, rax
je 0x14006bbed
lea rdx, str.UnregServer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14006bb3b
lea rdx, str.RegServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14006ba0d
test rbx, rbx
je 0x14006bbed
cmp word [rbx], r15w
je 0x14006bbed
lea rax, [rbp + 0x200]
movzx edx, word [rax]
test dx, dx
je 0x14006b9fc
cmp word [rbx], dx
je 0x14006b986
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
jne 0x14006b9e1
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
test rax, rax
jmp 0x14006b9ca
xor r9d, r9d
lea edx, [r9 + 0x6a]
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.140056860
xor r9d, r9d
lea edx, [r9 + 0x68]
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.140056860
xor r9d, r9d
mov edx, reloc.OLEAUT32.dll_CreateErrorInfo
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.140056860
xor r9d, r9d
lea edx, [r9 + 0x6c]
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.140056860
nop
mov rbx, qword [0x140375a98]
test rbx, rbx
je 0x14006baa9
cmp qword [rbx], 0
je 0x14006baa9
nop dword [rax]
mov rax, qword [rbx + 8]
mov ecx, 1
call rax
test eax, eax
js 0x14006bb36
call qword [rbx + 0x38]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140068430
test eax, eax
js 0x14006bb36
add rbx, 0x48
cmp qword [rbx], 0
jne 0x14006ba70
mov rbx, qword [0x140347110]
mov rax, qword [0x140347118]
cmp rbx, rax
jae 0x14006bb0a
nop dword [rax]
mov rdi, qword [rbx]
test rdi, rdi
je 0x14006bafc
mov rax, qword [rdi + 8]
mov ecx, 1
call rax
mov r15d, eax
test eax, eax
js 0x14006bb1b
call qword [rdi + 0x30]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140068430
mov r15d, eax
test eax, eax
js 0x14006bb1b
mov rax, qword [0x140347118]
add rbx, 8
cmp rbx, rax
jb 0x14006bac0
test r15d, r15d
js 0x14006bb36
xor edx, edx
mov rcx, qword [0x140347108]
call fcn.1400689f0
mov r15d, eax
test r15d, r15d
js 0x14006bb36
mov rax, qword [0x1403754f8]
test rax, rax
je 0x14006bb36
mov rcx, qword [0x140376778]
call rax
nop
jmp 0x14006c4f8
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x6a]
mov rcx, rdi
call fcn.140056860
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x68]
mov rcx, rdi
call fcn.140056860
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.OLEAUT32.dll_CreateErrorInfo
mov rcx, rdi
call fcn.140056860
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x6c]
mov rcx, rdi
call fcn.140056860
nop
mov rbx, qword [0x140375a98]
test rbx, rbx
je 0x14006bbc2
cmp qword [rbx], 0
je 0x14006bbc2
call qword [rbx + 0x38]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140068430
test eax, eax
js 0x14006bbe8
mov rax, qword [rbx + 8]
xor ecx, ecx
call rax
test eax, eax
js 0x14006bbe8
add rbx, 0x48
cmp qword [rbx], 0
jne 0x14006bb97
mov rax, qword [0x140375500]
test rax, rax
je 0x14006bbd4
call rax
test eax, eax
js 0x14006bbe8
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x140347100]
call fcn.140068050
nop
jmp 0x14006c4f8
call fcn.140057990
mov qword [rbp + 0x140], r15
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], 7
xor r8d, r8d
lea rdx, [0x140270b0c]
lea rcx, [rbp + 0x140]
call fcn.1400523d0
mov qword [rbp + 0x160], r15
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], 7
mov r8, r14
lea rdx, str.iCloudCKKS
lea rcx, [rbp + 0x160]
call fcn.1400523d0
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r12, qword [rbp + 0x170]
sub rax, r12
cmp rax, 9
jb 0x14006c5af
lea rax, [rbp + 0x160]
mov rdi, qword [rbp + 0x160]
mov r13, qword [rbp + 0x178]
cmp r13, 8
cmovae rax, rdi
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
lea r14, [r12 + 9]
mov ebx, 7
lea rsi, [rbp + 0x120]
cmp r14, rbx
jbe 0x14006bcfb
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14006bccf
mov rbx, rcx
jmp 0x14006bcdc
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x120]
call fcn.1400521e0
mov rsi, rax
mov qword [rbp + 0x120], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x138], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str._AppX.exe]
movups xmmword [rbx + rsi], xmm0
movzx eax, word [0x140273698]
mov word [rbx + rsi + 0x10], ax
mov word [rsi + r14*2], r15w
cmp r13, 8
jb 0x14006bd72
lea rdx, [r13*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14006bd6a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006be76
mov rcx, rdi
call fcn.1400e6a28
mov qword [rbp + 0x170], r15
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r15w
call fcn.1400c1f80
cmp dword [rax + 0x78], 7
jl 0x14006be03
call fcn.1400c1f80
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rcx, qword [rbp + 0x120]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rcx
lea rcx, str.Launch:__s__cmdline:__s
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x6c
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootAppleInternalincludeiCCUtilsiCloudCommon.h
lea r8, str.iCloudCommon::LaunchApp
mov edx, 7
mov rcx, rax
call fcn.1400c2500
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x120]
cmp qword [rbp + 0x138], 8
cmovae rcx, qword [rbp + 0x120]
xor r8d, r8d
call fcn.1400cb8a0
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x14006be82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006be7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006be7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r15w
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x14006bee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006bee0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
mov qword [rbp + 0x150], r15
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], r15w
call fcn.1400b07f0
mov rcx, qword [rax]
xchg qword [0x140376780], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14006bf54
mov dword [rsp + 0x60], r15d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x28]
lea r8, [0x140069010]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 8], rax
mov ebx, r15d
mov rdi, qword [0x140375a98]
test rdi, rdi
je 0x14006bfe0
cmp qword [rdi], rbx
je 0x14006bfe0
test ebx, ebx
jne 0x14006c076
mov qword [rsp + 0x68], r15
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x14006bf83
mov ebx, r15d
jmp 0x14006bfce
lea r8, [rsp + 0x68]
lea rdx, [0x1402733f0]
mov rcx, qword [rdi + 0x18]
call rax
mov ebx, eax
test eax, eax
js 0x14006bfbe
lea rax, [rdi + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 6
lea r8d, [r9 - 2]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdi]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006bfce
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
add rdi, 0x48
cmp qword [rdi], 0
jne 0x14006bf68
test ebx, ebx
jne 0x14006c076
mov ebx, 1
mov rsi, qword [0x140347110]
mov rcx, qword [0x140347118]
cmp rsi, rcx
jae 0x14006c076
test ebx, ebx
js 0x14006c076
mov rdi, qword [rsi]
test rdi, rdi
je 0x14006c06d
mov qword [rsp + 0x58], r15
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x14006c017
mov ebx, r15d
jmp 0x14006c06d
lea r8, [rsp + 0x58]
lea rdx, [0x1402733f0]
mov rcx, qword [rdi + 0x18]
call rax
mov ebx, eax
test eax, eax
js 0x14006c056
mov rax, qword [rdi + 0x20]
add rax, 8
mov qword [rsp + 0x20], rax
mov r9d, 6
lea r8d, [r9 - 2]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi]
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006c066
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [0x140347118]
add rsi, 8
cmp rsi, rcx
jb 0x14006bff8
test ebx, ebx
jns 0x14006c0bd
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x14006c0bd
call fcn.1400c1f80
mov dword [rsp + 0x30], ebx
lea rcx, str._Module.RegisterClassObjects_failed:__08x
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x12c
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 3
mov rcx, rax
call fcn.1400c23b0
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x14006c10c
call fcn.1400c1f80
cmp dword [rax + 0x78], 3
jl 0x14006c10c
call fcn.1400c1f80
mov dword [rsp + 0x30], ebx
lea rcx, str.CoResumeClassObjects_failed:__08x.__Try_launching_EXE_via_CoCreateInstance_or_via_StartupTask_
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x132
lea r9, str.D:BWA29B6E26C_BE36_0MobileMeServices_237_srcrootMobileMeServicesMobileMeServices.cpp
lea r8, str.wWinMain
mov edx, 3
mov rcx, rax
call fcn.1400c23b0
lea r14, vtable.WTL::CMessageLoop.0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
lea rax, vtable.TrayIconMessageFilter.0
mov qword [rbp + 0x18], rax
mov edx, 1
xor ecx, ecx
lea r8d, [rdx + 7]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x14006c172
mov dword [rbp - 0x7c], 1
mov qword [rsp + 0x78], rax
movsxd rdx, dword [rbp - 0x80]
lea r8, [rax + rdx*8]
test r8, r8
je 0x14006c16d
lea rax, [rbp + 0x18]
mov qword [r8], rax
mov edx, dword [rbp - 0x80]
inc edx
mov dword [rbp - 0x80], edx
mov rdi, qword [0x1403754d0]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140375aa8]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov ecx, dword [rbx + 0x10]
inc ecx
movsxd rdx, ecx
mov r8d, 4
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x14006c1fc
mov qword [rbx], rax
mov eax, dword [rbx + 0x10]
inc eax
movsxd rdx, eax
mov r8d, 8
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
test rax, rax
je 0x14006c1fc
mov qword [rbx + 8], rax
movsxd rdx, dword [rbx + 0x10]
mov rax, qword [rbx]
lea rcx, [rax + rdx*4]
test rcx, rcx
je 0x14006c1e4
mov dword [rcx], esi
mov rax, qword [rbx + 8]
lea rdx, [rax + rdx*8]
test rdx, rdx
je 0x14006c1f9
lea rax, [rsp + 0x70]
mov qword [rdx], rax
inc dword [rbx + 0x10]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, vtable.CFIdleHandler.0
mov qword [rbp + 0x28], rax
mov edx, dword [rbp - 0x70]
movsxd r8, dword [rbp - 0x6c]
cmp edx, r8d
jne 0x14006c27b
lea rax, [rbp + 0x20]
mov r9, qword [rbp - 0x78]
cmp rax, r9
jb 0x14006c23b
lea rcx, [r9 + r8*8]
lea rax, [rbp + 0x20]
cmp rax, rcx
jb 0x14006c5a4
test r8d, r8d
jne 0x14006c246
lea ebx, [r8 + 1]
jmp 0x14006c24d
lea ebx, [rdx + rdx]
test ebx, ebx
js 0x14006c29a
mov edx, ebx
cmp rdx, 0xfffffff
ja 0x14006c29a
mov r8d, 8
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__recalloc]
mov rcx, rax
test rax, rax
je 0x14006c29a
mov dword [rbp - 0x6c], ebx
mov qword [rbp - 0x78], rax
mov edx, dword [rbp - 0x70]
jmp 0x14006c27f
mov rcx, qword [rbp - 0x78]
movsxd rax, edx
lea r8, [rcx + rax*8]
test r8, r8
je 0x14006c295
lea rax, [rbp + 0x28]
mov qword [r8], rax
mov edx, dword [rbp - 0x70]
inc edx
mov dword [rbp - 0x70], edx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8001
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostMessageW]
mov ebx, r15d
mov edi, 1
test edi, edi
je 0x14006c2f3
nop dword [rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14006c2f3
mov rax, qword [rsp + 0x70]
mov edx, ebx
inc ebx
lea rcx, [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
jne 0x14006c2c0
mov edi, r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x14006c2b5
test eax, eax
je 0x14006c367
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
jne 0x14006c337
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [rbp - 0x60]
sub eax, 0xf
je 0x14006c2b5
sub eax, 0x91
je 0x14006c2b5
sub eax, 0x78
je 0x14006c2b5
cmp eax, 0xe8
je 0x14006c2b5
jmp 0x14006c2ad
mov rdi, qword [0x1403754d0]
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140375aa8]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, r15d
movsxd rcx, dword [rbx + 0x10]
test ecx, ecx
jle 0x14006c3c6
mov r9, rcx
mov rdx, r15
mov rcx, qword [rbx]
nop dword [rax]
cmp dword [rcx], eax
je 0x14006c3b5
inc r8d
inc rdx
add rcx, 4
cmp rdx, r9
jl 0x14006c3a0
jmp 0x14006c3c6
cmp r8d, 0xffffffff
je 0x14006c3c6
mov edx, r8d
mov rcx, rbx
call fcn.1400693d0
lea rcx, [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r15d
mov rbx, qword [0x140375a98]
test rbx, rbx
je 0x14006c408
cmp qword [rbx], rax
je 0x14006c408
test eax, eax
jne 0x14006c452
mov ecx, dword [rbx + 0x28]
test ecx, ecx
jne 0x14006c3f4
mov eax, r15d
jmp 0x14006c3fa
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
add rbx, 0x48
cmp qword [rbx], 0
jne 0x14006c3e4
test eax, eax
jne 0x14006c452
mov eax, r15d
mov rbx, qword [0x140347110]
mov rdx, qword [0x140347118]
cmp rbx, rdx
jae 0x14006c452
nop
test eax, eax
jne 0x14006c452
mov rcx, qword [rbx]
test rcx, rcx
je 0x14006c449
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax + 8]
test ecx, ecx
jne 0x14006c43c
mov eax, r15d
jmp 0x14006c449
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rdx, qword [0x140347118]
add rbx, 8
cmp rbx, rdx
jb 0x14006c420
call fcn.1400dedd0
test rax, rax
je 0x14006c49e
mov byte [rax + 0x11], 1
mov qword [rbp + 0xd8], r15
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0xa0]
call fcn.140057800
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x14006c499
mov rax, qword [rcx]
lea rdx, [rbp + 0xa0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
call fcn.1400e0c60
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14006c4c3
cmp qword [rbp - 8], 0
je 0x14006c4c3
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x70], r14
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14006c4e4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14006c4f8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x28]
call fcn.140069710
call qword [sym.imp.ole32.dll_OleUninitialize]
lea rcx, [rbp + 0x30]
call fcn.140067ee0
mov rbx, qword [rbp]
test rbx, rbx
je 0x14006c572
mov rdi, qword [rbp + 8]
cmp rbx, rdi
je 0x14006c537
mov rcx, rbx
call fcn.140052120
add rbx, 0x20
cmp rbx, rdi
jne 0x14006c522
mov rbx, qword [rbp]
mov rdx, qword [rbp + 0x10]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006c56a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c56a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400e6a28
xor eax, eax
mov rcx, qword [rbp + 0x208]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0x310]
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
mov ecx, 0x80004005
call fcn.140052c30
int3
call fcn.140052190
int3