joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033d80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140149300
sub rsp, rax
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, dword [0x140233078]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x140033e72
lea rcx, [rsp + 0x2c]
call fcn.140046a30
test al, al
jne 0x140033df3
lea rdx, str....._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x101
call fcn.140008430
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x140033e50
lea rcx, [rsp + 0x2c]
call fcn.140046a30
test al, al
je 0x140033e11
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x140033e42
lea rdx, str....._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x10b
call fcn.140008430
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x140233078], ecx
mov ecx, dword [rsp + 0x2c]
je 0x140033e72
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140233078]
mov dword [rsp + 0x2c], ecx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
and esi, 3
je 0x140033eee
xor ecx, ecx
call fcn.140011520
mov rdi, rax
mov ecx, esi
call fcn.140011520
lea rdx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rdi
call fcn.140011bf0
cmp qword [rsp + 0x30], 0
je 0x140033eee
lea rdx, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x20]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x11d
call fcn.1400084b0
mov rcx, rsi
call fcn.1400085c0
mov rcx, rsi
call fcn.1400085d0
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14014a5b0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1401492dc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140149f00
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140149000
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret

Function at 0x140033f60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140233078]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140033f90
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140033f90
mov rax, qword [rax + rcx]
jmp 0x140033f92
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140033fa0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140233078]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140033fde
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140033fd7
call fcn.140033d80
jmp 0x140033fbe

Function at 0x140036e10
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140240928]
mov ecx, dword [0x140242758]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140036e45
lea rcx, [0x140240918]
add rsp, 0x28
jmp fcn.140033f60
lea rcx, [0x140240928]
call fcn.140148dd8
cmp dword [0x140240928], 0xffffffff
jne 0x140036e35
xorps xmm0, xmm0
movups xmmword [0x140240918], xmm0
lea rcx, [0x140240918]
xor edx, edx
call fcn.140033ff0
lea rcx, [0x140240928]
call fcn.140148d78
jmp 0x140036e35

Function at 0x14003a4f0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x14003dc90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r12, rcx
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [rdx]
mov qword [rsp + 0x30], 0
movaps xmm0, xmmword [0x1401c5c00]
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rcx, rdi
call fcn.1401506e0
mov rbx, rax
cmp rax, 0xf
jbe 0x14003dcf2
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r9, rdi
call fcn.140007bd0
jmp 0x14003dd0c
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rbx
call fcn.140149f00
mov byte [rsp + rbx + 0x30], 0
movabs rbp, 0xcbf29ce484222325
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
cmp r15, 0x10
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmovae rbx, rax
test r14, r14
je 0x14003dd5a
movabs rax, 0x100000001b3
lea rdx, [r14 - 1]
mov ecx, r14d
and ecx, 3
cmp rdx, 3
jae 0x14003dd5f
xor esi, esi
jmp 0x14003dda8
mov rdx, rbp
jmp 0x14003ddd6
mov rdi, r14
and rdi, 0xfffffffffffffffc
xor esi, esi
nop dword [rax + rax]
movzx edx, byte [rbx + rsi]
xor rdx, rbp
imul rdx, rax
movzx ebp, byte [rbx + rsi + 1]
xor rbp, rdx
imul rbp, rax
movzx edx, byte [rbx + rsi + 2]
xor rdx, rbp
imul rdx, rax
movzx ebp, byte [rbx + rsi + 3]
xor rbp, rdx
imul rbp, rax
add rsi, 4
cmp rdi, rsi
jne 0x14003dd70
mov rdx, rbp
test rcx, rcx
je 0x14003ddd6
add rsi, rbx
xor edi, edi
nop word cs:[rax + rax]
movzx edx, byte [rsi + rdi]
xor rdx, rbp
imul rdx, rax
inc rdi
mov rbp, rdx
cmp rcx, rdi
jne 0x14003ddc0
and rdx, qword [r12 + 0x30]
mov r13, qword [r12 + 8]
mov rax, qword [r12 + 0x18]
mov rcx, rdx
shl rcx, 4
mov rsi, qword [rax + rcx + 8]
cmp rsi, r13
je 0x14003de51
add rdx, rdx
mov rdi, qword [rax + rdx*8]
cmp r14, qword [rsi + 0x20]
jne 0x14003de33
nop word cs:[rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x14003de20
mov rdx, qword [rsi + 0x10]
jmp 0x14003de24
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call fcn.140149e00
test eax, eax
je 0x14003de44
cmp rsi, rdi
je 0x14003de51
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
je 0x14003de10
jmp 0x14003de33
test rsi, rsi
je 0x14003de51
cmp r15, 0x10
jae 0x14003de5a
jmp 0x14003de93
mov rsi, r13
cmp r15, 0x10
jb 0x14003de93
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x14003de89
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14003deb9
add r15, 0x28
mov rdx, r15
mov rcx, rax
jmp 0x14003de8e
mov rcx, qword [rsp + 0x28]
call fcn.1401489f0
cmp rsi, r13
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140149000
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14014fc7c
int3
Function at 0x140043640
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x140043797
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14004369d
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x14004369d
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x1400437da
cmp qword [rdi + 0x80], 0
je 0x14004379b
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x1400436d7
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400437a2
movaps xmm0, xmmword [0x1401c5c30]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x5f], sil
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
lea rbp, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbp
lea r15, [rsp + 0x60]
mov qword [rsp + 0x28], r15
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x20], rbp
lea r14, [rsp + 0x5f]
mov r8, r14
call qword [str.PLe_]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x1400437ba
mov rbx, qword [rsp + 0x48]
sub rbx, r15
je 0x140043787
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.14015ab6c
cmp rbx, rax
jne 0x1400437d8
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], r14
mov eax, 0xffffffff
jmp 0x1400437d3
xor esi, esi
jmp 0x1400437da
mov esi, 0xffffffff
jmp 0x1400437da
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call fcn.14015ac08
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x1400437da
cmp eax, 3
jne 0x1400437d8
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call fcn.14015ac08
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140149000
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140043c70
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
jle 0x140043d0f
mov r14, r8
mov rdi, rdx
mov r12, rcx
cmp qword [rcx + 0x68], 0
je 0x140043d17
mov rbx, r14
jmp 0x140043ccc
cmp rbx, rsi
cmovb rsi, rbx
mov rcx, rdi
mov r8, rsi
call fcn.140149f00
add rdi, rsi
sub rbx, rsi
mov rax, qword [r12 + 0x50]
sub dword [rax], esi
mov rax, qword [r12 + 0x38]
add qword [rax], rsi
test rbx, rbx
jle 0x140043d07
mov rax, qword [r12 + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140043ce4
mov rax, qword [r12 + 0x50]
mov esi, dword [rax]
test esi, esi
jg 0x140043ca0
mov rax, qword [r12]
mov rax, qword [rax + 0x38]
mov rcx, r12
call qword [str.PLe_]
cmp eax, 0xffffffff
je 0x140043d07
mov byte [rdi], al
inc rdi
dec rbx
test rbx, rbx
jg 0x140043ccc
sub r14, rbx
jmp 0x140043e1b
xor r14d, r14d
jmp 0x140043e1b
mov rax, qword [r12 + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140043d6f
mov rax, qword [r12 + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140043d6f
cmp r15, r14
cmovae r15, r14
mov rcx, rdi
mov r8, r15
call fcn.140149f00
add rdi, r15
mov rsi, r14
sub rsi, r15
mov rax, qword [r12 + 0x50]
sub dword [rax], r15d
mov rax, qword [r12 + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [r12 + 0x80], 0
jne 0x140043d81
jmp 0x140043e18
mov rsi, r14
cmp qword [r12 + 0x80], 0
je 0x140043e18
mov rax, qword [r12 + 0x18]
lea rcx, [r12 + 0x70]
cmp qword [rax], rcx
jne 0x140043dc0
mov ecx, dword [r12 + 0x90]
mov rdx, qword [r12 + 0x88]
mov qword [rax], rdx
mov rax, qword [r12 + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [r12 + 0x50]
mov dword [rax], ecx
nop word cs:[rax + rax]
cmp rsi, 0x1000
jb 0x140043df4
mov r9, qword [r12 + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.14015a008
add rdi, rax
sub rsi, rax
cmp rax, 0xfff
je 0x140043dc0
jmp 0x140043e18
test rsi, rsi
je 0x140043e16
mov r9, qword [r12 + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rsi
call fcn.14015a008
sub rsi, rax
jmp 0x140043e18
xor esi, esi
sub r14, rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140043e30
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140043eca
mov rsi, r14
test r14, r14
jle 0x140043f3b
mov rsi, r14
jmp 0x140043e8e
cmp rsi, rdi
cmovb rdi, rsi
mov rdx, r15
mov r8, rdi
call fcn.140149f00
add r15, rdi
sub rsi, rdi
mov rax, qword [rbx + 0x58]
sub dword [rax], edi
mov rax, qword [rbx + 0x40]
add qword [rax], rdi
test rsi, rsi
jle 0x140043f3b
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140043ea4
mov rax, qword [rbx + 0x58]
mov edi, dword [rax]
test edi, edi
jg 0x140043e60
movzx edx, byte [r15]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [str.PLe_]
cmp eax, 0xffffffff
je 0x140043f3b
inc r15
dec rsi
test rsi, rsi
jg 0x140043e8e
jmp 0x140043f3b
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140043f14
test r14, r14
jle 0x140043f14
mov rax, qword [rbx + 0x58]
mov edi, dword [rax]
test edi, edi
jle 0x140043f14
cmp rdi, r14
cmovae rdi, r14
mov rdx, r15
mov r8, rdi
call fcn.140149f00
add r15, rdi
mov rsi, r14
sub rsi, rdi
mov rax, qword [rbx + 0x58]
sub dword [rax], edi
mov rax, qword [rbx + 0x40]
add qword [rax], rdi
test rsi, rsi
jg 0x140043f1c
jmp 0x140043f3b
mov rsi, r14
test rsi, rsi
jle 0x140043f3b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140043f3b
mov edx, 1
mov rcx, r15
mov r8, rsi
call fcn.14015ab6c
sub rsi, rax
sub r14, rsi
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140044330
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14004440f
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14004440f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [str.PLe_]
cmp eax, 0xffffffff
je 0x14004440d
movaps xmm0, xmmword [0x1401c5c30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x28], rax
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [str.PLe_]
cmp eax, 3
je 0x140044426
cmp eax, 1
je 0x1400443dd
test eax, eax
jne 0x14004440d
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140044403
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call fcn.14015ab6c
cmp rbx, rax
jne 0x14004440d
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14004440f
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140149000
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x14004440f

Function at 0x140046a30
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 0x140046a45
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140046bb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140240a30]
mov ecx, dword [0x140242758]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140046be5
lea rcx, [0x140240a20]
add rsp, 0x28
jmp fcn.140033f60
lea rcx, [0x140240a30]
call fcn.140148dd8
cmp dword [0x140240a30], 0xffffffff
jne 0x140046bd5
xorps xmm0, xmm0
movups xmmword [0x140240a20], xmm0
lea rcx, [0x140240a20]
xor edx, edx
call fcn.140033ff0
lea rcx, [0x140240a30]
call fcn.140148d78
jmp 0x140046bd5

Function at 0x14004894c
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400489e4
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14004d0d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov eax, ecx
test r8, r8
je 0x14004d14c
cmp r8, 1
jne 0x14004d0e2
xor ecx, ecx
jmp 0x14004d12e
mov r9, r8
and r9, 0xfffffffffffffffe
xor ecx, ecx
lea r10, [0x1401c9370]
nop word cs:[rax + rax]
movzx r11d, al
movzx esi, byte [rdx + rcx]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rdx + rcx + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add rcx, 2
cmp r9, rcx
jne 0x14004d100
test r8b, 1
je 0x14004d14c
movzx r8d, al
movzx ecx, byte [rdx + rcx]
xor ecx, r8d
lea rdx, [0x1401c9370]
shr eax, 8
xor eax, dword [rdx + rcx*4]
pop rsi
ret
Function at 0x140053160
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x30
xor edi, edi
mov esi, ecx
lea r14d, [rdi + 1]
test ecx, ecx
je 0x140053201
lea rax, [rbp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareAdobeAdobe_AcrobatDCSecurity
mov rcx, 0xffffffff80000002
mov ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140053201
mov rcx, qword [rbp + 0x48]
lea rax, [rbp + 0x38]
and dword [rbp + 0x40], edi
lea r9, [rbp + 0x40]
and dword [rbp + 0x30], edi
lea rdx, [0x1401c574c]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov dword [rbp + 0x38], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400531ef
mov eax, dword [rbp + 0x30]
neg eax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400532dd
lea rax, [rbp + 0x48]
xor ebx, ebx
and qword [rbp + 0x48], rbx
lea rdx, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140053284
mov rcx, qword [rbp + 0x48]
lea rax, [rbp + 0x40]
and dword [rbp + 0x30], ebx
lea r9, [rbp + 0x30]
and dword [rbp + 0x38], ebx
lea rdx, str.bEnableATL7Compat
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x38]
mov dword [rbp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005327a
cmp dword [rbp + 0x30], 4
jne 0x14005327a
cmp dword [rbp + 0x38], r14d
cmove ebx, r14d
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1401c57a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400532cb
lea rdx, str.SetProcessDEPPolicy
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400532cb
test esi, esi
je 0x1400532bd
mov ecx, ebx
xor ecx, r14d
lea ecx, [rcx*2 + 1]
jmp 0x1400532bf
xor ecx, ecx
call qword [str.PLe_]
mov edi, eax
test eax, eax
jne 0x140053334
lea rcx, [0x1401c57e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400532e1
xor eax, eax
jmp 0x140053336
lea rdx, [0x1401c57f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140053334
lea ebx, [rbx*4 + 9]
test esi, esi
jne 0x140053309
mov ebx, 2
mov dword [rbp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
lea r8, [rbp + 0x30]
mov rcx, rax
mov rax, r14
lea edx, [r9 + 0x1e]
call qword [str.PLe_]
xor edi, edi
test eax, eax
setns dil
mov eax, edi
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140056340
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
call fcn.1400527e8
add rbx, 0xfffffffffffffff8
cmp dword [rax + 8], 0
ja 0x1400563d2
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [str.PLe_]
call fcn.1400786f0
call fcn.1400c4244
test al, al
jne 0x1400564c6
cmp qword [0x140241ae8], 0
je 0x1400564c6
and dword [rbp - 9], 0
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140053440]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1400564c6
and qword [rbp + 0x37], 0
mov esi, 0xf
mov qword [rbp + 0x3f], rsi
mov byte [rbp + 0x27], 0
lea rdx, [0x1401c5328]
lea rcx, [rbp + 0x27]
call fcn.140054bec
nop
mov rax, qword [rbx]
lea r9d, [rsi - 0xe]
lea r8, [rbp + 0x27]
lea rdx, [rbp - 9]
mov rcx, rbx
mov rax, qword [rax + 0x50]
call qword [str.PLe_]
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14005644e
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056448
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400564e7
call fcn.1401489f0
nop
and qword [rbp + 0x37], 0
mov qword [rbp + 0x3f], rsi
mov byte [rbp + 0x27], 0
mov rax, qword [rbp - 9]
test rax, rax
jne 0x1400564a4
lea rax, [rbp - 1]
mov qword [rbp + 0x1f], rax
and qword [rbp + 0xf], 0
mov qword [rbp + 0x17], rsi
mov byte [rbp - 1], 0
lea rdx, [0x1401c5328]
lea rcx, [rbp - 1]
call fcn.140054bec
nop
call fcn.1400524a0
mov rcx, rax
lea r8, [rbp - 1]
mov edx, 1
call fcn.1400d3eb4
mov rax, qword [rbp - 9]
test rax, rax
je 0x1400564c6
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PLe_]
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140149000
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14014fc7c
nop
int3
Function at 0x1400be2c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140233818]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400be39e
movsd xmm6, qword [0x1401d06d0]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x28]
divsd xmm6, xmm0
xorps xmm0, xmm0
comisd xmm0, xmm6
jae 0x1400be39e
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400be346
nop dword [rax]
inc ebx
cmp ebx, 3
ja 0x1400be37c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400be330
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x20]
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov qword [rdi], rax
mov rbx, qword [rsp + 0x68]
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140149000
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
mov r8d, 0x34
lea rdx, str.D:TImportsOpen_boost_boostchronodetailinlinedwinchrono.hpp
lea rcx, str.0___Boost::Chrono___QueryPerformanceCounter_Internal_Error_
call fcn.14015bcd0
mov qword [rdi], 0
jmp 0x1400be35c
mov r8d, 0x2c
lea rdx, str.D:TImportsOpen_boost_boostchronodetailinlinedwinchrono.hpp
lea rcx, str.0___Boost::Chrono___get_nanosecs_per_tic_Internal_Error_
call fcn.14015bcd0
mov qword [rdi], 0
jmp 0x1400be361