Function at 0x14015ca60
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 [0x14041da10]
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.14015d350
test al, al
je 0x14015d20f
xor r14d, r14d
mov qword [rbp - 0x78], r14
lea edx, [r14 + 0xb]
lea rcx, [rbp - 0x80]
call fcn.1402028a0
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.1402c06dc
lea edx, [r14 + 0xb]
lea rcx, [rbp - 0x80]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.1400f6d90
mov rbx, rax
add rdi, 0x48
mov qword [rbp + 0x10], rdi
mov edx, dword [rax + 0xc]
mov rcx, rdi
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
mov rcx, rdi
call fcn.140203bb0
nop
cmp dword [rbp + 0x38], r14d
jle 0x14015cb50
mov rcx, qword [rbp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x78], 0
jle 0x14015cb5f
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
mov rdi, qword [0x14041eee8]
lea r15, [0x14034d1a0]
test rdi, rdi
jne 0x14015cb7c
mov ebx, r14d
mov qword [rsp + 0x70], r14
jmp 0x14015cb93
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14015cb80
mov qword [rsp + 0x70], r14
test ebx, ebx
jne 0x14015cb9a
mov qword [rsp + 0x68], r15
jmp 0x14015cbbf
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x68]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x68]
call fcn.140203bb0
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.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x74]
lea rcx, [rbp - 0x28]
call fcn.140203bb0
mov eax, 2
mov dword [rbp - 0x18], eax
lea r13, [rsi + 0x360]
mov qword [rbp - 0x58], r13
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, r13
call fcn.14011b240
nop
cmp dword [rbp - 0x20], 0
jle 0x14015cc44
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x70], 0
jle 0x14015cc55
mov rcx, qword [rsp + 0x68]
call fcn.1402bd0e0
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.14015d2d0
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 0x14015cd21
nop dword [rax]
mov ecx, 0x60
call fcn.1402bcb4c
test rax, rax
je 0x14015ccca
mov rdx, rdi
mov rcx, rax
call fcn.14015d3e0
mov qword [rbp], rax
mov rdi, qword [r14]
lea r9, [rbp]
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14015d320
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rbx
cmp rcx, 1
jb 0x14015cd14
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 0x14015ccb0
jmp 0x14015cd21
lea rcx, str.list_T__too_long
call fcn.1402b8038
int3
mov rax, qword [r14]
cmp rax, r14
je 0x14015cd4e
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 0x14015cd30
mov ecx, 0xc
call fcn.1402bd120
mov rbx, rax
lea r8, str.HKLM_
mov edx, 6
mov rcx, rax
call fcn.1402bcbb8
mov ecx, 0x20
call fcn.1402bcb4c
mov r14, rax
lea r15, vtable.HitmanPro35::RemnantKeyItem.0
test rax, rax
je 0x14015cda2
mov qword [rax], r15
mov qword [rax + 8], 0xffffffff80000002
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], 0x50005
xor ebx, ebx
jmp 0x14015cda7
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 0x14015cee0
mov esi, ebx
lea r8, str.HKU_
mov edx, 0x109
lea rcx, [rbp + 0x280]
call fcn.1402bcbb8
cmp dword [rsp + 0x60], 0
jbe 0x14015cee0
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 0x14015cecb
lea r8, [0x14034c088]
mov edx, 0x109
lea rcx, [rbp + 0x280]
call fcn.1402bf098
lea rax, [rbp + 0x280]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015ce70
mov ecx, 0x20
call fcn.1402bcb4c
mov rdi, rax
test rax, rax
je 0x14015ceb4
lea rcx, [rbp + 0x280]
call fcn.1402bfd80
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 0x14015ceb8
xor ebx, ebx
mov edi, ebx
mov rdx, rdi
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rdi + 8]
call fcn.14015df90
jmp 0x14015ced2
cmp eax, 0x103
je 0x14015cedc
cmp esi, dword [rsp + 0x60]
jb 0x14015ce20
mov r13, qword [rbp - 0x58]
mov rdx, r14
mov rcx, qword [rdi + 8]
call fcn.14015df90
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 [0x140430c5c]
mov rax, qword [rbp + 0x10]
mov r8, qword [rax]
lea rdx, str._s__u
lea rcx, [rbp - 0x70]
call fcn.140202d40
nop
lea rax, [0x14034d1a0]
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.1402028a0
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.1402c06dc
mov edx, dword [rbp - 0x64]
lea rcx, [rbp - 0x48]
call fcn.140203bb0
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 0x14015cfde
mov ecx, 4
call fcn.1402bcb4c
mov rbx, rax
test rax, rax
je 0x14015cfd2
mov dword [rax], 0
mov qword [rbp + 0x28], rax
jmp 0x14015cfd8
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 0x14015d015
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 0x14015cff0
test rbx, rbx
je 0x14015d03a
mov eax, dword [rbx]
test eax, eax
jle 0x14015d024
dec eax
mov dword [rbx], eax
cmp dword [rbx], 0
jne 0x14015d03a
mov rcx, rdi
call fcn.14021ae20
mov rcx, rbx
call fcn.14021ae20
nop
cmp dword [rbp - 0x40], 0
jle 0x14015d049
mov rcx, qword [rbp - 0x48]
call fcn.1402bd0e0
mov rax, qword [r13 + 0x2c0]
xor edx, edx
lea rcx, [r13 + 0x2c0]
call qword [rax + 8]
nop
test al, al
jne 0x14015d080
cmp dword [rbp - 0x68], 0
jle 0x14015d070
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
cmp r14d, 0x102
jne 0x14015d08f
xor ebx, ebx
jmp 0x14015cef4
cmp dword [rbp - 0x68], 0
jle 0x14015d08f
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14015d0e8
nop dword [rax + rax]
mov rdi, qword [rbx + 0x10]
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x14015d0d3
xor r9d, r9d
mov r8d, 0x2710
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
cmp eax, 0x102
jne 0x14015d0d3
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 0x14015d0a0
mov eax, dword [0x140430c5c]
mov dword [r13 + 0x4e4], eax
mov rdi, qword [rsp + 0x78]
mov r8, r13
mov rdx, qword [rbp + 8]
lea rcx, [rdi + 0x10]
call fcn.14015fd40
movzx r14d, al
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x14015d184
nop word [rax + rax]
mov rcx, qword [rbx + 0x20]
call fcn.1402bd0e0
mov rcx, qword [rbx + 0x28]
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x14015d17e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015d15e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015d17e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015d150
jmp 0x14015d17e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015d17b
cmp rbx, qword [rax + 0x10]
jne 0x14015d17b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015d168
mov rbx, rax
cmp rbx, qword [rdi + 0x10]
jne 0x14015d120
mov rax, qword [rdi + 0x10]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14015d1c1
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.14021ae20
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14015d1a0
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 0x14015d203
mov rbx, qword [rcx]
call fcn.14021ae20
mov rcx, rbx
cmp rbx, rdi
jne 0x14015d1f3
mov rcx, rdi
call fcn.14021ae20
movzx eax, r14b
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0x608]
add rsp, 0x5b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret