joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014520
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 0x14001457d
lea rbx, [0x14007d380]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140014564
cmp r10, 2
jb 0x140014564
cmp byte [r9], r8b
jne 0x140014564
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 0x140014540
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400145bf
lea rbx, [0x14007d380]
cmp r8b, 0x23
jne 0x1400145a3
cmp byte [r9], r8b
jne 0x1400145a3
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 0x140014590
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140014700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001471a
mov qword [r8], 0
lea rdx, [0x14007cdcc]
call fcn.1400145d0
mov rbx, rax
test rax, rax
jne 0x14001473a
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 qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140014811
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140014811
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140014811
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140014811
cmp rdi, 0xffffffffffffffff
je 0x140014811
mov rax, qword [0x14013bd60]
test rax, rax
je 0x1400147ae
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140014811
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400147fe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14013bd60]
test rax, rax
je 0x1400147f3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001481a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001480c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001481c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140022a60
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x14013bd60]
lea r10, [0x14007d380]
mov r9, qword [rax + 0x1d18]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.140034800
add rsp, 0x28
ret

Function at 0x1400235c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14013bd60]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140023620
cmp byte [rbx + 0x20d6], 0
jne 0x140023620
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400144a0
test dil, 1
je 0x140023746
jmp 0x1400236af
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400aa858]
mulss xmm1, dword [0x1400aa83c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x1400aa750]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.1400144a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140023700
lea r11, [0x14007d380]
nop
cmp r9b, 0x23
jne 0x1400236e3
cmp byte [r8], r9b
jne 0x1400236e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400236d0
not ecx
call fcn.14001c590
test rax, rax
je 0x140023746
cmp byte [rax + 0xcf], 0
je 0x140023746
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.1400144a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001f030
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400776a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400285e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140028687
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002863a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140035110
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140014dc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14013bd58]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002868f
mov rcx, rbx
call fcn.140014dc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140028ad0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140028b22
lea r11, [0x14007d380]
cmp r9b, 0x23
jne 0x140028b05
cmp byte [r8], r9b
jne 0x140028b05
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140028af2
mov r11, qword [0x14013bd60]
xor r9d, r9d
mov r10, qword [r11 + 0x3228]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x140028b6e
not eax
cmp dword [r9], eax
je 0x140028b77
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140028b45
mov rcx, rbx
pop rbx
jmp fcn.1400289e0
mov rax, r9
pop rbx
ret
Function at 0x14002c010
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002c24e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14007d380]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14002c216
mov rcx, rbp
call fcn.14002b6f0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14002c0e1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14002c0d1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14002c0c9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14002c0cc
mov rdx, rcx
test rdx, rdx
jne 0x14002c0a0
cmp r8, r10
je 0x14002c0e1
cmp dword [r8], r9d
jne 0x14002c0e1
mov rcx, qword [r8 + 8]
jmp 0x14002c0e3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14002c177
cmp qword [rcx + 0x18], 0
jne 0x14002c16c
mov qword [rcx + 0x18], rbx
jmp 0x14002c177
cmp qword [rcx + 0x20], 0
jne 0x14002c177
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14002c1ac
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14002c1a0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400144a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14002c208
cmp r9b, 0x23
jne 0x14002c1eb
cmp byte [r8], r9b
jne 0x14002c1eb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14002c1d8
not ecx
call fcn.14001c590
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14002c060
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400776a0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140054b90
Capabilities:
Encode data using xor
Execute command

Disassembly:
sub rsp, 0x78
movzx eax, word [0x1400a9f40]
xor ecx, ecx
cmp dword [0x1400b7008], 2
movups xmm0, xmmword [0x1400a9f20]
mov word [rsp + 0x50], ax
movups xmm1, xmmword [0x1400a9f30]
movzx eax, byte [0x1400a9f42]
mov byte [rsp + 0x52], al
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
jl 0x140054d21
movdqa xmm0, xmmword [str.2222222222222222]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400aaa40]
movdqa xmm4, xmmword [0x1400aac40]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [str.3333]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400aaab0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400aaab0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140054c10
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x23
jge 0x140054d5f
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x23
jl 0x140054d30
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x78
ret
Function at 0x140054de0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x1150
call fcn.1400789d0
sub rsp, rax
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov r14, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140054ea5
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
je 0x140054ea5
lea rsi, [rsp + 0x30]
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140054e9b
lea r9, [rsp + 0x24]
mov dword [rsp + 0x24], 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x140054e92
mov rdx, r14
lea rcx, [rsp + 0x1030]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140054ecf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add rsi, 4
cmp ebx, ebp
jb 0x140054e40
xor al, al
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1400776a0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140054ea7
Function at 0x140055380
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov rsi, qword [rdx + 0x10]
lea rcx, [rsi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rdi
call fcn.140061b90
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400553e2
mov r8, qword [rdi]
xor edx, edx
lea r9, [rsi - 2]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_8
test r9, r9
je 0x1400554be
nop dword [rax + rax]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005540d
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [r8], al
cmp qword [rbx + 0x18], 0xf
jbe 0x14005542d
mov rax, qword [rbx]
lea rcx, [rdx + rax]
jmp 0x140055434
lea rcx, [rbx + rdx]
mov rax, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [rax + rdx + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [r8 + 1], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140055464
mov rax, qword [rbx]
lea rcx, [rax + 1]
jmp 0x14005546b
lea rcx, [rbx + 1]
mov rax, rbx
add rcx, rdx
movsx rcx, byte [rcx]
and ecx, 0xf
shl rcx, 2
movzx eax, byte [rax + rdx + 2]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [r8 + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005549b
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 2]
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r8 + 3], al
add r8, 4
add rdx, 3
cmp rdx, r9
jb 0x140055400
cmp rdx, rsi
jae 0x140055574
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400554d4
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [r8], al
lea rax, [rsi - 1]
cmp rdx, rax
jne 0x140055516
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400554fa
mov rax, qword [rbx]
movsx rax, byte [rax + rdx]
and eax, 3
add rax, rax
movzx eax, byte [r10 + rax*8]
mov byte [r8 + 1], al
mov al, 0x3d
add r8, 2
jmp 0x14005556c
cmp qword [rbx + 0x18], 0xf
jbe 0x140055526
mov rax, qword [rbx]
lea rcx, [rdx + rax]
jmp 0x14005552d
lea rcx, [rbx + rdx]
mov rax, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [rax + rdx + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [r8 + 1], al
add r8, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005555e
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 1]
and eax, 0xf
movzx eax, byte [r10 + rax*4]
mov byte [r8], al
mov byte [r8 + 1], 0x3d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400555aa
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400555a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400555dd
mov rcx, r8
call fcn.140077af0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400776a0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005c880
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.1400789d0
sub rsp, rax
mov rax, qword [0x1400b7040]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rax, qword [0x14013bf50]
sub rax, qword [0x14013bf48]
sar rax, 3
cmp rax, 0x12c
jae 0x14005cb0d
mov qword [rsp + 0x1400], rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13c4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x44], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x14005c8e0
mov rsi, qword [0x14013bf50]
mov ecx, 0x1f4
mov rax, rsi
mov dword [rsp + 0x40], 0x270
sub rax, qword [0x14013bf48]
sar rax, 3
sub ecx, eax
test ecx, ecx
jle 0x14005cb05
mov qword [rsp + 0x13f0], rbx
mov qword [rsp + 0x13f8], rbp
mov ebp, 0xffffffff
mov qword [rsp + 0x13e0], rdi
mov edi, ecx
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x40]
call fcn.14006c300
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x14005c98a
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.14006c300
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x14005c970
shr rax, 0x20
lea rcx, [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.14006c300
mov ecx, eax
mov rbx, rdi
movaps xmm1, xmm0
imul rax, rcx, 0x62d
cmp eax, 0x62d
jae 0x14005c9da
cmp eax, 0x232
jae 0x14005c9da
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.14006c300
mov ecx, eax
imul rax, rcx, 0x62d
cmp eax, 0x232
jb 0x14005c9c0
shr rax, 0x20
cmp rsi, qword [0x14013bf58]
movss dword [rsp + 0x28], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x14005ca11
unpcklps xmm0, xmm1
movsd qword [rsi], xmm0
add qword [0x14013bf50], 8
movsd qword [rsp + 0x24], xmm0
jmp 0x14005ca25
lea r8, [rsp + 0x24]
mov rdx, rsi
lea rcx, [0x14013bf48]
call fcn.140068000
lea rcx, [rsp + 0x40]
call fcn.14006c300
mov eax, eax
lea rcx, [rsp + 0x40]
add rax, rax
shr rax, 0x20
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.14006c300
mov rdx, qword [0x14013bf88]
mov ecx, eax
mov eax, 1
add rcx, rcx
movss dword [rsp + 0x30], xmm1
shr rcx, 0x20
test ecx, ecx
cmove eax, ebp
cmp rdx, qword [0x14013bf90]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x14005ca9d
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x14013bf88], 8
movsd qword [rsp + 0x2c], xmm0
jmp 0x14005caae
lea r8, [rsp + 0x2c]
lea rcx, [0x14013bf80]
call fcn.140068000
mov rdx, qword [0x14013c158]
cmp rdx, qword [0x14013c160]
je 0x14005cace
mov dword [rdx], 3
add qword [0x14013c158], 4
jmp 0x14005cad8
lea r8, [rsp + 0x20]
call fcn.140067e50
lea rdi, [rbx - 1]
test rdi, rdi
je 0x14005caed
mov rsi, qword [0x14013bf50]
jmp 0x14005c952
mov rbx, qword [rsp + 0x13f0]
mov rbp, qword [rsp + 0x13f8]
mov rdi, qword [rsp + 0x13e0]
mov rsi, qword [rsp + 0x1400]
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.1400776a0
add rsp, 0x13e8
ret
Function at 0x140060d70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140060d91
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140060dbe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140060dc0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140060e19
test ecx, ecx
jle 0x140060df9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140060e19
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140060e19
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
sub dword [rcx + rbp + 0x290000ba], esi
mov ah, 0x29
mov edx, 0xb4290000
sub dword [rdx - 0x4bd70000], edi
sub dword [rdx - 0x4bd70000], edi
sub dword [rcx + rbp + 0x290000ba], esi
mov ah, 0x29
mov edx, 0xb4290000
Function at 0x140060e40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140060e62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140060e71
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140060e94
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140060e96
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140060ed2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140060f6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140060f0d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140060f4e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140060f6e
cmp rbx, rax
ja 0x140060f20
test rbx, rbx
je 0x140060f6e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
invalid