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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001848a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x14042d580]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140036440
xorps xmm15, xmm15
mov r14, qword [0x1409c90e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x1400182d9
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x1400182ec
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140018310
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x140018324
cmp rbx, 0x1000
jae 0x1400182e3
jmp 0x1400183a5
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140018336
xor esi, esi
jmp 0x140018396
mov rax, qword [0x14042d580]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.140036440
xorps xmm15, xmm15
mov r14, qword [0x1409c90e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x14001831a
nop
jmp 0x140018302
call fcn.14006e960
xorps xmm15, xmm15
mov r14, qword [0x1409c90e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140018425
call fcn.14003b060
lea rax, [0x14051480b]
mov ebx, 0x19
call fcn.14003b960
mov rax, qword [rsp + 0x68]
call fcn.14003b660
lea rax, [0x140513d4d]
mov ebx, 0x19
call fcn.14003b960
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.14003b660
call fcn.14003b2c0
call fcn.14003b0e0
lea rax, [0x14050c5a8]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.140039720
cmp eax, 0x5af
je 0x1400183c8
call fcn.14003b060
lea rax, [0x14051480b]
mov ebx, 0x19
nop dword [rax]
call fcn.14003b960
mov rax, qword [rsp + 0x38]
call fcn.14003b660
lea rax, [0x140513d4d]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.14003b960
mov eax, dword [rsp + 0x34]
call fcn.14003b660
call fcn.14003b2c0
call fcn.14003b0e0
lea rax, [0x140518dc0]
mov ebx, 0x1f
call fcn.140039720
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006ad80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140018260
Function at 0x140020940
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x1409c8e67], 0
jne 0x140020a2f
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x140020a25
lea rbx, [0x14099b290]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x11440]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x140020a07
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.14006d420
lea rax, [0x140520645]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.140039720
nop
int3

Function at 0x140022e20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140022f1e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x140022e60
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x140022f0f
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.1400239e0
nop dword [rax]
test rax, rax
je 0x140022f0f
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x140022f60]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.14006ac40
xorps xmm15, xmm15
mov r14, qword [0x1409c90e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x140022efd
xor eax, eax
jmp 0x140022f07
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x140022e52
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.14006ad80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.140022e20
Function at 0x140032400
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x1400326a6
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 0x14003269a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x1409c8e67], 0
jne 0x140032462
xor edx, edx
xor ebx, ebx
nop
jmp 0x1400324aa
xor edx, edx
jmp 0x14003248d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.140020160
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x140032466
add rax, 0x1260
call fcn.1400322c0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x140032634
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x1400324a7
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.140015000
test rax, rax
jne 0x140032502
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x1400324a7
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 0x140032549
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x1400324a7
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 0x14003268d
lea r10, [0x14099b290]
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 0x1400325cf
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x140032605
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 0x1400324a7
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x140032685
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 0x1400324a7
cmp rbx, 0x200
ja 0x140032678
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.1400262e0
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.1400322c0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.14006d480
mov rax, r8
call fcn.14006d400
mov rax, r8
mov ecx, 0x40
call fcn.14006d420
mov edx, 0x200
nop
call fcn.14006d460
nop
mov qword [rsp + 8], rax
call fcn.14006f820
mov rax, qword [rsp + 8]
jmp fcn.140032400
Function at 0x140048600
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14004876a
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 0x140048618
cmp edx, ecx
jne 0x140048758
nop dword [rax]
test rsi, rsi
jne 0x140048758
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140048674
nop
call fcn.14006edc0
xorps xmm15, xmm15
mov r14, qword [0x1409c90e8]
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.140048500
mov rcx, qword [0x140972268]
mov rdx, qword [0x140972260]
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 0x140048753
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 0x140048748
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x140973970]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x140973970], rbx
nop
mov edx, 1
lea rsi, [0x140973978]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x140048737
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, [0x14051e9a7]
mov ebx, 0x28
call fcn.140039720
mov rcx, rax
mov rax, rsi
call fcn.14006d400
call fcn.140037be0
lea rax, [0x14051bc44]
mov ebx, 0x23
call fcn.140039720
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006ad80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140048600
Function at 0x1400607a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140060859
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, [0x1400608a0]
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.14006ac40
xorps xmm15, xmm15
mov r14, qword [0x1409c90e8]
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.14006ad80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1400607a0
Function at 0x14006ce80
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 [0x1409c94c0]
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 [0x1409c8e66], 0
je 0x14006ceb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1409c9860]
aesenc xmm0, xmmword [0x1409c9870]
aesenc xmm0, xmmword [0x1409c9880]
movq rax, xmm0
ret
jmp 0x14000ab00

Function at 0x1403ee4d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14096c4e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1403ee4f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1403ee4f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1403ee4f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1403ee545
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1403ee53c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1403ee4f0
add rax, 0x28
cmp rax, r9
jne 0x1403ee528
xor eax, eax
ret

Function at 0x1403ee550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14096c4e0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1403ee570
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1403ee578
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1403ee570
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1403ee600
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14096c4e0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1403ee620
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1403ee628
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x14004d558
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push r12
push r14
push r15
sub rsp, 0x40
and dword [rax + 0x20], 0
and qword [rax - 0x20], 0
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
mov dword [rax - 0x24], 1
mov rcx, qword [str.P5_n_]
lea r14, str.P5_n_
lea r15, [0x140008f68]
cmp rcx, r14
je 0x14004d5c1
test byte [rcx + 0x1c], 4
je 0x14004d5c1
cmp byte [rcx + 0x19], 5
jb 0x14004d5c1
mov rcx, qword [rcx + 0x10]
mov edx, 0x14a
mov r8, r15
call fcn.14000ffa8
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x38]
mov edx, ebp
mov rcx, r12
call fcn.14004d210
mov ebx, eax
test eax, eax
je 0x14004d618
mov rcx, qword [str.P5_n_]
cmp rcx, r14
je 0x14004d765
test byte [rcx + 0x1c], 4
je 0x14004d765
cmp byte [rcx + 0x19], 2
jb 0x14004d765
mov rcx, qword [rcx + 0x10]
mov edx, 0x14b
mov r9d, eax
mov r8, r15
call fcn.1400100e0
jmp 0x14004d765
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x34]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004d671
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r14
je 0x14004d765
test byte [rcx + 0x1c], 4
je 0x14004d765
cmp byte [rcx + 0x19], 2
jb 0x14004d765
mov edx, 0x14c
jmp 0x14004d756
add byte [rax], al
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x78]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004d6ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r14
je 0x14004d765
test byte [rcx + 0x1c], 4
je 0x14004d765
cmp byte [rcx + 0x19], 2
jb 0x14004d765
mov edx, 0x14d
jmp 0x14004d756
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x38]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004d713
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r14
je 0x14004d765
test byte [rcx + 0x1c], 4
je 0x14004d765
cmp byte [rcx + 0x19], 2
jb 0x14004d765
mov edx, 0x14e
jmp 0x14004d756
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, ebp
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14004d765
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r14
je 0x14004d765
test byte [rcx + 0x1c], 4
je 0x14004d765
cmp byte [rcx + 0x19], 2
jb 0x14004d765
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.1400100e0
cmp qword [rsp + 0x38], 0
je 0x14004d777
mov rcx, qword [rsp + 0x38]
call fcn.140076afc
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14007b1f0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x18], r8d
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
mov rdi, rdx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x14007b242
lea rcx, [0x14000d2c0]
mov r8d, eax
mov rdx, rdi
call fcn.14007e7a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14007b247
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007b258
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
sub rsp, 0x30
test r9d, r9d
mov dword [r11 - 0x10], r9d
lea rax, [r11 + 0x20]
cmovne rax, r8
mov r9d, 3
xor r8d, r8d
mov qword [r11 - 0x18], rax
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14007b2a3
lea rcx, [0x14000d2c0]
mov r8d, eax
mov rdx, rbx
call fcn.14007e7a0
xor eax, eax
jmp 0x14007b2a8
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x14007b2b4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
mov r10, rcx
test r9, r9
je 0x14007b2dd
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
add rcx, rcx
jmp 0x14007b2df
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r9
mov r9d, edx
mov rdx, rbx
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14007b314
lea rcx, [0x14000d2c0]
mov r8d, eax
mov rdx, rbx
call fcn.14007e7a0
xor eax, eax
jmp 0x14007b319
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007b32c
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
xor ebx, ebx
mov eax, r8d
mov r12, r9
and dword [rsp + 0x60], ebx
xor ebp, ebp
neg eax
sbb r13d, r13d
mov r14d, r8d
and r13d, 6
lea r9d, [r13 + 0x20019]
call fcn.14007ac98
mov rsi, rax
test rax, rax
je 0x14007b4a2
and qword [rsp + 0x58], rbx
and qword [rsp + 0x50], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], rbx
and qword [rsp + 0x38], rbx
and qword [rsp + 0x30], rbx
lea rax, [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14007b3cf
lea rcx, [0x14000d400]
jmp 0x14007b492
mov r9, qword [rsp + 0xc0]
mov r8d, dword [rsp + 0x64]
xor edx, edx
mov rcx, rsi
call r12
test eax, eax
je 0x14007b499
mov eax, dword [rsp + 0xb0]
add eax, 4
mov dword [rsp + 0xb0], eax
cmp eax, 0x7ffffffe
ja 0x14007b499
lea ecx, [rax + 1]
add rcx, rcx
call fcn.140076a54
mov rbx, rax
test rax, rax
je 0x14007b499
mov r8, rax
xor edx, edx
Function at 0x1400115f5
Capabilities:
Terminate process

Disassembly:
jmp 0x140022c30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001171c
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140025600
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140032018]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14003a0fd]
call fcn.140011ab4
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
cmp qword [rbp + 0xa8], rax
jae 0x1400257e8
mov r9d, 0x30
lea r8, [rbp + 0x58]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400257e1
cmp dword [rbp + 0x78], 0x1000
jne 0x1400257c7
cmp dword [rbp + 0x80], 0x20000
jne 0x1400257c7
lea rcx, [rbp + 0xe8]
call fcn.140011aa0
nop
xor r8d, r8d
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0xe8]
call fcn.1400110fa
xor edx, edx
lea rcx, [rbp + 0xe8]
call fcn.140011159
lea rcx, [rbp + 0x128]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0x70]
mov r8, rax
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400257bb
xor r8d, r8d
mov rdx, qword [rbp + 0x248]
lea rcx, [rbp + 0xe8]
call fcn.1400112f8
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x148], 0xffffffffffffffff
je 0x1400257bb
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rdx, [0x14002c63f]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001112c
mov rdx, qword [rbp + 0x240]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x14002c63c]
mov rcx, rax
call fcn.14001112c
mov rdx, qword [rbp + 0xa8]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x14001105f]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rbp + 0xe8]
call fcn.1400111f9
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
jmp 0x1400257e3
jmp 0x1400257e8
jmp 0x14002566e
lea rcx, [rbp - 0x30]
lea rdx, [0x14002b188]
call fcn.1400118ca
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.14001153c
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret