Function at 0x7ff6d8e7fd00
Capabilities:
Access the windows event log
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x7ff6d8eee010]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x70], r12d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call fcn.7ff6d8e9d8e0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1b0]
call fcn.7ff6d8e9d8e0
mov dword [rsp + 0x78], 2
mov qword [rbp - 0x80], r12
lea rbx, [0x7ff6d8ef3c50]
mov r8, rbx
lea rdx, [0x7ff6d8e815c0]
lea rcx, [0x7ff6d8ef3c60]
call fcn.7ff6d8e99e38
test eax, eax
je 0x7ff6d8e8037a
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x70], 1
mov dword [0x7ff6d8eeec40], 1
lea rdx, [rsp + 0x70]
lea rcx, str.JHI_LOG
call fcn.7ff6d8e69360
test al, al
jne 0x7ff6d8e7fdce
lea rcx, str.LogLevel_setting_not_found._Setting_to_release_prints_only.
call fcn.7ff6d8e63170
jmp 0x7ff6d8e7fdff
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x7ff6d8e7fdf8
sub eax, 1
je 0x7ff6d8e7fde0
cmp eax, 1
je 0x7ff6d8e7fdec
mov dword [0x7ff6d8eeec40], 1
jmp 0x7ff6d8e7fdff
mov dword [0x7ff6d8eeec40], 2
jmp 0x7ff6d8e7fdff
mov dword [0x7ff6d8eeec40], r12d
mov dword [rsp + 0x70], r12d
mov dword [0x7ff6d8ef17e0], r12d
lea rdx, [rsp + 0x70]
lea rcx, str.JHI_LOG_TARGET
call fcn.7ff6d8e69360
test al, al
jne 0x7ff6d8e7fe2e
lea rcx, str.Log_target_setting_not_found._Defaulting_to_debugger.
call fcn.7ff6d8e631b0
jmp 0x7ff6d8e7fe4c
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x7ff6d8e7fe45
cmp eax, 1
mov dword [0x7ff6d8ef17e0], 1
je 0x7ff6d8e7fe4c
mov dword [0x7ff6d8ef17e0], r12d
mov eax, dword [0x7ff6d8eeec40]
cmp eax, 1
jne 0x7ff6d8e7fe65
lea rcx, str.JHI_service_release_prints_are_enabled_n
call fcn.7ff6d8e63170
jmp 0x7ff6d8e7fe76
cmp eax, 2
jne 0x7ff6d8e7fe76
lea rcx, str.JHI_service_debug_trace_and_release_prints_are_enabled_n
call fcn.7ff6d8e631b0
mov rbx, qword [0x7ff6d8ef1818]
mov ecx, 0x40c
call fcn.7ff6d8e990dc
mov rdi, rax
mov r8, rax
lea rdx, str.APPLETSLOCALE
mov rcx, rbx
call fcn.7ff6d8e69440
test al, al
jne 0x7ff6d8e7ff18
test rdi, rdi
je 0x7ff6d8e7feb2
mov edx, 2
mov rcx, rdi
call fcn.7ff6d8e98b74
lea rcx, str.unable_to_find_applets_repository_location_from_registry
call fcn.7ff6d8e63170
lea rdx, str.IntelDalJhi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x7ff6d8e7ff0e
xor r8d, r8d
lea edx, [r8 + 1]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x20], r12
mov r9d, 0xc0000006
mov rcx, rax
call qword [sym.imp.ADVAPI32.DLL_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.DLL_DeregisterEventSource]
mov edi, 0x501
jmp 0x7ff6d8e80346
mov r8d, 0x206
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
test rdi, rdi
je 0x7ff6d8e7ff3d
mov edx, 2
mov rcx, rdi
call fcn.7ff6d8e98b74
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.7ff6d8ea5db8
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x7ff6d8e7ffae
lea rax, [rbp - 0x60]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r12w
jne 0x7ff6d8e7ff60
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.7ff6d8e6d1d0
nop
mov r14d, 7
mov dword [rsp + 0x70], r14d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.7ff6d8e7fa10
test al, al
jne 0x7ff6d8e7ffae
mov bl, 1
jmp 0x7ff6d8e7ffb0
xor bl, bl
mov edi, 0x1000
test r14b, 1
je 0x7ff6d8e7fff9
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x7ff6d8e7fff9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, rdi
jb 0x7ff6d8e7fff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e80380
call fcn.7ff6d8e98b74
test bl, bl
je 0x7ff6d8e80062
lea rcx, str.Init_failed___cannot_find_applet_repository_directory._Searched_location:
call fcn.7ff6d8e63170
lea rdx, str.IntelDalJhi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x7ff6d8e80346
xor r8d, r8d
lea edx, [r8 + 1]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r12w
mov qword [rsp + 0x20], r12
mov r9d, 0xc0000008
mov rcx, rax
call qword [sym.imp.ADVAPI32.DLL_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.DLL_DeregisterEventSource]
jmp 0x7ff6d8e80346
call fcn.7ff6d8e6cc30
mov r14, rax
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
lea rax, [rbp - 0x60]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x7ff6d8e80082
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.7ff6d8e6d1d0
nop
cmp qword [rbp - 0x70], 0
jne 0x7ff6d8e800a6
mov bl, 1
jmp 0x7ff6d8e800ff
mov edx, 0xffffffff
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea rbx, [r14 + 0x30]
lea rax, [rbp - 0x80]
cmp rbx, rax
je 0x7ff6d8e800db
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rbx
call fcn.7ff6d8e6d1d0
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
cmp qword [rbx + 0x18], 8
jb 0x7ff6d8e800ee
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.GlobalsManager___setAppletsFolder___s
call fcn.7ff6d8e631b0
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x7ff6d8e8013b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rdi
jb 0x7ff6d8e80136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e80374
call fcn.7ff6d8e98b74
test bl, bl
je 0x7ff6d8e80155
lea rcx, str.Init_failed___setAppletsFolder_failed.
call fcn.7ff6d8e631b0
mov edi, 0x601
jmp 0x7ff6d8e80346
mov rbx, qword [0x7ff6d8ef1818]
mov ecx, 0x40c
call fcn.7ff6d8e990dc
mov r14, rax
mov r8, rax
lea rdx, str.FILELOCALE
mov rcx, rbx
call fcn.7ff6d8e69440
test al, al
jne 0x7ff6d8e8019d
test r14, r14
je 0x7ff6d8e80191
mov edx, 2
mov rcx, r14
call fcn.7ff6d8e98b74
lea rcx, str.unable_to_query_file_location_from_registry
jmp 0x7ff6d8e7feb9
mov r8d, 0x206
lea rdx, [rbp + 0x1b0]
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
test r14, r14
je 0x7ff6d8e801c5
mov edx, 2
mov rcx, r14
call fcn.7ff6d8e98b74
xor edx, edx
lea rcx, [rbp + 0x1b0]
call fcn.7ff6d8ea5db8
test eax, eax
je 0x7ff6d8e801ed
lea rcx, str.Init_failed___the_service_file_location_does_not_exist
call fcn.7ff6d8e63170
mov edi, 0x601
jmp 0x7ff6d8e80346
call fcn.7ff6d8e6cc30
mov r14, rax
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
lea rax, [rbp + 0x1b0]
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x7ff6d8e80210
mov r8, rsi
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x80]
call fcn.7ff6d8e6d1d0
nop
mov rsi, qword [rbp - 0x70]
test rsi, rsi
jne 0x7ff6d8e8023b
mov bl, 1
jmp 0x7ff6d8e80293
mov edx, 0xffffffff
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea rbx, [r14 + 0x10]
lea rax, [rbp - 0x80]
cmp rbx, rax
je 0x7ff6d8e8026f
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r8, rsi
mov rcx, rbx
call fcn.7ff6d8e6d1d0
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
cmp qword [rbx + 0x18], 8
jb 0x7ff6d8e80282
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.GlobalsManager___setServiceFolder___s
call fcn.7ff6d8e631b0
xor bl, bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x7ff6d8e802cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rdi
jb 0x7ff6d8e802ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6d8e80374
call fcn.7ff6d8e98b74
test bl, bl
je 0x7ff6d8e802e6
lea rcx, str.Init_failed___setServiceFolder_failed.
call fcn.7ff6d8e63170
mov edi, 0x601
jmp 0x7ff6d8e80346
lea rdx, [rsp + 0x78]
lea rcx, str.JHI_TRANSPORT_TYPE
call fcn.7ff6d8e69360
test al, al
jne 0x7ff6d8e8030f
lea rcx, str.Unable_to_query_transport_type_from_registry__keeping_default__TEE_LIB_.
call fcn.7ff6d8e631b0
mov dword [rsp + 0x78], 2
call fcn.7ff6d8e6cc30
mov rbx, rax
mov edi, dword [rsp + 0x78]
mov edx, 0xffffffff
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov dword [rbx + 0x58], edi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov edx, edi
lea rcx, str.GlobalsManager___setTransportType___d.
call fcn.7ff6d8e631b0
mov edi, r12d
mov eax, edi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.7ff6d8e98b50
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
call fcn.7ff6d8ea5708
int3
call fcn.7ff6d8ea453c
int3
call fcn.7ff6d8ea5708
int3