joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432be0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x432e86
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x432e7a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x011beef6], 0
jne 0x432c42
xor edx, edx
xor ebx, ebx
nop
jmp 0x432c8a
xor edx, edx
jmp 0x432c6d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.00420720
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x432c46
add rax, 0x1260
call fcn.00432aa0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x432e14
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x432c87
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.004155c0
test rax, rax
jne 0x432ce2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x432c87
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x432d29
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x432c87
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x432e6d
lea r10, [0x01191310]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x432daf
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x432de5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x432c87
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x432e65
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x432c87
cmp rbx, 0x200
ja 0x432e58
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004268a0
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.00432aa0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0046dd40
mov rax, r8
call fcn.0046dcc0
mov rax, r8
mov ecx, 0x40
call fcn.0046dce0
mov edx, 0x200
nop
call fcn.0046dd20
nop
mov qword [rsp + 8], rax
call fcn.00470340
mov rax, qword [rsp + 8]
jmp fcn.00432be0
Function at 0x448e60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x448fca
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x448e78
cmp edx, ecx
jne 0x448fb8
nop dword [rax]
test rsi, rsi
jne 0x448fb8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x448ed4
nop
call fcn.0046f6c0
xorps xmm15, xmm15
mov r14, qword [0x011bf1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00448d60
mov rcx, qword [0x01166cb8]
mov rdx, qword [0x01166cb0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x448fb3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x448fa8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x011699f0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x011699f0], rbx
nop
mov edx, 1
lea rsi, [0x011699f8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x448f97
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00bb3d64]
mov ebx, 0x28
call fcn.00439fa0
mov rcx, rax
mov rax, rsi
call fcn.0046dcc0
call fcn.00438460
lea rax, [0x00bafacc]
mov ebx, 0x23
call fcn.00439fa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046b660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00448e60
Function at 0x457140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4572b8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x45717c
test r8b, r8b
jne 0x45717c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x45718f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x457278
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x457266
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x45725c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x4571e3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x457226
mov eax, 1
cmp rax, rbx
ja 0x457215
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0046dd80
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x457254
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x45721d
mov r8d, eax
mov eax, r10d
jmp 0x4571e8
mov rcx, rbx
call fcn.0046dcc0
xor eax, eax
mov rcx, rax
call fcn.0046dcc0
mov eax, r8d
mov rcx, rbx
call fcn.0046dd80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4572ae
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x457271
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x457195
mov eax, edx
mov rcx, rbx
call fcn.0046dcc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046dcc0
nop
int3
Function at 0x460fe0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x461099
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x004610e0]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046b520
xorps xmm15, xmm15
mov r14, qword [0x011bf1d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046b660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00460fe0
Function at 0x46d760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x011bf600]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x011beef5], 0
je 0x46d796
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x011bf980]
aesenc xmm0, xmmword [0x011bf990]
aesenc xmm0, xmmword [0x011bf9a0]
movq rax, xmm0
ret
jmp 0x40ae60
Function at 0x140009a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140009a93
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140009ad9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140009ad4
nop
cmp rbx, rcx
jae 0x140009ad9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140009ac0
cmp rbx, rcx
jb 0x140009add
xor eax, eax
jmp 0x140009ae9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000ad60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
mov r14, r8
mov rdi, rdx
mov qword [r8], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000adac
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000ae7a
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.14003fe50
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x14000ae56
lea rax, vtable.Gdiplus::Bitmap.0
lea rdx, [rsp + 0x50]
mov rcx, rbp
mov qword [rbx], rax
mov qword [rsp + 0x50], 0
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov dword [rbx + 0x10], eax
mov qword [rbx + 8], rcx
jmp 0x14000ae58
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000ae90
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r15, r8
mov rsi, rdx
mov ebp, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movzx edx, bp
mov r8, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14000afad
mov edx, ebp
lea rcx, [rsp + 0x50]
call fcn.1400039b0
nop
mov r8, rax
lea rdx, [0x14008b780]
lea rcx, [rsp + 0x48]
call fcn.140002e10
nop
lea r8, [0x14008b770]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001190
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140001190
xor r9d, r9d
lea r8, [0x14008b764]
mov rdx, qword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000af59
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000af73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000af8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000afa6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x14000b087
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b019
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x14000b087
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.14003fe50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000b0a0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x1400a1640]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.140001e70
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x14000b112
mov ecx, 0x80004005
call fcn.140001bf0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x50]
test rax, 0xffffffffffff0000
jne 0x14000b150
movzx ebx, cx
mov ecx, ebx
call fcn.1400099b0
test rax, rax
je 0x14000b17b
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
call fcn.140003170
jmp 0x14000b17b
lea rax, [rsp + 0x50]
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14000b160
mov r8d, ecx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140009350
nop
mov dword [rsp + 0x30], 1
mov r8d, 0xd
lea rdx, str.FLiNGTrainer
mov rcx, rdi
call fcn.14000bb30
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003fb60
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140010bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, edx
cmp ebx, 0xff
jge 0x140010c16
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r8, [0x1400ab2d0]
movzx edx, ax
shr edx, 0xf
and dl, 1
je 0x140010c0f
cmp byte [rbx + r8], 0
jne 0x140010c0f
mov byte [rbx + r8], 1
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
mov byte [rbx + r8], dl
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400118e0
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a1640]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001199a
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14001198f
mov rcx, qword [rsp + 0x30]
xor eax, eax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x38]
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003fb60
add rsp, 0x60
pop rbx
ret

Function at 0x140015690
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x38], rdx
xor ecx, ecx
mov qword [rsp + 0x24], rax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
je 0x1400156ee
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x1400156f4
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 0x1000
cmp dword [rsp + 0x48], ecx
cmova ecx, dword [rsp + 0x48]
mov eax, ecx
mov qword [rbx], rax
add rsp, 0x50
pop rbx
ret
Function at 0x1400160b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x38]
mov rdi, r8
mov rbx, rcx
test rax, rax
je 0x1400160e9
mov rcx, qword [rax + 0x38]
test rcx, rcx
jne 0x1400160f6
mov r8, qword [0x1400ab410]
mov rdx, qword [0x1400ab480]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rdx, 0xffffffffffffffff
jne 0x140016192
cmp qword [rbx + 0x18], 0x10000
ja 0x140016116
mov rcx, rbx
call fcn.140016f20
test al, al
je 0x1400160e9
mov rcx, qword [rbx + 0x38]
mov r9d, 0x3000
mov r8, rdi
mov rcx, qword [rcx + 0x38]
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp rax, 0x10000
jbe 0x1400160e9
mov rdx, rax
mov rcx, rbx
call fcn.140016d50
test al, al
je 0x140016178
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.140017050
mov rcx, qword [rbx + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400162e0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rdx, 0x10
jne 0x1400161ae
mov rdx, qword [rax + 0x18]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400161e0
test rdx, rdx
jne 0x14001619c
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, r8
mov rbp, rcx
cmp rdx, 0x7fffffff
jb 0x140016212
lea rbx, [rdx - 0x10000000]
jmp 0x140016214
xor ebx, ebx
lea r14, [rdx + 0x7fffffff]
xor edx, edx
mov rax, rbx
div qword [rcx]
mov rcx, qword [rcx + 0x38]
mov r9d, 0x3000
mov rcx, qword [rcx + 0x38]
sub rbx, rdx
mov dword [rsp + 0x20], 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
cmp rax, r14
jae 0x14001628c
nop dword [rax]
cmp rbx, r14
jae 0x14001628c
lea rcx, [rdi + rsi]
cmp rcx, rbx
jae 0x1400162bf
mov rcx, qword [rbp + 0x38]
add rbx, qword [rbp]
mov r9d, 0x3000
mov rcx, qword [rcx + 0x38]
mov r8, rsi
mov rdx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
cmp rax, r14
jb 0x140016250
test rdi, rdi
je 0x1400162bf
mov ecx, 0x1e7
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400162bb
mov rcx, qword [rcx + 0x38]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x1400162c2
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400161e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x38]
mov rdi, r8
mov rbx, rcx
test rax, rax
je 0x1400160e9
mov rcx, qword [rax + 0x38]
test rcx, rcx
jne 0x1400160f6
mov r8, qword [0x1400ab410]
mov rdx, qword [0x1400ab480]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rdx, 0xffffffffffffffff
jne 0x140016192
cmp qword [rbx + 0x18], 0x10000
ja 0x140016116
mov rcx, rbx
call fcn.140016f20
test al, al
je 0x1400160e9
mov rcx, qword [rbx + 0x38]
mov r9d, 0x3000
mov r8, rdi
mov rcx, qword [rcx + 0x38]
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
cmp rax, 0x10000
jbe 0x1400160e9
mov rdx, rax
mov rcx, rbx
call fcn.140016d50
test al, al
je 0x140016178
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.140017050
mov rcx, qword [rbx + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400162e0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rdx, 0x10
jne 0x1400161ae
mov rdx, qword [rax + 0x18]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x1400161e0
test rdx, rdx
jne 0x14001619c
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, r8
mov rbp, rcx
cmp rdx, 0x7fffffff
jb 0x140016212
lea rbx, [rdx - 0x10000000]
jmp 0x140016214
xor ebx, ebx
lea r14, [rdx + 0x7fffffff]
xor edx, edx
mov rax, rbx
div qword [rcx]
mov rcx, qword [rcx + 0x38]
mov r9d, 0x3000
mov rcx, qword [rcx + 0x38]
sub rbx, rdx
mov dword [rsp + 0x20], 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
cmp rax, r14
jae 0x14001628c
nop dword [rax]
cmp rbx, r14
jae 0x14001628c
lea rcx, [rdi + rsi]
cmp rcx, rbx
jae 0x1400162bf
mov rcx, qword [rbp + 0x38]
add rbx, qword [rbp]
mov r9d, 0x3000
mov rcx, qword [rcx + 0x38]
mov r8, rsi
mov rdx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
cmp rax, r14
jb 0x140016250
test rdi, rdi
je 0x1400162bf
mov ecx, 0x1e7
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400162bb
mov rcx, qword [rcx + 0x38]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x1400162c2
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret