Function at 0x140159d80
Capabilities:
Get system information on windows
Query or enumerate registry key
Terminate thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x608], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov qword [rbp + 8], r8
mov rsi, rdx
mov qword [rbp - 0x60], rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
call fcn.14015a670
test al, al
je 0x14015a52f
xor r14d, r14d
mov qword [rbp - 0x78], r14
lea edx, [r14 + 0xb]
lea rcx, [rbp - 0x80]
call fcn.1401fcb40
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 0xb]
lea r8, str.Labels_Keys
mov rcx, qword [rbp - 0x80]
call fcn.1402ba94c
lea edx, [r14 + 0xb]
lea rcx, [rbp - 0x80]
call fcn.1401fde50
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.1400f4800
mov rbx, rax
add rdi, 0x48
mov qword [rbp + 0x10], rdi
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rdi]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.1401fde50
nop
cmp dword [rbp + 0x38], r14d
jle 0x140159e70
mov rcx, qword [rbp + 0x30]
call fcn.1402b7350
nop
cmp dword [rbp - 0x78], 0
jle 0x140159e7f
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
mov rdi, qword [0x140416ee8]
lea r15, [0x140346ce0]
test rdi, rdi
jne 0x140159e9c
mov ebx, r14d
mov qword [rsp + 0x70], r14
jmp 0x140159eb3
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140159ea0
mov qword [rsp + 0x70], r14
test ebx, ebx
jne 0x140159eba
mov qword [rsp + 0x68], r15
jmp 0x140159edf
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x68]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1401fde50
nop
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r14
xorps xmm0, xmm0
movss dword [rbp - 0x30], xmm0
mov edx, dword [rsp + 0x74]
lea rcx, [rbp - 0x28]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x74]
mov eax, dword [rbp - 0x20]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x28]
call fcn.1402ba94c
mov edx, dword [rsp + 0x74]
lea rcx, [rbp - 0x28]
call fcn.1401fde50
mov eax, 2
mov dword [rbp - 0x18], eax
lea r13, [rsi + 0x358]
mov qword [rbp - 0x58], r13
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, r13
call fcn.1401185d0
nop
cmp dword [rbp - 0x20], 0
jle 0x140159f64
mov rcx, qword [rbp - 0x28]
call fcn.1402b7350
nop
cmp dword [rsp + 0x70], 0
jle 0x140159f75
mov rcx, qword [rsp + 0x68]
call fcn.1402b7350
mov rdi, qword [rsp + 0x78]
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x38]
mov qword [rbp + 0x80], rcx
mov r12d, 1
mov rbx, r14
mov qword [rbp - 8], rbx
xor r8d, r8d
xor edx, edx
call fcn.14015a5f0
mov r14, rax
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15d, dword [rbp + 0x68]
dec r15d
cmp r15d, 2
mov eax, 2
cmovl r15d, eax
xor esi, esi
test r15d, r15d
jle 0x14015a041
nop dword [rax]
mov ecx, 0x60
call fcn.1402b6dbc
test rax, rax
je 0x140159fea
mov rdx, rdi
mov rcx, rax
call fcn.14015a700
mov qword [rbp], rax
mov rdi, qword [r14]
lea r9, [rbp]
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14015a640
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rbx
cmp rcx, 1
jb 0x14015a034
inc rbx
mov qword [rbp - 8], rbx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
inc esi
cmp esi, r15d
mov rdi, qword [rsp + 0x78]
jl 0x140159fd0
jmp 0x14015a041
lea rcx, str.list_T__too_long
call fcn.1402b2308
int3
mov rax, qword [r14]
cmp rax, r14
je 0x14015a06e
nop dword [rax]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rcx + 0x30]
mov ecx, r12d
mov qword [rbp + rcx*8 + 0x80], rdx
inc r12d
mov rax, qword [rax]
cmp rax, r14
jne 0x14015a050
mov ecx, 0xc
call fcn.1402b7390
mov rbx, rax
lea r8, str.HKLM_
mov edx, 6
mov rcx, rax
call fcn.1402b6e28
mov ecx, 0x20
call fcn.1402b6dbc
mov r14, rax
lea r15, vtable.HitmanPro35::RemnantKeyItem.0
test rax, rax
je 0x14015a0c2
mov qword [rax], r15
mov qword [rax + 8], 0xffffffff80000002
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], 0x50005
xor ebx, ebx
jmp 0x14015a0c7
xor ebx, ebx
mov r14d, ebx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14015a200
mov esi, ebx
lea r8, str.HKU_
mov edx, 0x109
lea rcx, [rbp + 0x280]
call fcn.1402b6e28
cmp dword [rsp + 0x60], 0
jbe 0x14015a200
mov r13d, 4
mov r9d, 0x105
lea r8, [rbp + 0x288]
mov edx, esi
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc esi
test eax, eax
jne 0x14015a1eb
lea r8, [0x140345f98]
mov edx, 0x109
lea rcx, [rbp + 0x280]
call fcn.1402b9308
lea rax, [rbp + 0x280]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015a190
mov ecx, 0x20
call fcn.1402b6dbc
mov rdi, rax
test rax, rax
je 0x14015a1d4
lea rcx, [rbp + 0x280]
call fcn.1402b9ff0
mov qword [rdi], r15
mov qword [rdi + 8], 0xffffffff80000003
mov qword [rdi + 0x10], rax
mov word [rdi + 0x18], bx
mov word [rdi + 0x1a], r13w
xor ebx, ebx
jmp 0x14015a1d8
xor ebx, ebx
mov edi, ebx
mov rdx, rdi
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rdi + 8]
call fcn.14015b2b0
jmp 0x14015a1f2
cmp eax, 0x103
je 0x14015a1fc
cmp esi, dword [rsp + 0x60]
jb 0x14015a140
mov r13, qword [rbp - 0x58]
mov rdx, r14
mov rcx, qword [rdi + 8]
call fcn.14015b2b0
lea r15, [r13 + 8]
mov r13, qword [rbp - 0x60]
mov r9d, 0x1f4
mov r8d, 1
lea rdx, [rbp + 0x80]
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov r14d, eax
mov r9d, dword [0x140428c50]
mov rax, qword [rbp + 0x10]
mov r8, qword [rax]
lea rdx, str._s__u
lea rcx, [rbp - 0x70]
call fcn.1401fcfe0
nop
lea rax, [0x140346ce0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 0
mov dword [rbp - 0x50], 0xbf800000
mov edx, dword [rbp - 0x64]
lea rcx, [rbp - 0x48]
call fcn.1401fcb40
movsxd r9, dword [rbp - 0x64]
mov eax, dword [rbp - 0x40]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x48]
call fcn.1402ba94c
mov edx, dword [rbp - 0x64]
lea rcx, [rbp - 0x48]
call fcn.1401fde50
mov eax, 2
mov dword [rbp - 0x38], eax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r13
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rdi, rax
lea rax, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_class_DelegateCall_class_HitmanPro35::HitmanPro____ptr64__struct_HitmanPro35::ApplicationMessageEventArgs____ptr64_____ptr64__.0
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rbx
test rdi, rdi
je 0x14015a2fe
mov ecx, 4
call fcn.1402b6dbc
mov rbx, rax
test rax, rax
je 0x14015a2f2
mov dword [rax], 0
mov qword [rbp + 0x28], rax
jmp 0x14015a2f8
xor ebx, ebx
mov qword [rbp + 0x28], rbx
mov dword [rbx], 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
je 0x14015a335
nop word [rax + rax]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x58]
call qword [rax]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
test al, al
jne 0x14015a310
test rbx, rbx
je 0x14015a35a
mov eax, dword [rbx]
test eax, eax
jle 0x14015a344
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x14015a35a
mov rcx, rdi
call fcn.1402150f0
mov rcx, rbx
call fcn.1402150f0
nop
cmp dword [rbp - 0x40], 0
jle 0x14015a369
mov rcx, qword [rbp - 0x48]
call fcn.1402b7350
mov rax, qword [r13 + 0x2b8]
xor edx, edx
lea rcx, [r13 + 0x2b8]
call qword [rax + 8]
nop
test al, al
jne 0x14015a3a0
cmp dword [rbp - 0x68], 0
jle 0x14015a390
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
cmp r14d, 0x102
jne 0x14015a3af
xor ebx, ebx
jmp 0x14015a214
cmp dword [rbp - 0x68], 0
jle 0x14015a3af
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14015a408
nop dword [rax + rax]
mov rdi, qword [rbx + 0x10]
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x14015a3f3
xor r9d, r9d
mov r8d, 0x2710
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
cmp eax, 0x102
jne 0x14015a3f3
xor edx, edx
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x14015a3c0
mov eax, dword [0x140428c50]
mov dword [r13 + 0x4dc], eax
mov rdi, qword [rsp + 0x78]
mov r8, r13
mov rdx, qword [rbp + 8]
lea rcx, [rdi + 0x10]
call fcn.14015d060
movzx r14d, al
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x14015a4a4
nop word [rax + rax]
mov rcx, qword [rbx + 0x20]
call fcn.1402b7350
mov rcx, qword [rbx + 0x28]
call fcn.1402b7350
cmp byte [rbx + 0x19], 0
jne 0x14015a49e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015a47e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015a49e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015a470
jmp 0x14015a49e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015a49b
cmp rbx, qword [rax + 0x10]
jne 0x14015a49b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015a488
mov rbx, rax
cmp rbx, qword [rdi + 0x10]
jne 0x14015a440
mov rax, qword [rdi + 0x10]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14015a4e1
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rdi + 0x10]
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.1402150f0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14015a4c0
mov rax, qword [rdi + 0x10]
mov qword [rax + 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rax], rax
mov rax, qword [rdi + 0x10]
mov qword [rax + 0x10], rax
mov qword [rdi + 0x18], 0
mov rdi, qword [rbp - 0x10]
mov rcx, qword [rdi]
mov qword [rdi], rdi
mov qword [rdi + 8], rdi
cmp rcx, rdi
je 0x14015a523
mov rbx, qword [rcx]
call fcn.1402150f0
mov rcx, rbx
cmp rbx, rdi
jne 0x14015a513
mov rcx, rdi
call fcn.1402150f0
movzx eax, r14b
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x608]
add rsp, 0x5b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret