joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002bd0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [rdx + 0x20]
lea r8, [r11 - 0x60]
mov dword [rsp + 0x38], 0x30
mov rsi, r9
mov qword [r11 - 0x70], rax
lea r9, [r11 - 0x70]
xor eax, eax
mov rbp, rdx
mov qword [r11 - 0x58], rax
mov rdi, rcx
mov dword [rsp + 0x50], eax
lea rcx, [r11 - 0x78]
xorps xmm0, xmm0
mov qword [r11 - 0x50], rax
lea edx, [rax + 1]
mov qword [r11 - 0x68], rax
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x140002c58
cmp byte [0x14015e000], 0
je 0x140002c58
lea r8, [rsp + 0x28]
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.1400c02c0
mov ebx, eax
test ebx, ebx
js 0x140002ca7
cmp byte [0x14015e000], 0
mov rdi, qword [rsp + 0x20]
je 0x140002c80
mov edx, 1
mov rcx, rdi
call fcn.1400c0500
mov ebx, eax
cmp eax, 0xc00000bb
jne 0x140002c90
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x140002cf8
mov rdi, qword [rsp + 0xa0]
cmp qword [rbp + 0x20], 0
lea rdx, str.terminate
mov r8, qword [rbp + 0x30]
mov byte [rsi], 0
mov r8, qword [r8 + 8]
jl 0x140002cd2
mov r9d, dword [rbp + 0x20]
lea rcx, str.Unable_to__s__s__CDL__u_
call fcn.1400015b0
jmp 0x140002cde
lea rcx, str.Unable_to__s__s
call fcn.1400015b0
mov rdx, qword [rax + 8]
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
call sym.CodeyalPython.exe_PhShowContinueStatus
test al, al
je 0x140002d8f
mov rbx, qword [rsp + 0xb0]
or esi, 0xffffffff
mov rcx, qword [rbx + 0x50]
mov rax, qword [rbp + 0x20]
cmp rcx, rax
je 0x140002d66
cmp qword [rbx + 0x58], rax
jne 0x140002d66
call sym.CodeyalPython.exe_PhReferenceProcessItem
mov rdi, rax
test rax, rax
je 0x140002d66
mov rcx, qword [rbp + 0x40]
cmp qword [rax + 0x40], rcx
jl 0x140002d51
mov r9, qword [rsp + 0xb8]
mov rdx, rax
mov r8, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
call fcn.140002bd0
test al, al
je 0x140002d7c
lea rcx, [rdi - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140002d66
call fcn.1400ae900
mov eax, dword [rbx]
test eax, eax
je 0x140002d71
add rbx, rax
jne 0x140002d03
mov al, 1
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rdi - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x140002d8f
call fcn.1400ae900
xor al, al
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004810
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rdx + 0x10]
mov rsi, rdx
mov r14, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor bl, bl
mov rbp, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14000489c
lea r8d, [r15 + 0xf]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x14000489c
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
movzx ebx, bl
mov rcx, rbp
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x140004972
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x1400048b1
movzx edi, ax
or edi, 0xc0070000
mov rax, qword [rsi + 0x10]
lea rcx, str.Unable_to_start
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhConcatStrings2
mov rcx, rax
call sym.CodeyalPython.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x48]
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001780
test al, al
je 0x140004945
cmp byte [rsp + 0x48], 0
je 0x140004972
mov rcx, qword [rsi + 0x10]
mov edx, r15d
mov rcx, qword [rcx + 8]
call fcn.140060a70
mov edi, eax
test eax, eax
js 0x140004911
movzx ebx, r15b
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004972
mov r8, qword [rsi + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004972
mov r8, qword [rsi + 0x10]
lea rdx, str.start
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
mov rbp, qword [rsp + 0x50]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140004990
Capabilities:
Pause service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx + 0x10]
mov rsi, rdx
mov r14, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor bl, bl
mov rbp, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140004a20
lea r8d, [r15 + 0x3f]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x140004a20
lea r8, [rsp + 0x20]
mov rcx, rbp
lea edx, [r15 + 2]
call qword [sym.imp.ADVAPI32.dll_ControlService]
movzx ebx, bl
mov rcx, rbp
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x140004af8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140004a35
movzx edi, ax
or edi, 0xc0070000
mov rax, qword [rsi + 0x10]
lea rcx, str.Unable_to_continue
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhConcatStrings2
mov rcx, rax
call sym.CodeyalPython.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x68]
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001780
test al, al
je 0x140004acb
cmp byte [rsp + 0x68], 0
je 0x140004af8
mov rcx, qword [rsi + 0x10]
mov edx, 2
mov rcx, qword [rcx + 8]
call fcn.140060a70
mov edi, eax
test eax, eax
js 0x140004a97
movzx ebx, r15b
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004af8
mov r8, qword [rsi + 0x10]
lea rdx, str.continue
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004af8
mov r8, qword [rsi + 0x10]
lea rdx, str.continue
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
mov rbp, qword [rsp + 0x70]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140004b20
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx + 0x10]
mov rsi, rdx
mov r14, rcx
mov r15d, 1
mov r8d, r15d
xor edx, edx
xor ecx, ecx
xor bl, bl
mov rbp, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140004bb0
lea r8d, [r15 + 0x3f]
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x140004bb0
lea r8, [rsp + 0x20]
mov rcx, rbp
lea edx, [r15 + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
movzx ebx, bl
mov rcx, rbp
test eax, eax
cmovne ebx, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test bl, bl
jne 0x140004c88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140004bc5
movzx edi, ax
or edi, 0xc0070000
mov rax, qword [rsi + 0x10]
lea rcx, str.Unable_to_pause
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhConcatStrings2
mov rcx, rax
call sym.CodeyalPython.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x68]
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001780
test al, al
je 0x140004c5b
cmp byte [rsp + 0x68], 0
je 0x140004c88
mov rcx, qword [rsi + 0x10]
mov edx, 3
mov rcx, qword [rcx + 8]
call fcn.140060a70
mov edi, eax
test eax, eax
js 0x140004c27
movzx ebx, r15b
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004c88
mov r8, qword [rsi + 0x10]
lea rdx, str.pause
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004c88
mov r8, qword [rsi + 0x10]
lea rdx, str.pause
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, edi
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
mov rbp, qword [rsp + 0x70]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140004e40
Capabilities:
Delete service

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov r8, qword [rdx + 0x10]
lea r9, str.Deleting_a_service_can_prevent_the_system_from_starting_or_functioning_properly.
mov rsi, rdx
mov byte [rsp + 0x20], 1
lea rdx, [0x14010ceb8]
mov r14, rcx
xor dil, dil
mov r8, qword [r8 + 8]
call sym.CodeyalPython.exe_PhShowConfirmMessage
test al, al
jne 0x140004e7f
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rsi + 0x10]
xor edx, edx
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r15
mov r15d, 1
mov rbp, qword [rax + 8]
mov r8d, r15d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x140004ef9
mov r8d, 0x10000
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbp, rbp
je 0x140004ef9
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_DeleteService]
movzx edi, dil
mov rcx, rbp
test eax, eax
cmovne edi, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test dil, dil
jne 0x140004fd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140004f0e
movzx ebx, ax
or ebx, 0xc0070000
mov rax, qword [rsi + 0x10]
lea rcx, str.Unable_to_delete
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhConcatStrings2
mov rcx, rax
call sym.CodeyalPython.exe_PhAutoDereferenceObject
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rcx, r14
mov rdx, qword [rax + 8]
call fcn.140001780
test al, al
je 0x140004fa4
cmp byte [rsp + 0x58], 0
je 0x140004fd1
mov rcx, qword [rsi + 0x10]
mov edx, 5
mov rcx, qword [rcx + 8]
call fcn.140060a70
mov ebx, eax
test eax, eax
js 0x140004f70
movzx edi, r15b
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004fd1
mov r8, qword [rsi + 0x10]
lea rdx, [0x14010ceb8]
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140004fd1
mov r8, qword [rsi + 0x10]
lea rdx, [0x14010ceb8]
lea rcx, str.Unable_to__s__s
mov r8, qword [r8 + 8]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowStatus
mov r15, qword [rsp + 0x68]
movzx eax, dil
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140005470
Capabilities:
Suspend thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rdi, rdx
xor r15b, r15b
xor edx, edx
mov r12d, r8d
mov r13, rcx
mov sil, 1
mov r14d, edx
test r8d, r8d
je 0x140005678
mov qword [rsp + 0x150], rbx
nop dword [rax]
mov rax, qword [rdi]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rdx
xorps xmm0, xmm0
mov dword [rsp + 0x48], edx
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x40], rdx
mov edx, 2
mov dword [rsp + 0x30], 0x30
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x14000551f
cmp byte [0x14015e000], 0
je 0x14000551f
lea r8, [rsp + 0x20]
mov edx, 2
lea rcx, [rbp + 0x68]
call fcn.1400c0680
mov ebx, eax
test ebx, ebx
js 0x140005543
mov rcx, qword [rbp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov rcx, qword [rbp + 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x140005644
xor sil, sil
test r15b, r15b
jne 0x140005615
mov rax, qword [rdi]
lea rcx, str.Unable_to_suspend_thread__u
mov edx, dword [rax]
call fcn.1400015b0
lea r9, [rbp + 0x60]
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call fcn.140001780
test al, al
je 0x140005615
cmp byte [rbp + 0x60], r15b
je 0x140005610
mov rcx, qword [0x14015f1c0]
test rcx, rcx
jne 0x1400055c8
mov ebx, 0xc0000037
mov rax, qword [rdi]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowContinueStatus
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140005644
mov rax, qword [rdi]
lea r8, [rsp + 0x60]
mov dword [rbp - 0x78], 0xa
mov qword [rbp - 0x68], 2
mov qword [rsp + 0x60], 0xb00088
mov rdx, qword [rax]
mov qword [rbp - 0x70], rdx
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, dword [rbp - 0x74]
test eax, eax
cmovs ebx, eax
test ebx, ebx
js 0x140005596
mov sil, 1
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140005644
mov r15b, 1
jmp 0x140005644
mov rax, qword [rdi]
lea rdx, str.suspend
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowContinueStatus
test al, al
je 0x140005659
inc r14d
add rdi, 8
mov edx, 0
cmp r14d, r12d
jb 0x1400054b0
mov rbx, qword [rsp + 0x150]
movzx eax, sil
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, sil
jmp 0x140005665
Function at 0x140005680
Capabilities:
Resume thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rdi, rdx
xor r15b, r15b
xor edx, edx
mov r12d, r8d
mov r13, rcx
mov sil, 1
mov r14d, edx
test r8d, r8d
je 0x140005888
mov qword [rsp + 0x150], rbx
nop dword [rax]
mov rax, qword [rdi]
lea r9, [rsp + 0x20]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rdx
xorps xmm0, xmm0
mov dword [rsp + 0x48], edx
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x40], rdx
mov edx, 2
mov dword [rsp + 0x30], 0x30
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
mov ebx, eax
cmp eax, 0xc0000022
jne 0x14000572f
cmp byte [0x14015e000], 0
je 0x14000572f
lea r8, [rsp + 0x20]
mov edx, 2
lea rcx, [rbp + 0x68]
call fcn.1400c0680
mov ebx, eax
test ebx, ebx
js 0x140005753
mov rcx, qword [rbp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov rcx, qword [rbp + 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jns 0x140005854
xor sil, sil
test r15b, r15b
jne 0x140005825
mov rax, qword [rdi]
lea rcx, str.Unable_to_resume_thread__u
mov edx, dword [rax]
call fcn.1400015b0
lea r9, [rbp + 0x60]
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call fcn.140001780
test al, al
je 0x140005825
cmp byte [rbp + 0x60], r15b
je 0x140005820
mov rcx, qword [0x14015f1c0]
test rcx, rcx
jne 0x1400057d8
mov ebx, 0xc0000037
mov rax, qword [rdi]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowContinueStatus
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140005854
mov rax, qword [rdi]
lea r8, [rsp + 0x60]
mov dword [rbp - 0x78], 0xa
mov qword [rbp - 0x68], 3
mov qword [rsp + 0x60], 0xb00088
mov rdx, qword [rax]
mov qword [rbp - 0x70], rdx
lea rdx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, dword [rbp - 0x74]
test eax, eax
cmovs ebx, eax
test ebx, ebx
js 0x1400057a6
mov sil, 1
call sym.CodeyalPython.exe_PhUiDisconnectFromPhSvc
jmp 0x140005854
mov r15b, 1
jmp 0x140005854
mov rax, qword [rdi]
lea rdx, str.resume
lea rcx, str.Unable_to__s_thread__u
mov r8d, dword [rax]
call fcn.1400015b0
xor r9d, r9d
mov r8d, ebx
mov rcx, r13
mov rdx, qword [rax + 8]
call sym.CodeyalPython.exe_PhShowContinueStatus
test al, al
je 0x140005869
inc r14d
add rdi, 8
mov edx, 0
cmp r14d, r12d
jb 0x1400056c0
mov rbx, qword [rsp + 0x150]
movzx eax, sil
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx eax, sil
jmp 0x140005875
Function at 0x14000aaa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14000aadb
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14000aadb
cmp word [rcx + 0x18], 0x43
jne 0x14000aadb
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000aadb
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.CodeyalPython.exe_PhCopyListView
add rsp, 0x20
pop rbx
ret

Function at 0x14000b760
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xe0
mov r14, rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b8cd
lea rdx, str.DebugSetProcessKillOnExit
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000b8cd
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b8cd
lea rdx, str.DebugActiveProcessStop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000b8cd
mov rcx, qword gs:[0x30]
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xf8], rsi
xor sil, sil
mov rdx, qword [rcx + 0x60]
mov rcx, qword gs:[0x30]
movzx ebp, byte [rdx + 1]
mov rdx, qword [rcx + 0x60]
lea rcx, [rsp + 0x70]
mov byte [rdx + 1], sil
xor edx, edx
lea r8d, [rdx + 0x68]
call fcn.1400e43c0
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov rcx, r14
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000b886
xor ecx, ecx
call rdi
mov ecx, dword [rsp + 0x60]
call rbx
mov sil, 1
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b896
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b8a6
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword gs:[0x30]
movzx eax, sil
mov rsi, qword [rsp + 0xf8]
mov rdx, qword [rcx + 0x60]
mov byte [rdx + 1], bpl
mov rbp, qword [rsp + 0xf0]
jmp 0x14000b8cf
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140022010
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor edx, edx
lea rcx, str.CodeersCoders
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x14002207c
mov r8d, dword [0x14015f328]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1388
mov edx, 0x8063
mov rcx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp qword [rsp + 0x50], 0x1119
jne 0x14002207c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x40
pop rbx
ret

Function at 0x140022260
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push r14
sub rsp, 0x60
mov r14, rdx
xor ebx, ebx
mov qword [rax - 0x30], rbx
mov rdx, rcx
mov dword [rax - 0x38], 0x60
lea rcx, [rax + 0x18]
mov dword [rax - 0x40], 1
mov r9d, 0x80
mov r8d, 0x120089
mov dword [rax - 0x48], 1
call sym.CodeyalPython.exe_PhCreateFileWin32Ex
test eax, eax
jns 0x1400222b5
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov rcx, qword [sym.CodeyalPython.exe_PhHeapHandle]
mov edx, 4
mov r8d, 0x400
mov qword [rsp + 0x70], rsi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [rsp + 0x80]
xor r9d, r9d
mov qword [rsp + 0x40], rbx
mov rsi, rax
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov dword [rsp + 0x30], 0x400
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14002233b
mov eax, dword [rsp + 0x58]
mov dword [r14], eax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov rcx, qword [sym.CodeyalPython.exe_PhHeapHandle]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rsi, qword [rsp + 0x70]
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
Function at 0x140022ee0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rdx, qword [rcx + 0x20]
lea rcx, [0x14015f2e0]
movzx eax, word [rdx + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rdx + 0x78]
xor edx, edx
mov qword [rsp + 0x48], rax
lea r8d, [rdx + 0x68]
call fcn.1400e43c0
xor ebx, ebx
lea rax, [0x140022960]
mov qword [rsp + 0x28], rbx
lea rdx, [0x140152d30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 3]
lea r8d, [rbx + 0x1c]
call sym.CodeyalPython.exe_PhParseCommandLine
test al, al
je 0x140022f57
mov eax, dword [0x14015f2e0]
bt eax, 0xe
jae 0x140022f7f
lea r8, str.Command_line_options:_n_n_c_n_ctype_command_type_n_cobject_command_object_n_caction_command_action_n_cvalue_command_value_n_debug_n_elevate_n_help_n_hide_n_installkph_n_newinstance_n_nokph_n_noplugins_n_nosettings_n_plugin_pluginname:value_n_priority_rhnl_n_s_n_selectpid_pid_to_select_n_selecttab_name_of_tab_to_select_n_settings_filename_n_sysinfo__section_name__n_uninstallkph_n_v_n
mov edx, 0x40
xor ecx, ecx
call sym.CodeyalPython.exe_PhShowMessage
mov eax, dword [0x14015f2e0]
bt eax, 0xe
jae 0x140022f7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test al, 0x20
je 0x140022fe4
mov rcx, qword [0x14015f350]
lea rdx, str.kCodeershacker.sys
mov rcx, qword [rcx + 8]
call sym.CodeyalPython.exe_PhConcatStrings2
mov dword [rsp + 0x70], 2
lea r8, [rsp + 0x70]
mov byte [rsp + 0x74], 1
mov rdx, qword [rax + 8]
call fcn.1400c0010
mov ebx, eax
test eax, eax
jns 0x140022fdb
test dword [0x14015f2e0], 0x2000
jne 0x140022fdb
xor r9d, r9d
lea rdx, str.Unable_to_install_KCodeersCoders
mov r8d, eax
xor ecx, ecx
call sym.CodeyalPython.exe_PhShowStatus
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test al, 0x40
je 0x14002301c
call fcn.1400c0160
mov ebx, eax
test eax, eax
jns 0x140023013
test dword [0x14015f2e0], 0x2000
jne 0x140023013
xor r9d, r9d
lea rdx, str.Unable_to_uninstall_KCodeersCoders
mov r8d, eax
xor ecx, ecx
call sym.CodeyalPython.exe_PhShowStatus
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
bt eax, 0xc
jae 0x14002306c
lea rcx, [rsp + 0x50]
call sym.CodeyalPython.exe_PhGetOwnTokenAttributes
test byte [rax + 8], 1
jne 0x140023066
mov qword [rsp + 0x38], rbx
mov r9d, 5
mov dword [rsp + 0x30], ebx
xor r8d, r8d
mov dword [rsp + 0x28], 5
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 1
call fcn.14000b320
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x14015f2e0]
test al, al
jns 0x14002307a
add rsp, 0x60
pop rbx
jmp fcn.140011060
add rsp, 0x60
pop rbx
ret