joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008d900
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401b2ed8]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x14008d961
cmp byte [rbx + 0x4a92], 0
jne 0x14008d961
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14007cdd0
test dil, 2
je 0x14008da8f
jmp 0x14008d9ec
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14015058c]
mov edx, 0x10
mulss xmm1, dword [0x140150578]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x1401504d8]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.14007cdd0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14008da40
lea r11, [0x140147f90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14008da23
cmp byte [r8], r9b
jne 0x14008da23
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14008da10
not ecx
call fcn.140084940
test rax, rax
je 0x14008da8f
cmp byte [rax + 0xb6], 0
je 0x14008da8f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.14007cdd0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400870b0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ef390
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400936b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5d10], 0
lea rbx, [rcx + 0x5d18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140093757
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14009370a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140095960
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14007d8e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5d10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5d20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401b2ec1]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14009375f
mov rcx, rbx
call fcn.14007d8e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140093be0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401b2ed8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140093c43
mov qword [rsp], rbx
lea rbx, [0x140147f90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140093c23
cmp byte [r8], r9b
jne 0x140093c23
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140093c10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c80]
not eax
mov r8, qword [r10 + 0x5c88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140093c6f
cmp dword [r8 + 8], eax
je 0x140093c76
add r8, 0x48
cmp r8, rcx
jne 0x140093c60
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400be620
Capabilities:
Initialize winsock library
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov ecx, 1
call fcn.1400ef3b0
mov ecx, 0x202
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov rdi, rax
mov byte [rax], 0
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400be84d
xor edx, edx
lea rcx, str.wireguard.dll
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1401b30c8], rax
test rax, rax
je 0x1400be847
lea rdx, str.WireGuardCreateAdapter
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3190], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardOpenAdapter
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3188], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardCloseAdapter
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3180], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardGetAdapterLUID
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3160], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardGetRunningDriverVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3170], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardDeleteDriver
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3150], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardSetLogger
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b31a8], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardSetAdapterLogging
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3158], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardGetAdapterState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b31a0], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardSetAdapterState
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3168], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardGetConfiguration
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3198], rax
test rax, rax
je 0x1400be83a
mov rcx, qword [0x1401b30c8]
lea rdx, str.WireGuardSetConfiguration
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b3178], rax
test rax, rax
je 0x1400be83a
mov byte [rdi], 1
jmp 0x1400be84d
mov rcx, qword [0x1401b30c8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rax, rbx
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400ef390
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1e0
pop rdi
ret
Function at 0x1400be880
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1450
call fcn.1400f0030
sub rsp, rax
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x1440], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov ecx, 0xa0
call fcn.1400ef3b0
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rax], r14
mov byte [rax + 8], r14b
mov dword [rax + 0xc], r14d
mov qword [rax + 0x48], r14
mov qword [rax + 0x90], r14
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x1434], 0xffffffff
mov dword [rsp + 0xb4], eax
mov ecx, 1
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0xb4], edx
inc rcx
cmp rcx, 0x270
jb 0x1400be910
mov dword [rsp + 0xb0], 0x270
lea rcx, [rsp + 0xb0]
call fcn.1400c2c40
mov ecx, eax
lea rax, [rcx + rcx*2]
add rax, rax
cmp eax, 3
ja 0x1400be97b
nop dword [rax + rax]
lea rcx, [rsp + 0xb0]
call fcn.1400c2c40
mov ecx, eax
lea rax, [rcx + rcx*2]
add rax, rax
cmp eax, 4
jb 0x1400be960
shr rax, 0x20
inc eax
mov dword [rbx + 0xc], eax
mov dword [rbx + 0x50], r14d
lea r15, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x30], r15
lea r12, [0x140023b10]
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400c1d00
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400be9d3
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov dword [rbx + 0x98], r14d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0xa8], rax
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400c1d00
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400bea22
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
lea rax, [rsp + 0x70]
cmp rcx, rax
setne dl
call r8
nop
mov qword [rdi], rbx
mov rax, rdi
mov rcx, qword [rsp + 0x1440]
xor rcx, rsp
call fcn.1400ef390
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400c2280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r15, rdx
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov rsi, qword [r8 + 0x10]
mov r9, r8
mov qword [rsp + 0x60], rdi
mov rdi, r8
mov qword [rsp + 0x28], r12
mov r12, qword [r8 + 0x18]
cmp r12, 0xf
jbe 0x1400c22bb
mov r9, qword [r8]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x1400c22f4
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor r8, rax
imul r8, rdx
cmp rcx, rsi
jb 0x1400c22e0
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x1400c2362
mov qword [rsp + 0x20], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1400c2332
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1400c233e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400c234f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c235a
cmp rbx, r14
je 0x1400c235d
mov rbx, qword [rbx + 8]
jmp 0x1400c2320
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbp, rbp
je 0x1400c238b
mov qword [r15], rbp
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
mov rax, qword [r13 + 8]
mov qword [r15], rax
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
Function at 0x1400c2c40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400c2ca1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400c2c60
mov ecx, dword [r9]
jmp 0x1400c2d8b
cmp ecx, 0x4e0
jb 0x1400c2d8b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c2cc0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c2d10
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400c30b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov esi, ecx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400c310f
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400c3116
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1400c3221
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
xor ebx, ebx
mov qword [rsp + 0x30], rbx
cmp dword [rsp + 0x60], esi
jne 0x1400c3155
mov rdx, qword [rsp + 0x28]
cmp rdx, rax
je 0x1400c3146
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rsp + 0x28], 4
jmp 0x1400c3155
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.14003c3d0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400c316e
mov rax, qword [rsp + 0x30]
jmp 0x1400c3128
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400c31a3
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rax, rcx
sar rax, 2
test rax, rax
je 0x1400c31e1
nop dword [rax]
mov ecx, dword [rcx + rbx*4]
call fcn.1400c30b0
inc rbx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rax, rcx
sar rax, 2
cmp rbx, rax
jb 0x1400c31c0
test rcx, rcx
je 0x1400c321f
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c321a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c321a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ef634
mov al, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400ef390
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400c4620
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0x12
lea rdx, str.VPNTunnel_UnixxVPN
lea rcx, [rsp + 0x58]
call fcn.140004210
nop
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400c4760
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x1400c46ca
lea rcx, [rsp + 0x58]
call fcn.1400041a0
jmp 0x1400c476a
lea r8, [rsp + 0xa8]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
xor ebx, ebx
cmp ebx, 0xb4
jge 0x1400c4718
lea rdx, [rsp + 0xa8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400c4718
cmp dword [rsp + 0xac], 1
je 0x1400c4718
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x1400c46e2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1400c4732
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
jne 0x1400c478f
mov byte [0x1401b31e8], 0
jmp 0x1400c4745
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x1400c4756
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rcx, [rsp + 0x58]
call fcn.1400041a0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400ef390
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140027700
nop
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1400c3da0
lea rdx, [0x14016b430]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400c7090
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x140179090], 0
jne 0x1400c70a5
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400c7540
jmp 0x1400ca120
push rbx
sub rsp, 0xa0
mov rax, qword [0x140175540]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400ca1ba
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400ca185
mov rbx, qword [0x140179480]
test rbx, rbx
je 0x1400ca19b
mov rcx, rbx
call fcn.1400c67b0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400ca173
jmp 0x1400ca19b
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400ca160
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1400ca2b7
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1400ca2af
movdqa xmm0, xmmword [0x140119bf0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140119c00]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x14017ab68]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1400ca27e
cmp byte [rbp + rdi + 0x88], 1
jne 0x1400ca27e
call fcn.1400cbca0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1400c8080
inc rbx
cmp rbx, 4
jl 0x1400ca240
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x14017b508]
test rbx, rbx
je 0x1400ca33c
mov rcx, qword [rbx + 0x350]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
cmp dword [rbx + 0x388], eax
jne 0x1400ca2fe
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x38c], eax
je 0x1400ca33c
mov rcx, qword [rbx + 0x350]
mov eax, r8d
cdq
mov dword [rsp + 0x60], r9d
sub eax, edx
mov dword [rbx + 0x388], r9d
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x38c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ef390
add rsp, 0xa0
pop rbx
ret
Function at 0x1400c99d0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, r9
mov r8, r9
mov rsi, rdx
mov rbx, rcx
call fcn.1400cb4f0
test eax, eax
je 0x1400c9b23
cmp dword [rdi], 0
je 0x1400c9a91
mov eax, dword [rdi + 4]
cmp eax, 0x36001
jne 0x1400c9a30
call fcn.1400d1020
test eax, eax
je 0x1400c9b23
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400d0ba0
jmp 0x1400c9a76
cmp eax, 0x36002
jne 0x1400c9a54
call fcn.1400d2420
test eax, eax
je 0x1400c9b23
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400d1f10
jmp 0x1400c9a76
cmp eax, 0x36003
jne 0x1400c9a7e
call fcn.1400d3260
test eax, eax
je 0x1400c9b23
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.1400d3020
test eax, eax
je 0x1400c9b23
mov rdx, rdi
mov rcx, rbx
call fcn.1400c5e40
test eax, eax
je 0x1400c9b23
cmp qword [rbx + 0x48], 0
je 0x1400c9af6
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [rbx + 0x350]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rbx
call fcn.1400cb010
mov rcx, rbx
call fcn.1400cbc00
cmp dword [rsi + 0x2c], 0
je 0x1400c9b1c
mov rcx, rbx
call fcn.1400c7d70
mov eax, 1
jmp 0x1400c9b25
cmp dword [rsi + 0x14], 0
je 0x1400c9b1c
mov rcx, qword [rbx + 0x350]
mov edx, 8
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rsi + 0x1c], 0
je 0x1400c9b1c
mov rcx, rbx
call fcn.1400c9c00
mov eax, 1
jmp 0x1400c9b25
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret