joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f1500
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
call sub.user32.dll_GetMessagePos
mov ecx, eax
call fcn.0041eb30
mov dword [rbp + 0x3c], eax
movsx rax, word [rbp + 0x3c]
mov dword [rbp + 0x34], eax
movsx rax, word [rbp + 0x3e]
mov dword [rbp + 0x38], eax
mov rcx, rbx
lea rdx, [rbp + 0x34]
call fcn.005e7b90
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x5f156b
mov rcx, rbx
lea rdx, [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.005f13e0
mov rdi, rax
test rdi, rdi
je 0x5f164b
cmp rdi, rbx
je 0x5f1599
mov eax, dword [rbp + 0x158]
sub eax, dword [rdi + 0x90]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x15c]
sub eax, dword [rdi + 0x94]
mov dword [rbp + 0x44], eax
jmp 0x5f15a4
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x40], rax
movzx eax, word [rsi + 0x10]
mov dword [rbp + 0x48], eax
mov rax, qword [rsi + 8]
mov qword [rbp + 0x50], rax
movzx eax, word [rsi + 0x12]
cmp eax, 0x201
jge 0x5f15dc
sub eax, 0xa1
cmp eax, 2
jb 0x5f15f9
sub eax, 3
cmp eax, 2
jb 0x5f1605
sub eax, 3
cmp eax, 2
jae 0x5f160b
jmp 0x5f15ff
sub eax, 0x201
cmp eax, 2
jb 0x5f15f9
sub eax, 3
cmp eax, 2
jb 0x5f1605
sub eax, 3
cmp eax, 2
jae 0x5f160b
jmp 0x5f15ff
mov byte [rbp + 0x4c], 0
jmp 0x5f160f
mov byte [rbp + 0x4c], 2
jmp 0x5f160f
mov byte [rbp + 0x4c], 1
jmp 0x5f160f
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.006b4540
mov ebx, eax
call fcn.005e27c0
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.005ea630
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x5f164d
xor eax, eax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x62e520
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00410c40
nop
xor ecx, ecx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x62e60e
nop
mov dword [rbp + 0x3c], 0
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x62e56c
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x3c], eax
mov ecx, 0x2002
mov edx, dword [rbp + 0x3c]
add edx, edx
add edx, 2
movsxd rdx, edx
call sub.kernel32.dll_GlobalAlloc
mov qword [rbp + 0x48], rax
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_GlobalLock
mov qword [rbp + 0x40], rax
nop
mov dword [rbp + 0x38], 0
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x62e5ae
mov rax, qword [rbp + 0x20]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov rcx, qword [rbp + 0x68]
call fcn.00411e50
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x38]
add r8d, r8d
add r8d, 2
movsxd r8, r8d
call fcn.00409690
call sub.user32.dll_EmptyClipboard
mov ecx, 0xd
mov rdx, qword [rbp + 0x48]
call sub.user32.dll_SetClipboardData
nop
mov rcx, qword [rbp + 0x48]
call sub.kernel32.dll_GlobalUnlock
jmp 0x62e606
nop
call sub.user32.dll_CloseClipboard
jmp 0x62e62b
mov rcx, qword [0x0042c818]
mov dl, 1
mov r8, qword [0x0078f078]
call fcn.00442fd0
mov rcx, rax
call fcn.0040fd10
nop
lea rcx, [rbp + 0x68]
call fcn.00410a70
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x636510
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x00636560]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x636530
or bx, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x636543
or bx, 4
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x636556
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x6628d0
Capabilities:
Get graphical window text

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov rcx, rsi
mov edx, 0xe
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
mov rdi, rax
mov rcx, rbx
xor edx, edx
mov r8d, edi
call fcn.00410d70
test edi, edi
je 0x662945
mov rcx, qword [rbx]
call fcn.00411e50
mov rcx, rsi
mov edx, 0xd
mov r8d, edi
add r8d, 1
movsxd r8, r8d
mov r9, rax
call sub.user32.dll_SendMessageW
sub edi, eax
test edi, edi
jle 0x662945
xor eax, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x662939
mov eax, dword [rcx - 4]
mov rcx, rbx
mov edx, eax
sub edx, edi
call fcn.004120c0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6a0c30
Capabilities:
Get keyboard layout

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
nop
mov byte [0x00770f08], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x0058d710]
mov dl, 1
call fcn.00590330
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.005905e0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.00411f10
lea rcx, [rbp + 0x30]
lea rdx, [0x006a0e18]
mov r8, qword [rbp + 0x28]
call fcn.00412270
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.005909d0
test al, al
je 0x6a0d6a
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x006a0e8c]
call fcn.00591640
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.00448040
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x6a0d6a
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x006a0ea4]
call fcn.00421df0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x6a0d60
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x6a0d60
mov rcx, qword [rbp + 0x90]
call fcn.006a0ba0
test eax, eax
je 0x6a0d44
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x6a0d4e
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
and eax, 1
cmp eax, 1
sete al
mov byte [0x00770f08], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040d850
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00410b50
lea rcx, [rbp + 0x68]
call fcn.00410a70
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x6a0f20
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rsi, rcx
lea rdi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movzx bx, byte [rbp + 0x28]
test bx, bx
je 0x6a0f7c
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6a0f58
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6a0f6c
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x6a0f7c
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6b4480
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006b44e8]
mov eax, ecx
test ax, 4
je 0x6b449a
or bx, 1
mov eax, ecx
test ax, 8
je 0x6b44a7
or bx, 4
mov eax, ecx
test ax, 1
je 0x6b44b4
or bx, 8
mov eax, ecx
test ax, 2
je 0x6b44c1
or bx, 0x10
test cx, 0x10
je 0x6b44cc
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6b44df
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6b44f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x006b453c]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6b4513
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6b4526
or si, 4
test ebx, 0x20000000
je 0x6b4532
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6c3b90
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x510
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x520], rcx
nop
mov rax, qword [rbp + 0x520]
cmp qword [rax + 0x80], 0
jne 0x6c3d9d
mov rcx, qword [0x004ce098]
mov dl, 1
call fcn.0050b0a0
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.00410a70
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor eax, eax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov ecx, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], ecx
jg 0x6c3d80
mov ecx, dword [rbp + 0x3c]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x3c], ecx
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.006005f0
test al, al
je 0x6c3d67
mov rax, qword [rbp + 0x60]
movzx eax, word [rax]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x70]
lea rdx, [0x006c3e08]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.0043a690
mov rcx, 0xffffffff80000002
mov rdx, rax
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6c3d67
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006c3e76]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4f4]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6c3d5a
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411f10
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r8, qword [r8]
mov rax, qword [rax]
call qword [rax + 0x80]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rax]
cmp rax, qword [rcx + 0x90]
jne 0x6c3d5a
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411f10
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey
add qword [rbp + 0x60], 8
mov eax, dword [rbp + 0x3c]
sub eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
test eax, eax
jne 0x6c3c43
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.0050af20
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.00410a70
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6c4eb0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x0079cdf0]
cmp byte [rax + 0x159], 0
jne 0x6c4f4e
cmp qword [0x0079ce28], 0
jne 0x6c4ef5
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x007732c8]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x0079ce28], rax
cmp qword [0x0079ce20], 0
jne 0x6c4f15
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x0079ce20], rax
cmp qword [0x0079ce30], 0
jne 0x6c4f4e
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x007732c0]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x0079ce30], rax
add rsp, 0x48
ret

Function at 0x6c60f0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
mov rax, qword [rbx + 0x2e0]
test rax, rax
je 0x6c61cf
cmp dword [rbx + 0x128], 0
jne 0x6c61c5
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006c5ff0]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x6c61c5
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x6c6173
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6c61c4
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.005030e0
mov rcx, rax
mov rdx, qword [rbp + 0x40]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x213
call sub.user32.dll_SetWindowPos
sub esi, 1
cmp esi, 0xffffffff
jne 0x6c6184
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6c6640
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x0079cdf0]
cmp qword [rax + 0x2e0], 0
je 0x6c6804
test sil, sil
jne 0x6c672c
cmp dword [rbx + 0x138], 0
jne 0x6c671d
mov rcx, rbx
call fcn.006cb0b0
lea rcx, [0x006c6500]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6c66df
mov rax, qword [0x0079cdf0]
cmp byte [rax + 0x193], 0
je 0x6c66df
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6c66b9
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6c66de
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor edx, edx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c66c1
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6c671c
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.005030e0
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c66f0
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6c6804
cmp dword [rbx + 0x138], 0
jle 0x6c6804
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6c6804
cmp qword [rbx + 0xa8], 0
je 0x6c67a3
mov rax, qword [0x0079cdf0]
cmp byte [rax + 0x193], 0
je 0x6c67a3
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6c677a
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6c67a2
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c6782
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6c67e0
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.005030e0
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c67b4
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x006af0d8]
call fcn.00415160
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6c7b20
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x6c7b8c
cmp byte [rbx + 0x193], 0
jne 0x6c7b8c
mov rcx, qword [rbx + 0x2e0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.00410d70
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x6c7b77
mov eax, dword [rcx - 4]
test eax, eax
jne 0x6c7b9b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004110e0
jmp 0x6c7b9b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004110e0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6d6490
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xd0], 0
jne 0x6d654b
mov rcx, qword [rbx + 0x10]
call fcn.005f6bc0
mov rcx, qword [0x0060a1e8]
mov dl, 1
mov r8, rax
call fcn.005ed7f0
mov qword [rbx + 0xd0], rax
mov rsi, qword [rbx + 0xd0]
mov rcx, rsi
xor edx, edx
call fcn.00612210
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006d5b10]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xd0]
call fcn.005f6bc0
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005f6bc0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xf0], 0
jne 0x6d65fa
mov rcx, qword [rbx + 0x10]
call fcn.005f6bc0
mov rcx, qword [0x0060a1e8]
mov dl, 1
mov r8, rax
call fcn.005ed7f0
mov qword [rbx + 0xf0], rax
mov rsi, qword [rbx + 0xf0]
mov rcx, rsi
mov dl, 1
call fcn.00612210
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006d5b70]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xf0]
call fcn.005f6bc0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xf0]
call fcn.005f6bc0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6d66a2
mov rcx, qword [rbx + 0x10]
call fcn.005f6bc0
mov rcx, qword [0x0060b290]
mov dl, 1
mov r8, rax
call fcn.005ed7f0
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov byte [rsi + 0x4a8], 1
mov rcx, qword [rbx + 0xe0]
call fcn.005f6bc0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005f6bc0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x6deac0
Capabilities:
Access the windows event log

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x58], r8d
mov word [rbp + 0x5e], r9w
mov qword [rbp + 0x88], rdx
mov rcx, qword [rbp + 0x88]
call fcn.00410c40
nop
mov rcx, qword [rbp + 0x88]
call fcn.00411e50
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x50]
cmp qword [rax + 0x10], 0
jne 0x6deb23
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call fcn.00411e50
xor ecx, ecx
mov rdx, rax
call sub.advapi32.dll_RegisterEventSourceW
mov rcx, qword [rbp + 0x50]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
mov edx, dword [rbp + 0x58]
movzx r8, word [rbp + 0x5e]
mov r9d, dword [rbp + 0xa0]
mov qword [rsp + 0x20], 0
mov word [rsp + 0x28], 1
mov dword [rsp + 0x30], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
call sub.advapi32.dll_ReportEventW
nop
lea rcx, [rbp + 0x88]
call fcn.00410a70
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x6e0670
Capabilities:
Create service

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0xd0
mov rbp, rsp
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], rbp
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rdx
mov qword [rbp + 0x110], r8
nop
lea rcx, [rbp + 0xa0]
xor edx, edx
call fcn.004099c0
lea rcx, [0x006e09fc]
mov rdx, qword [rbp + 0xa0]
mov r8d, 1
call fcn.004126a0
test eax, eax
jle 0x6e0714
lea rcx, [rbp + 0xa0]
mov edx, 3
lea r8, [0x006e0a0c]
mov r9, qword [rbp + 0xa0]
lea rax, [0x006e0a0c]
mov qword [rsp + 0x20], rax
call fcn.004123a0
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x128], 0
je 0x6e0740
mov rax, qword [rbp + 0x108]
lea rbx, [rax + 0x128]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x108]
call qword [rbx]
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x118]
mov dword [rbp + 0xbc], eax
cmp dword [rbp + 0xbc], 0
jbe 0x6e076c
lea rax, [rbp + 0xbc]
mov qword [rbp + 0xb0], rax
jmp 0x6e0777
mov qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0xf8], 0
jne 0x6e0795
mov qword [rbp + 0xa8], 0
jmp 0x6e07af
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xf8]
call fcn.00411e50
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0x10]
call fcn.00411e50
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x108]
lea rdx, [rbp + 0x90]
call fcn.006df640
mov rcx, qword [rbp + 0x90]
call fcn.00411e50
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x108]
call fcn.006dfa10
mov dword [rbp + 0x70], eax
mov rcx, qword [rbp + 0x108]
call fcn.006dfa70
mov dword [rbp + 0x74], eax
mov rcx, qword [rbp + 0x108]
call fcn.006dfad0
mov ebx, eax
mov rcx, qword [rbp + 0xa0]
call fcn.00411e50
mov rsi, rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xe0]
call fcn.00411e50
mov rdi, rax
mov rcx, qword [rbp + 0x108]
lea rdx, [rbp + 0x88]
call fcn.006df8d0
mov rcx, qword [rbp + 0x88]
call fcn.00411e50
mov r13, rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xf0]
call fcn.00411e50
mov rcx, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x78]
mov r8, qword [rbp + 0x80]
mov r9d, 0xf01ff
mov r10d, dword [rbp + 0x70]
mov dword [rsp + 0x20], r10d
mov r10d, dword [rbp + 0x74]
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov r10, qword [rbp + 0xb0]
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], r13
mov r10, qword [rbp + 0xa8]
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x60], rax
call sub.advapi32.dll_CreateServiceW
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x108]
mov ecx, dword [rbp + 0xbc]
mov dword [rax + 0x118], ecx
cmp qword [rbp + 0xc8], 0
jne 0x6e08f7
call fcn.00446cb0
nop
nop
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x138], 0
je 0x6e0949
mov rax, qword [rbp + 0x108]
lea rbx, [rax + 0x138]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x108]
call qword [rbx]
jmp 0x6e0949
nop
mov rcx, qword [rbp + 0xc8]
call sub.advapi32.dll_CloseServiceHandle
nop
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00410b50
lea rcx, [rbp + 0xa0]
call fcn.00410a70
lea rsp, [rbp + 0xd0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x6e0a10
Capabilities:
Delete service

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], r8
mov rax, qword [rbp + 0x68]
cmp qword [rax + 0x148], 0
je 0x6e0a4c
mov rax, qword [rbp + 0x68]
lea rbx, [rax + 0x148]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x68]
call qword [rbx]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rax + 0x10]
call fcn.00411e50
mov rcx, qword [rbp + 0x70]
mov rdx, rax
mov r8d, 0xf01ff
call sub.advapi32.dll_OpenServiceW
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
jne 0x6e0a7b
call fcn.00446cb0
nop
mov rcx, qword [rbp + 0x38]
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x6e0a8e
call fcn.00446cb0
nop
mov rcx, qword [rbp + 0x38]
call sub.advapi32.dll_CloseServiceHandle
mov rax, qword [rbp + 0x68]
cmp qword [rax + 0x158], 0
je 0x6e0abb
mov rax, qword [rbp + 0x68]
lea rbx, [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x68]
call qword [rbx]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret

Function at 0x6e2980
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov ebx, ecx
mov rsi, rdx
mov edi, r8d
test edi, edi
je 0x6e29c9
mov rax, qword [0x007756f0]
test rax, rax
jne 0x6e29a4
call fcn.006e2950
mov ecx, ebx
not ecx
movzx rdx, byte [rsi]
xor dl, cl
shr ecx, 8
movzx rdx, dl
xor ecx, dword [rax + rdx*4]
add rsi, 1
sub edi, 1
test edi, edi
jne 0x6e29a8
mov eax, ecx
not eax
jmp 0x6e29cb
mov eax, ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6e8c50
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
sub r8d, 1
mov eax, r10d
cmp eax, r8d
jg 0x6e8c84
sub r8d, r10d
add r8d, 1
movzx rax, byte [rcx]
xor al, byte [rdx]
mov byte [r9], al
add rcx, 1
add rdx, 1
add r9, 1
sub r8d, 1
test r8d, r8d
jne 0x6e8c66
nop
ret