Function at 0x14003e780
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r15, r9
mov r14, r8
mov r13d, edx
mov rbx, rcx
cmp edx, 0x16
jne 0x14003e982
mov eax, 0x80000000
test rax, r9
je 0x14003e8da
mov r8, r9
mov rdx, r14
lea rcx, str.CRtHDVBgProcWnd::OnUserLogOff__d__d_n
call fcn.1400056e0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], edi
mov qword [rbp - 8], rdi
mov dword [rbp + 0x38], edi
test dword [rbx + 0xcec], 0x8000
je 0x14003e8ca
mov r9d, 0x2001f
lea r8, [0x140289068]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x18]
call fcn.14000e2b0
test eax, eax
jne 0x14003e823
mov rdi, qword [rbp - 0x18]
jmp 0x14003e85b
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140289068]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x18]
call fcn.14000e080
mov rdi, qword [rbp - 0x18]
test eax, eax
jne 0x14003e8bc
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], 4
lea r9, [rbp - 0x28]
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x30], 2
mov r9d, 4
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, 2
mov rcx, rbx
call fcn.14003e6f0
nop
test rdi, rdi
je 0x14003e8f9
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003e8f9
test r14, r14
je 0x14003e8f9
test r15, r15
jne 0x14003e8f9
test dword [rcx + 0xcec], 0x8000
je 0x14003e8f9
lea edx, [r15 + 3]
call fcn.14003e6f0
cmp dword [0x1402ea814], 0
je 0x14003e969
cmp dword [rbx + 0xf8], 0
je 0x14003e942
call fcn.14005adc8
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea r9, str.Stop_OnEndSession
lea r8, str.DataRoutineInfo
lea rdx, str.General
call qword [rax + 0x110]
lea rcx, [rbx + 0xf0]
xor edx, edx
call fcn.1400155a0
jmp 0x14003e969
call fcn.14005adc8
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea r9, str.NOT_RUNNING_OnEndSession
lea r8, str.DataRoutineInfo
lea rdx, str.General
call qword [rax + 0x110]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14003ec81
cmp r13d, 0x2b1
jne 0x14003e9fe
cmp r14, 1
je 0x14003e997
cmp r14, 8
jne 0x14003e9ad
test dword [rcx + 0xcec], 0x8000
je 0x14003e9ad
mov edx, 1
call fcn.14003e6f0
cmp r14, 2
jne 0x14003e9d3
test dword [rbx + 0xcec], 0x8000
je 0x14003ec81
mov edx, r14d
mov rcx, rbx
call fcn.14003e6f0
jmp 0x14003ec81
cmp r14, 7
jne 0x14003ec81
test dword [rbx + 0xcec], 0x8000
je 0x14003ec81
lea edx, [r14 - 3]
mov rcx, rbx
call fcn.14003e6f0
jmp 0x14003ec81
cmp r13d, 0x218
jne 0x14003ec70
cmp r14, 4
jne 0x14003ea28
test dword [rcx + 0xcec], 0x8000
je 0x14003ea4f
lea edx, [r14 - 1]
call fcn.14003e6f0
jmp 0x14003ea4f
cmp r14, 7
ja 0x14003eafc
cmp r14, 6
jae 0x14003ebc1
test r14, r14
je 0x14003eaeb
cmp r14, 4
jne 0x14003ec81
lea rcx, str.PBT_APMSUSPEND
call fcn.1400056e0
mov r8, r15
mov edx, 4
lea rcx, str.CRtHDVBgProcWnd::OnSystemSuspend__d__d_n
call fcn.1400056e0
cmp dword [0x1402ea814], 0
je 0x14003ec81
cmp dword [rbx + 0xf8], 0
je 0x14003eabf
call fcn.14005adc8
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea r9, str.Stop_ON_SystemSuspend
lea r8, str.DataRoutineInfo
lea rdx, str.General
call qword [rax + 0x110]
lea rcx, [rbx + 0xf0]
xor edx, edx
call fcn.1400155a0
jmp 0x14003ec81
call fcn.14005adc8
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea r9, str.NOT_RUNNING_ON_SystemSuspend
lea r8, str.DataRoutineInfo
lea rdx, str.General
call qword [rax + 0x110]
jmp 0x14003ec81
lea rcx, str.PBT_APMQUERYSUSPEND
call fcn.1400056e0
jmp 0x14003ec81
cmp r14, 0x12
je 0x14003ebc1
cmp r14, 0x8013
jne 0x14003ec81
add rcx, 0xc00
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r12, qword [rbx + 0xb98]
xor edi, edi
mov esi, edi
test r12d, r12d
je 0x14003ebaf
mov rcx, rdi
cmp esi, dword [rbx + 0xb98]
jae 0x14003eb5a
mov edx, esi
lea rcx, [rbx + 0xb80]
call fcn.14004c12c
test rax, rax
je 0x14003ee0a
mov rcx, qword [rax + 0x10]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov dword [rbp - 8], 5
test rcx, rcx
jne 0x14003eb7a
lea rcx, [rbp - 0x18]
call fcn.14001fcf0
nop
jmp 0x14003eba8
mov eax, dword [rcx + 0x15c]
dec eax
test eax, 0xfffffffd
je 0x14003eb95
lea rcx, [rbp - 0x18]
call fcn.14001fcf0
nop
jmp 0x14003eba8
mov rdx, r15
call fcn.140013f50
nop
lea rcx, [rbp - 0x18]
call fcn.14001fcf0
nop
inc esi
cmp esi, r12d
jb 0x14003eb34
lea rcx, [rbx + 0xbf0]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14003ec81
mov r8, r15
mov rdx, r14
lea rcx, str.CRtHDVBgProcWnd::OnSystemResume__d__d_n
call fcn.1400056e0
cmp dword [0x1402ea7c4], 0
je 0x14003ec3d
mov r8, r15
mov rdx, r14
lea rcx, str.CVolCustom::OnSystemResume__d__d_n
call fcn.1400056e0
cmp dword [0x1402ea7c4], 0
je 0x14003ec3d
lea rcx, str.CVolCustom::S3HpProtect_OnSystemResume_n
call fcn.1400056e0
call fcn.14005d1cc
test rax, rax
je 0x14003ec24
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14003ec24
mov rdi, qword [rax + 0x40]
jmp 0x14003ec26
xor edi, edi
xor r9d, r9d
mov edx, 0x3ec
mov r8d, 0x1388
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x1402ea804], 0
je 0x14003ec81
lea rcx, [rbx + 0xa60]
call fcn.140027010
test rax, rax
je 0x14003ec81
cmp dword [rax + 0x148], 0
je 0x14003ec81
cmp dword [rax + 0x40], 0
je 0x14003ec81
mov rcx, rax
call fcn.1400072e0
jmp 0x14003ec81
cmp r13d, 0x401
jne 0x14003ec81
xor edi, edi
mov dword [rcx + 0x5a4], edi
cmp dword [0x1402ea800], 0
je 0x14003ed48
cmp dword [rbx + 0x1400], 0
jne 0x14003ed48
lea rdi, [rbx + 0x13d0]
cmp r13d, 0x4a
je 0x14003ede3
cmp r13d, dword [rdi]
jne 0x14003ed48
mov rax, r15
test r15, r15
je 0x14003edca
sub rax, 1
je 0x14003edb5
sub rax, 1
je 0x14003ed80
sub rax, 1
je 0x14003ed77
cmp rax, 0x7ffe
jne 0x14003ed48
lea rcx, str.CSkypeMgr::OnAPIAttachAvailable_n
call fcn.1400056e0
mov dword [rdi + 0x20], 1
mov rdx, qword [rdi + 0x28]
lea rcx, str.CSkypeMgr::BroadCastSkypeControlAPIDiscoverMsgID__d_n
call fcn.1400056e0
xor r9d, r9d
mov r8, qword [rdi + 0x28]
mov edx, dword [rdi + 4]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x270f
lea rcx, str._tSet_Timer..._d_n
call fcn.1400056e0
xor r9d, r9d
mov edx, 0x270f
mov r8d, 0x3e8
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_SetTimer]
mov r9, r15
mov r8, r14
mov edx, r13d
mov rcx, rbx
call fcn.140056bb4
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
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 dword [rdi + 0x20], 5
jmp 0x14003ed48
lea rcx, str.CSkypeMgr::OnAPIAttachRefused_n
call fcn.1400056e0
mov dword [rdi + 0x20], 4
mov edx, 0x270f
lea rcx, str._tKill_Timer..._d_n
call fcn.1400056e0
mov edx, 0x270f
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_KillTimer]
jmp 0x14003ed48
lea rcx, str.CSkypeMgr::OnAPIPendingAuthorization_n
call fcn.1400056e0
mov dword [rdi + 0x20], 3
jmp 0x14003ed93
lea rcx, str.CSkypeMgr::OnAPIAttachSuccess_n
call fcn.1400056e0
mov dword [rdi + 0x20], 2
mov qword [rdi + 8], r14
jmp 0x14003ed93
cmp qword [rdi + 8], r14
jne 0x14003ed48
mov r9, r15
mov r8, r14
mov edx, 0x4a
mov rcx, rdi
call fcn.140043490
mov eax, 1
jmp 0x14003ed59
call fcn.14004ba44
int3