joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140049c60
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x140049c94
mov rax, qword [rsi + 8]
test rax, rax
je 0x140049d8b
bt ebx, 8
jae 0x140049cb0
mov eax, ebx
and eax, 0x200
jne 0x140049d8b
cmp edi, 2
lea rax, [0x1401a3cc0]
lea rcx, [0x1401a3ec0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x140049d8b
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x140049d8b
bt ebx, 8
jb 0x140049d8b
shr ebx, 9
and ebx, 1
or bl, byte [0x1401a42c0]
je 0x140049d8b
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx r13, byte [rsi + 0x17]
test r13, r13
jns 0x140049daa
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x140049d74
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400cb0a4
test eax, eax
je 0x140049daf
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140049d54
cmp dword [rsp + 0x2c], 0
jne 0x140049e2a
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b4140
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x140049d37
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x140049dbd
test ecx, ecx
jne 0x140049d74
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140049de9
cmp dword [rsp + 0x2c], 2
jne 0x140049dfa
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
jmp 0x140049dfa
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x140049e13
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x140049e00
jmp 0x140049e16
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x140049d7b
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x140049e36
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.140101a90
jmp 0x140049d8b
Function at 0x14004d0b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14004d10f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x14004d0cb
cmp rdx, r9
jb 0x14004d11e
ja 0x14004d142
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14004d120
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14004d116
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14004d145
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14004d116
Function at 0x14004f410
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r14d, r14d
test r13, r13
je 0x14004f480
mov ecx, dword [r13 + 0x2c]
call fcn.140097cd0
test rax, rax
je 0x14004f551
mov r12, rax
xor ecx, ecx
call fcn.140097d30
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r14, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x140128a90]
cmp rax, rcx
jne 0x14004f555
xorps xmm0, xmm0
movups xmmword [r14 + 0x5c], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [0x140179e50]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x140179e60]
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x6c], 0x20
lea r14, [rsp + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
mov rdx, r15
mov r8, rbx
call qword [0x140185120]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x140185120]
mov rax, qword [r14]
test rsi, rsi
je 0x14004f50a
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.140097d70
mov r14d, 1
mov rcx, qword [rsp + 0x28]
call fcn.140097d30
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14004f565
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b4140
mov eax, r14d
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x14004f522
lea rcx, [rsp + 0x20]
call qword [0x140185120]
jmp 0x14004f4cf
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x140185120]
jmp 0x14004f531

Function at 0x14004f5d0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [rcx]
cmp rax, rdx
je 0x14004f608
mov rdi, rdx
mov ecx, dword [rdx + 0x2c]
call fcn.140097cd0
test rax, rax
je 0x14004f65c
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.140097d30
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, rdi
mov rax, qword [rax + 0x10]
lea rcx, [0x140128a90]
cmp rax, rcx
jne 0x14004f660
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140179e50]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140179e60]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14004f654
mov rcx, rsi
call qword [0x140185120]
jmp 0x14004f64f
Function at 0x14004f700
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x14004f737
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.1400597e0
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004f841
mov ebp, dword [rsp + 0x88]
lea rcx, [0x1401a5e50]
lea rdx, [0x1400530b0]
call fcn.140099720
lea rax, [0x1401a5e58]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x14004f845
call fcn.140059ae0
test eax, eax
je 0x14004f841
test rbx, rbx
je 0x14004f78f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.140058770
test eax, eax
je 0x14004f841
xor eax, eax
test ebp, ebp
setne al
mov rcx, qword [rdi + 0x10]
mov rcx, qword [rcx]
shl eax, 4
cmp qword [rcx + rax + 0x28], 0
je 0x14004f823
test rbx, rbx
je 0x14004f85a
mov rax, qword [rdi]
cmp rax, rbx
je 0x14004f7dc
mov ecx, dword [rbx + 0x2c]
call fcn.140097cd0
test rax, rax
je 0x14004f841
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140097d30
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, rbx
mov rax, qword [rax + 0x10]
lea rcx, [0x140128a90]
cmp rax, rcx
jne 0x14004f84f
mov rax, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140179e50]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140179e60]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x14004f834
mov rax, qword [rdi + 0x10]
mov qword [rsi], rax
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x14004f834
call fcn.140135ed0
jmp 0x14004f76e
mov rcx, rdi
call qword [0x140185120]
jmp 0x14004f823
mov dword [rsp + 0x20], 0x6d
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestsigndigestsign.c
xor ebx, ebx
mov ecx, 6
xor edx, edx
mov r8d, 0x77
call fcn.140135d60
jmp 0x14004f834
Function at 0x1400514e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140051629
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1401667f0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x140185120]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x140185120]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x140185120]
test r14, r14
je 0x1400515c3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400515b3
mov ecx, 1
call fcn.1400957c0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14005162d
call fcn.140002fe0
lea rax, [0x140001d60]
lea rcx, [fcn.140001000]
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b4140
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14005160c
bt eax, 9
jae 0x140051648
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [fcn.1400042a0]
jmp 0x1400515f3
call fcn.140113020
lea rax, [0x140113820]
lea rcx, [0x140112f00]
jmp 0x1400515f3
Function at 0x140051670
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x28], r9
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov esi, 1
test rdx, rdx
je 0x140051841
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x150]
mov r13d, dword [rsi + 4]
xor r14d, r14d
movaps xmm7, xmmword [0x140179e50]
movaps xmm8, xmmword [0x140179e60]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x30]
cmp rax, rsi
je 0x140051738
mov ecx, dword [rsi + 0x2c]
call fcn.140097cd0
test rax, rax
je 0x140051894
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140097d30
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, rsi
mov rax, qword [rax + 0x10]
lea rcx, [0x140128a90]
cmp rax, rcx
jne 0x140051898
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x5c], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax], xmm7
movups xmmword [rax + 0x10], xmm8
mov dword [rax + 0x6c], 0x20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, r15
mov r8, qword [rsp + 0x28]
call qword [0x140185120]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x140185120]
cmp rdi, r13
jb 0x1400517e8
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x140185120]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.140097d70
add rbx, r13
inc r14d
sub rdi, r13
jne 0x1400516fa
jmp 0x14005183c
movaps xmm0, xmmword [0x1401667f0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea r15, [rsp + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, r14
call qword [0x140185120]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.140097d70
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400e61a0
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140097d30
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400518a8
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b4140
mov eax, esi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x140051841
lea rcx, [rsp + 0x30]
call qword [0x140185120]
jmp 0x140051774
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x140185120]
jmp 0x140051855
Function at 0x140052c10
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.1400957c0
mov ebp, eax
bt eax, 0x1d
jb 0x140052c53
not ebp
test ebp, 0x128
jne 0x140052c79
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010eb0
mov ecx, 1
call fcn.1400957c0
bt eax, 9
jae 0x140052c33
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000ef40
mov ecx, 1
call fcn.1400957c0
mov ebp, eax
bt eax, 0x1c
jae 0x140052c98
xor ecx, ecx
call fcn.1400957c0
bt eax, 0x1e
jb 0x140052cc2
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140052cb4
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000df00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f210
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400100b0

Function at 0x140052d30
Capabilities:
Encode data using xor
Hash data using sha256 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.1400957c0
bt eax, 0x1d
jb 0x140052db0
mov ecx, 1
call fcn.1400957c0
mov ebp, eax
bt eax, 0x1c
jae 0x140052d86
xor ecx, ecx
call fcn.1400957c0
bt eax, 0x1e
jae 0x140052d86
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014f40
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140052da2
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012a80
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014000
mov ecx, 1
call fcn.1400957c0
bt eax, 9
jae 0x140052d51
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013c40
Function at 0x140053950
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400539d8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400539c2
cmp dword [rsp + 0x38], 4
jne 0x1400539c2
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b4140
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x1400539c2

Function at 0x1400539e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400b40e0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400e6840
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140053a93
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140053a97
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140036150
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b4140
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140053a74
cmp eax, 2
jne 0x140053adf
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400e6840
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140053ae6
lea rdx, [rsp + 0x40]
jmp 0x140053a6a
mov edi, 0x3f4
jmp 0x140053a74
mov edi, 0xea
jmp 0x140053a74
Function at 0x140055500
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x140055510
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x140055531
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140055551
cmp byte [r14 + 0x50], 1
je 0x1400555dc
or edi, 0x20000000
test dil, 8
jne 0x1400555e7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005556f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x140055580
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005560e
cmp byte [r14 + 0x18], 1
je 0x14005561f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005562f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x140055604
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x140055551
cmp byte [r14 + 0x68], 1
jne 0x1400555f9
or edi, 0x40000000
jmp 0x14005555b
or edi, 0x10000000
jmp 0x14005555b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400555c7
lea rcx, [r14 + 0x20]
call fcn.140037c40
mov r15, rax
jmp 0x14005558b
mov rcx, r14
call fcn.140037c40
mov r9, rax
jmp 0x140055599
cmp ebx, 4
jne 0x14005563e
mov edx, 6
jmp 0x1400555a6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140055650
mov edx, 7
jmp 0x1400555a6
cmp ebx, 1
jne 0x14005565f
mov edx, 4
jmp 0x1400555a6
xor edx, edx
jmp 0x1400555a6
Function at 0x140055510
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x140055510
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x140055531
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x140055551
cmp byte [r14 + 0x50], 1
je 0x1400555dc
or edi, 0x20000000
test dil, 8
jne 0x1400555e7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x14005556f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x140055580
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 1
je 0x14005560e
cmp byte [r14 + 0x18], 1
je 0x14005561f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14005562f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x140055604
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x140055551
cmp byte [r14 + 0x68], 1
jne 0x1400555f9
or edi, 0x40000000
jmp 0x14005555b
or edi, 0x10000000
jmp 0x14005555b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400555c7
lea rcx, [r14 + 0x20]
call fcn.140037c40
mov r15, rax
jmp 0x14005558b
mov rcx, r14
call fcn.140037c40
mov r9, rax
jmp 0x140055599
cmp ebx, 4
jne 0x14005563e
mov edx, 6
jmp 0x1400555a6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140055650
mov edx, 7
jmp 0x1400555a6
cmp ebx, 1
jne 0x14005565f
mov edx, 4
jmp 0x1400555a6
xor edx, edx
jmp 0x1400555a6

Function at 0x140055670
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400556a8
cmp byte [r15 + 0x50], 1
je 0x14005573f
or edi, 0x20000000
test dil, 8
jne 0x14005574a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400556c6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400556d7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x140055771
cmp byte [r15 + 0x18], 1
je 0x140055782
xor r9d, r9d
cmp ebx, 4
jne 0x140055730
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x140055767
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140055792
mov edx, 7
jmp 0x1400556fa
or edi, 0x80000000
jmp 0x1400556a8
cmp byte [r15 + 0x68], 1
jne 0x14005575c
or edi, 0x40000000
jmp 0x1400556b2
or edi, 0x10000000
jmp 0x1400556b2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14005571b
lea rcx, [r15 + 0x20]
call fcn.140037c40
mov r14, rax
jmp 0x1400556e2
mov rcx, r15
call fcn.140037c40
mov r9, rax
jmp 0x1400556f0
mov edx, 1
test ebx, ebx
je 0x1400556fa
cmp ebx, 1
jne 0x1400557ae
mov edx, 4
jmp 0x1400556fa
xor edx, edx
jmp 0x1400556fa
Function at 0x140056270
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10050
call fcn.1400b40e0
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x140192040]
xor rax, rsp
mov qword [rsp + 0x10048], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401667f0]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.14007f500
test rsi, rsi
je 0x140056348
lea rbx, [rsp + 0x4a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1400e6840
cmp byte [rsp + 0x47], 0
jns 0x1400562eb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x14005631a
cmp eax, 0x7fff
jae 0x14005636d
mov edx, eax
lea rcx, [rsp + 0x4a]
mov r8, rsi
call fcn.14003c480
cmp byte [rsp + 0x47], 0
jns 0x14005632b
mov rcx, qword [rsp + 0x30]
call fcn.1400b2e54
mov rcx, qword [rsp + 0x10048]
xor rcx, rsp
call fcn.1400b4140
mov eax, ebx
add rsp, 0x10050
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsp + 0x47], 0
js 0x140056356
lea rcx, [rsp + 0x30]
jmp 0x14005635b
mov rcx, qword [rsp + 0x30]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x14005631a
int3

Function at 0x140056710
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x140056787
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401946a0], rax
jne 0x14005678a
mov rsi, rcx
call fcn.14005c040
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.1400567a0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140095d80
mov ecx, dword [0x1401a6ae0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401a0798]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x150], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3