joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441fc0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x005edc50]
test rcx, rcx
jne 0x441fe4
xor ecx, ecx
xor edx, edx
jmp 0x441ff9
call fcn.00456420
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.00441f60
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.0043b880
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x442066
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x4420a2
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x004422c0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x44210b
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00442240]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441f60
mov rcx, qword [rsp + 0x20]
mov al, byte [0x0056a338]
test al, al
je 0x44214b
lea rax, [0x004c4bd0]
mov qword [rsp], rax
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441f60
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x442198
lea rax, fcn.0043d100
mov qword [rsp], rax
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441f60
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x0056a328]
test al, al
je 0x442224
lea rax, [0x004c4bc8]
mov qword [rsp], rax
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00441f60
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x446ec0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x447027
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x446ed2
cmp edx, ecx
jne 0x447015
nop word [rax + rax]
test rsi, rsi
jne 0x447015
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x446f34
nop
call fcn.00467b80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00446de0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x447010
mov rdx, qword [0x00568fd8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x447005
mov rcx, qword [0x00568fd0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x0056a290]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x0056a290], rax
nop
mov edx, 1
lea rsi, [0x0056a298]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x446ff3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004c2496]
mov ebx, 0x28
nop
call fcn.00436f00
mov rax, rsi
mov rcx, rdx
call fcn.00466280
call fcn.00435ae0
lea rax, [0x004c162b]
mov ebx, 0x23
call fcn.00436f00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00446ec0
Function at 0x44aca0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44ace8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44ace8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44acf8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00434900
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44add1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00434b80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44add1
cmp qword [rcx + 8], rax
ja 0x44acf3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x452540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4526b7
movzx edx, byte [rax]
test edx, edx
jne 0x452574
nop dword [rax]
test r8b, r8b
jne 0x452574
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x452587
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x452677
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 0x452665
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 0x452657
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4525dd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x452620
mov eax, 1
cmp rax, rbx
ja 0x45260b
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.00466340
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45264f
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 0x452613
mov rcx, r11
mov eax, r12d
jmp 0x4525e2
mov rcx, rbx
call fcn.00466280
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00466280
mov eax, r8d
mov rcx, rbx
call fcn.00466340
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4526ad
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 0x452670
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45258d
mov eax, edx
mov rcx, rbx
call fcn.00466280
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00466280
nop
int3

Function at 0x458280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458335
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00455f00
nop
test bl, bl
je 0x45832f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00458380]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
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.00463fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00458280
Function at 0x45b2a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b34f
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, [0x0045b3a0]
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 + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00463e80
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
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.00463fa0
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.0045b2a0
Function at 0x465da0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403dc3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409b60
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403da0
cmp byte [0x005edc8b], 0
je 0x465db5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x462fe0
jmp 0x403da0

Function at 0x465dc0
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 [0x005edf80]
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 [0x005edc8b], 0
je 0x465df5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005ee2a0]
aesenc xmm0, xmmword [0x005ee2b0]
aesenc xmm0, xmmword [0x005ee2c0]
movq rax, xmm0
ret
jmp 0x409d80

Function at 0x465e00
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 [0x005edf80]
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 [0x005edc8b], 0
je 0x465e36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005ee2a0]
aesenc xmm0, xmmword [0x005ee2b0]
aesenc xmm0, xmmword [0x005ee2c0]
movq rax, xmm0
ret
jmp 0x409de0

Function at 0x467bc0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x467bf4
mov rcx, 0x28
jmp 0x467bff
shl rcx, 3
add rcx, 0x1480
mov qword [0x005edeb0], rcx
pop rbp
ret
Function at 0x47f5a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47f66a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x005edeb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47f64f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a2000]
xor ebx, ebx
mov rcx, rdx
call fcn.0044b820
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.0047fb80
inc rbx
cmp rcx, rbx
jae 0x47f63e
mov edi, 1
lea rsi, [0x004a2000]
call fcn.0044b900
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, [0x004e02e8]
lea rsi, [0x004dfc30]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047f5a0

Function at 0x48e860
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48ef9f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48e88d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x48eb11
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48eb3d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e1b20]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a1f00]
lea rbx, [0x004e0238]
call fcn.00436340
inc rax
cmp rax, r8
jge 0x48eb62
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x48eb97
lea rdi, [0x004a1f80]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x48e883
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48eb7b
jmp 0x48eb50
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00463fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0048e860

Function at 0x48f140
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 0x48f157
inc rax
cmp rax, 4
jge 0x48f16f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x48f154
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x48f180
inc rax
cmp rax, 4
jge 0x48f18e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x48f1b7
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 0x48f19b
jmp 0x48f17d
Function at 0x2fc4cae40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb842
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb8da
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb8be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb8b2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb8b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb878
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb8db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb9e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cba08
mov eax, 0
jmp 0x2fc4cba56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cba31
mov eax, 0
jmp 0x2fc4cba56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cba51
mov eax, 0
jmp 0x2fc4cba56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cba5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cbada
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbad1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cbad1
mov rax, qword [rbp - 8]
jmp 0x2fc4cbaef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cbaa4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001e58
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov qword [rbp - 0x10], rdx
mov r13, rcx
lea r15, [rbp - 1]
mov rcx, r15
call fcn.140001020
lea r14, [rbp - 0x28]
mov edx, 0x100
mov rcx, r14
mov r8, r15
call fcn.140002060
xor r15d, r15d
mov rcx, r14
mov rdx, r15
call fcn.140002086
mov byte [rax], r15b
inc r15
cmp r15, 0x100
jne 0x140001ea2
xor r14d, r14d
lea r15, [rbp - 0x28]
xor esi, esi
mov rcx, r15
mov rdx, r14
call fcn.140002086
movzx edi, byte [rax]
add edi, esi
mov rcx, rbx
call fcn.1400020a4
mov rcx, rax
mov rax, r14
xor edx, edx
div rcx
mov rcx, rbx
call fcn.14000208e
movsx eax, byte [rax]
mov esi, edi
add esi, eax
lea eax, [rax + rdi + 0xff]
cmovns eax, esi
and eax, 0xffffff00
sub esi, eax
movsxd rdx, esi
mov rcx, r15
call fcn.140002086
mov r12, rax
mov rcx, r15
mov rdx, r14
call fcn.140002086
mov rcx, rax
mov rdx, r12
call fcn.1400020a9
inc r14
cmp r14, 0x100
jne 0x140001ec5
mov rcx, r13
mov rsi, qword [rbp - 0x10]
mov rdx, rsi
call fcn.1400020b4
mov rcx, rsi
call fcn.1400020a4
test rax, rax
je 0x14000200e
xor ebx, ebx
xor esi, esi
xor edi, edi
lea eax, [rsi + 1]
lea ecx, [rsi + 0x100]
test eax, eax
cmovns ecx, eax
and ecx, 0xffffff00
neg ecx
add esi, ecx
inc esi
movsxd r15, esi
lea r14, [rbp - 0x28]
mov rcx, r14
mov rdx, r15
call fcn.140002086
add dil, byte [rax]
movzx r12d, dil
mov rcx, r14
mov rdx, r12
call fcn.140002086
mov r14, r13
mov r13, rax
lea rcx, [rbp - 0x28]
mov rdx, r15
call fcn.140002086
mov rcx, rax
mov rdx, r13
mov r13, r14
call fcn.1400020a9
lea r14, [rbp - 0x28]
mov rcx, r14
mov rdx, r15
call fcn.140002086
mov r15b, byte [rax]
mov rcx, r14
mov rdx, r12
call fcn.140002086
add r15b, byte [rax]
movzx edx, r15b
mov rcx, r14
call fcn.140002086
mov r15b, byte [rax]
mov rcx, r13
mov rdx, rbx
call fcn.14000208e
xor byte [rax], r15b
inc rbx
mov rcx, qword [rbp - 0x10]
call fcn.1400020a4
cmp rax, rbx
ja 0x140001f5e
lea rcx, [rbp - 0x28]
call fcn.140002140
mov rax, r13
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140002145
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, r8d
mov ebp, edx
mov rdi, rcx
movsxd r14, edx
mov rcx, r14
call fcn.140009c64
mov rbx, rax
mov ecx, esi
call fcn.1401bfdf4
test r14d, r14d
jle 0x140002194
mov r14d, ebp
xor r15d, r15d
mov bpl, byte [rdi + r15]
xor bpl, sil
call fcn.1401bfe0c
xor al, bpl
mov byte [rbx + r15], al
inc r15
cmp r14, r15
jne 0x140002179
mov rax, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400023ad
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov ebx, r9d
mov r14, r8
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14026f700]
xor rax, rsp
mov qword [rsp + 0x228], rax
xor r15d, r15d
lea rcx, [rsp + 0x120]
mov r8d, 0x100
xor edx, edx
call fcn.1401d6870
lea rcx, [rsp + 0x20]
mov r8d, 0x100
xor edx, edx
call fcn.1401d6870
mov byte [rsp + r15 + 0x20], r15b
mov eax, r15d
xor edx, edx
div ebx
mov al, byte [r14 + rdx]
mov byte [rsp + r15 + 0x120], al
inc r15
cmp r15, 0x100
jne 0x140002402
xor eax, eax
xor ecx, ecx
mov dl, byte [rsp + rax + 0x20]
add cl, dl
add cl, byte [rsp + rax + 0x120]
movzx r8d, cl
mov r9b, byte [rsp + r8 + 0x20]
mov byte [rsp + rax + 0x20], r9b
mov byte [rsp + r8 + 0x20], dl
inc rax
cmp rax, 0x100
jne 0x14000242a
test edi, edi
je 0x1400024bc
mov eax, edi
xor ecx, ecx
xor edx, edx
xor r8d, r8d
lea r9d, [r8 + 1]
lea r10d, [r8 + 0x100]
test r9d, r9d
cmovns r10d, r9d
and r10d, 0xffffff00
neg r10d
add r8d, r10d
inc r8d
movsxd r9, r8d
mov r10b, byte [rsp + r9 + 0x20]
add dl, r10b
movzx r11d, dl
mov bl, byte [rsp + r11 + 0x20]
mov byte [rsp + r9 + 0x20], bl
mov byte [rsp + r11 + 0x20], r10b
add r10b, byte [rsp + r9 + 0x20]
movzx r9d, r10b
mov r9b, byte [rsp + r9 + 0x20]
xor byte [rsi + rcx], r9b
inc rcx
cmp rax, rcx
jne 0x140002462
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140009dc0
nop
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400024dc
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x238], 0xfffffffffffffffe
lea rcx, [0x1401e52a8]
xor esi, esi
lea r9, [rbp + 0x230]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1400025c5
mov rdx, qword [rbp + 0x230]
lea rsi, [rbp + 0x210]
mov rcx, rsi
call fcn.140002604
mov rcx, qword [rbp + 0x230]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r8, [0x14023cd70]
lea rcx, [rbp + 0x1f0]
mov rdx, rsi
call fcn.140002674
lea rdi, [rbp + 0x1f0]
mov rcx, rdi
call fcn.1400026f0
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
mov rcx, rdi
call fcn.1400026f6
cmp rsi, 0xffffffffffffffff
je 0x1400025b7
mov ebx, 0xffffffff
lea rdi, [rbp - 0x60]
mov r14, qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, rsi
mov rdx, rdi
call r14
inc ebx
test eax, eax
jne 0x140002594
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp ebx, 9
setae sil
jmp 0x1400025b9
xor esi, esi
lea rcx, [rbp + 0x210]
call fcn.1400026f6
mov eax, esi
add rsp, 0x2c0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret