Function at 0x1094370
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r12, rdx
mov rdx, qword [rdx]
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov rbp, r8
call fcn.0109a964
lea rdx, [rsi + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.0109b018
lea rdx, [rsi + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.0109b0a4
mov r8, qword [rsi + 0xe0]
lea rdx, [0x01085838]
mov ecx, 0x1d
call fcn.01091f4c
lea rcx, [rsi + 0xd0]
mov rdx, r12
call fcn.010964d0
lea rcx, [rsi + 0xd8]
mov rdx, rbp
call fcn.010964d0
xor r13d, r13d
cmp dword [rsi + 0xa4], r13d
jne 0x1094a06
mov rcx, qword [rsi + 0x88]
cmp rcx, r13
jne 0x1094442
lea rax, [0x01085868]
mov r9d, 0x14a
lea r8, [0x010852d0]
lea rdx, [0x01085590]
xor ecx, ecx
mov edi, 0x80004003
mov qword [rsp + 0x20], rax
call fcn.01091f4c
jmp 0x1094a0b
cmp qword [rsi + 0x98], r13
jne 0x1094a06
cmp qword [rsi + 0x90], r13
jne 0x1094a06
mov rax, qword [rcx]
mov rdx, qword [r12]
lea r8, [rsi + 0x98]
call qword [rax + 0x28]
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rsi + 0x90]
call qword [rax + 0x28]
cmp qword [rsi + 0x98], r13
je 0x10949ff
cmp qword [rsi + 0x90], r13
je 0x10949ff
cmp qword [rsi + 0x80], r13
jne 0x10944ba
lea rax, [0x01085888]
mov r9d, 0x15b
jmp 0x109441e
cmp qword [rsi + 0x78], r13
jne 0x10944d2
lea rax, [0x010858a0]
mov r9d, 0x15c
jmp 0x109441e
cmp qword [rsi + 0xb0], r13
jne 0x10944f2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xb0], rax
cmp qword [rsi + 0xb8], r13
jne 0x1094512
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xb8], rax
cmp qword [rsi + 0xc0], r13
jne 0x1094532
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0xc0], rax
lea r9, [rsi + 0x48]
cmp qword [r9], r13
jne 0x1094a06
cmp qword [rsi + 0x58], r13
jne 0x1094a06
mov rcx, qword [rsi + 0x80]
mov ebp, 0x17
lea r8, [0x01087100]
mov rax, qword [rcx]
mov edx, ebp
call qword [rax + 0x68]
cmp eax, r13d
mov edi, eax
je 0x10945a7
mov ecx, eax
call fcn.010b7690
lea rcx, [0x010858c0]
mov r9d, 0x184
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x010852d0]
lea rdx, [0x01082320]
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.01091f4c
jmp 0x1094a0b
mov rcx, qword [rsi + 0x78]
lea r9, [rsi + 0x58]
lea r8, [0x01087110]
mov rax, qword [rcx]
mov edx, ebp
call qword [rax + 0x68]
cmp eax, r13d
mov edi, eax
je 0x10945db
mov ecx, eax
call fcn.010b7690
lea rcx, [0x01085960]
mov r9d, 0x185
jmp 0x109457f
mov ecx, 0x20
call fcn.010a687c
lea rdi, [0x010870c8]
cmp rax, r13
mov r8, rax
je 0x109460b
mov qword [rax], rdi
mov dword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], 0x10
jmp 0x109460e
mov r8, r13
cmp r8, r13
mov qword [rsi + 0x40], r8
jne 0x1094621
mov edi, 0x8007000e
jmp 0x1094a0b
mov rcx, qword [rsi + 0x80]
lea rdx, [0x01087100]
mov rax, qword [rcx]
call qword [rax + 0x70]
cmp eax, r13d
je 0x1094657
mov rcx, qword [rsi + 0x40]
cmp rcx, r13
je 0x109464d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x40], r13
mov edi, 0x8004080a
jmp 0x1094a0b
mov ecx, 0x20
call fcn.010a687c
cmp rax, r13
mov r8, rax
je 0x1094680
mov qword [rax], rdi
mov dword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], 0x20
jmp 0x1094683
mov r8, r13
cmp r8, r13
mov qword [rsi + 0x38], r8
je 0x1094617
mov rcx, qword [rsi + 0x78]
lea rdx, [0x01087110]
mov rax, qword [rcx]
call qword [rax + 0x70]
cmp eax, r13d
je 0x10946c3
mov rcx, qword [rsi + 0x38]
mov edi, 0x8004080a
cmp rcx, r13
je 0x1094a0b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x38], r13
jmp 0x1094a0b
mov rdx, qword [r12]
mov rcx, rsi
call fcn.01095d50
cmp eax, r13d
mov edi, eax
je 0x10946ef
mov ecx, eax
call fcn.010b7690
lea rcx, [0x01085a10]
mov r9d, 0x1a9
jmp 0x109457f
mov rcx, qword [rsi + 0x58]
cmp rcx, r13
jne 0x1094724
lea rax, [0x01085610]
lea r8, [0x010852d0]
lea rdx, [0x01085590]
mov r9d, 0x117
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.01091f4c
jmp 0x1094835
mov dword [rsi + 0x60], 0xc2940000
mov dword [rsi + 0x64], 0x40c00000
mov rax, qword [rcx]
lea rdx, [rsi + 0xa0]
call qword [rax + 0x18]
test eax, eax
mov ebp, eax
je 0x1094781
mov ecx, eax
call fcn.010b7690
lea rcx, [0x010856f0]
mov r9d, 0x11d
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
lea r8, [0x010852d0]
lea rdx, [0x01082320]
xor ecx, ecx
call fcn.01091f4c
jmp 0x1094835
cmp dword [rsi + 0xa0], 2
je 0x10947a4
mov r8d, dword [rsi + 0xa0]
lea rdx, [0x01085760]
xor ecx, ecx
call fcn.01091f4c
jmp 0x1094835
mov rcx, qword [rsi + 0x58]
lea rdx, [rsp + 0x48]
lea r9, [rsi + 0x64]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
lea r8, [rsi + 0x60]
xor edx, edx
call qword [rax + 0x20]
cmp eax, r13d
mov ebx, eax
je 0x10947f0
mov ecx, eax
call fcn.010b7690
lea rcx, [0x010857b0]
mov r9d, 0x126
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
jmp 0x1094767
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xe8]
mov rcx, rsi
mov dword [rsi + 0xf0], r13d
mov dword [rsi + 0xf4], r13d
call fcn.01094084
cmp eax, r13d
jne 0x1094835
mov eax, dword [rsp + 0xe0]
mov dword [rsi + 0xf0], eax
mov eax, dword [rsp + 0xe8]
mov dword [rsi + 0xf4], eax
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x48]
lea rdx, [0x01080e10]
mov r9d, 0x80000000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rbx, r13
mov dword [rsp + 0xe0], 4
mov qword [rsp + 0x48], r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r13d
mov ebp, eax
jne 0x109487b
mov rbx, qword [rsp + 0x48]
mov ebp, r13d
cmp ebp, r13d
je 0x1094896
mov ecx, ebp
call fcn.010b7690
lea rcx, [0x01085490]
mov r9d, 0xd5
jmp 0x10948ff
lea rax, [rsp + 0xe0]
lea r9, [rsp + 0xe8]
lea rdx, [0x01080e30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf8]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r13d
mov ebp, eax
jne 0x10948e6
cmp dword [rsp + 0xe8], 3
je 0x10948e3
mov ebp, 0xd
jmp 0x10948eb
mov ebp, r13d
cmp ebp, r13d
je 0x1094922
mov ecx, ebp
call fcn.010b7690
lea rcx, [0x010854f0]
mov r9d, 0xd6
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x010852d0]
lea rdx, [0x01082320]
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call fcn.01091f4c
cmp rbx, r13
je 0x1094930
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bp
or eax, 0x80070000
cmp ebp, r13d
cmovle eax, ebp
cmp eax, r13d
jl 0x1094956
mov eax, dword [rsp + 0xf8]
shr eax, 0xb
and eax, 1
mov dword [rsi + 0xa8], eax
cmp qword [rsi + 0x30], r13
je 0x1094966
mov edi, 0x8000ffff
jmp 0x1094a0b
mov rax, qword [rsi]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x20]
mov rcx, rsi
call qword [rax]
mov r11, qword [rsi]
xor r9d, r9d
lea edx, [r9 + 0x10]
xor r8d, r8d
mov rcx, rsi
call qword [r11]
lea r11, [rsp + 0x40]
lea r8, [0x01093b74]
mov qword [rsp + 0x28], r11
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, r13
mov qword [rsi + 0x30], rax
jne 0x10949d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi + 0xe0]
lea rdx, [0x01085a60]
xor ecx, ecx
mov edi, eax
call fcn.01091f4c
jmp 0x10949f3
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsi + 0xe0]
lea rdx, [0x01085ab0]
mov ecx, 0x1d
call fcn.01091f4c
mov dword [rsi + 0xa4], 1
jmp 0x1094a0b
mov edi, 0x8004080b
jmp 0x1094a0b
mov edi, 0x800700b7
lea rcx, [rsp + 0x50]
call fcn.0109ab2c
mov rbx, qword [rsp + 0xf0]
mov eax, edi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret