joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49af80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49b02c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call fcn.004037a0
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x49aff3
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.004485c0
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x49b006
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x49b019
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x49b003
mov byte [rax + rcx], dl
jmp 0x49b003
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0045f5c0
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call fcn.00462c00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.0049af80

Function at 0x4b9f60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ba090
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x80], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x18], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x18]
call fcn.004b9c80
movups xmmword [rsp + 0x40], xmm15
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x58], xmm15
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x80]
xor eax, eax
jmp 0x4b9ff4
inc rax
mov rcx, rbx
cmp rax, 5
jge 0x4ba037
mov rdx, qword [rsp + rax*8 + 0x40]
imul rsi, rax, 0x33
mov rdi, rsi
sar rsi, 0x3f
shr rsi, 0x3d
add rsi, rdi
mov r8, rsi
and rsi, 0xfffffffffffffff8
sub rdi, rsi
mov rbx, rcx
mov rcx, rdi
shl rdx, cl
cmp rcx, 0x40
sbb rsi, rsi
and rdx, rsi
mov qword [rsp + 0x10], rdx
xor ecx, ecx
jmp 0x4ba063
test byte [rcx], al
mov rax, rcx
mov ebx, 0x20
mov rcx, rbx
add rsp, 0x68
pop rbp
ret
test byte [rbx], al
movzx edi, byte [rbx + rsi]
movzx r9d, byte [rsp + rcx + 0x10]
or edi, r9d
mov byte [rbx + rsi], dil
inc rcx
mov r8, rdx
cmp rcx, 8
jge 0x4b9fee
mov rdx, r8
sar r8, 3
lea rsi, [r8 + rcx]
cmp rsi, 0x20
jge 0x4b9fee
nop
jb 0x4ba04a
mov rax, rsi
mov ecx, 0x20
call fcn.00464ee0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462c00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004b9f60
Function at 0x4c0020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c0166
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x4c0156
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.004ca120
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x4c013b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x4c0151
cmp rsi, rcx
ja 0x4c0149
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x4c0141
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.004ca260
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.00464fa0
mov rax, rsi
call fcn.00464fa0
call fcn.00464f60
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.00464f60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.00462c00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004c0020
Function at 0x4c01c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c0306
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x4c02f6
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.004ca1c0
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x4c02db
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x4c02f1
cmp rsi, rcx
ja 0x4c02e9
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x4c02e1
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.004ca300
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.00464fa0
mov rax, rsi
call fcn.00464fa0
call fcn.00464f60
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.00464f60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.00462c00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004c01c0
Function at 0x4caa40
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x4caac5
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
nop dword [rax]
jmp 0x4cac26
cmp rcx, 0xe
jne 0x4cab40
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x4cac26
cmp rcx, 0xf
jne 0x4cabb7
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x4cac26
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x4e6ac0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e6bfe
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x007083c8]
call fcn.00479e60
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbx
lea rcx, [0x004e6c20]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.004037a0
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4e6bc2
mov rdx, qword [rsp + 0x20]
cmp rdx, rcx
jb 0x4e6bf8
mov qword [rsp + 0x28], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x28]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
cmp rbx, rcx
jb 0x4e6bed
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.00464fa0
call fcn.00464f20
nop
nop
call fcn.00462c00
jmp fcn.004e6ac0
Function at 0x506280
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x506298
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x506298
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x5062a0
xor eax, eax
ret
cmp rbx, 3
je 0x5062ac
cmp rbx, 4
jne 0x5062d9
cmp al, 0x2c
ja 0x5062c6
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x5062d6
cmp al, 0x24
je 0x5062d6
nop dword [rax]
cmp al, 0x26
jae 0x5062d6
jmp 0x5062d9
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x5062d6
cmp al, 0x5b
je 0x5062d6
cmp al, 0x5d
jne 0x5062d9
xor eax, eax
ret
cmp al, 0x2f
ja 0x506312
nop dword [rax]
cmp al, 0x26
ja 0x5062f1
cmp al, 0x24
je 0x506331
cmp al, 0x26
je 0x506331
jmp 0x5063ab
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x506331
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x5063a8
cmp al, 0x2f
je 0x506331
jmp 0x5063ab
cmp al, 0x3d
ja 0x506329
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x506331
nop
cmp al, 0x3d
je 0x506331
jmp 0x5063ab
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x5063a0
cmp rbx, 2
jg 0x506367
cmp rbx, 1
je 0x506361
nop dword [rax]
cmp rbx, 2
jne 0x5063ab
cmp al, 0x2f
je 0x506352
cmp al, 0x3b
je 0x506352
cmp al, 0x2c
jne 0x506359
mov ecx, 1
jmp 0x50635e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x50638a
cmp al, 0x40
je 0x506379
cmp al, 0x2f
je 0x506379
cmp al, 0x3f
jne 0x506382
mov ecx, 1
nop
jmp 0x506387
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x506399
cmp rbx, 7
jne 0x5063ab
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x5063a8
cmp al, 0x7e
jne 0x5063ab
xor eax, eax
ret
cmp rbx, 7
jne 0x5063c1
cmp al, 0x21
je 0x5063bd
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x5063c1
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x527f00
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x52806b
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x90], rax
mov rcx, qword [rax + 0x28]
mov rbx, qword [rax + 0x30]
nop
mov rax, rcx
call fcn.005083a0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
call fcn.00528080
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rbx
mov rdx, qword [rsp + 0x90]
mov rsi, qword [rdx + 0x28]
mov rdi, qword [rdx + 0x30]
nop
mov rax, rsi
mov rbx, rdi
call fcn.005083a0
mov rdx, qword [rsp + 0x50]
test rdx, rdx
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
cmovne rdx, rsi
mov qword [rsp + 0x58], rdx
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
cmovne rsi, r8
mov qword [rsp + 0x70], rsi
test rdi, rdi
jne 0x527fd0
mov rbx, qword [0x00712b80]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdx]
mov rdi, qword [rdx + 8]
lea rax, [0x0054e4e0]
call fcn.0040e7a0
mov rdi, qword [rax + 8]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x60], rdi
mov qword [rsp], rsi
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.004037a0
xorps xmm15, xmm15
mov r14, qword [0x00759320]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x52803d
xor eax, eax
lea rbx, [0x0063070c]
mov ecx, 1
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x58]
lea r8, [0x0057e168]
mov r9d, 2
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
call fcn.004482e0
jmp 0x528065
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
lea rdi, [0x0062f758]
mov esi, 1
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x60]
nop
call fcn.00448220
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov qword [rsp + 8], rax
call fcn.00462c00
mov rax, qword [rsp + 8]
jmp fcn.00527f00
Function at 0x140001958
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rdi
sub rsp, 0x60
cmp qword [0x140039568], 0
xorps xmm0, xmm0
movups xmmword [rax - 0x38], xmm0
mov edi, ecx
mov ebp, 0x4b324
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
je 0x140001992
cmp qword [0x140039560], 0
jne 0x1400019cb
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rdx, rbp
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
test rbx, rbx
je 0x140001a8a
test rax, rax
je 0x140001a8a
mov qword [0x140039568], rax
mov qword [0x140039560], rbx
mov rcx, rdi
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x1400019f6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140001a8a
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [0x140039560]
mov r8, rbp
xor edx, edx
call fcn.140013900
mov rcx, qword [0x140039560]
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
xor r9d, r9d
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
mov rcx, rbx
lea r8d, [r9 + 1]
mov dl, r8b
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
lea rcx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rdx, qword [0x140039560]
lea rcx, [0x140013cb0]
mov r8, rbx
call sub.ntoskrnl.exe_DbgPrint
mov rax, rbx
jmp 0x140001a8c
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14000cf28
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rbx, rcx
mov dword [rsp + 0x28], 0x40
or rsi, 0xffffffffffffffff
mov dword [rbp - 0x19], 0x28ec8348
xor edi, edi
mov dword [rbp - 0x15], 0xb9
mov rcx, rsi
mov qword [rbp - 0x11], 0xba4800
lea r9, [rbp - 0x29]
mov dword [rbp - 9], 0x49000000
xor r8d, r8d
mov qword [rbp - 5], 0xb8
lea rdx, [rbp + 0x6f]
mov qword [rbp + 3], 0xb94900
mov dword [rbp + 0xb], 0x48000000
mov qword [rbp + 0xf], 0xb8
mov dword [rbp + 0x17], 0x48d0ff00
mov qword [rbp + 0x1b], 0xba
mov dword [rbp + 0x23], 0x7e02c700
mov dword [rbp + 0x27], 0x48c0371e
mov qword [rbp + 0x2b], 0xba
mov dword [rbp + 0x33], 0x2894800
mov dword [rbp + 0x37], 0x28c48348
mov qword [rbp + 0x6f], rdi
mov qword [rbp - 0x29], 0x1000
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000d100
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp + 0x7f]
movaps xmm0, xmmword [rbp - 0x19]
lea rdx, [rbp + 0x77]
movaps xmm1, xmmword [rbp - 9]
xor r8d, r8d
mov eax, dword [rbp + 0x37]
movups xmmword [rcx], xmm0
mov dword [rsp + 0x28], 0x40
movaps xmm0, xmmword [rbp + 7]
movups xmmword [rcx + 0x10], xmm1
mov dword [rsp + 0x20], 0x1000
movaps xmm1, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rbp + 0x27]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
mov dword [rcx + 0x50], eax
mov byte [rcx + 0x54], 0xc3
mov rcx, rsi
mov qword [rbp + 0x77], rdi
mov qword [rbp + 0x7f], 0x2090
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000d0e9
mov rcx, qword [rbp + 0x77]
lea rdx, [0x140034bd0]
mov r8d, 0x2090
call fcn.140013a00
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x77]
mov qword [rcx + 0x5f8], rax
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
mov qword [rcx + 0x600], rax
mov rax, qword [rbp + 0x6f]
mov dword [rax + 5], edi
mov rax, qword [rbp + 0x6f]
mov qword [rax + 0xb], rbx
mov rax, qword [rbp + 0x6f]
mov dword [rax + 0x15], 1
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx + 0x5f4]
mov qword [rcx + 0x1f], rax
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx + 0x5f8]
mov qword [rcx + 0x29], rax
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx + 0x5f0]
mov qword [rcx + 0x35], rax
mov rcx, qword [rbp + 0x6f]
lea rax, [rcx + 0x5e8]
mov qword [rcx + 0x45], rax
mov rax, qword [rbp + 0x6f]
jmp 0x14000d102
mov r9d, 0x8000
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
xor eax, eax
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d118
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov dword [rsp + 0x28], 0x40
xor edi, edi
mov dword [rbp - 0x38], 0x68
or rsi, 0xffffffffffffffff
mov dword [rbp - 0x34], 0x6800
mov rcx, rsi
mov dword [rbp - 0x30], 0x680000
lea r9, [rbp - 0x40]
mov qword [rbp - 0x2c], 0x68000000
xor r8d, r8d
mov dword [rbp - 0x24], pe_nt_image_headers64
lea rdx, [rbp + 0x28]
mov dword [rbp - 0x20], 0x10c48300
mov dword [rbp - 0x1c], 0xba
mov dword [rbp - 0x18], 0x7e02c700
mov dword [rbp - 0x14], 0xbac0371e
mov dword [rbp - 0x10], edi
mov word [rbp - 0xc], 0x289
mov qword [rbp + 0x28], rdi
mov qword [rbp - 0x40], 0x1000
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000d2ba
mov rcx, qword [rbp + 0x28]
lea r9, [rbp + 0x38]
movups xmm0, xmmword [rbp - 0x38]
mov eax, edi
mov dword [rsp + 0x28], 0x40
movups xmm1, xmmword [rbp - 0x28]
xor r8d, r8d
lea rdx, [rbp + 0x30]
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], 0x1000
movsd xmm0, qword [rbp - 0x18]
movups xmmword [rcx + 0x10], xmm1
movsd qword [rcx + 0x20], xmm0
mov dword [rcx + 0x28], eax
movzx eax, word [rbp - 0xc]
mov word [rcx + 0x2c], ax
mov byte [rcx + 0x2e], 0xc3
mov rcx, rsi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], 0x1780
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
js 0x14000d2a3
mov rcx, qword [rbp + 0x30]
lea rdx, [0x140033450]
mov r8d, 0x1780
call fcn.140013a00
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x30]
mov qword [rcx + 0x5f8], rax
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
mov qword [rcx + 0x600], rax
mov rcx, qword [rbp + 0x28]
lea eax, [rcx + 0x5f4]
mov dword [rcx + 1], eax
mov rax, qword [rbp + 0x28]
mov dword [rax + 6], 1
mov rax, qword [rbp + 0x28]
mov dword [rax + 0xb], ebx
mov rax, qword [rbp + 0x28]
mov dword [rax + 0x10], edi
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + 0x5f8]
sub eax, ecx
sub eax, 0x19
mov dword [rcx + 0x15], eax
mov rcx, qword [rbp + 0x28]
lea eax, [rcx + 0x5f0]
mov dword [rcx + 0x1d], eax
mov rcx, qword [rbp + 0x28]
lea eax, [rcx + 0x5e8]
mov dword [rcx + 0x28], eax
mov rax, qword [rbp + 0x28]
jmp 0x14000d2bc
mov r9d, 0x8000
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d2cc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rbx, qword [sym.imp.ntoskrnl.exe_ExGetPreviousMode]
xor edi, edi
lea rsi, [rbx + 0x14]
cmp rbx, rsi
jae 0x14000d327
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000d31b
cmp byte [rbx], 0x80
jne 0x14000d31b
lea rcx, [rbx + 5]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000d31b
cmp byte [rbx + 5], 0xc3
je 0x14000d320
inc rbx
jmp 0x14000d2f0
mov edi, dword [rbx + 1]
test edi, edi
jne 0x14000d368
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.140013900
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
jne 0x14000d368
cmp dword [rsp + 0x24], 6
jne 0x14000d363
cmp dword [rsp + 0x28], 1
mov edi, 0x1f6
je 0x14000d368
mov edi, 0x232
lea r11, [rsp + 0x140]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret