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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x100
mov r14, qword [rsp + 0x140]
xor r10d, r10d
mov r15, qword [rsp + 0x148]
mov dil, r10b
add r15, r14
mov eax, r10d
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov r9, rcx
mov byte [rsp + rax], al
inc rax
cmp rax, 0x100
jb 0x14005175f
mov r11b, r10b
mov r8, r10
mov dl, byte [rsp + r8]
mov rax, r8
and eax, 0xf
mov cl, byte [rax + rbp]
add cl, dl
add dil, cl
movzx ecx, dil
mov al, byte [rsp + rcx]
mov byte [rsp + r8], al
inc r8
mov byte [rsp + rcx], dl
cmp r8, 0x100
jb 0x140051773
test rbx, rbx
je 0x1400517e7
inc r10b
movzx edx, r10b
mov r8b, byte [rsp + rdx]
add r11b, r8b
movzx ecx, r11b
mov al, byte [rsp + rcx]
mov byte [rsp + rdx], al
mov byte [rsp + rcx], r8b
cmp r9, r14
jb 0x1400517d9
cmp r9, r15
jae 0x1400517e7
mov al, byte [rsp + rdx]
add al, r8b
movzx eax, al
mov cl, byte [rsp + rax]
xor byte [r9], cl
inc r9
mov rax, r9
sub rax, rsi
cmp rax, rbx
jb 0x1400517a4
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov r10, rdx
mov rbx, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x140056456
mov r9, qword [rbx + 0x30]
mov rdx, qword [rbx + 8]
and r9, r8
mov r8, qword [rbx + 0x18]
add r9, r9
mov rax, qword [r8 + r9*8]
cmp qword [r8 + r9*8], rdx
jne 0x140056496
mov rcx, rdx
jmp 0x14005649e
mov rcx, qword [r8 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400564b1
mov rcx, qword [r10]
cmp qword [rax + 0x10], rcx
je 0x1400564b4
mov rax, qword [rax]
jmp 0x14005648b
mov rax, rdx
cmp rax, rdx
jne 0x14005651f
mov qword [rsp + 0x50], r10
lea rax, [rsp + 0x50]
mov rdi, qword [rdx]
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rsi, qword [rdi + 8]
mov r8, rsi
call fcn.140016e58
mov rdx, rax
movabs rcx, 0x7fffffffffffffe
mov rax, qword [rbx + 0x10]
sub rcx, rax
cmp rcx, 1
jb 0x140056533
inc rax
mov rcx, rbx
mov qword [rbx + 0x10], rax
mov qword [rdi + 8], rdx
mov qword [rsi], rdx
lea rdx, [rsp + 0x30]
mov r9, qword [rbx + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.140057b40
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
add rax, 0x18
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.14005fb5c
int3
Function at 0x140056da4
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
mov qword [rax - 0x68], rcx
xor r9d, r9d
mov qword [rsp + 0x40], r9
cmp r9, 4
jae 0x140056e10
movzx eax, byte [r9 + r8]
xor rcx, rax
mov qword [rsp + 0x20], rcx
movabs rax, 0x100000001b3
imul rcx, rax
mov qword [rsp + 0x20], rcx
inc r9
jmp 0x140056de0
mov r8, qword [rsi + 0x30]
and r8, rcx
mov qword [rsp + 0x58], r8
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x30], rax
cmp qword [rcx + r8*8], rax
jne 0x140056e38
mov rbx, qword [rsi + 8]
jmp 0x140056e49
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + r8*8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsi + 0x18]
cmp rbx, qword [rax + r8*8]
je 0x140056ea6
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x48], rbx
mov eax, dword [rbx + 0x10]
cmp dword [r10], eax
jne 0x140056ea4
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
dec qword [rsi + 0x10]
mov qword [rsp + 0x60], 0x20
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140056fcc
jmp 0x140056e4e
mov rax, qword [rdi]
cmp rbx, rax
je 0x140056edb
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140056ef8
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140056f27
cmp rax, rbx
jne 0x140056f03
mov qword [rdx + r8*8], rdi
jmp 0x140056f27
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140056f27
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140072780]
test rax, rax
jns 0x140056f48
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140056f59
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140056fc1
mov qword [rsp + 0x28], rdx
cmp rdx, 0x200
jae 0x140056f7b
shl rdx, 3
mov qword [rsp + 0x28], rdx
jmp 0x140056fb0
movabs rax, 0x1fffffffffffffff
mov qword [rsp + 0x38], rax
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140056fb0
add rdx, rdx
mov qword [rsp + 0x28], rdx
mov rcx, rsi
call fcn.140003a58
mov rcx, rsi
call fcn.140056b18
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x140059120
Capabilities:
Get number of processors
Parse pe header

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0xb8
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov rax, qword [0x140098788]
xor edi, edi
test rax, rax
jne 0x140059324
lea rcx, [r11 - 0x68]
call fcn.140058a7c
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov qword [rsp + 0x88], rdx
lea rcx, [rsp + 0x30]
call fcn.140001bc0
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x38]
cmp word [rcx], ax
je 0x140059187
mov eax, edi
jmp 0x1400591a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x90], rax
cmp dword [rax], 0x4550
cmovne rax, rdi
mov qword [rsp + 0xe8], rax
cmp dword [rax + 8], 0x5a6abcfb
jb 0x140059214
mov dword [rsp + 0x40], 0x7865742e
mov dword [rsp + 0x44], 0x74
xor eax, eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
lea rdx, [0x140096a10]
cmp qword [0x140096a28], 0x10
cmovae rdx, qword [0x140096a10]
mov qword [rsp + 0x98], rdx
lea r9, [rsp + 0x40]
mov r8, qword [0x140096a20]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14000b6f4
mov rdx, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400592a8
mov dword [rsp + 0x4c], 0x7865742e
mov dword [rsp + 0x50], 0x74
xor eax, eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x4c]
lea rdx, [0x1400969e0]
cmp qword [0x1400969f8], 0x10
cmovae rdx, qword [0x1400969e0]
mov qword [rsp + 0xa0], rdx
lea r9, [rsp + 0x4c]
mov r8, qword [0x1400969f0]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14000b6f4
mov rdx, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400592a8
mov eax, dword [0x14009220c]
mov dword [rsp + 0xd0], eax
mov dword gs:[0x68], eax
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call fcn.14005f720
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x60]
call fcn.140002adc
xor eax, eax
jmp 0x140059324
sub rdx, rbx
mov qword [0x140098788], rdx
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rax + 0x50]
mov eax, dword [0x14009220c]
cmp rdx, rcx
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
jb 0x1400592f7
mov dword [rsp + 0xd8], eax
mov dword gs:[0x68], eax
call fcn.14005f720
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x60]
call fcn.140002adc
xor eax, eax
jmp 0x140059324
mov dword [rsp + 0xe0], eax
mov dword gs:[0x68], eax
call fcn.14005f720
mov qword [rsp + 0x38], rdi
mov rbx, qword [0x140098788]
lea rcx, [rsp + 0x60]
call fcn.140002adc
mov rax, rbx
add rsp, 0xb8
pop rdi
pop rbx
ret
Function at 0x140059330
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0xd8
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov rax, qword [0x140098790]
xor edi, edi
test rax, rax
jne 0x14005957e
lea rcx, [r11 - 0x58]
call fcn.140058cac
nop
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae rdx, qword [rsp + 0x90]
mov qword [rsp + 0xb8], rdx
lea rcx, [rsp + 0x30]
call fcn.140001bc0
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x38]
cmp word [rcx], ax
je 0x1400593a3
mov qword [rsp + 0x58], rdi
jmp 0x1400593c1
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xc0], rax
cmp dword [rax], 0x4550
cmovne rax, rdi
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 0x7865742e
mov dword [rsp + 0x44], 0x74
xor eax, eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x74], 0x56555340
mov dword [rsp + 0x78], 0x41544157
mov dword [rsp + 0x7c], 0x41564155
mov dword [rsp + 0x80], 0xec834857
mov dword [rsp + 0x84], 0x818b28
xor eax, eax
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x74]
lea r9, [rsp + 0x40]
mov r8d, 0x13
lea rdx, [rsp + 0x74]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14000b6f4
mov rdx, rax
mov qword [rsp + 0x108], rax
test rax, rax
jne 0x1400594ff
mov dword [rsp + 0x4c], 0x7865742e
mov dword [rsp + 0x50], 0x74
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x60], 0xcc058d4c
mov dword [rsp + 0x64], 0x48cccccc
mov dword [rsp + 0x68], 0xcc247c89
mov dword [rsp + 0x6c], 0x4c
xor eax, eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x60]
lea r9, [rsp + 0x4c]
lea r8d, [rdx + 0xd]
lea rdx, [rsp + 0x60]
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14000b6f4
mov qword [rsp + 0x108], rax
test rax, rax
jne 0x1400594ec
mov eax, dword [0x14009220c]
mov dword [rsp + 0xf0], eax
mov dword gs:[0x68], eax
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call fcn.14005f720
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x90]
call fcn.140002adc
xor eax, eax
jmp 0x14005957e
movsxd rdx, dword [rax + 3]
add rdx, 7
add rdx, rax
mov qword [rsp + 0x108], rdx
sub rdx, rbx
mov qword [0x140098790], rdx
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0x50]
mov eax, dword [0x14009220c]
cmp rdx, rcx
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
jb 0x14005954e
mov dword [rsp + 0xf8], eax
mov dword gs:[0x68], eax
call fcn.14005f720
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x90]
call fcn.140002adc
xor eax, eax
jmp 0x14005957e
mov dword [rsp + 0x100], eax
mov dword gs:[0x68], eax
call fcn.14005f720
mov qword [rsp + 0x38], rdi
mov rbx, qword [0x140098790]
lea rcx, [rsp + 0x90]
call fcn.140002adc
mov rax, rbx
add rsp, 0xd8
pop rdi
pop rbx
ret
Function at 0x1400a1790
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1400a17bd
xor al, al
jmp 0x1400a191f
mov rax, qword [0x1400c1670]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1400c1678]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1400c1680]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1400c1688]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1400c1690]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1400c1698]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1400c16a0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1400c16a8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1400c16b0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1400a1911
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1400a1869
mov r11d, 2
jmp 0x1400a188d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1400a1883
mov r11d, 1
jmp 0x1400a188d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1400a1935
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1400a18d2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1400a18ea
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1400a18fa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1400a1908
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1400a1850
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1400a191a
Function at 0x1400022c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400022ed
xor eax, eax
jmp 0x140002459
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002327
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002327
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 0x140002459
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000244c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000236a
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 0x140002395
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002451
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002404
sub eax, 1
je 0x140002404
cmp eax, 2
jne 0x14000244c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002451
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002432
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000244c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002451
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002fe0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002900
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400029d3
cmp byte [rcx + 0x71], 0
je 0x1400029d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400029cf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002994
sub eax, 1
je 0x140002998
cmp eax, 2
jne 0x1400029cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002fe0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400029c6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400029cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000297c
xor al, al
jmp 0x14000297c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002fe0
add rsp, 0x60
pop rbx
ret

Function at 0x140003974
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400039be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400039be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400039be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400039be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400039be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400039c0
xor al, al
add rsp, 0x28
ret
Function at 0x140003bf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140003c57
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140003c12
mov ecx, dword [r10]
jmp 0x140003d66
cmp ecx, 0x270
jb 0x140003d66
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
lea rbx, [rbx + 8]
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4d8]
xor rcx, rdx
mov qword [rbx - 0x9c8], rcx
sub rdi, 1
jne 0x140003c90
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
mov r8, qword [rbx + 8]
lea rbx, [rbx + 8]
xor r9, r8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rbx - 0xea8]
xor rcx, r9
mov r9, r8
mov qword [rbx - 0x9c8], rcx
sub rdi, 1
jne 0x140003ce1
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x1400041f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b9010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1400ef688]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call fcn.1400623b0
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x1400042c7
mov rax, qword [rdi]
test rax, rax
je 0x140004285
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140004285
test rsi, rsi
je 0x140004285
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140004285
cmp dword [rsp + 0x30], ebx
je 0x1400042c7
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400042a4
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x1400042a4
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
jmp 0x1400042c9
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005e040
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a2a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000a2fd
lea rbx, [0x1400a20e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000a2e4
cmp r10, 2
jb 0x14000a2e4
cmp byte [r9], r8b
jne 0x14000a2e4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000a2c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000a33f
lea rbx, [0x1400a20e0]
cmp r8b, 0x23
jne 0x14000a323
cmp byte [r9], r8b
jne 0x14000a323
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000a310
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000a480
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000a49a
mov qword [r8], 0
lea rdx, [0x1400a1b30]
call fcn.14000a350
mov rbx, rax
test rax, rax
jne 0x14000a4ba
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.14006c2b0
mov esi, eax
cmp eax, 0xffffffff
je 0x14000a588
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.14006cc98
test eax, eax
jne 0x14000a588
mov rcx, rbx
call fcn.14006c2b0
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000a588
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14006cc98
test eax, eax
jne 0x14000a588
cmp rdi, 0xffffffffffffffff
je 0x14000a588
mov rax, qword [0x1400bd9f0]
test rax, rax
je 0x14000a52a
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.14006b864
mov rsi, rax
test rax, rax
je 0x14000a588
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14006db7c
mov rcx, rbx
cmp rax, rdi
je 0x14000a576
call fcn.14006c8f8
mov rax, qword [0x1400bd9f0]
test rax, rax
je 0x14000a56c
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.14006b850
jmp 0x14000a590
call fcn.14006c8f8
test r14, r14
je 0x14000a583
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000a592
mov rcx, rbx
call fcn.14006c8f8
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret