joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140261480
Capabilities:
Get token membership

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov rsi, r8
xor edx, edx
mov dword [rbp - 0x40], edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
cmp dword [rcx], ecx
call fcn.1402116f0
mov rcx, qword [rbp + 0x10]
mov rbx, qword [rcx + 8]
mov qword [rbp + 0x20], rsi
cmp byte [rsi], 0
jne 0x1402614d0
xor eax, eax
jmp 0x1402614d5
mov eax, 1
mov dword [rbp - 0x40], eax
test rdi, rdi
jne 0x1402614e2
xor r14d, r14d
jmp 0x1402614e6
lea r14, [rdi + 0x10]
mov qword [rbp - 0x50], r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea r8, [rbp - 0x40]
mov qword [rbp - 0x58], r8
mov rcx, rbx
mov qword [rbp - 0x60], rcx
mov rdx, r14
mov qword [rbp - 0x68], rdx
lea rcx, [rbp - 0x90]
call fcn.14000ba80
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
call sub.ADVAPI32.dll_CheckTokenMembership
mov esi, eax
lea rcx, [rbp - 0x90]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test esi, esi
setne sil
movzx esi, sil
cmp dword [rbp - 0x40], 0
setne cl
mov rbx, qword [rbp + 0x20]
mov byte [rbx], cl
cmp byte [rbp - 0x48], 0
je 0x140261567
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140211790
call fcn.140006de9
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140269bb0
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x10], rcx
mov rsi, rdx
mov edi, r8d
mov ebx, r9d
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402116f0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rcx + 8]
mov r8, qword [rsi]
mov qword [rbp - 0x48], r8
mov rcx, rdx
mov qword [rbp - 0x58], rcx
mov rdx, r8
mov qword [rbp - 0x60], rdx
mov r8d, edi
mov dword [rbp - 0x4c], r8d
mov r9d, ebx
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x88]
call fcn.14000ba80
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.bcrypt.dll_BCryptHashData
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.14000bad0
nop
xor ecx, ecx
mov qword [rbp - 0x48], rcx
cmp byte [rbp - 0x40], 0
je 0x140269c5d
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140211790
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140278580
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.14000ba80
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.14000bad0
mov ecx, esi
test ecx, ecx
jne 0x1402785f6
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
or ecx, 0x1000000
call fcn.14026ff40
mov rcx, rax
call fcn.14000bbe0
int3

Function at 0x140294b30
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x10], rcx
mov rdi, rdx
mov ebx, r8d
mov rsi, r9
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402116f0
mov rcx, qword [rbp + 0x10]
mov r14, qword [rcx + 8]
test rdi, rdi
jne 0x140294b84
xor r15d, r15d
jmp 0x140294b88
lea r15, [rdi + 0x10]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x50], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov edi, dword [rbp + 0x30]
mov dword [rsp + 0x20], edi
mov rcx, r14
mov qword [rbp - 0x5c], rcx
mov rdx, r15
mov qword [rbp - 0x64], rdx
mov r8d, ebx
mov dword [rbp - 0x54], r8d
mov r9, rsi
mov qword [rbp - 0x6c], r9
lea rcx, [rbp - 0x98]
call fcn.14000ba80
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov esi, eax
lea rcx, [rbp - 0x98]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
xor ecx, ecx
mov qword [rbp - 0x48], rcx
test esi, esi
setne sil
movzx esi, sil
cmp byte [rbp - 0x40], 0
je 0x140294c17
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140211790
call fcn.140006de9
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140295390
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov r14, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x58]
cmp byte [rbp + 0x30], 0
jne 0x1402953da
xor r15d, r15d
jmp 0x1402953e0
mov r15d, 1
test rcx, rcx
je 0x1402953eb
add rcx, 0xc
jmp 0x1402953ed
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov r12, rcx
mov qword [rbp - 0x48], r8
mov r13, r8
mov qword [rbp - 0x58], r9
mov rax, r9
mov qword [rbp - 0x50], rax
test r14, r14
je 0x140295411
add r14, 0xc
jmp 0x140295414
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov rcx, r12
mov qword [rbp - 0x78], rcx
mov rdx, rsi
mov qword [rbp - 0x80], rdx
mov r8, r13
mov qword [rbp - 0x88], r8
mov r9, qword [rbp - 0x50]
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.14000ba80
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.dll_CreateProcessW
mov esi, eax
lea rcx, [rbp - 0xb8]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.140006de9
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1402954f0
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x10], rcx
mov esi, edx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402116f0
mov rcx, qword [rbp + 0x10]
mov rdi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x4c], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
lea rcx, [rbp - 0x78]
call fcn.14000ba80
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
call sub.KERNEL32.dll_TerminateProcess
mov esi, eax
lea rcx, [rbp - 0x78]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
test esi, esi
setne sil
movzx esi, sil
cmp byte [rbp - 0x40], 0
je 0x14029557b
mov rcx, qword [rbp + 0x10]
xor edx, edx
call fcn.140211790
call fcn.140006de9
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1402956f0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov esi, edx
test rcx, rcx
jne 0x14029571d
xor edi, edi
jmp 0x140295721
lea rdi, [rcx + 0x10]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], r8
mov rbx, r8
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, esi
mov dword [rbp - 0x4c], edx
mov r8, rbx
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.14000ba80
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test esi, esi
setne sil
movzx esi, sil
call fcn.140006de9
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140296090
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movups xmmword [rbp - 0x68], xmm4
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rsi, r8
mov edi, r9d
xor edx, edx
mov dword [rbp - 0x3c], edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
lea rcx, [0x1406ce6a0]
call fcn.14000b650
mov rbx, rax
mov rcx, rbx
call fcn.14015a420
mov qword [rbp - 0x60], rbx
lea rcx, [0x1406ce6a0]
call fcn.14000b650
mov r14, rax
mov rcx, r14
call fcn.14015a420
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x74], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x7c], rdx
mov r8, rsi
mov qword [rbp - 0x84], r8
mov r9d, edi
mov dword [rbp - 0x6c], r9d
lea rcx, [rbp - 0xb0]
call fcn.14000ba80
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x6c]
call sub.KERNEL32.dll_CreatePipe
mov esi, eax
lea rcx, [rbp - 0xb0]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor edx, edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x3c], 1
test esi, esi
setne sil
movzx esi, sil
mov rbx, qword [rbp - 0x50]
mov r14, qword [rbp - 0x68]
mov qword [r14 + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rdx, r14
call fcn.14000b950
mov r15, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x60]
mov qword [rbx + 8], r15
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
call fcn.14000b950
call fcn.140006de9
mov dword [rax + 8], edi
movzx eax, sil
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1402a3950
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
xor eax, eax
mov qword [rsp + 0x10], rax
mov dword [rsp + 0x28], edx
mov rax, qword [rcx]
mov qword [rsp + 0x10], rax
mov ecx, dword [rcx + 8]
movsxd rdx, ecx
add rdx, rax
lea r9, [rsp + 0x28]
mov rcx, rdx
sub rcx, rax
cmp rcx, 4
jl 0x1402a3a75
test al, 3
je 0x1402a3a6b
lea rcx, [rax + 1]
movsxd r10, r8d
movzx r10d, byte [r9 + r10]
xor byte [rax], r10b
inc r8d
and r8d, 3
mov qword [rsp + 8], rcx
test cl, 3
jne 0x1402a3a61
mov eax, dword [rsp + 0x28]
mov r10d, r8d
shl r10d, 3
mov ecx, r10d
ror eax, cl
mov rcx, qword [rsp + 8]
mov r10, rdx
sub r10, rcx
cmp r10, 0x10
jl 0x1402a3a11
test cl, 0xf
je 0x1402a39e2
xor dword [rcx], eax
add rcx, 4
test cl, 0xf
jne 0x1402a39d7
mov r10, rdx
sub r10, rcx
cmp r10, 0x10
jl 0x1402a3a11
movd xmm0, eax
pshufd xmm0, xmm0, 0
movups xmm1, xmmword [rcx]
pxor xmm1, xmm0
movups xmmword [rcx], xmm1
add rcx, 0x10
mov r10, rdx
sub r10, rcx
cmp r10, 0x10
jge 0x1402a39f7
mov r10, rdx
sub r10, rcx
cmp r10, 4
jl 0x1402a3a2f
xor dword [rcx], eax
add rcx, 4
mov r10, rdx
sub r10, rcx
cmp r10, 4
jge 0x1402a3a1d
cmp rcx, rdx
je 0x1402a3a52
mov rax, rcx
lea rcx, [rax + 1]
movsxd r10, r8d
movzx r10d, byte [r9 + r10]
xor byte [rax], r10b
inc r8d
and r8d, 3
cmp rcx, rdx
jne 0x1402a3a34
xor eax, eax
mov qword [rsp + 0x10], rax
mov eax, r8d
add rsp, 0x18
ret
mov rax, qword [rsp + 8]
jmp 0x1402a398d
mov qword [rsp + 8], rax
jmp 0x1402a39b1
mov rcx, rax
jmp 0x1402a3a2f

Function at 0x1402c3a80
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov qword [rbp - 0x4c], rcx
mov rdx, rdi
mov qword [rbp - 0x54], rdx
mov r8d, ebx
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.14000ba80
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea rcx, [rbp - 0x88]
call fcn.14000bad0
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140006de9
mov dword [rax + 8], edi
mov eax, esi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140002d50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002d78
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140002d9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002da0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002df9
test ecx, ecx
jle 0x140002dd9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002df9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002df9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140002e20
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002e42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002e58
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002e74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002e76
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002eb2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002f4e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002eed
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140002f2e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140002f4e
cmp rbx, rax
ja 0x140002f00
test rbx, rbx
je 0x140002f4e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140003380
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400033ad
xor eax, eax
jmp 0x140003519
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400033e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400033e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003519
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000350c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000342a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003455
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003511
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400034c4
sub eax, 1
je 0x1400034c4
cmp eax, 2
jne 0x14000350c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003511
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400034f2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000350c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003511
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140016000
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140003960
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003a33
cmp byte [rcx + 0x71], 0
je 0x140003a33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003a2f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400039f4
sub eax, 1
je 0x1400039f8
cmp eax, 2
jne 0x140003a2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140016000
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003a26
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140003a2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400039dc
xor al, al
jmp 0x1400039dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140016000
add rsp, 0x60
pop rbx
ret
Function at 0x1400116d0
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140011740
lea rcx, [0x14001aaf8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140021daf], 0
sete byte [0x140021daf]
call fcn.140015c00
cmp byte [0x140021daf], 0
lea rcx, str.Language___English
lea rax, [0x14001ab00]
cmovne rax, rcx
mov qword [0x140021db8], rax
call fcn.140015eb0
nop dword [rax]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140011730
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400117b0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov dword [0x140021db0], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
lea rcx, str.Resolution_changed
sub eax, edx
sar eax, 1
cmp byte [0x140021daf], 0
mov dword [0x140021da8], eax
lea rax, [0x14001ac18]
cmovne rax, rcx
mov qword [0x140021db8], rax
call fcn.140015eb0
nop
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400117a0
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140011834
lea rcx, [0x14001aaf8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140021dac], 0
sete byte [0x140021dac]
call fcn.140015c00
movzx eax, byte [0x140021dac]
test al, al
jne 0x1400117fb
lea rcx, str.Target_Counter_Terrorist
lea rax, [0x14001ab80]
jmp 0x14001180d
cmp al, 1
jne 0x14001181f
lea rcx, str.Target_Terrorist
lea rax, [0x14001abc8]
cmp byte [0x140021daf], 0
cmovne rax, rcx
mov qword [0x140021db8], rax
call fcn.140015eb0
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140011824
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400118c0
lea rcx, [0x14001aaf8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140021dad], 0
sete byte [0x140021dad]
call fcn.140015c00
movzx eax, byte [0x140021dad]
test al, al
jne 0x14001187f
lea rcx, str.Trigger_Disabled
lea rax, [0x14001ac68]
jmp 0x140011891
cmp al, 1
jne 0x1400118a3
lea rcx, str.Trigger_Enabled
lea rax, [0x14001acb0]
cmp byte [0x140021daf], 0
cmovne rax, rcx
mov qword [0x140021db8], rax
call fcn.140015eb0
nop dword [rax + rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400118b0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140011944
lea rcx, [0x14001aaf8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140021dae], 0
sete byte [0x140021dae]
call fcn.140015c00
movzx eax, byte [0x140021dae]
test al, al
jne 0x14001190b
lea rcx, str.Trigger_mode___Clamp
lea rax, [0x14001ad00]
jmp 0x14001191d
cmp al, 1
jne 0x14001192f
lea rcx, str.Trigger_mode___OneTap
lea rax, [0x14001ad58]
cmp byte [0x140021daf], 0
cmovne rax, rcx
mov qword [0x140021db8], rax
call fcn.140015eb0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140011934
add rsp, 0x28
ret