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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x550
mov rax, qword [0x010b41a0]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r14, rcx
mov qword [0x010c19f8], rcx
xor ebp, ebp
lea rcx, [0x010c1fe0]
mov r15d, ebp
mov dword [0x010c19f4], ebp
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
or qword [0x010c1dc8], 0xffffffffffffffff
lea r8, [0x010824f0]
lea rcx, [0x010c1dd0]
mov edx, 0x104
mov qword [0x010c2218], r14
mov dword [0x010c2008], 0x1f
mov byte [0x010c2330], bpl
call fcn.0108f1b4
mov rcx, qword [0x010c2218]
mov edi, 0x200
lea rdx, [rsp + 0x140]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x140]
mov dx, 0x5c
call fcn.0108f33c
cmp rax, rbp
jne 0x1086220
lea rax, [rsp + 0x140]
jmp 0x1086224
add rax, 2
lea rbx, [0x010c2010]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea r9, [0x01082528]
lea r8, [0x01082550]
lea rcx, [rsp + 0x140]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call fcn.0108f3d8
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea rdx, [rsp + 0x140]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebp
mov r13d, 1
jne 0x10863c1
mov ecx, dword [0x010c2008]
mov r12, qword [rsp + 0x60]
call fcn.0108e6c8
cmp rax, rbp
mov qword [0x010c1fd8], rax
je 0x10863ac
cmp dword [0x010c2008], ebp
lea rbx, [0x01080d00]
mov edi, ebp
mov qword [0x010c2328], rbx
mov rsi, rbp
jbe 0x10863ac
mov r13d, dword [rbx]
lea rax, [0x01080d04]
mov ebp, edi
imul rbp, rbp, 0x84
add rbp, rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x54], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1086343
cmp dword [rsp + 0x58], 4
jne 0x1086343
mov ecx, dword [rsp + 0x50]
xor ebp, ebp
jmp 0x108637e
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r13d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [rsp + 0x50]
xor ebp, ebp
cmp eax, ebp
cmovne ecx, ebp
mov dword [rsp + 0x50], ecx
mov rax, qword [0x010c1fd8]
cmp ecx, ebp
mov r13d, 1
setne cl
add edi, r13d
add rbx, 0x84
mov byte [rsi + rax], cl
add rsi, r13
cmp edi, dword [0x010c2008]
jb 0x10862e2
mov rcx, qword [rsp + 0x60]
call fcn.01087824
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.WINMM.dll_timeGetTime]
lea rsi, [0x01081d38]
xor edx, edx
mov rcx, rsi
mov dword [0x010c1c24], eax
mov byte [0x010c2331], r13b
call qword [sym.imp.USER32.dll_FindWindowW]
cmp rax, rbp
je 0x10863fe
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov r12d, 0x1d
cmp eax, ebp
mov edi, eax
je 0x1086450
mov ecx, eax
call fcn.0109d8f0
lea rcx, [0x01081df8]
lea r8, [0x01081e30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rdx, [0x01081ea0]
xor ecx, ecx
mov r9d, 0x354
mov dword [rsp + 0x20], edi
call fcn.010875cc
jmp 0x108687c
mov ebx, 0x64
lea r8, [0x01081d20]
lea rcx, [0x010c1d00]
mov rdx, rbx
call fcn.0108f1b4
mov rdx, rbx
lea rbx, [0x010c1c30]
mov rcx, rbx
mov r8, rsi
call fcn.0108f1b4
call fcn.01086e70
cmp eax, 4
jge 0x1086494
mov edi, 0x800700d8
jmp 0x108687c
lea rax, [0x01086ca0]
mov edx, 0x6b
mov rcx, r14
mov dword [rsp + 0x70], 0x50
mov dword [rsp + 0x74], 3
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x84], ebp
mov qword [rsp + 0x88], r14
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, qword [rsp + 0x88]
mov edx, 0x6c
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 6
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor edx, edx
mov rcx, r14
call fcn.01086a8c
cmp eax, ebp
je 0x108687c
mov rdx, qword [0x010c2288]
mov ecx, 0x1388
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0xc0], rax
mov rax, qword [rdx + 0x30]
mov qword [rsp + 0xc8], rax
mov rax, qword [rdx + 0x38]
mov qword [rsp + 0xd0], rax
mov rax, qword [rdx + 0x40]
mov qword [rsp + 0xd8], rax
mov rax, qword [rdx + 0x48]
mov qword [rsp + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_FindWindowW]
xor r9d, r9d
mov edx, 0x107
mov rcx, rax
mov r8d, 0xbb8
call qword [sym.imp.USER32.dll_SetTimer]
mov esi, 0xc
lea r14d, [rsi - 7]
lea rdx, [rsp + 0xc0]
or r9d, 0xffffffff
xor r8d, r8d
mov ecx, r14d
mov dword [rsp + 0x20], 0x4ff
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebp
jne 0x108663f
mov rbx, qword [0x010c2288]
cmp rbx, rbp
je 0x1086827
lea rdx, [0x01083d00]
mov ecx, r14d
call fcn.010875cc
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x1086626
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x1086626
mov rax, qword [rcx]
mov edx, r13d
call qword [rax + 0x30]
mov qword [rbx + 0x68], rbp
cmp dword [rbx], ebp
je 0x1086632
mov rcx, rbx
call fcn.0108b000
mov rcx, rbx
call fcn.0108afc8
jmp 0x1086827
cmp eax, r13d
jne 0x1086666
mov rcx, qword [0x010c2288]
cmp rcx, rbp
je 0x1086827
mov rcx, qword [rcx + 0x68]
cmp rcx, rbp
je 0x1086827
jmp 0x10867ef
cmp eax, 2
jne 0x108679e
mov rbx, qword [0x010c2288]
cmp rbx, rbp
je 0x1086827
cmp dword [0x010c22e4], ebp
jne 0x10866a3
cmp dword [0x010c2300], ebp
jne 0x10866a3
cmp dword [0x010c2310], ebp
jne 0x10866a3
cmp dword [0x010c22e8], ebp
je 0x1086827
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x118]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2206b8
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x54], ebp
mov dword [rsp + 0x118], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebp
je 0x1086827
cmp dword [rsp + 0x118], ebp
mov ecx, esi
je 0x108670c
lea rdx, [0x01084248]
call fcn.010875cc
mov dword [rbx + 0x50], r13d
jmp 0x108671b
lea rdx, [0x01084268]
call fcn.010875cc
mov dword [rbx + 0x50], ebp
cmp dword [0x010c22e4], ebp
jne 0x1086747
cmp dword [0x010c22e8], ebp
jne 0x1086747
cmp dword [0x010c2300], ebp
je 0x1086785
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x1086785
mov rax, qword [rcx]
mov edx, dword [rbx + 0x50]
call qword [rax + 0x20]
jmp 0x1086785
cmp dword [0x010c22b0], 6
jne 0x108677a
mov eax, dword [0x010c22b4]
cmp eax, r13d
jne 0x1086768
mov edx, dword [rbx + 0x50]
mov rcx, rbx
call fcn.0108a7ec
jmp 0x1086785
cmp eax, 3
jne 0x108677a
mov edx, dword [rbx + 0x50]
mov rcx, rbx
call fcn.0108aaf8
jmp 0x1086785
mov edx, dword [rbx + 0x50]
mov rcx, rbx
call fcn.0108a914
cmp dword [0x010c2310], ebp
je 0x1086827
mov rcx, rbx
call fcn.0108b1a8
jmp 0x1086827
cmp eax, 3
jne 0x10867cb
mov rbx, qword [0x010c2288]
cmp rbx, rbp
je 0x1086827
cmp qword [rbx + 0x68], rbp
je 0x1086827
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1086827
cmp eax, 4
jne 0x1086827
mov rbx, qword [0x010c2288]
cmp rbx, rbp
je 0x1086827
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x1086827
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x68]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x40]
call qword [rax + 0x28]
jmp 0x1086827
cmp dword [rsp + 0xf0], 0x12
je 0x1086848
lea rcx, [rsp + 0xe8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0xe8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebp
jne 0x1086801
jmp 0x1086873
lea rdx, [0x01081ef0]
mov ecx, r12d
mov r15d, r13d
call fcn.010875cc
mov rcx, qword [0x010c1c28]
mov dword [0x010c22a8], r13d
cmp rcx, rbp
je 0x108687c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
cmp r15d, ebp
je 0x10865be
lea rdx, [0x01081f50]
mov ecx, r12d
call fcn.010875cc
cmp dword [0x010c22d0], ebp
je 0x10868e6
mov rcx, qword [0x010c22c8]
cmp rcx, rbp
je 0x10868a5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x01084640]
mov ecx, r12d
call fcn.010875cc
lea rdx, [0x01084610]
mov ecx, r12d
call fcn.010875cc
mov rcx, qword [0x010c2350]
cmp rcx, rbp
je 0x10868d4
call fcn.0108ed84
mov rcx, qword [0x010c2230]
cmp rcx, rbp
je 0x10868e6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x010c2280]
cmp rbx, rbp
je 0x1086913
mov rcx, qword [rbx + 8]
cmp rcx, rbp
je 0x1086904
call fcn.0108e5a4
mov qword [rbx + 8], rbp
mov rcx, rbx
call fcn.0108e5a4
mov qword [0x010c2280], rbp
mov rbx, qword [0x010c2288]
cmp rbx, rbp
je 0x10869d5
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x1086939
mov rax, qword [rcx]
mov edx, r13d
call qword [rax + 0x30]
mov qword [rbx + 0x68], rbp
mov rcx, rbx
call fcn.0108afc8
mov rcx, rbx
call fcn.0108af64
mov rcx, qword [rbx + 0x30]
cmp rcx, rbp
je 0x1086962
cmp rcx, 0xffffffffffffffff
je 0x1086962
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], rbp
mov rcx, qword [rbx + 0x38]
cmp rcx, rbp
je 0x108697b
cmp rcx, 0xffffffffffffffff
je 0x108697b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov rcx, qword [rbx + 0x28]
cmp rcx, rbp
je 0x1086994
cmp rcx, 0xffffffffffffffff
je 0x1086994
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], rbp
mov rcx, qword [rbx + 0x40]
cmp rcx, rbp
je 0x10869ad
cmp rcx, 0xffffffffffffffff
je 0x10869ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rbp
mov rcx, qword [rbx + 0x48]
cmp rcx, rbp
je 0x10869c6
cmp rcx, 0xffffffffffffffff
je 0x10869c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x48], rbp
mov rcx, rbx
call fcn.0108e5a4
mov qword [0x010c2288], rbp
mov rcx, qword [0x010c2298]
cmp rcx, rbp
je 0x10869f1
mov rax, qword [rcx]
mov edx, r13d
call qword [rax + 0x30]
mov qword [0x010c2298], rbp
mov rbx, qword [0x010c2290]
cmp rbx, rbp
je 0x1086a14
mov rcx, rbx
call fcn.01088b48
mov rcx, rbx
call fcn.0108e5a4
mov qword [0x010c2290], rbp
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x010c1fe0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [0x010c1fd8]
call fcn.0108e5a4
cmp byte [0x010c2330], bpl
je 0x1086a49
mov rcx, qword [0x010c1dc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x010c2331], bpl
mov eax, edi
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.0108eca0
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret