joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ccbc0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1038
call fcn.140112fa0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea r14, [rsp + 0x830]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140114f20
lea rax, [rsp + 0x2c]
mov dword [rax], 1
lea r9, [rsp + 0x28]
mov dword [r9], 0x800
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.140081c80
test eax, eax
jne 0x1400ccc7d
mov eax, dword [rsp + 0x2c]
cmp eax, 1
jne 0x1400ccc81
lea rcx, [rsp + 0x830]
call fcn.1401390f4
lea rdx, [rsp + 0x830]
mov rcx, rsi
mov r8, rax
call fcn.1400c0c94
xor edi, edi
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140113000
mov eax, edi
add rsp, 0x1038
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x1400ccc5e
cmp eax, 2
jne 0x1400cccd6
lea rdi, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140114f20
lea rcx, [rsp + 0x830]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x28], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400cccdd
lea rcx, [rsp + 0x30]
call fcn.1401390f4
lea rdx, [rsp + 0x30]
jmp 0x1400ccc51
mov edi, 0x3f4
jmp 0x1400ccc5e
mov edi, 0xea
jmp 0x1400ccc5e

Function at 0x1400cd020
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rsi, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rsi
mov dl, 0xaa
call fcn.140114f20
mov word [rsi], 0
lea r8, [rsp + 0x4c]
mov dword [r8], 0x100
mov ecx, 3
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1400cd0b4
lea rax, str..corp.microsoft.com
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rdi + 8], 0x13
lea rbx, [rsp + 0x28]
mov qword [rbx], rsi
mov rcx, rsi
call fcn.1401390f4
mov qword [rbx + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 1
call fcn.1400cc170
test al, al
jne 0x1400cd0d3
xor esi, esi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140113000
mov eax, esi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret
mov sil, 1
jmp 0x1400cd0b6

Function at 0x1400cd640
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14021f580]
mov ecx, dword [0x14021ad00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400cd66a
add rsp, 0x28
ret
lea rcx, [0x14021f580]
call fcn.140111b40
cmp dword [0x14021f580], 0xffffffff
jne 0x1400cd665
xorps xmm0, xmm0
movups xmmword [0x14021f570], xmm0
movups xmmword [0x14021f560], xmm0
movups xmmword [0x14021f550], xmm0
lea rcx, [0x14021f550]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14021f580]
add rsp, 0x28
jmp fcn.140111bd8
Function at 0x1400d00f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1401e1ea0]
mov qword [rcx], rax
add rcx, 8
call fcn.14005ce90
lea rcx, [rsi + 0x10]
call fcn.14005ce90
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14005ce90
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x1401f359c]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.1400e71c0
lea rcx, [rsi + 0x2e0]
xor edx, edx
call fcn.14007f240
lea rcx, [rsi + 0x2f0]
xor edx, edx
call fcn.14007f240
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.14007f240
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], ebp
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
mov byte [rsi + 0x368], bl
mov dword [rsi + 0x36c], edi
mov byte [rsi + 0x370], bl
movups xmmword [rsi + 0x378], xmm6
mov qword [rsi + 0x388], rbx
call fcn.1400b16e0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov rcx, rsi
call fcn.1400d0310
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400d02ef
call fcn.140082e80
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400cef50
mov qword [0x14021f998], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x140173f30.0]
jmp 0x1400d02bd
Function at 0x1400d1960
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x1400d199f
test r15, r15
je 0x1400d1a8d
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1400d19e9
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.140114870
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x1400d197d
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x1400d1ab9
lea rcx, [r12*8]
call fcn.1401119e0
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x1400d1a5d
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x1400d1a8d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x1400d1a45
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x1400d197d
mov rcx, r14
call fcn.140111a1c
mov r15, qword [rsi + 0x10]
jmp 0x1400d197d
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.140152a0d
call fcn.140150c28
int3

Function at 0x1400d289e
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140114f20
xor ebx, ebx
lea r14, str.PROGRAMFILES
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r14]
mov word [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x104
call r15
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400d2919
mov edx, eax
mov rcx, rdi
mov r8, rsi
call fcn.1400d282a
test al, al
jne 0x1400d2946
add rbx, 8
cmp rbx, 0x18
jne 0x1400d28e6
xor esi, esi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140113000
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x1400d2925
Function at 0x1400d2c38
Capabilities:
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140114f20
mov word [rsi], 0
mov rcx, rsi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401dfd10]
movaps xmmword [rdi], xmm0
mov rcx, rsi
call fcn.1401390f4
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.14006bfa2
lea rdx, str.usp10.dll
mov r8d, 0xa
mov rcx, rdi
call fcn.14006c176
cmp byte [rax + 0x17], 0
jns 0x1400d2ccd
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp byte [rsp + 0x37], 0
jns 0x1400d2ce9
mov rcx, qword [rsp + 0x20]
call fcn.140111a1c
cmp esi, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140113000
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400d9730
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x1402258f0]
call fcn.1400d9960
mov rcx, rax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14007f1f0

Function at 0x1400d99c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1400c9ae0
test al, al
jne 0x1400d99f7
call fcn.14007d030
movzx edx, al
mov ecx, esi
call fcn.1400cc550
call fcn.1400d9a30
movsxd rdx, esi
inc rdx
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.14007f1f0
mov edx, 3
jmp 0x1400d99d8

Function at 0x1400d9a00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1400cc550
call fcn.1400d9a30
movsxd rdx, esi
inc rdx
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.14007f1f0

Function at 0x1400d9aa0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400d9ab5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400dd020
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x1400dd129
mov rsi, rcx
mov rcx, qword [rdx]
cmp rax, 2
mov r8d, 1
cmovae r8, rax
xor r9d, r9d
xor r10d, r10d
or r10, qword [rcx + r9*8]
inc r9
cmp r8, r9
jne 0x1400dd04d
test r10, r10
je 0x1400dd129
test eax, eax
jle 0x1400dd14e
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x1400dd14e
cmp dword [rdx + 0x10], 0
jne 0x1400dd185
cmp eax, 0x401
jae 0x1400dd1a5
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.1400db670
test rax, rax
je 0x1400dd1e6
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x1400dd16e
mov rdx, qword [rdi]
lea rcx, [rax - 1]
cmp qword [rdx + rax*8 - 8], 0
mov rax, rcx
je 0x1400dd0a3
inc ecx
mov dword [rsi + 0x20], ecx
mov rax, qword [rdi]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x1400dd0df
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xa4
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14019e990
jmp 0x1400dd120
mov dword [rsp + 0x20], 0xa8
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1400dd147
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x1400dd0c2
mov dword [rsi + 0x28], 0
jmp 0x1400dd0c2
mov dword [rsp + 0x20], 0xac
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1400dd147
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x1400dd1ae
test r8, r8
je 0x1400dd08b
mov dword [rsp + 0x20], 0xb0
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1400dd147
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1400dd147
Function at 0x1400de840
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret

Function at 0x1400e0e40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp r9, 0x30
ja 0x1400e0ef4
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
test r9, r9
jne 0x1400e0ef8
xor eax, eax
lea rcx, [0x1401eeac0]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x1400e0e8a
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.14009cd30
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140113000
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400e0ede
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
je 0x1400e0e81
jmp 0x1400e0efa
Function at 0x1400e0f10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp r8, 0x30
ja 0x1400e104d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1401dfd10]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r13, [rsp + 0x40]
lea rbx, [rcx + 0x108]
lea r12, [rcx + 0xf8]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov r8, rsi
call qword [case.0x140173f30.0]
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, r13
mov r8, rsi
call qword [case.0x140173f30.0]
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 [case.0x140173f30.0]
test r14, r14
je 0x1400e1001
xor eax, eax
nop dword [rax]
movzx ecx, byte [r15 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r14, rax
jne 0x1400e0ff0
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.14009cd30
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140113000
mov eax, esi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400e102e
Function at 0x1400e8a94
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 [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400e8ac7
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400e8bbf
mov eax, ebx
not eax
test eax, 0x300
je 0x1400e8bbf
cmp edi, 2
lea rax, [0x140226140]
lea rcx, [0x140226340]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400e8bbf
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 0x1400e8bbf
cmp byte [0x140226130], 0
setne al
bt ebx, 8
jb 0x1400e8bbf
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400e8bbf
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x1400e8c1b
mov r14, qword [rsi]
mov rbp, 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 r13, rbp
sub r13, r15
jb 0x1400e8bac
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.14012ef58
test eax, eax
je 0x1400e8bde
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400e8b8c
cmp dword [rsp + 0x2c], 0
jne 0x1400e8c23
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140113000
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400e8bec
test ecx, ecx
jne 0x1400e8bac
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400e8c4c
cmp dword [rsp + 0x2c], 2
jne 0x1400e8c5d
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400e8c5d
mov r14, rsi
jmp 0x1400e8b6f
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400e8c2f
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.14010f114
jmp 0x1400e8bbf
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400e8c76
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400e8c63
jmp 0x1400e8c79
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x1400e8bb3
Function at 0x1400ec260
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [0x1401dfd10]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
mov r8d, 6
call fcn.14009fb90
xor edi, edi
test eax, eax
je 0x1400ec2ed
lea rcx, [rsp + 0x20]
call fcn.14009fb50
movzx r15d, byte [0x1401f743d]
cmp rax, r15
jne 0x1400ec308
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140080e70
lea r14, [0x1401f7430]
test r15b, r15b
je 0x1400ec2e3
lea rdx, [0x1401f7434]
mov rcx, rax
mov r8, rbx
call fcn.140114770
test eax, eax
jne 0x1400ec308
mov eax, dword [r14]
mov dword [rsi], eax
mov edi, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140113000
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call fcn.14009fb50
movzx r15d, byte [0x1401f751d]
cmp rax, r15
jne 0x1400ec34e
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140080e70
lea r14, [0x1401f7510]
test r15b, r15b
je 0x1400ec2e3
lea rdx, [0x1401f7514]
mov rcx, rax
mov r8, rbx
call fcn.140114770
test eax, eax
je 0x1400ec2e3
lea rcx, [rsp + 0x20]
call fcn.14009fb50
movzx r15d, byte [0x1401f75fd]
cmp rax, r15
jne 0x1400ec39c
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140080e70
lea r14, [0x1401f75f0]
test r15b, r15b
je 0x1400ec2e3
lea rdx, [0x1401f75f4]
mov rcx, rax
mov r8, rbx
call fcn.140114770
test eax, eax
je 0x1400ec2e3
lea rcx, [rsp + 0x20]
call fcn.14009fb50
movzx r15d, byte [0x1401f76dd]
cmp rax, r15
jne 0x1400ec3ea
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140080e70
lea r14, [0x1401f76d0]
test r15b, r15b
je 0x1400ec2e3
lea rdx, [0x1401f76d4]
mov rcx, rax
mov r8, rbx
call fcn.140114770
test eax, eax
je 0x1400ec2e3
lea rcx, [rsp + 0x20]
call fcn.14009fb50
movzx r15d, byte [0x1401f77c5]
cmp rax, r15
jne 0x1400ec2ed
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140080e70
lea r14, [0x1401f77b8]
test r15b, r15b
je 0x1400ec2e3
lea rdx, [0x1401f77bc]
mov rcx, rax
mov r8, rbx
call fcn.140114770
test eax, eax
je 0x1400ec2e3
jmp 0x1400ec2ed

Function at 0x1400efdc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x140227658]
call fcn.1400d9960
mov rcx, rax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14007f1f0
Function at 0x1400f1170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400f1140]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140227720]
lea rdx, [0x1400f10d0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400f1279
cmp dword [0x140227728], 0
jne 0x1400f1286
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14022772c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400f122d
mov ecx, 0x28
call fcn.14009b6d0
test rax, rax
je 0x1400f1286
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x20], 0
mov ecx, dword [0x14022772c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400f127e
lea r15, [0x140227730]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x140227740]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140113000
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14012ba40
mov rcx, r14
call fcn.14009b710
mov rcx, rsi
mov rax, rdi
call qword [case.0x140173f30.0]
xor esi, esi
jmp 0x1400f125d
Function at 0x1400f40b0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400f41d2
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x1400f4208
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1400f4210
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1400f4214
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1400f421a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x1400f410c
xor eax, eax
jmp 0x1400f41a1
mov dl, byte [r8 + 0x19]
jmp 0x1400f4201
cmp byte [r8 + 0x1a], 0
je 0x1400f4205
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400f4205
cmp ecx, 0x666f736f
jne 0x1400f4205
cmp edx, 0x76482074
jne 0x1400f4205
mov byte [r8 + 0x19], 1
jmp 0x1400f4205