joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ab010
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.004187a0
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
mov rdx, qword [rbp + 0x34]
call fcn.005a1560
mov qword [rbp + 0x158], rax
test rdi, rdi
jne 0x5ab07b
mov rcx, rbx
mov rdx, qword [rbp + 0x158]
xor r8, r8
xor r9, r9
mov byte [rsp + 0x20], 0
call fcn.005aae30
mov rdi, rax
test rdi, rdi
je 0x5ab16a
cmp rdi, rbx
je 0x5ab0a9
mov eax, dword [rbp + 0x158]
sub eax, dword [rdi + 0x80]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x15c]
sub eax, dword [rdi + 0x84]
mov dword [rbp + 0x44], eax
jmp 0x5ab0b4
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 rax, word [rsi + 0x12]
cmp rax, 0x201
jge 0x5ab0f4
sub rax, 0xa1
cmp rax, 2
jb 0x5ab117
sub rax, 3
cmp rax, 2
jb 0x5ab123
sub rax, 3
cmp rax, 2
jae 0x5ab129
jmp 0x5ab11d
sub rax, 0x201
cmp rax, 2
jb 0x5ab117
sub rax, 3
cmp rax, 2
jb 0x5ab123
sub rax, 3
cmp rax, 2
jae 0x5ab129
jmp 0x5ab11d
mov byte [rbp + 0x4c], 0
jmp 0x5ab12d
mov byte [rbp + 0x4c], 2
jmp 0x5ab12d
mov byte [rbp + 0x4c], 1
jmp 0x5ab12d
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x58]
call sub.user32.dll_GetKeyboardState
lea rcx, [rbp + 0x58]
call fcn.00666740
mov ebx, eax
call fcn.0059c3a0
or bx, ax
mov word [rbp + 0x4d], bx
mov rcx, rdi
mov edx, 0xb04b
xor r8, r8
lea r9, [rbp + 0x40]
call fcn.005a3e50
mov qword [rsi + 0x18], rax
mov al, 1
jmp 0x5ab16d
xor rax, rax
lea rsp, [rbp + 0x168]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x5e59d0
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.0040e850
nop
xor rcx, rcx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5e5ac4
nop
mov dword [rbp + 0x38], 0
cmp qword [rbp + 0x68], 0
je 0x5e5a17
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x38]
add eax, eax
mov dword [rbp + 0x3c], eax
mov ecx, 0x2002
mov edx, dword [rbp + 0x3c]
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 + 0x30], 0
cmp qword [rbp + 0x68], 0
je 0x5e5a5e
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x30]
add eax, eax
mov dword [rbp + 0x34], eax
mov rcx, qword [rbp + 0x68]
call fcn.0040fa60
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x34]
add r8d, 2
movsxd r8, r8d
call fcn.00408820
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 0x5e5abc
nop
call sub.user32.dll_CloseClipboard
jmp 0x5e5ae1
mov rcx, qword [0x004278e0]
mov dl, 1
mov r8, qword [0x006ff9e8]
call fcn.00439eb0
mov rcx, rax
call fcn.0040d870
nop
lea rcx, [rbp + 0x68]
call fcn.0040e6c0
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x5eceb0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x005ecf04]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5eced1
or bx, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ecee5
or bx, 4
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ecef9
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6550b0
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 [0x006f7bc0], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x00564620]
mov dl, 1
call fcn.00565d50
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.00566010
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.0040fb60
lea rcx, [rbp + 0x30]
lea rdx, [0x006552d0]
mov r8, qword [rbp + 0x28]
call fcn.0040fec0
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.00566420
test al, al
je 0x6551ec
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x00655344]
call fcn.00567120
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.0043dc10
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x6551ec
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0065535c]
call fcn.0041aab0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x6551e2
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x6551e2
mov rcx, qword [rbp + 0x90]
call fcn.00655020
test eax, eax
je 0x6551c6
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x6551d0
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 [0x006f7bc0], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary_2
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040b410
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040e7a0
lea rcx, [rbp + 0x68]
call fcn.0040e6c0
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x6553e0
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 0x65543e
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x655419
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x65542e
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x65543e
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x666670
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006666d8]
mov eax, ecx
test ax, 4
je 0x66668a
or bx, 1
mov eax, ecx
test ax, 8
je 0x666697
or bx, 4
mov eax, ecx
test ax, 1
je 0x6666a4
or bx, 8
mov eax, ecx
test ax, 2
je 0x6666b1
or bx, 0x10
test cx, 0x10
je 0x6666bc
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6666d0
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6666e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x00666730]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x666704
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x666718
or si, 4
test ebx, 0x20000000
je 0x666724
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6749a0
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 + 0x70], 0
jne 0x674bb9
mov rcx, qword [0x004d38d8]
mov dl, 1
call fcn.00503bf0
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x70], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
call fcn.0040e6c0
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor rax, rax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jg 0x674b97
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
movsxd rax, dword [rbp + 0x4f8]
mov rcx, qword [rbp + rax*8 + 0x2f0]
call fcn.005ba140
test al, al
je 0x674b81
movsxd rax, dword [rbp + 0x4f8]
lea rax, [rbp + rax*8 + 0x2f0]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x50], 0x10
lea rcx, [rbp + 0x70]
lea rdx, [0x00674c44]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.004321e0
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_1
test eax, eax
jne 0x674b81
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x00674cb2]
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_1
test eax, eax
jne 0x674b74
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040fb60
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
movsxd r8, dword [rbp + 0x4f8]
mov r8, qword [rbp + r8*8 + 0x2f0]
mov rax, qword [rax]
call qword [rax + 0x80]
movsxd rax, dword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rbp + rax*8 + 0x2f0]
cmp rax, qword [rcx + 0x80]
jne 0x674b74
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x78]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040fb60
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey_1
add dword [rbp + 0x4f8], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jne 0x674a3f
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov byte [rax + 0x61], 0
mov rax, qword [rbp + 0x520]
mov rcx, qword [rax + 0x70]
mov dl, 1
call fcn.00503aa0
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x70]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.0040e6c0
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x675f30
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x0070aaa8]
cmp byte [rax + 0x131], 0
jne 0x675fd3
cmp qword [0x0070aae0], 0
jne 0x675f76
call sub.kernel32.dll_GetCurrentThreadId_1
mov ecx, 3
mov rdx, qword [0x006f9d18]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x0070aae0], rax
cmp qword [0x0070aad8], 0
jne 0x675f98
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x0070aad8], rax
cmp qword [0x0070aae8], 0
jne 0x675fd3
xor rcx, rcx
mov edx, 0x3e8
mov r8, qword [0x006f9d10]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov qword [0x0070aae8], rax
add rsp, 0x48
ret

Function at 0x6770a0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
cmp qword [rbx + 0x2a8], 0
je 0x67718b
cmp dword [rbx + 0x100], 0
jne 0x677181
mov rax, qword [rbx + 0x2a8]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x00676f80]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0xf8]
cmp dword [rax + 0x10], 0
je 0x677181
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov ecx, 0xffffffec
mov edx, ecx
mov rcx, rax
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x67712f
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0xf8]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x677180
mov rcx, qword [rbx + 0xf8]
mov edx, esi
call fcn.004fc980
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 0x677140
nop
lea rax, [rbx + 0x100]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6774a0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x0070aaa8]
cmp qword [rax + 0x2a8], 0
je 0x677666
test sil, sil
jne 0x677588
cmp dword [rbx + 0x110], 0
jne 0x677579
mov rcx, rbx
call fcn.0067baa0
lea rcx, [0x00677370]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0x88], 0
je 0x67753b
mov rax, qword [0x0070aaa8]
cmp byte [rax + 0x16b], 0
je 0x67753b
mov rcx, qword [rbx + 0x178]
call fcn.00411370
mov rdi, rax
test edi, edi
jl 0x67753a
mov rax, qword [rbx + 0x178]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x67751c
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x677578
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.004fc980
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 0x67754c
nop
lea rax, [rbx + 0x110]
add dword [rax], 1
jmp 0x677666
cmp dword [rbx + 0x110], 0
jle 0x677666
lea rax, [rbx + 0x110]
sub dword [rax], 1
cmp dword [rbx + 0x110], 0
jne 0x677666
cmp qword [rbx + 0x88], 0
je 0x6775fb
mov rax, qword [0x0070aaa8]
cmp byte [rax + 0x16b], 0
je 0x6775fb
mov rcx, qword [rbx + 0x178]
call fcn.00411370
mov rdi, rax
test edi, edi
jl 0x6775fa
mov rax, qword [rbx + 0x178]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6775d9
nop
mov rax, qword [rbx + 0x108]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x677638
mov rcx, qword [rbx + 0x108]
mov edx, edi
call fcn.004fc980
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 0x67760c
nop
mov rax, qword [rbx + 0x108]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x178]
mov rdx, qword [0x00661918]
mov r8d, 1
xor r9, r9
call fcn.00411700
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x678860
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 + 0x130], 0
je 0x6788ce
cmp byte [rbx + 0x16b], 0
jne 0x6788ce
mov rcx, qword [rbx + 0x2a8]
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.0040e980
mov rax, qword [rsi]
xor rcx, rcx
test rax, rax
je 0x6788b9
mov ecx, dword [rax - 4]
test ecx, ecx
jne 0x6788dd
mov rcx, rsi
mov rdx, qword [rbx + 0xf0]
call fcn.0040ecf0
jmp 0x6788dd
mov rcx, rsi
mov rdx, qword [rbx + 0xf0]
call fcn.0040ecf0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x684940
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6849f6
mov rcx, qword [rbx + 0x10]
call fcn.005b0420
mov rcx, qword [0x005c3228]
mov dl, 1
mov r8, rax
call fcn.005a7080
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor rdx, rdx
call fcn.005ca1a0
lea rax, [rsi + 0x498]
mov qword [rax + 8], rbx
lea rcx, [0x00683fb0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005b0420
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
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 + 0xc0]
call fcn.005b0420
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x684aa1
mov rcx, qword [rbx + 0x10]
call fcn.005b0420
mov rcx, qword [0x005c3228]
mov dl, 1
mov r8, rax
call fcn.005a7080
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.005ca1a0
lea rax, [rsi + 0x498]
mov qword [rax + 8], rbx
lea rcx, [0x00684010]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005b0420
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
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 + 0xe0]
call fcn.005b0420
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x684b3d
mov rcx, qword [rbx + 0x10]
call fcn.005b0420
mov rcx, qword [0x005c41e8]
mov dl, 1
mov r8, rax
call fcn.005a7080
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x468], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005b0420
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005b0420
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x68ae50
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.0040e850
nop
mov rcx, qword [rbp + 0x88]
call fcn.0040fa60
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x50]
cmp dword [rax + 0x10], 0
jne 0x68aeb2
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 8]
call fcn.0040fa60
xor rcx, rcx
mov rdx, rax
call sub.advapi32.dll_RegisterEventSourceW
mov rcx, qword [rbp + 0x50]
mov dword [rcx + 0x10], eax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [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.0040e6c0
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x68caa0
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 rdx, rdx
call fcn.00408b60
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x118], 0
je 0x68cb29
mov rax, qword [rbp + 0x108]
lea rbx, [rax + 0x118]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x108]
call qword [rbx]
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x108]
mov dword [rbp + 0xbc], eax
cmp dword [rbp + 0xbc], 0
jbe 0x68cb55
lea rax, [rbp + 0xbc]
mov qword [rbp + 0xb0], rax
jmp 0x68cb60
mov qword [rbp + 0xb0], 0
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0xe8], 0
jne 0x68cb7e
mov qword [rbp + 0xa8], 0
jmp 0x68cb98
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xe8]
call fcn.0040fa60
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0x10]
call fcn.0040fa60
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x108]
lea rdx, [rbp + 0x90]
call fcn.0068b9f0
mov rcx, qword [rbp + 0x90]
call fcn.0040fa60
mov qword [rbp + 0x80], rax
mov rcx, qword [rbp + 0x108]
call fcn.0068bdb0
mov dword [rbp + 0x70], eax
mov rcx, qword [rbp + 0x108]
call fcn.0068be10
mov dword [rbp + 0x74], eax
mov rcx, qword [rbp + 0x108]
call fcn.0068be70
mov ebx, eax
mov rcx, qword [rbp + 0xa0]
call fcn.0040fa60
mov rsi, rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xd0]
call fcn.0040fa60
mov rdi, rax
mov rcx, qword [rbp + 0x108]
lea rdx, [rbp + 0x88]
call fcn.0068bc80
mov rcx, qword [rbp + 0x88]
call fcn.0040fa60
mov r13, rax
mov rax, qword [rbp + 0x108]
mov rcx, qword [rax + 0xe0]
call fcn.0040fa60
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 + 0x108], ecx
cmp qword [rbp + 0xc8], 0
jne 0x68cce1
call fcn.0043ca10
nop
nop
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x128], 0
je 0x68cd33
mov rax, qword [rbp + 0x108]
lea rbx, [rax + 0x128]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x108]
call qword [rbx]
jmp 0x68cd33
nop
mov rcx, qword [rbp + 0xc8]
call sub.advapi32.dll_CloseServiceHandle
nop
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040e7a0
lea rcx, [rbp + 0xa0]
call fcn.0040e6c0
lea rsp, [rbp + 0xd0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x68ce10
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 + 0x138], 0
je 0x68ce4c
mov rax, qword [rbp + 0x68]
lea rbx, [rax + 0x138]
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.0040fa60
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 0x68ce7c
call fcn.0043ca10
nop
mov rcx, qword [rbp + 0x38]
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x68ce8f
call fcn.0043ca10
nop
mov rcx, qword [rbp + 0x38]
call sub.advapi32.dll_CloseServiceHandle
mov rax, qword [rbp + 0x68]
cmp qword [rax + 0x148], 0
je 0x68cebc
mov rax, qword [rbp + 0x68]
lea rbx, [rax + 0x148]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x68]
call qword [rbx]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret