Function at 0x1402ee6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, rcx
mov qword [rsp + 0x90], rcx
lea rbx, [rcx + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x58], rbx
mov rdx, qword [rdi + 0x158]
and qword [rdi + 0x158], 0
test rdx, rdx
je 0x1402ee71b
call fcn.14011bee8
lea rdx, str.Classification
lea rcx, [rsp + 0x240]
call fcn.14008c350
nop
lea rcx, [rsp + 0x220]
call fcn.140253d64
nop
lea r8, [rsp + 0x240]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.140252e08
nop
lea rcx, [rsp + 0x220]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x240]
call fcn.14007a7c0
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x200]
call fcn.140252e08
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.14008aed0
lea rcx, [rsp + 0x200]
call fcn.14007a7c0
lea rcx, [rsp + 0x260]
call qword [sym.imp.ole32.dll_CoCreateGuid]
nop dword [rax + rax]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x200]
call fcn.14007b824
nop
lea rcx, [rsp + 0x2b0]
call fcn.1400f6810
nop
lea r8, str.SenseCE_
mov rdx, rax
lea rcx, [rsp + 0x290]
call fcn.140076bd4
nop
lea r8, [rsp + 0x200]
mov rdx, rax
lea rcx, [rsp + 0x270]
call fcn.1400f0a08
nop
lea r8, str..log
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140076bd4
nop
lea rcx, [rsp + 0x270]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x290]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x2b0]
call fcn.14007a7c0
nop
call fcn.140091ae4
cmp dword [rax], 5
jbe 0x1402ee8d4
lea rcx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 8
cmovae rcx, qword [rsp + 0x1e0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 8
cmovae rcx, qword [rsp + 0x1c0]
mov qword [rsp + 0x40], rcx
lea rcx, str.Running_SenseCE
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [0x140457947]
mov rcx, rax
call fcn.1400092bc
lea rdx, [rsp + 0x70]
call fcn.1402f2400
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1a0]
call fcn.14006a6bc
nop
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x220]
call fcn.1402b03c0
nop
lea r9, [fcn.1400e4680]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8d, [rdx - 0xf]
lea rcx, [rsp + 0x1a0]
call fcn.140112a70
mov edx, 3
lea rcx, [rsp + 0xa0]
call fcn.1400920a8
nop
lea rdx, [0x1403e5c6c]
lea rcx, [rsp + 0xb0]
call fcn.140091e60
lea rdx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 8
cmovae rdx, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x1d0]
mov rcx, rax
call fcn.1400924c4
lea rdx, [0x1403ec6b8]
mov rcx, rax
call fcn.140091e60
mov rbx, rax
mov rcx, qword [rsp + 0x220]
mov rdx, qword [rcx]
test rdx, rdx
je 0x1402ee9bb
mov rdx, qword [rdx]
lea rcx, [rsp + 0x1a0]
call fcn.14008f76c
nop
lea rdx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 8
cmovae rdx, qword [rsp + 0x1a0]
mov r8, qword [rsp + 0x1b0]
mov rcx, rbx
call fcn.1400924c4
lea rbx, [rdi + 0x108]
lea rdx, [0x1403ec6b8]
mov rcx, rax
call fcn.140091e60
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x1402eea17
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400924c4
lea rdx, [0x1403ec6b8]
mov rcx, rax
call fcn.140091e60
mov edx, dword [rdi + 0x128]
mov rcx, rax
call qword [sym.imp.msvcp_win.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int____ptr64]
nop dword [rax + rax]
lea rdx, [0x1403ec6b8]
mov rcx, rax
call fcn.140091e60
mov edx, dword [rdi + 0x12c]
mov rcx, rax
call qword [sym.imp.msvcp_win.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int____ptr64]
nop dword [rax + rax]
lea rdx, [0x1403e5c6c]
mov rcx, rax
call fcn.140091e60
nop
lea rcx, [rsp + 0x1a0]
call fcn.14007a7c0
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0xa0]
call fcn.14010ff00
nop
lea rdx, str.LocalService
lea rcx, [rsp + 0x1a0]
call fcn.14008c350
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x48]
call fcn.140261bb0
nop
lea rcx, [rsp + 0x1a0]
call fcn.14007a7c0
mov rbx, qword [rsp + 0x48]
lea rax, [rbx + 1]
test rax, 0xfffffffffffffffe
jne 0x1402eebc2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1402eeb01
movzx ebx, ax
or ebx, 0x80070000
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x1402eeb42
mov dword [rsp + 0x40], ebx
lea rcx, str.Failed_to_create_local_service_token_for_running_SenseCE
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
lea rdx, [0x140456ffd]
mov rcx, rax
call fcn.14000615c
nop
lea rcx, [rsp + 0x48]
call fcn.1400f0310
nop
lea rcx, [rsp + 0x240]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400fa2f0
nop
lea rcx, [rsp + 0x220]
call fcn.14006ed00
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1402eeb87
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x1e0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x200]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400ccc30
mov eax, ebx
jmp 0x1402eefa6
lea rcx, [rsp + 0x60]
call fcn.1402ecbc8
nop
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x14], 1
and qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rbx
mov cl, byte [rdi + 0x130]
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x13], cl
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x10], 1
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x12], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x220]
lea r8, [rsp + 0x1e0]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x50]
call fcn.1402eccb0
mov rdx, rax
lea rcx, [rdi + 0x48]
call fcn.1402ecf7c
lea rcx, [rsp + 0x50]
call fcn.14011b9e8
cmp dword [rdi + 0xa4], 0
setne al
mov byte [rsp + 0x20], al
mov r9d, dword [rdi + 0x3c]
mov r8d, dword [rdi + 0x38]
mov edx, dword [rdi + 0x34]
mov rcx, qword [rdi + 0x48]
call fcn.14033f894
mov ebx, eax
cmp eax, 0x103
je 0x1402eeddf
test eax, eax
je 0x1402eeddf
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x1402eed20
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x1e0]
cmp qword [rsp + 0x1f8], 8
cmovae rcx, qword [rsp + 0x1e0]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 8
cmovae rcx, qword [rsp + 0x1c0]
mov qword [rsp + 0x80], rcx
lea rcx, str.SenseCE_run_finished_with_non_zero_exitCode
mov qword [rsp + 0x1a0], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
lea rdx, [0x1404578d4]
mov rcx, rax
call fcn.140001fa0
lea rcx, [0x1404e29f8]
call fcn.1402ef848
test al, al
je 0x1402eed3d
xor edx, edx
lea rcx, [rdi + 0x48]
call fcn.1402ef888
jmp 0x1402eed42
and qword [rdi + 0x48], 0
test ebx, ebx
jle 0x1402eed4f
movzx ebx, bx
or ebx, 0x80070000
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1402eed5f
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x48]
call fcn.1400f0310
nop
lea rcx, [rsp + 0x240]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400fa2f0
nop
lea rcx, [rsp + 0x220]
call fcn.14006ed00
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1402eeda4
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x1e0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x200]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400ccc30
mov eax, ebx
jmp 0x1402eefa6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1a0]
call fcn.14006a6bc
lea rdx, [rsp + 0x1a0]
mov rcx, rdi
call fcn.1402f27a4
mov ebx, eax
test eax, eax
jns 0x1402eeeb8
mov rcx, qword [rsp + 0x2e8]
mov r9d, eax
lea r8, str.amcorewcd_sourcedlppolicy_src_sensecerunner.cpp
mov edx, 0x3eb
call fcn.140070bd4
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1402eee38
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x48]
call fcn.1400f0310
nop
lea rcx, [rsp + 0x240]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400fa2f0
nop
lea rcx, [rsp + 0x220]
call fcn.14006ed00
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1402eee7d
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x1e0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x200]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400ccc30
mov eax, ebx
jmp 0x1402eefa6
test byte [0x1404e2680], 1
je 0x1402eeee1
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [0x1403c6468]
call fcn.140124370
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1402eeef1
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x48]
call fcn.1400f0310
nop
lea rcx, [rsp + 0x240]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400fa2f0
nop
lea rcx, [rsp + 0x220]
call fcn.14006ed00
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1402eef36
call fcn.14007e3e0
nop
lea rcx, [rsp + 0x1e0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x200]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14007a7c0
nop
lea rcx, [rsp + 0x58]
call fcn.1400ccc30
xor eax, eax
jmp 0x1402eefa6
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140112420
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2e0
pop rdi
ret