joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d9230
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 0x2fc4d9c32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4d9cca
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4d9cae
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 0x2fc4d9ca2
cmp qword [rbp - 0x10], 0
je 0x2fc4d9ca2
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 0x2fc4d9c68
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d9ccb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d9dd0
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 0x2fc4d9df8
mov eax, 0
jmp 0x2fc4d9e46
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 0x2fc4d9e21
mov eax, 0
jmp 0x2fc4d9e46
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 0x2fc4d9e41
mov eax, 0
jmp 0x2fc4d9e46
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140001ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x60]
xor r15d, r15d
mov rax, qword [rsp + 0x68]
mov r13, rdx
mov r10, qword [rsp + 0x78]
mov qword [r14], r8
mov qword [r10], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140002096
mov r12, qword [rsp + 0x70]
lea r9d, [r15 + 1]
mov rsi, qword [r10]
mov r8d, 0x3ff
mov r11d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x140002096
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rax]
cmp r9w, dx
jae 0x140001f6a
lea eax, [r11 + rcx]
cmp ax, r8w
ja 0x1400020b6
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140001f80
mov eax, ecx
add cx, bx
cmp cx, r8w
ja 0x140001f80
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140001f93
movzx r8d, al
mov r11d, r15d
mov ebx, r15d
jmp 0x140001fde
mov r8d, eax
cmp eax, 0x800
jae 0x140001fad
shr r8d, 6
mov r11d, r9d
or r8b, 0xc0
mov ebx, r9d
jmp 0x140001fde
cmp eax, 0x10000
jae 0x140001fc7
shr r8d, 0xc
mov r11d, 2
or r8b, 0xe0
mov ebx, r11d
jmp 0x140001fde
shr r8d, 0x12
mov r11d, 3
movzx ebx, bpl
or r8b, 0xf0
xor ebx, 1
add ebx, ebx
lea r9d, [rbx + 1]
mov rdi, r12
sub rdi, rsi
mov ecx, r9d
cmp rdi, rcx
jl 0x140002096
test dx, dx
jne 0x140002029
mov rcx, qword [rsp + 0x40]
test byte [rcx + 0x14], 2
je 0x140002029
lea edx, [r9 + 3]
cmp rdi, rdx
jl 0x140002096
mov byte [rsi], 0xef
inc qword [r10]
mov rcx, qword [r10]
mov byte [rcx], 0xbb
inc qword [r10]
mov rcx, qword [r10]
mov byte [rcx], 0xbf
inc qword [r10]
add qword [r14], 2
test bpl, bpl
jne 0x140002038
cmp r11d, 3
jae 0x140002044
mov rcx, qword [r10]
mov r9d, ebx
mov byte [rcx], r8b
inc qword [r10]
test r9d, r9d
je 0x140002071
lea r8d, [r11 + r11*2]
add r8d, r8d
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [r10]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [r10]
test r9d, r9d
jg 0x140002050
shr eax, 0xa
mov r9d, 1
test bpl, bpl
mov ecx, r9d
cmovne ecx, eax
mov word [r13], cx
mov rax, qword [r14]
cmp rax, qword [rsp + 0x58]
jne 0x140001f1f
mov rax, qword [rsp + 0x50]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x48]
mov eax, 2
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003630
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rcx + 0x10], 0
mov rsi, r8
mov dword [rcx], 0x67452301
mov r15, rdx
mov dword [rcx + 4], 0xefcdab89
mov r14, rcx
mov dword [rcx + 8], 0x98badcfe
mov rax, r8
mov dword [rcx + 0xc], 0x10325476
cmp qword [r8 + 0x18], 0x10
mov qword [rsp + 0x20], rdx
jb 0x14000367d
mov rax, qword [r8]
mov rsi, rax
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003684
xor edx, edx
lea ecx, [rbx*8]
lea eax, [rbx*8]
mov dword [r14 + 0x10], ecx
cmp ecx, eax
mov r8d, 1
mov eax, ebx
cmovb edx, r8d
shr eax, 0x1d
add eax, edx
mov dword [r14 + 0x14], eax
cmp ebx, 0x40
jb 0x14000370a
movups xmm0, xmmword [rsi]
lea rdx, [r14 + 0x18]
mov rcx, r14
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rdx + 0x30], xmm1
call fcn.140002ad0
mov edi, 0x40
cmp ebx, 0x7f
jbe 0x14000370c
mov edx, edi
mov rcx, r14
add rdx, rsi
call fcn.140002ad0
add edi, 0x40
lea eax, [rdi + 0x3f]
cmp eax, ebx
jb 0x1400036f1
jmp 0x14000370c
xor edi, edi
sub ebx, edi
mov edx, edi
mov r8d, ebx
lea rcx, [r14 + 0x18]
add rdx, rsi
call fcn.140036d00
mov rcx, r14
call fcn.1400033a0
mov qword [r15 + 0x10], 0
lea rdx, [r14 + 0x68]
mov qword [r15 + 0x18], 0xf
mov r8d, 0x20
mov rcx, r15
mov byte [r15], 0
call fcn.14000a440
mov rax, r15
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140006a24
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140006a24
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x14000692b
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x140006a4b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140006942
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140006942
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140006955
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x1400069a2
mov r8d, eax
cmp eax, 0x800
jae 0x14000696f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x1400069a2
cmp eax, 0x10000
jae 0x140006989
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x1400069a2
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x140006a24
add qword [r14], 2
test sil, sil
jne 0x1400069c3
cmp r10d, 3
jae 0x1400069cf
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140006a01
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x1400069e0
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x1400068df
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140006a32
Function at 0x1400074b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400074d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000754c
mov rdi, r14
mov rcx, rbx
call fcn.140009af0
test rax, rax
jle 0x140007524
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140036d00
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000753c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140007544
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400074e6
sub r14, rdi
jmp 0x140007639
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140007563
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007565
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000759a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140036d00
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140007636
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x1400075d5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140007611
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14003ebdc
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14000764f
cmp rbp, rax
ja 0x1400075e1
mov r8, rdi
test rdi, rdi
je 0x140007636
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14003ebdc
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140007639
Function at 0x140007a70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14007d0e0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140007a9d
xor eax, eax
jmp 0x140007be3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007ad7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007ad7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140007be3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140007bd6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140007b1a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140007b29
movsx ecx, dil
jmp 0x140007b7d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140007bd6
cmp eax, 1
jle 0x140007b97
cmp eax, 3
jne 0x140007bd6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14003ada8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140007bdb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007bc4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14003e4f4
cmp rsi, rax
jne 0x140007bd6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140007bdb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140034c40
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140014672
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140014655
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140014640

Function at 0x140034678
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14007f7a0]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x1400346a3
call qword [0x140062340]
jmp 0x1400346b8
call fcn.140034644
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 0x140049644
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140049470
Function at 0x14004f3dc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004f3fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003f1b8
or eax, 0xffffffff
jmp 0x14004f3fe
xor eax, eax
add rsp, 0x28
ret
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x94d9d3
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
mov qword [rsp], 0x1237cf0
call fcn.01235933

Function at 0x12152ed
Capabilities:
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions

Disassembly:
bt rbp, rbp
rol bp, 0xec
mov rbp, qword [r8 + riz + 8]
jae 0x12a76b5
push qword [rsp + 0x38]
popfq
lea rsp, [rsp + 0x40]
call fcn.01235933
mov ebp, 0xd98b6e8d
btc rbp, rbp
mov r10, qword [r8 + riz]
jb 0x9327a8
jae 0x121fc41

Function at 0x121b102
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
sbb r8, 1
mov word [r8], r10w
push 0xffffffffe03a993b
lea rsp, [rsp + 0x18]
jmp fcn.0121e567
rol r10w, 0x2f
rol ax, 1
bts r10w, r10w
dec r10d
xor si, ax
rol r10b, 0x24
lea rax, [rsp + rax + 0x10]
mov r10w, word [r10 + rax - 0x7fffef]
jb 0x9505c9

Function at 0x1224e15
Capabilities:
Encode data using xor

Disassembly:
dec qword [rsp + 0x10]
add r8, 6
mov word [r8], r9w
jmp 0x122d5d8
call fcn.009438b4
add rax, rax
fisttp word [rax]
xor dl, byte [rsi + 0x2c16bc1d]
cmpsb byte [rsi], byte [rdi]
push 0xffffffffffffffd4
sbb dl, ah
movabs al, byte [0xa8bf4566c18f60a]
add dl, r11b
push 0x5c15aee7
mov bl, 0x33
call 0xffffffffd063803e
loopne 0x122d5e0
xchg dword [rsi], esp
add byte [rax], al
invalid

Function at 0x1224f26
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
adc r8, 2
sal r10d, cl
call fcn.009330f4
add r8, 0x10
call fcn.012330f1

Function at 0x12aefd8
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
xor si, dx
and qword [rsp + 0x3a], 0x34038a0b
lea rdx, [rsp + rdx + 0x50]
jb 0x94f4dc
jg 0x1222b9e
mov dword [rdx], r11d
lea rsp, [rsp + 0x50]
jno fcn.00935705
lea eax, [rdi]
retf
jmp 0x93db65
Function at 0x2fc4de210
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 0x2fc4dec12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc503108]
test eax, eax
je 0x2fc4decaa
lea rax, [0x2fc5030e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc503110]
mov qword [rbp - 8], rax
jmp 0x2fc4dec8e
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 0x2fc4dec82
cmp qword [rbp - 0x10], 0
je 0x2fc4dec82
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 0x2fc4dec48
lea rax, [0x2fc5030e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4decab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dedb0
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 0x2fc4dedd8
mov eax, 0
jmp 0x2fc4dee26
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 0x2fc4dee01
mov eax, 0
jmp 0x2fc4dee26
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 0x2fc4dee21
mov eax, 0
jmp 0x2fc4dee26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dee2c
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 0x2fc4deeaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4deea1
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 0x2fc4deea1
mov rax, qword [rbp - 8]
jmp 0x2fc4deebf
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 0x2fc4dee74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d95f0
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 0x2fc4d9ff2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4da08a
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4da06e
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 0x2fc4da062
cmp qword [rbp - 0x10], 0
je 0x2fc4da062
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 0x2fc4da028
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4da08b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4da190
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 0x2fc4da1b8
mov eax, 0
jmp 0x2fc4da206
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 0x2fc4da1e1
mov eax, 0
jmp 0x2fc4da206
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 0x2fc4da201
mov eax, 0
jmp 0x2fc4da206
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14001e1d6
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004fca0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140265108]
call fcn.14001f603
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14004fcf8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14004fe0a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004fda3
cmp qword [rbp + 0x28], 0
jle 0x14004fda3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14004fd41
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001f49b
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14004fdf9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14004fdf9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret