joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20055f4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x20055f617
movzx edx, byte [rax]
test edx, edx
jne 0x20055f4d4
nop dword [rax]
test r8b, r8b
jne 0x20055f4d4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x20055f4e7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x20055f5d7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x20055f5c5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x20055f5b7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x20055f53d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x20055f580
mov eax, 1
cmp rax, rbx
ja 0x20055f56b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.2005717c0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x20055f5af
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x20055f573
mov rcx, r11
mov eax, r12d
jmp 0x20055f542
mov rcx, rbx
call fcn.200571700
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.200571700
mov eax, r8d
mov rcx, rbx
call fcn.2005717c0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x20055f60d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x20055f5d0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x20055f4ed
mov eax, edx
mov rcx, rbx
call fcn.200571700
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.200571700
nop
int3
Function at 0x200566a20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x200566acf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x200566b20]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.20056f320
xorps xmm15, xmm15
mov r14, qword [0x2006ed5f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.20056f460
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.200566a20
Function at 0x200571240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x200513d43
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.200519800
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.20056f460
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x200513d20
cmp byte [0x2006ed3cd], 0
je 0x200571255
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x20056e4c0
jmp 0x200513d20

Function at 0x200571260
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x2006ed6a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x2006ed3cd], 0
je 0x200571295
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x2006ed960]
aesenc xmm0, xmmword [0x2006ed970]
aesenc xmm0, xmmword [0x2006ed980]
movq rax, xmm0
ret
jmp 0x200519a20

Function at 0x2005712a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x2006ed6a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x2006ed3cd], 0
je 0x2005712d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x2006ed960]
aesenc xmm0, xmmword [0x2006ed970]
aesenc xmm0, xmmword [0x2006ed980]
movq rax, xmm0
ret
jmp 0x200519a80

Function at 0x20057aec0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x20057af8a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.200513c80
xorps xmm15, xmm15
mov r14, qword [0x2006ed5f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x20057af6f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x2005d9460]
xor ebx, ebx
mov rcx, rdx
call fcn.200558560
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.20057bba0
inc rbx
cmp rcx, rbx
jae 0x20057af5e
mov edi, 1
lea rsi, [0x2005d9460]
call fcn.200558640
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x200616928]
lea rsi, [0x2006161c0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.20056f460
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.20057aec0
Function at 0x200580ea0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x200580f0b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x200580ec4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x200580ee1
cmp rdx, 0
je 0x200580f2d
test rdx, 0xf
je 0x200580ebd
test rdx, 7
jne 0x200580ee1
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x200580ebd
ret
Function at 0x20058f480
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x20058f4bf
jb 0x20058f4d4
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x20058f540
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x20058f614
jb 0x20058f673
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.20058f420
aeskeygenassist xmm1, xmm0, 1
call fcn.20058f440
aeskeygenassist xmm1, xmm2, 2
call fcn.20058f420
aeskeygenassist xmm1, xmm0, 2
call fcn.20058f440
aeskeygenassist xmm1, xmm2, 4
call fcn.20058f420
aeskeygenassist xmm1, xmm0, 4
call fcn.20058f440
aeskeygenassist xmm1, xmm2, 8
call fcn.20058f420
aeskeygenassist xmm1, xmm0, 8
call fcn.20058f440
aeskeygenassist xmm1, xmm2, 0x10
call fcn.20058f420
aeskeygenassist xmm1, xmm0, 0x10
call fcn.20058f440
aeskeygenassist xmm1, xmm2, 0x20
call fcn.20058f420
aeskeygenassist xmm1, xmm0, 0x20
call fcn.20058f440
aeskeygenassist xmm1, xmm2, 0x40
call fcn.20058f420
jmp 0x20058f6e1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.20058f380
aeskeygenassist xmm1, xmm2, 2
call fcn.20058f3e0
aeskeygenassist xmm1, xmm2, 4
call fcn.20058f380
aeskeygenassist xmm1, xmm2, 8
call fcn.20058f3e0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.20058f380
aeskeygenassist xmm1, xmm2, 0x20
call fcn.20058f3e0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.20058f380
aeskeygenassist xmm1, xmm2, 0x80
call fcn.20058f3e0
jmp 0x20058f6e1
aeskeygenassist xmm1, xmm0, 1
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 2
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 4
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 8
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 0x10
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 0x20
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 0x40
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 0x80
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.20058f340
aeskeygenassist xmm1, xmm0, 0x36
call fcn.20058f340
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x20058f6ee
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x20058f820
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x200616330]
movdqu xmm14, xmmword [0x200616340]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x20058f90b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x20058f90b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x20058f970
ret
Function at 0x2005b3de0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x2005b3df7
inc rax
cmp rax, 4
jge 0x2005b3e0f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x2005b3df4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x2005b3e20
inc rax
cmp rax, 4
jge 0x2005b3e2e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x2005b3e57
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x2005b3e3b
jmp 0x2005b3e1d

Function at 0x2005bd060
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2005bdee0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.2005bdee0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x2005bd0d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2006f1f84]
mov rbx, rcx
test esi, esi
jle 0x2005bd200
mov rax, qword [0x2006f1f88]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2005bd11b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2005bd1a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2005bd100
mov rcx, rbx
call fcn.2005bd930
mov rdi, rax
test rax, rax
je 0x2005bd222
mov rax, qword [0x2006f1f88]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2005bda70
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2006f1f88]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2005bd207
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2005bd19e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2005bd1b0
add dword [0x2006f1f84], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2006f1f88]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2005bd19e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2005bd060
nop dword [rax]
xor esi, esi
jmp 0x2005bd128
mov rax, qword [0x2006f1f88]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2005bd060
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2005bd060
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x2005bd5a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2006f1fc0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2006f1fa0]
test rbx, rbx
je 0x2005bd5fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x2005bd5f3
test rsi, rsi
je 0x2005bd5f3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2005bd5d8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

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

Disassembly:
mov rdx, qword [0x2006933d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2005bd950
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2005bd958
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2005bd950
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2005bd9ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2005bd9a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2005bd950
add rax, 0x28
cmp rax, r9
jne 0x2005bd990
xor eax, eax
ret

Function at 0x2005bd9b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2006933d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2005bd9cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2005bd9d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2005bd9cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2005bda70
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2006933d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2005bda8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2005bda98
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180002b98
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, edx
mov rbp, rcx
xor edx, edx
lea rcx, str.kernel32.dll
call qword [sym.imp.ole32.dll_CoLoadLibrary]
mov rdx, rax
lea r8, str.VirtualAlloc
call fcn.18000aa84
lea rcx, str.8192
mov rdi, rax
call fcn.18001a4d8
lea rcx, str.4096
mov ebx, eax
call fcn.18001a4d8
or ebx, eax
mov edx, r14d
mov r8d, ebx
mov r9d, 0x40
xor ecx, ecx
call rdi
xor esi, esi
mov rdi, rax
test rax, rax
je 0x180002c7f
test r14d, r14d
je 0x180002c7c
mov r15, rdi
sub rbp, rdi
call fcn.18000cf04
mov dl, 0xa
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call fcn.18000e094
movzx edx, ax
mov rcx, rbx
call fcn.18000df14
mov rcx, rbx
call fcn.18000ca2c
mov ecx, esi
mov eax, 0x8fb823ef
imul esi
add edx, esi
inc esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x39
sub ecx, eax
movsxd rax, ecx
lea rcx, str.jdFNj_Z_V_80_CP_3y_g_3L1_7gLQo3_iqdKV__I6XE2xijYSA2_
mov al, byte [rax + rcx]
xor al, byte [r15 + rbp]
mov byte [r15], al
inc r15
cmp esi, r14d
jb 0x180002c18
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x180002c98
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov esi, r9d
and qword [rax - 0x20], 0
mov rbp, r8
xor r9d, r9d
mov qword [rax - 0x28], rdx
mov rbx, rdx
mov rdi, rcx
mov edx, esi
mov rcx, rbp
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x180002d21
mov ecx, dword [rbx]
inc ecx
call fcn.18001a638
mov qword [rdi], rax
mov r9, rax
test rax, rax
je 0x180002d21
mov ecx, dword [rbx]
mov rdi, rax
xor eax, eax
inc ecx
and qword [rsp + 0x30], rax
mov edx, esi
and qword [rsp + 0x28], rax
rep stosb byte [rdi], al
lea r8d, [rax + 1]
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x180002d21
mov al, 1
jmp 0x180002d23
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18000aa84
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movsxd rax, dword [rdx + 0x3c]
mov r9, rdx
mov rbp, r8
mov ecx, dword [rax + rdx + 0x88]
add rcx, rdx
mov r10d, dword [rcx + 0x20]
mov ebx, dword [rcx + 0x1c]
add r10, rdx
mov edi, dword [rcx + 0x24]
add rbx, rdx
mov esi, dword [rcx + 0x18]
add rdi, rdx
xor edx, edx
test esi, esi
je 0x18000aaf6
mov eax, dword [r10]
mov r11, rbp
add rax, r9
sub r11, rax
movzx ecx, byte [rax]
movzx r8d, byte [rax + r11]
sub ecx, r8d
jne 0x18000aae8
inc rax
test r8d, r8d
jne 0x18000aad3
test ecx, ecx
je 0x18000ab0d
inc edx
add r10, 4
cmp edx, esi
jb 0x18000aac7
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rdi + rdx*2]
mov eax, dword [rbx + rcx*4]
add rax, r9
jmp 0x18000aaf8
Function at 0x180027dd4
Capabilities:
Read file on windows

Disassembly:
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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x180027af6
call fcn.18001b73c
mov dword [rax], 0x16
call fcn.180019c7c
jmp 0x180027c46
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180027c46
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x180027c46
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x180027b25
lock or dword [rcx + 0x14], 0x10
jmp 0x180027c46
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x180027b39
call fcn.1800281d4
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x180027b49
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x180027b4c
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.1800234fc
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.1800319a8
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x180027c34
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x180027bdf
mov rcx, rbx
call fcn.1800234fc
cmp eax, 0xffffffff
je 0x180027bca
mov rcx, rbx
call fcn.1800234fc
cmp eax, 0xfffffffe
je 0x180027bca
mov rcx, rbx
call fcn.1800234fc
movsxd rdi, eax
lea rsi, [0x18008e5c0]
mov rcx, rbx
sar rdi, 6
call fcn.1800234fc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x180027bd1
lea rdx, [0x18008c2a0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180027bdf
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x180027c03
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x180027c03
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x180027c03
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x180027c21
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x180027c2c
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x180027c4b
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x180027ac0