joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004e270
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov ecx, dword [0x180ab7738]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x18012c860], eax
jg 0x18004e2fe
mov rax, qword [0x18012c858]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
lea rdx, str.CoreGetComponentRegistry
mov rcx, r12
call qword [0x1800d8030]
call rax
mov qword [0x18012c858], rax
lea rcx, [0x18012c860]
call fcn.18007a148
jmp 0x18004e2b1
lea rcx, [0x18012c860]
call fcn.18007a1a8
cmp dword [0x18012c860], 0xffffffff
jne 0x18004e2b1
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
lea rax, [rcx + 0x10]
mov qword [rsp + 0x20], rax
lea rax, [rcx + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rcx + 0x30]
mov qword [rsp + 0x30], rax
xor r12d, r12d
mov r14d, r12d
mov ebp, r12d
lea r15, [rsp + 0x20]
nop dword [rax]
mov rsi, qword [r15]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x18004e382
nop dword [rax + rax]
mov rdi, rbx
sub rdi, rbp
lea rdx, str.CoreRT.dll
mov rcx, qword [rdi + 0x60]
call fcn.1800b8d98
test eax, eax
je 0x18004e399
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x18004e360
inc r14d
add r15, 8
add rbp, 0x10
cmp r14d, 3
jge 0x18004e2d7
jmp 0x18004e350
mov r12, qword [rdi + 0x30]
jmp 0x18004e2d7
Function at 0x18005dc00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1310]
mov eax, 0x1410
call fcn.18007a2d0
sub rsp, rax
mov rax, qword [0x180129f90]
xor rax, rsp
mov qword [rbp + 0x1300], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], dil
lea r8d, [rdi + 0x3e]
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x48]
call fcn.180056a60
nop
call fcn.180081208
mov edx, eax
mov r10d, 0xffffffff
mov dword [rbp + 0x12f4], r10d
mov dword [rsp + 0x74], eax
lea ecx, [rdi + 1]
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x18005dc90
mov dword [rsp + 0x70], 0x270
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
add rdx, qword [rsp + 0x58]
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r9, qword [rsp + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov r8d, 0x40
nop word [rax + rax]
dec r8
shr rax, 1
cmp rax, r10
ja 0x18005dd00
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x28]
mov rcx, r9
call fcn.180047230
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov r8d, 0x20
cmp qword [rsp + 0x58], r8
cmovb r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.180056a60
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18005dd98
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005dd93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005ddbf
call fcn.180079b68
mov rax, rbx
mov rcx, qword [rbp + 0x1300]
xor rcx, rsp
call fcn.180079c80
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800b88ac
int3
Function at 0x18005f830
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18005f976
cmp edx, 1
jne 0x18005f953
call qword [0x1800d8138]
mov rax, qword [0x180ab6748]
test rax, rax
jne 0x18005f932
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x18005f904
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x18005f904
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x18005f8ff
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x18005f8e0
cmp edx, 0x60ac7e39
je 0x18005f95d
test r8d, r8d
jne 0x18005f8c0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x18005f91a
cmp qword [rax + 0x30], 0
jne 0x18005f890
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [0x180ab6748], rax
mov qword [rsp + 0x28], 0
lea r8, [0x180054e20]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call rax
mov eax, 1
add rsp, 0x38
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x18005f91c
mov edx, 1
call qword [0x1800d8140]
int3
Function at 0x180065cf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x180065d77
mov rbx, r15
mov rbp, r15
jmp 0x180065dba
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x180065d91
cmp rbx, rcx
je 0x180065db4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180065d83
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
je 0x180065f39
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.18007a4f8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x180065e09
cvtsi2ss xmm0, rdx
jmp 0x180065e21
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x180065e34
cvtsi2ss xmm1, rcx
jmp 0x180065e49
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x180065ed1
mov rcx, rsi
call fcn.1800750c0
mov rdx, rax
mov rcx, rsi
call fcn.180076490
mov rdx, qword [rsi + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x180065e91
mov qword [rsp + 0x28], 0
jmp 0x180065eb9
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x180065eb1
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x180065f05
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180065ea0
mov rbx, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rbp, rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x180065f15
mov qword [rcx + rax*8], rdi
jmp 0x180065f27
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x180065ebe
cmp r8, rbp
jne 0x180065f20
mov qword [rcx + rax*8], rdi
jmp 0x180065f2c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180065f2c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x180065d99
lea rcx, str.unordered_map_set_too_long
call fcn.18007b23c
int3
Function at 0x180076490
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x18007663d
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.180074020
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x180076606
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x180076580
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800765f5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800765bd
mov r10, qword [rdx]
cmp r10, rax
je 0x1800765b7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800765f5
cmp r9, rdx
je 0x1800765d1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180076617
cmp r9, rdx
jne 0x1800765c2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x180076530
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800765f5
lea rcx, str.invalid_hash_bucket_count
call fcn.18007b23c
int3
Function at 0x180078aa0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x180078414
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180079b68
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x180078420
cmp rbx, rbp
jne 0x1800783c0
cmp qword [rsp + 0x20], r14
jne 0x1800783ed
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x18007842f
mov qword [r15], r12
mov rax, r12
jmp 0x180078432
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800783ed
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180079b68
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1800784c6
cmp rbx, rbp
jne 0x1800784a0
jmp 0x1800783ea
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x180078440
jmp 0x1800783ed
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180078b4c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x180078ada
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x180078310
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x180078b1a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.180079b68
mov rcx, rbx
test rbx, rbx
jne 0x180078b00
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.180066680
add rsp, 0x30
pop rdi
ret
Function at 0x1800b91a8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1800b907f
xor ecx, ecx
call qword [0x1800d80e0]
test rax, rax
je 0x1800b907f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800b907f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800b907f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800b907f
cmp dword [rcx + 0x84], 0xe
jbe 0x1800b907f
cmp dword [rcx + 0xf8], 0
je 0x1800b907f
mov ecx, ebx
call fcn.1800b9120
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1800b8f10
cmp dword [rbp + 0x20], 0
je 0x1800b90cc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800b90d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800b9018

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140006008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140006008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140006008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x14081a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14081a237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14081a0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081a0c7
add dl, dl
jne 0x14081a0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081a14e
xor eax, eax
add dl, dl
jne 0x14081a0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14081a205
add dl, dl
jne 0x14081a10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081a11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081a128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081a135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14081a142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14081a0d6
mov eax, 1
add dl, dl
jne 0x14081a15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14081a16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081a153
sub eax, ebx
mov ebx, 1
jne 0x14081a1a4
mov ecx, 1
add dl, dl
jne 0x14081a186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14081a193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081a17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081a0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14081a1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14081a1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14081a1b5
cmp eax, 0x7d00
jae 0x14081a1f3
cmp eax, 0x500
jb 0x14081a1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081a0d6
cmp eax, 0x7f
ja 0x14081a1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14081a0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14081a22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14081a0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001330
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov rbp, r8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001403
mov ecx, dword [rsp + 0x34]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x14000138e
cmp ecx, 7
jne 0x140001403
mov ecx, dword [rsp + 0x30]
inc ecx
call fcn.1400108f8
mov rbx, rax
test rax, rax
je 0x140001403
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov rdx, rsi
mov rcx, rdi
mov byte [r8 + rax], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete dil
test eax, eax
jne 0x1400013f5
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1400013e0
mov rdx, rbx
mov rcx, rbp
call fcn.140001960
mov rcx, rbx
call fcn.1400108b4
movzx eax, dil
jmp 0x140001405
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140010890
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001420
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
mov qword [rcx], rdx
mov qword [r11 - 0x20], rsi
lea rbx, [rcx + 0x10]
mov qword [r11 - 0x28], rsi
mov rdi, rcx
mov qword [r11 - 0x30], rsi
mov rax, rdx
mov qword [r11 - 0x38], rbx
xor r9d, r9d
mov qword [rcx + 8], rsi
xor r8d, r8d
lea rcx, [r11 - 0x18]
mov dword [rbx], esi
mov qword [r11 - 0x40], rcx
xor edx, edx
mov qword [r11 - 0x48], rsi
mov rcx, rax
mov qword [r11 - 0x50], rsi
mov qword [r11 - 0x58], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [rbx]
inc ecx
mov dword [rbx], ecx
test eax, eax
je 0x1400014a5
mov rcx, qword [rdi + 8]
mov dword [rdi + 0x10], esi
call fcn.1400108b4
mov qword [rdi + 8], rsi
jmp 0x1400014ae
call fcn.1400108f8
mov qword [rdi + 8], rax
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140010890
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140004bd0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
mov qword [rsp + 0x30], 0
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeASUSArmourySDKMainSDKPlugin
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004c6e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.EdgeRuntimeStatus
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140004c6e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010890
add rsp, 0x58
ret
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010890
add rsp, 0x58
ret