Function at 0x109b158
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 [0x010c91a0]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r14, rcx
mov qword [0x010d69f8], rcx
xor ebp, ebp
lea rcx, [0x010d6fe0]
mov r15d, ebp
mov dword [0x010d69f4], ebp
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
or qword [0x010d6dc8], 0xffffffffffffffff
lea r8, [0x010974f0]
lea rcx, [0x010d6dd0]
mov edx, 0x104
mov qword [0x010d7218], r14
mov dword [0x010d7008], 0x1f
mov byte [0x010d7330], bpl
call fcn.010a41b4
mov rcx, qword [0x010d7218]
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.010a433c
cmp rax, rbp
jne 0x109b220
lea rax, [rsp + 0x140]
jmp 0x109b224
add rax, 2
lea rbx, [0x010d7010]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea r9, [0x01097528]
lea r8, [0x01097550]
lea rcx, [rsp + 0x140]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call fcn.010a43d8
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 0x109b3c1
mov ecx, dword [0x010d7008]
mov r12, qword [rsp + 0x60]
call fcn.010a36c8
cmp rax, rbp
mov qword [0x010d6fd8], rax
je 0x109b3ac
cmp dword [0x010d7008], ebp
lea rbx, [0x01095d00]
mov edi, ebp
mov qword [0x010d7328], rbx
mov rsi, rbp
jbe 0x109b3ac
mov r13d, dword [rbx]
lea rax, [0x01095d04]
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 0x109b343
cmp dword [rsp + 0x58], 4
jne 0x109b343
mov ecx, dword [rsp + 0x50]
xor ebp, ebp
jmp 0x109b37e
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 [0x010d6fd8]
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 [0x010d7008]
jb 0x109b2e2
mov rcx, qword [rsp + 0x60]
call fcn.0109c824
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.WINMM.dll_timeGetTime]
lea rsi, [0x01096d38]
xor edx, edx
mov rcx, rsi
mov dword [0x010d6c24], eax
mov byte [0x010d7331], r13b
call qword [sym.imp.USER32.dll_FindWindowW]
cmp rax, rbp
je 0x109b3fe
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 0x109b450
mov ecx, eax
call fcn.010b28f0
lea rcx, [0x01096df8]
lea r8, [0x01096e30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rdx, [0x01096ea0]
xor ecx, ecx
mov r9d, 0x354
mov dword [rsp + 0x20], edi
call fcn.0109c5cc
jmp 0x109b87c
mov ebx, 0x64
lea r8, [0x01096d20]
lea rcx, [0x010d6d00]
mov rdx, rbx
call fcn.010a41b4
mov rdx, rbx
lea rbx, [0x010d6c30]
mov rcx, rbx
mov r8, rsi
call fcn.010a41b4
call fcn.0109be70
cmp eax, 4
jge 0x109b494
mov edi, 0x800700d8
jmp 0x109b87c
lea rax, [0x0109bca0]
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.0109ba8c
cmp eax, ebp
je 0x109b87c
mov rdx, qword [0x010d7288]
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 0x109b63f
mov rbx, qword [0x010d7288]
cmp rbx, rbp
je 0x109b827
lea rdx, [0x01098d00]
mov ecx, r14d
call fcn.0109c5cc
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x109b626
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x109b626
mov rax, qword [rcx]
mov edx, r13d
call qword [rax + 0x30]
mov qword [rbx + 0x68], rbp
cmp dword [rbx], ebp
je 0x109b632
mov rcx, rbx
call fcn.010a0000
mov rcx, rbx
call fcn.0109ffc8
jmp 0x109b827
cmp eax, r13d
jne 0x109b666
mov rcx, qword [0x010d7288]
cmp rcx, rbp
je 0x109b827
mov rcx, qword [rcx + 0x68]
cmp rcx, rbp
je 0x109b827
jmp 0x109b7ef
cmp eax, 2
jne 0x109b79e
mov rbx, qword [0x010d7288]
cmp rbx, rbp
je 0x109b827
cmp dword [0x010d72e4], ebp
jne 0x109b6a3
cmp dword [0x010d7300], ebp
jne 0x109b6a3
cmp dword [0x010d7310], ebp
jne 0x109b6a3
cmp dword [0x010d72e8], ebp
je 0x109b827
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 0x109b827
cmp dword [rsp + 0x118], ebp
mov ecx, esi
je 0x109b70c
lea rdx, [0x01099248]
call fcn.0109c5cc
mov dword [rbx + 0x50], r13d
jmp 0x109b71b
lea rdx, [0x01099268]
call fcn.0109c5cc
mov dword [rbx + 0x50], ebp
cmp dword [0x010d72e4], ebp
jne 0x109b747
cmp dword [0x010d72e8], ebp
jne 0x109b747
cmp dword [0x010d7300], ebp
je 0x109b785
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x109b785
mov rax, qword [rcx]
mov edx, dword [rbx + 0x50]
call qword [rax + 0x20]
jmp 0x109b785
cmp dword [0x010d72b0], 6
jne 0x109b77a
mov eax, dword [0x010d72b4]
cmp eax, r13d
jne 0x109b768
mov edx, dword [rbx + 0x50]
mov rcx, rbx
call fcn.0109f7ec
jmp 0x109b785
cmp eax, 3
jne 0x109b77a
mov edx, dword [rbx + 0x50]
mov rcx, rbx
call fcn.0109faf8
jmp 0x109b785
mov edx, dword [rbx + 0x50]
mov rcx, rbx
call fcn.0109f914
cmp dword [0x010d7310], ebp
je 0x109b827
mov rcx, rbx
call fcn.010a01a8
jmp 0x109b827
cmp eax, 3
jne 0x109b7cb
mov rbx, qword [0x010d7288]
cmp rbx, rbp
je 0x109b827
cmp qword [rbx + 0x68], rbp
je 0x109b827
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 0x109b827
cmp eax, 4
jne 0x109b827
mov rbx, qword [0x010d7288]
cmp rbx, rbp
je 0x109b827
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x109b827
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 0x109b827
cmp dword [rsp + 0xf0], 0x12
je 0x109b848
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 0x109b801
jmp 0x109b873
lea rdx, [0x01096ef0]
mov ecx, r12d
mov r15d, r13d
call fcn.0109c5cc
mov rcx, qword [0x010d6c28]
mov dword [0x010d72a8], r13d
cmp rcx, rbp
je 0x109b87c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
cmp r15d, ebp
je 0x109b5be
lea rdx, [0x01096f50]
mov ecx, r12d
call fcn.0109c5cc
cmp dword [0x010d72d0], ebp
je 0x109b8e6
mov rcx, qword [0x010d72c8]
cmp rcx, rbp
je 0x109b8a5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x01099640]
mov ecx, r12d
call fcn.0109c5cc
lea rdx, [0x01099610]
mov ecx, r12d
call fcn.0109c5cc
mov rcx, qword [0x010d7350]
cmp rcx, rbp
je 0x109b8d4
call fcn.010a3d84
mov rcx, qword [0x010d7230]
cmp rcx, rbp
je 0x109b8e6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x010d7280]
cmp rbx, rbp
je 0x109b913
mov rcx, qword [rbx + 8]
cmp rcx, rbp
je 0x109b904
call fcn.010a35a4
mov qword [rbx + 8], rbp
mov rcx, rbx
call fcn.010a35a4
mov qword [0x010d7280], rbp
mov rbx, qword [0x010d7288]
cmp rbx, rbp
je 0x109b9d5
mov rcx, qword [rbx + 0x68]
cmp rcx, rbp
je 0x109b939
mov rax, qword [rcx]
mov edx, r13d
call qword [rax + 0x30]
mov qword [rbx + 0x68], rbp
mov rcx, rbx
call fcn.0109ffc8
mov rcx, rbx
call fcn.0109ff64
mov rcx, qword [rbx + 0x30]
cmp rcx, rbp
je 0x109b962
cmp rcx, 0xffffffffffffffff
je 0x109b962
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], rbp
mov rcx, qword [rbx + 0x38]
cmp rcx, rbp
je 0x109b97b
cmp rcx, 0xffffffffffffffff
je 0x109b97b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov rcx, qword [rbx + 0x28]
cmp rcx, rbp
je 0x109b994
cmp rcx, 0xffffffffffffffff
je 0x109b994
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], rbp
mov rcx, qword [rbx + 0x40]
cmp rcx, rbp
je 0x109b9ad
cmp rcx, 0xffffffffffffffff
je 0x109b9ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rbp
mov rcx, qword [rbx + 0x48]
cmp rcx, rbp
je 0x109b9c6
cmp rcx, 0xffffffffffffffff
je 0x109b9c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x48], rbp
mov rcx, rbx
call fcn.010a35a4
mov qword [0x010d7288], rbp
mov rcx, qword [0x010d7298]
cmp rcx, rbp
je 0x109b9f1
mov rax, qword [rcx]
mov edx, r13d
call qword [rax + 0x30]
mov qword [0x010d7298], rbp
mov rbx, qword [0x010d7290]
cmp rbx, rbp
je 0x109ba14
mov rcx, rbx
call fcn.0109db48
mov rcx, rbx
call fcn.010a35a4
mov qword [0x010d7290], rbp
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x010d6fe0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [0x010d6fd8]
call fcn.010a35a4
cmp byte [0x010d7330], bpl
je 0x109ba49
mov rcx, qword [0x010d6dc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x010d7331], bpl
mov eax, edi
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.010a3ca0
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