joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a810
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov eax, dword [rcx + 0x118]
mov rsi, rdx
mov rbx, rcx
cmp dword [rcx + 0x120], eax
jae 0x14000aa38
xor r14d, r14d
mov eax, r14d
nop dword [rax + rax]
lea rcx, [rbx + 0x168]
test eax, eax
jne 0x14000a889
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x14000a882
mov qword [rbx + 0x150], rax
mov rax, qword [rax + 0x158]
mov qword [rbx + 0x148], rax
mov eax, 1
jmp 0x14000a850
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp qword [rbx + 0x150], r14
jne 0x14000a9a0
mov eax, dword [rbx + 0x144]
cmp eax, dword [rbx + 0x140]
je 0x14000aa38
mov rcx, qword [rbx + 8]
mov rdx, rsi
imul rdi, rax, 0x198
add rdi, qword [rbx + 0x138]
call fcn.140009040
mov qword [rdi + 8], rax
test rax, rax
je 0x14000aa2b
lea rcx, [rdi + 0x160]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rdi + 0x188]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
mov qword [rsp + 0x30], r14
lea r8, [0x14000bf50]
mov qword [rsp + 0x38], 0xffffffffffffffff
mov r9, rdi
movaps xmm0, xmmword [rsp + 0x30]
xor edx, edx
movups xmmword [rdi + 0x40], xmm0
mov qword [rsp + 0x40], r14
xor ecx, ecx
mov qword [rsp + 0x48], r14
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x50], xmm1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi + 0x60], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x70], xmm1
mov qword [rsp + 0x70], r14
movsd xmm0, qword [rsp + 0x70]
mov qword [rsp + 0x28], r14
movsd qword [rdi + 0x80], xmm0
mov dword [rdi], r14d
mov qword [rdi + 0x28], rsi
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x30], r14
mov qword [rdi + 0x38], r14
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
test rax, rax
je 0x14000aa12
mov qword [rdi + 0x190], rax
inc dword [rbx + 0x144]
mov qword [rbx + 0x150], rdi
mov eax, r14d
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x150]
add rcx, 0x160
test eax, eax
jne 0x14000aa32
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x150]
lea rcx, [rbx + 0x100]
mov dword [rax], 1
mov rax, qword [rbx + 0x150]
mov qword [rax + 0x10], r14
call fcn.14001a4b0
mov rcx, qword [rbx + 0x150]
mov qword [rcx + 0x18], rax
mov rcx, qword [rbx + 0x150]
add rcx, 0x188
call qword [sym.imp.KERNEL32.dll_WakeConditionVariable]
mov eax, 1
jmp 0x14000a9b0
lea rcx, [rdi + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.140009530
mov eax, 5
jmp 0x14000aa3a
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000d4c0
Capabilities:
Check os version
Get memory capacity

Disassembly:
jmp 0x14001b710
sub rsp, 0x78
mov rax, qword [0x14002f118]
xor rax, rsp
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x14001b771
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001b771
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001b771
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call rax
test eax, eax
je 0x14001b771
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x14001b789
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x38
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140020300
add rsp, 0x78
ret

Function at 0x14000d4d0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14001b7a0
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
lea rsi, [0x140025650]
mov rbx, rdx
mov r11, rcx
not r8d
cmp rdx, 8
jbe 0x14000f2c6
mov qword [rsp + 0x10], rdi
test cl, 7
je 0x14000f214
nop word [rax + rax]
movzx eax, byte [r11]
dec rbx
movzx ecx, r8b
inc r11
xor rcx, rax
mov eax, r8d
shr eax, 8
mov r8d, dword [rsi + rcx*4]
xor r8d, eax
test r11b, 7
jne 0x14000f1f0
mov rdi, rbx
and ebx, 7
and rdi, 0xfffffffffffffff8
add rdi, r11
cmp r11, rdi
jae 0x14000f2c1
nop word [rax + rax]
xor r8d, dword [r11]
mov r10d, dword [r11 + 4]
add r11, 8
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r10d
mov r8d, dword [rsi + rdx*4 + 0x1400]
shr rax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1800]
movzx ecx, al
mov eax, r10d
shr rax, 8
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0x1c00]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
cmp r11, rdi
jb 0x14000f230
mov rdi, qword [rsp + 0x10]
test rbx, rbx
je 0x14000f2f2
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r8b
xor rcx, rax
mov eax, r8d
shr eax, 8
mov r8d, dword [rsi + rcx*4]
xor r8d, eax
sub rbx, 1
jne 0x14000f2d0
mov rbx, qword [rsp + 0x18]
not r8d
mov eax, r8d
pop rsi
ret
Function at 0x14000f300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
lea r14, [0x140027650]
mov rbx, rdx
mov r11, rcx
not r8
cmp rdx, 4
jbe 0x14000f3e7
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
test cl, 3
je 0x14000f355
movzx eax, byte [r11]
dec rbx
movzx ecx, r8b
inc r11
xor rcx, rax
mov rax, r8
shr rax, 8
mov r8, qword [r14 + rcx*8]
xor r8, rax
test r11b, 3
jne 0x14000f330
xor esi, esi
mov rdi, rbx
and rdi, 0xfffffffffffffffc
and ebx, 3
lea rax, [rdi + r11]
shr rdi, 2
cmp r11, rax
cmova rdi, rsi
test rdi, rdi
je 0x14000f3dd
nop word [rax + rax]
mov r10d, dword [r11]
inc rsi
mov eax, r8d
add r11, 4
xor r10, rax
mov rax, r10
shr rax, 0x10
movzx edx, al
mov rax, r10
shr rax, 8
movzx ecx, al
mov rax, r10
shr rax, 0x18
mov r9, qword [r14 + rdx*8 + 0x800]
xor r9, qword [r14 + rcx*8 + 0x1000]
xor r9, qword [r14 + rax*8]
movzx eax, r10b
xor r9, qword [r14 + rax*8 + 0x1800]
mov rax, r8
shr rax, 0x20
mov r8, r9
xor r8, rax
cmp rsi, rdi
jb 0x14000f380
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
test rbx, rbx
je 0x14000f413
nop dword [rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx ecx, r8b
xor rcx, rax
mov rax, r8
shr rax, 8
mov r8, qword [r14 + rcx*8]
xor r8, rax
sub rbx, 1
jne 0x14000f3f0
mov rbx, qword [rsp + 0x20]
not r8
mov rax, r8
pop r14
ret
Function at 0x140011350
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r13
sub rsp, 0x28
mov dword [rcx], 0x4000400
mov r10, rcx
mov r13d, edx
mov r9d, 0x400
test edx, edx
je 0x1400113cd
lea rax, [rcx + 8]
mov ecx, r13d
nop word [rax + rax]
mov dword [rax - 4], 0x4000400
mov dword [rax], 0x4000400
mov dword [rax + 4], 0x4000400
mov dword [rax + 8], 0x4000400
mov dword [rax + 0xfc], 0x4000400
mov dword [rax + 0x100], 0x4000400
mov dword [rax + 0x104], 0x4000400
mov dword [rax + 0x108], 0x4000400
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140011380
movzx eax, r9w
lea rdi, [r10 + 0x204]
mov ecx, 0x100
rep stosw word [rdi], ax
test r8b, r8b
jne 0x140011617
test edx, edx
je 0x140011617
mov qword [rsp + 0x48], rbx
lea rax, [r10 + 0x4808]
mov qword [rsp + 0x20], rbp
lea rdi, [0x140029650]
mov qword [rsp + 0x18], rsi
xor ebx, ebx
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r15, [r10 + 0x404]
mov qword [rsp + 0x40], rax
nop word [rax + rax]
mov esi, dword [r10 + 0x4804]
mov dword [rax], esi
movzx ecx, word [r10]
mov eax, ecx
xor rcx, 0x7f0
shr rcx, 4
shr rax, 4
movzx edx, byte [rcx + rdi]
movzx ebp, byte [rax + rdi]
movzx ecx, word [r10 + 2]
mov eax, ecx
mov dword [rsp + 0x50], ebp
shr rax, 4
xor rcx, 0x7f0
shr rcx, 4
movzx r14d, byte [rax + rdi]
xor eax, eax
movzx r12d, byte [rcx + rdi]
add r14d, edx
add r12d, edx
test esi, esi
je 0x1400115d7
mov r11, r15
nop dword [rax]
cmp eax, 8
jae 0x1400114fd
xor r9d, r9d
lea r8d, [rax + 8]
lea rbp, [0x140029650]
nop dword [rax]
nop word [rax + rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 4]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rbp]
add r9d, ecx
cmp r8d, 1
jne 0x1400114b0
mov ecx, dword [rsp + 0x50]
inc eax
add ecx, r9d
mov dword [r11], ecx
add r11, 4
cmp eax, esi
jb 0x140011490
jmp 0x1400115d0
cmp eax, esi
jae 0x1400115d0
lea r11, [r15 + rax*4]
lea rbp, [0x140029650]
cmp eax, 0x10
jae 0x14001156a
xor r9d, r9d
mov r8d, eax
nop dword [rax + rax]
mov edx, r8d
shr r8d, 1
and edx, 1
mov ecx, r8d
add rcx, rbx
movzx edi, word [r10 + rcx*2 + 0x104]
mov ecx, edx
neg ecx
shr rdi, 4
shr rcx, 4
and ecx, 0x7f
xor rdi, rcx
movzx ecx, byte [rdi + rbp]
add r9d, ecx
cmp r8d, 1
jne 0x140011520
lea ecx, [r9 + r14]
inc eax
mov dword [r11], ecx
add r11, 4
cmp eax, esi
jb 0x140011510
jmp 0x1400115d0
cmp eax, esi
jae 0x1400115d0
lea r11, [r15 + rax*4]
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
lea r8d, [rax + 0xf0]
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx edi, word [r10 + r8*2 + 0x204]
and ecx, 0x7f
shr rdi, 4
xor rdi, rcx
movzx ecx, byte [rdi + rbp]
add r9d, ecx
cmp r8d, 1
jne 0x140011590
lea ecx, [r9 + r12]
inc eax
mov dword [r11], ecx
add r11, 4
cmp eax, esi
jb 0x140011580
lea rdi, [0x140029650]
mov rax, qword [rsp + 0x40]
add r15, 0x440
add rax, 4
add rbx, 8
mov qword [rsp + 0x40], rax
sub r13, 1
jne 0x140011430
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop r13
pop rdi
ret
Function at 0x140011620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
lea r9, [0x140029650]
mov ebp, edx
mov r11, rcx
mov dword [rcx + rbp*4 + 0x4808], esi
lea r12, [r11 + 0x404]
movzx edx, word [rcx]
movzx ecx, word [rcx + 2]
mov eax, edx
shr rax, 4
xor rdx, 0x7f0
shr rdx, 4
movzx r14d, byte [rax + r9]
mov eax, ecx
movzx r8d, byte [rdx + r9]
xor rcx, 0x7f0
shr rax, 4
shr rcx, 4
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
movzx r13d, byte [rcx + r9]
add r15d, r8d
imul rax, rbp, 0x440
add r13d, r8d
xor r9d, r9d
add r12, rax
test esi, esi
je 0x140011819
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x14001172f
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x140029650]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x1400116e0
mov eax, dword [rsp + 0x38]
inc r9d
add eax, r10d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x1400116b8
jmp 0x14001180f
cmp r9d, esi
jae 0x14001180f
lea rdi, [r12 + r9*4]
lea r14, [0x140029650]
cmp r9d, 0x10
jae 0x1400117ac
xor r10d, r10d
lea rbx, [rbp*8]
mov r8d, r9d
nop word [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140011760
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, esi
jb 0x140011743
jmp 0x14001180f
cmp r9d, esi
jae 0x14001180f
lea rbx, [r12 + r9*4]
nop word [rax + rax]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
shr rcx, 4
movzx r8d, word [r11 + rax*2 + 0x204]
and ecx, 0x7f
shr r8, 4
xor r8, rcx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x1400117d0
lea eax, [r10 + r13]
inc r9d
mov dword [rbx], eax
add rbx, 4
cmp r9d, esi
jb 0x1400117c0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret

Function at 0x14001b710
Capabilities:
Check os version
Get memory capacity

Disassembly:
jmp 0x14001b710
sub rsp, 0x78
mov rax, qword [0x14002f118]
xor rax, rsp
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x14001b771
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001b771
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001b771
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call rax
test eax, eax
je 0x14001b771
mov rax, qword [rsp + 0x28]
test rax, rax
jne 0x14001b789
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x38
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140020300
add rsp, 0x78
ret
Function at 0x14001c5c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r12d, 4
lea rbx, [rcx + 0x10290]
mov ebp, r12d
lea rsi, [rcx + 0x10698]
mov r10, rcx
lea r13, [0x140000000]
xor edi, edi
nop
mov eax, dword [r10 + 0x10e90]
xor r11d, r11d
test eax, eax
je 0x14001c66b
nop
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r13 + 0x29650]
add r9d, ecx
cmp eax, 1
jne 0x14001c620
mov dword [rbx + r11*4], r9d
inc r11d
mov eax, dword [r10 + 0x10e90]
cmp r11d, eax
jb 0x14001c610
mov edx, 0xe
cmp eax, edx
jbe 0x14001c691
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
shr eax, 1
inc edx
shl eax, 4
sub eax, 0x50
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e90]
jb 0x14001c674
mov eax, dword [rbx]
add rdi, 0x40
mov dword [rsi - 8], eax
mov eax, dword [rbx + 4]
mov dword [rsi - 4], eax
mov eax, dword [rbx + 8]
mov dword [rsi], eax
mov eax, dword [rbx + 0xc]
add rbx, 0x100
mov dword [rsi + 4], eax
add rsi, 0x200
sub rbp, 1
jne 0x14001c600
mov rbp, r12
lea r14, [0x1400296d4]
lea rdi, [r10 + 0x10aa0]
cmp r12d, 0x2000
jae 0x14001c6e3
movzx edx, byte [r14]
jmp 0x14001c711
mov rax, rbp
cmp r12d, 0x2000000
jae 0x14001c701
shr rax, 0xc
movzx edx, byte [rax + r13 + 0x296d0]
add edx, 0x18
jmp 0x14001c711
shr rax, 0x18
movzx edx, byte [rax + r13 + 0x296d0]
add edx, 0x30
mov r9d, edx
mov r11d, edx
shr r9d, 1
mov eax, edx
and eax, 1
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
mov ebx, r12d
sub ebx, eax
mov r15d, eax
xor r8d, r8d
lea esi, [r8 + 1]
nop dword [rax]
mov eax, esi
mov edx, ebx
sub rax, r11
shr ebx, 1
add rax, r15
and edx, 1
movzx ecx, word [r10 + rax*2 + 0x70fa]
lea esi, [rdx + rsi*2]
mov eax, edx
shr rcx, 4
neg eax
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r13 + 0x29650]
add r8d, eax
add r9d, 0xffffffff
jne 0x14001c740
mov ecx, dword [r10 + r11*4 + 0x10290]
inc r12d
add ecx, r8d
inc rbp
mov dword [rdi - 0x400], ecx
inc r14
mov ecx, dword [r10 + r11*4 + 0x10390]
add ecx, r8d
mov dword [rdi - 0x200], ecx
mov ecx, dword [r10 + r11*4 + 0x10490]
add ecx, r8d
mov dword [rdi], ecx
mov ecx, dword [r10 + r11*4 + 0x10590]
add ecx, r8d
mov dword [rdi + 0x200], ecx
add rdi, 4
cmp r12d, 0x80
jb 0x14001c6d4
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r10 + 0x10e94], r9d
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14001c800
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov r10d, dword [rcx + 0xb94]
mov r11, rcx
mov ecx, 8
sub ecx, r10d
shr r8d, cl
mov ecx, r10d
mov eax, dword [r11 + 0xb98]
xor r10d, r10d
and eax, edx
shl eax, cl
mov ecx, dword [rsp + 0x38]
add r8d, eax
add ecx, 0x100
lea rdi, [r8 + r8*2]
shl rdi, 9
add rdi, r11
lea r11, [0x140029650]
test r9b, r9b
jne 0x14001c886
nop dword [rax]
mov r8d, ecx
shr ecx, 1
and r8d, 1
neg r8d
shr r8, 4
movzx r9d, word [rdi + rcx*2 + 0xb9c]
and r8d, 0x7f
shr r9, 4
xor r9, r8
movzx edx, byte [r9 + r11]
add r10d, edx
cmp ecx, 1
jne 0x14001c850
mov eax, r10d
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov r9d, 0x100
mov ebx, dword [rsp + 0x30]
nop word [rax + rax]
mov edx, ecx
add ebx, ebx
shr edx, 8
mov eax, r9d
and eax, ebx
add eax, r9d
add edx, eax
movzx r8d, word [rdi + rdx*2 + 0xb9c]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr r8, 4
neg edx
shr rdx, 4
and edx, 0x7f
xor r8, rdx
movzx eax, byte [r8 + r11]
add r10d, eax
mov eax, ebx
xor eax, ecx
not eax
and r9d, eax
cmp ecx, 0x10000
jb 0x14001c8a0
mov rbx, qword [rsp + 0x10]
mov eax, r10d
pop rdi
ret
Function at 0x2fc4caf70
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 0x2fc4cb972
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cba0a
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 0x2fc4cb9ee
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 0x2fc4cb9e2
cmp qword [rbp - 0x10], 0
je 0x2fc4cb9e2
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 0x2fc4cb9a8
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cba0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cbb10
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 0x2fc4cbb38
mov eax, 0
jmp 0x2fc4cbb86
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 0x2fc4cbb61
mov eax, 0
jmp 0x2fc4cbb86
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 0x2fc4cbb81
mov eax, 0
jmp 0x2fc4cbb86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cbb8c
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 0x2fc4cbc0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbc01
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 0x2fc4cbc01
mov rax, qword [rbp - 8]
jmp 0x2fc4cbc1f
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 0x2fc4cbbd4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c78f0
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 0x2fc4c82f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ec108]
test eax, eax
je 0x2fc4c838a
lea rax, [0x2fc4ec0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ec110]
mov qword [rbp - 8], rax
jmp 0x2fc4c836e
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 0x2fc4c8362
cmp qword [rbp - 0x10], 0
je 0x2fc4c8362
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 0x2fc4c8328
lea rax, [0x2fc4ec0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c838b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c8490
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 0x2fc4c84b8
mov eax, 0
jmp 0x2fc4c8506
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 0x2fc4c84e1
mov eax, 0
jmp 0x2fc4c8506
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 0x2fc4c8501
mov eax, 0
jmp 0x2fc4c8506
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c850c
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 0x2fc4c858a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c8581
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 0x2fc4c8581
mov rax, qword [rbp - 8]
jmp 0x2fc4c859f
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 0x2fc4c8554
mov eax, 0
add rsp, 0x20
pop rbp
ret