joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024a5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009bb84
xor r8d, r8d
xor edx, edx
jmp 0x14009b874

Function at 0x14000300d
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400b1860
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400b1932
mov rsi, rax
cmp word [rax], r14w
je 0x1400b18b3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400b189b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400b1897
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.14000524f
movsxd rbp, eax
test eax, eax
je 0x1400b1932
mov rcx, rbp
call fcn.140003d46
mov rdi, rax
test rax, rax
je 0x1400b1925
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14000524f
test eax, eax
je 0x1400b1925
mov rsi, rdi
mov rdi, r14
jmp 0x1400b1928
mov rsi, r14
mov rcx, rdi
call fcn.140003832
jmp 0x1400b1935
mov rsi, r14
test rbx, rbx
je 0x1400b1943
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140003b9d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14005a08c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400d8768]
xor ecx, ecx
lea r8, [0x1400d8760]
lea rdx, [0x1400d10a0]
call fcn.140059aec
test rax, rax
je 0x14005a0c5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140111010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1400040cf
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400420e0
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140042119
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400420fb
mov eax, ecx
ret

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

Disassembly:
jmp 0x140051a78
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140051b06
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140051b06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140051b06
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140051aed
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140051ae7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140051aef
add rdx, 0x28
jmp 0x140051acc
xor edx, edx
test rdx, rdx
jne 0x140051af8
xor al, al
jmp 0x140051b0c
cmp dword [rdx + 0x24], 0
jge 0x140051b02
xor al, al
jmp 0x140051b0c
mov al, 1
jmp 0x140051b0c
xor al, al
jmp 0x140051b0c
add rsp, 0x18
ret
Function at 0x1400048d6
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400beb20
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140005669
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bebaa
cmp byte [rbp - 0x21], r15b
je 0x1400beba5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, ebx
jmp 0x1400bebe0
call fcn.140004dea
test eax, eax
jne 0x1400bebcc
cmp byte [rbp - 0x21], r15b
je 0x1400bebc4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x1400bebe0
cmp byte [rbp - 0x21], r15b
je 0x1400bebdd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.140001acd
test eax, eax
jne 0x1400bec78
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140005669
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bec1b
cmp byte [rbp - 0x21], r15b
je 0x1400bec50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bec50
call fcn.140004dea
test eax, eax
jne 0x1400bec3c
cmp byte [rbp - 0x21], r15b
je 0x1400bec35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bec50
cmp byte [rbp - 0x21], r15b
je 0x1400bec4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r8d, ebx
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140001acd
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bec78
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bec7b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bec89
mov rcx, rdi
call fcn.140003832
cmp byte [rbp + 0x3f], r15b
je 0x1400bec98
mov rcx, qword [rbp + 0x27]
call fcn.140003832
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14000496c
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009bb20
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14009b874

Function at 0x140004a20
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14005a194
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400d8798]
mov edi, ecx
lea rdx, [0x1400d10d0]
mov ecx, 3
lea r8, [0x1400d8790]
call fcn.140059aec
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14005a1d4
call qword [0x140111010]
jmp 0x14005a1da
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005047
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400526fc
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140052747
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140052747
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140052747
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140052747
cmp dword [rcx + 0x84], 0xe
jbe 0x140052747
cmp dword [rcx + 0xf8], 0
je 0x140052747
mov al, 1
jmp 0x140052749
xor al, al
add rsp, 0x28
ret
Function at 0x14000548e
Capabilities:
Terminate process

Disassembly:
jmp 0x14006355c
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140063576
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400056cd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000574a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14005a13c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400d8788]
mov ecx, 2
lea r8, [0x1400d8780]
lea rdx, [0x1400d10c0]
call fcn.140059aec
mov ecx, ebx
test rax, rax
je 0x14005a176
add rsp, 0x20
pop rbx
jmp qword [0x140111010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14000574f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14004212c
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140042165
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140042147
mov eax, ecx
ret

Function at 0x140005849
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400a4abc
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400e07b8]
mov ecx, 3
lea r8, [0x1400e07b0]
lea rdx, str.FlsAlloc
call fcn.1400a4168
test rax, rax
je 0x1400a4af8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140111010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1400059c5
Capabilities:
Get geographical location

Disassembly:
jmp 0x140025c74
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140101d30]
mov ebx, r9d
xor rax, qword [0x1400ff098]
mov rdi, r8
mov esi, edx
je 0x140025ca3
call qword [0x140111010]
jmp 0x140025cb8
call fcn.140003ada
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140005aa6
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400a4d5c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400e08e0]
mov rbp, rcx
lea r8, [0x1400e08d8]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.1400a4168
mov rcx, rbp
test rax, rax
je 0x1400a4db2
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x140111010]
jmp 0x1400a4dc9
xor edx, edx
call fcn.1400035bc
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000db00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14000dc20
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14000db60
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14000db60
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14000db60

Function at 0x1400259f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x140025a26
je 0x140025a25
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x140170640]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x140025a0a
ret
int3
Function at 0x140026618
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140026660
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140026669
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140026650
mov qword [rdi], rsi
call fcn.1400374d0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400374d0
mov rcx, qword [rdi]
call fcn.140031740
mov qword [rdi], 0
jmp 0x14002663e
Function at 0x140031d20
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rdx
mov ebp, ecx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x74], ecx
call fcn.14005c500
cmp ebp, 9
je 0x140031fab
mov rdi, rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x78]
mov qword [rcx], r12
mov rdx, rax
call fcn.14001eb00
mov dword [rsp + 0x38], ebp
cmp byte [rdi + 0x60], 0
jne 0x140031d9f
lea rcx, [rdi + 8]
lea rbx, [rsp + 0x50]
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.14005c600
mov rdx, qword [rbx]
test rdx, rdx
jne 0x140031e17
lea r14, [rsp + 0x30]
mov dword [r14], ebp
lea rcx, [rdi + 0x30]
lea rbx, [rsp + 0x50]
mov rdx, rbx
mov r8, r14
call fcn.14005c700
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140031f04
mov r15, qword [rdi + 0x58]
lea rbx, [rsp + 0x78]
mov rcx, rbx
call fcn.14001eb60
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r12
movaps xmm0, xmmword [0x140155bd0]
movaps xmmword [rcx], xmm0
call fcn.1400375e0
test r15, r15
je 0x140031e35
lea r14, [rsp + 0x50]
mov rax, qword [r15]
mov ecx, ebp
mov rdx, r14
call qword [0x140177320]
test al, al
jne 0x140031e35
mov r15, qword [r15 + 8]
test r15, r15
jne 0x140031dfa
jmp 0x140031e35
add rdx, 0x18
mov rcx, rsi
call fcn.140037780
lea rcx, [rsp + 0x78]
call fcn.14001eb60
mov sil, 1
jmp 0x140031ee0
movzx eax, byte [rsp + 0x67]
test al, al
jns 0x140031e43
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140031fa4
lea rcx, [rsp + 0x50]
call fcn.1400612d0
test al, al
jne 0x140031f65
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140037780
lea rcx, [rsp + 0x30]
mov qword [rcx], r12
mov rdx, rdi
call fcn.14001eb00
cmp byte [rdi + 0x60], 0
jne 0x140031ec9
add rdi, 8
lea r8, [rsp + 0x74]
mov qword [rsp + 0x78], r8
lea rax, [rsp + 0x87]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [0x14015a0f8]
lea rsi, [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14005c810
mov rcx, qword [rsi]
add rcx, 0x18
lea rdx, [rsp + 0x50]
call fcn.140037780
lea rcx, [rsp + 0x30]
call fcn.14001eb60
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.140037770
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009ec00
mov eax, esi
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [rdi + 0x60], 0
jne 0x140031f56
lea r15, [rbx + 0x18]
add rdi, 8
lea rax, [rsp + 0x38]
mov qword [rax], r14
lea rcx, [rsp + 0x87]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [0x14015a0f8]
lea r12, [rsp + 0x50]
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.14005c810
mov rcx, qword [r12]
add rcx, 0x18
mov rdx, r15
call fcn.140037780
add rbx, 0x18
mov rcx, rsi
mov rdx, rbx
jmp 0x140031e1e
lea r14, [rsp + 0x38]
lea r15, [rsp + 0x50]
mov rcx, r14
mov rdx, r15
call fcn.14009a740
mov rcx, r15
mov rdx, r14
call fcn.1400377e0
mov rcx, r14
call fcn.140037770
movzx eax, byte [r15 + 0x17]
test al, al
jns 0x140031f9b
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140031e5e
xor esi, esi
jmp 0x140031ed6
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009ec00
mov rcx, rsi
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14009aa50
Function at 0x140038400
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400319c0
mov qword [rsi], 0
test rax, rax
je 0x140038453
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140038487
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14003844b
mov qword [rsi], rbx
call fcn.1400374d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140037600
lea rcx, [rsi + 0x20]
call fcn.14003e440
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.1400374d0
mov rcx, qword [rsi]
call fcn.140031740
mov qword [rsi], 0
jmp 0x140038439
Function at 0x14003bfd0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14003df30
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x140198858]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14003c032
jnp 0x14003c114
ucomisd xmm0, xmm6
jne 0x14003c03a
jnp 0x14003c094
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x140164310]
subpd xmm1, xmmword [0x140164320]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140164330]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009ec00
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14003c06c
lea rcx, [0x140198878]
call fcn.14009d8a0
cmp dword [0x140198878], 0xffffffff
jne 0x14003c17e
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x140198870], rax
lea rcx, [0x140198878]
call fcn.14009d938
jmp 0x14003c17e
lea rcx, [0x140198868]
call fcn.14009d8a0
cmp dword [0x140198868], 0xffffffff
jne 0x14003c159
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x140198860], rdx
lea rcx, [0x140198868]
call fcn.14009d938
jmp 0x14003c159
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x140198868]
mov ecx, dword [0x140194d48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c0e1
mov eax, dword [0x140198878]
mov ecx, dword [0x140194d48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c098
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x140198870]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140164308]
ucomisd xmm2, xmm1
ja 0x14003c032
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x140198860]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x140164310]
subpd xmm2, xmmword [0x140164320]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x140198858], xmm0
jmp 0x14003c032
Function at 0x14003d3b0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x14003d51e
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x14003d550
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.14009d740
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x14003d41c
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14003d3f8
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x14003d423
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14009d77c
jmp 0x14003d3f3
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x14003d668
cmp rcx, rdi
jb 0x14003d4a1
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x14003d414
lea r11, [rdi - 1]
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14003d65b
cmp rax, rdi
jb 0x14003d4d3
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x14003d519
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x14003d4f9
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
jne 0x14003d4b8
jmp 0x14003d414
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x14003d4e6
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14003d535
mov rcx, rdi
call fcn.14002cb68
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14003d550
mov rax, rdi
shr rax, 0x3d
je 0x14003d3d7
jmp 0x14003d663
cmp rdi, rbx
jae 0x14003d414
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14003d579
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003d57e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400ce310
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14015ed70]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14003d631
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14003d631
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x14003d63c
mov rcx, rax
call fcn.14002cb68
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x14003d414
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401004b0
and rax, r11
jmp 0x14003d4d3
call fcn.1400dc88f
lea rax, [rdi - 1]
and rcx, rax
jmp 0x14003d4a1
Function at 0x140041270
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14007b8b0]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x14019bb98]
lea rdx, [0x14007b840]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140041302
cmp dword [0x14019bba0], 0
jne 0x1400412fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14019bba4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400412fe
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009ec00
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400412e6
call fcn.1400b30a0
int3

Function at 0x1400413c0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400413e9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400413d0
movzx eax, r9b
ret
xor eax, eax
ret