joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e74f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
mov esi, ebp
cmp qword [rdx + 0x40], rbp
jbe 0x1400e757b
mov qword [rsp + 0x40], r14
movabs r14, 0x8080808080808080
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rdi + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, qword [r8 + rsi*8]
call fcn.1400e6550
inc rsi
mov r8, qword [rax]
add r8, qword [rbx + 0x38]
mov rdx, r8
mov qword [rbx + 0x40], rbp
and rdx, r14
mov rax, rdx
mov rcx, rdx
shr rax, 7
xor rdx, r8
sub rcx, rax
or rcx, rdx
mov qword [rbx + 0x38], rcx
cmp rsi, qword [rdi + 0x40]
jb 0x1400e7530
mov r14, qword [rsp + 0x40]
mov rdx, qword [rdi + 0x48]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 1
mov r9d, 3
mov qword [rsp + 0x28], rbp
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400e6430
mov rbx, qword [rsp + 0x48]
xor al, al
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
xor eax, eax
mov r9d, 0x811c9dc5
test rdx, rdx
je 0x1400ed817
nop dword [rax]
movzx r8d, byte [rcx + rax]
inc rax
xor r8d, r9d
imul r9d, r8d, 0x1000193
cmp rax, rdx
jb 0x1400ed800
mov eax, r9d
ret
Function at 0x1400ed9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rbx, rdx
mov r15, rcx
lea rax, [0x14010e0b5]
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rbp
mov ecx, 0x800
call fcn.140103e28
mov rdx, rax
mov qword [r15], rax
mov qword [r15 + 8], 0x80
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
lea r8, [rax + 0x10]
lea r9d, [rbp + 0x3f]
nop dword [rax]
mov rcx, qword [rdx]
mov qword [r8], rcx
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
lea r8, [r8 + 0x20]
mov rax, qword [rdx + 0x18]
mov qword [r8 - 8], rax
lea rdx, [rdx + 0x20]
sub r9, 1
jne 0x1400eda40
mov rax, qword [rdx]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov qword [r15 + 0x30], rbx
mov eax, 0x121
mov dword [rsp + 0x88], eax
lea rcx, [0x14013e730]
mov qword [rsp + 0x98], rcx
nop dword [rax]
mov r12, qword [rcx]
mov qword [rsp + 0x20], r12
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [r12 + rsi], 0
jne 0x1400edab0
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], eax
mov rbx, qword [r15 + 8]
mov rcx, qword [r15 + 0x10]
lea rax, [rbx + rbx*2]
shr rax, 2
cmp rcx, rax
jb 0x1400edba8
test rcx, rcx
je 0x1400edba0
cmp esi, dword [r15 + 0x20]
jne 0x1400edb01
mov r8d, esi
mov rdx, qword [r15 + 0x18]
mov rcx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400edba0
lea r9, [rbx - 1]
mov qword [rsp + 0x90], r9
mov edx, 0x811c9dc5
mov r8d, esi
mov rcx, rbp
test esi, esi
je 0x1400edb35
nop dword [rax]
movzx eax, byte [r12 + rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
cmp rcx, r8
jb 0x1400edb20
mov edi, edx
and rdi, r9
mov r14, rbp
nop dword [rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r15]
mov ebp, dword [rbx + 8]
mov r13d, ebp
cmp ebp, esi
jne 0x1400edb6e
mov r8d, ebp
mov rdx, r12
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400edba8
mov r9, qword [rsp + 0x90]
cmp ebp, dword [r15 + 0x20]
jne 0x1400edb8f
mov r8, r13
mov rdx, qword [r15 + 0x18]
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400edba0
mov r9, qword [rsp + 0x90]
inc rdi
add rdi, r14
and rdi, r9
inc r14
cmp r14, r9
jbe 0x1400edb40
mov rcx, r15
call fcn.1400eff40
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1400ee710
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x98]
add rcx, 8
mov qword [rsp + 0x98], rcx
cmp eax, 0x137
mov ebp, 0
jl 0x1400edaa0
mov rax, r15
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400edde0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r9, rdx
mov r14, rcx
je 0x1400edecd
mov r12d, dword [rdx + 8]
cmp r12d, dword [rcx + 0x20]
jne 0x1400ede38
mov rdx, qword [rcx + 0x18]
mov r8d, r12d
mov rcx, qword [r9]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400edecd
mov r9, qword [rsp + 0x58]
mov r15, qword [r14 + 8]
xor ebp, ebp
dec r15
mov edx, 0x811c9dc5
mov ecx, ebp
test r12, r12
je 0x1400ede65
mov r8, qword [r9]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r12
jb 0x1400ede50
mov edi, edx
and rdi, r15
nop word [rax + rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r14]
mov esi, dword [rbx + 8]
mov r13d, esi
cmp esi, r12d
jne 0x1400ede97
mov rdx, qword [r9]
mov r8d, esi
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400edec8
cmp esi, dword [r14 + 0x20]
jne 0x1400edeb0
mov rdx, qword [r14 + 0x18]
mov r8, r13
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400edecd
inc rdi
add rdi, rbp
inc rbp
and rdi, r15
cmp rbp, r15
ja 0x1400edecd
mov r9, qword [rsp + 0x58]
jmp 0x1400ede70
mov rax, rbx
jmp 0x1400edecf
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r14, qword [rcx + 8]
xor ebp, ebp
mov r12d, dword [rdx + 8]
dec r14
mov r10, rdx
mov r13, rcx
mov r9d, 0x811c9dc5
mov r8d, ebp
test r12, r12
je 0x1400ee767
mov rdx, qword [rdx]
nop
movzx eax, byte [rdx + r8]
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
cmp r8, r12
jb 0x1400ee750
mov edi, r9d
and rdi, r14
mov qword [rsp + 0x50], r15
mov rbx, rdi
shl rbx, 4
add rbx, qword [r13]
mov esi, dword [rbx + 8]
mov r15d, esi
cmp esi, dword [r13 + 0x20]
jne 0x1400ee7a1
mov rdx, qword [r13 + 0x18]
mov r8d, esi
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ee7d0
mov r10, qword [rsp + 0x58]
cmp esi, r12d
jne 0x1400ee7b8
mov rdx, qword [r10]
mov r8, r15
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ee7df
inc rdi
add rdi, rbp
inc rbp
and rdi, r14
cmp rbp, r14
ja 0x1400ee7e4
mov r10, qword [rsp + 0x58]
jmp 0x1400ee772
mov rax, qword [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
inc qword [r13 + 0x10]
mov rax, rbx
jmp 0x1400ee7e6
xor eax, eax
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400f3a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14013e880]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov r8b, 1
xor edx, edx
add rcx, 8
call fcn.1400eea00
xor ebp, ebp
mov ecx, dword [rax]
lea eax, [rcx - 0x11a]
test eax, 0xfffffffc
jne 0x1400f3bff
cmp ecx, 0x11c
je 0x1400f3bff
cmp byte [rbx + 1], 0
je 0x1400f3aab
lea rcx, [rbx + 0x88]
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x20], eax
movups xmm1, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x24], xmm1
mov rdx, qword [rbx + 0x90]
cmp rdx, qword [rbx + 0x98]
je 0x1400f3aa1
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
psrldq xmm1, 0xc
movd dword [rdx + 0x10], xmm1
add qword [rbx + 0x90], 0x14
jmp 0x1400f3aab
lea r8, [rsp + 0x20]
call fcn.1400f1740
mov eax, dword [rbx + 0x28]
cmp eax, 0x11d
je 0x1400f3bff
cmp eax, 0x11a
jne 0x1400f3be5
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
je 0x1400f3be5
mov r8, qword [rbx + 0x40]
cmp byte [r8], 0x21
jne 0x1400f3be5
nop dword [rax]
lea edx, [rcx - 1]
movzx eax, byte [rdx + r8]
cmp al, 0x20
je 0x1400f3af2
sub al, 9
cmp al, 4
ja 0x1400f3af8
mov ecx, edx
test edx, edx
jne 0x1400f3ae0
movzx r9d, byte [rbx + 0xb8]
mov byte [rsp + 0x38], r9b
movups xmm1, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x3c], xmm1
mov eax, ecx
add rax, r8
lea rdx, [r8 + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
cmp rdx, rax
jne 0x1400f3b43
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x50], 0
jmp 0x1400f3b5e
sub rax, rdx
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.14007af20
movups xmm1, xmmword [rsp + 0x3c]
movzx r9d, byte [rsp + 0x38]
mov rdx, qword [rbx + 0xa8]
cmp rdx, qword [rbx + 0xb0]
je 0x1400f3b9b
mov byte [rdx], r9b
movups xmmword [rdx + 4], xmm1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x28], xmm1
mov edx, reloc.WSOCK32.dll_ntohs
mov byte [rsp + 0x50], 0
add qword [rbx + 0xa8], 0x38
jmp 0x1400f3bb1
lea r8, [rsp + 0x38]
lea rcx, [rbx + 0xa0]
call fcn.1400f1960
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400f3be5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f3be0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f3bf8
call fcn.140103e64
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 8]
call fcn.1400eea00
jmp 0x1400f3a39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140104220
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140101850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14013e880]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1401442d8]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140101898
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x14010188c
mov rax, qword [rax + 0x10]
jmp 0x140101892
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140101880
cmp byte [rcx + 0x19], 0
jne 0x140101974
cmp dword [rcx + 0x20], 4
jg 0x140101974
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1401018c1
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1401018f3
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x1401018e0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400840d0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14010192e
cmp rcx, qword [rbx + 8]
je 0x14010192e
cmp qword [rbx + 0x10], 1
jne 0x140101932
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140104220
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x140101918
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140101990
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.140080670
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1401017f0
lea rdx, [0x140139410]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x14010306c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401030a6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401030ab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401030f4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401248a0]
cmp byte [rcx + rax], 0
je 0x1401030f4
dec r8
sub rdx, 1
jne 0x1401030da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140104dac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140104df6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140104df6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140104df6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140104df6
cmp dword [rcx + 0x84], 0xe
jbe 0x140104df6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140104df8
xor al, al
add rsp, 0x28
ret
Function at 0x1400044b0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
xorps xmm0, xmm0
mov rbx, rcx
movups xmmword [rax - 0x78], xmm0
mov dword [rax - 0x78], 0x70
xor ecx, ecx
mov dword [rax - 0x74], 0x40
cmp qword [rbx + 0x18], 0xf
mov qword [rax - 0x70], rcx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
lea rax, str.runas
mov qword [rsp + 0x30], rax
mov rax, rbx
jbe 0x14000450a
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
test dl, dl
lea rax, [0x1400c824a]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov eax, 5
cmovne eax, ecx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], eax
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, rbx
test eax, eax
je 0x140004558
call fcn.140003d80
mov eax, 1
add rsp, 0x90
pop rbx
ret
call fcn.140003d80
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x140004790
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor eax, eax
xorps xmm0, xmm0
mov dword [rsp + 0x54], eax
mov rdi, rdx
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
cmp qword [rcx + 0x18], 0xf
movzx r13d, r8b
movaps xmmword [rsp + 0x70], xmm0
mov rsi, rcx
mov qword [r11 - 0x38], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x28], rdx
jbe 0x140004803
mov rcx, qword [rcx]
lea rax, [rsi + 0x18]
jmp 0x140004807
lea rax, [rcx + 0x18]
cmp qword [rdi + 0x18], 0xf
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x38], rcx
lea r14, [rsi + 0x18]
mov rcx, rdi
jbe 0x140004824
mov rcx, qword [rdi]
mov r14, rax
lea rax, [0x1400c824a]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
movzx eax, r9b
xor eax, 1
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x88], rdx
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov r12d, eax
mov r15, r14
test eax, eax
je 0x140004890
test r13b, r13b
je 0x140004882
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r15, [rsi + 0x18]
lea rbx, [rdi + 0x18]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsi + 0x18]
mov rbp, rbx
cmp rdx, 0xf
jbe 0x1400048d4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400048cc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000494f
mov rcx, r8
lea rbp, [rdi + 0x18]
call fcn.140083888
mov r14, r15
xor r15d, r15d
mov qword [r14], 0xf
mov qword [rsi + 0x10], r15
mov byte [rsi], r15b
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x14000491d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140004915
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000494f
mov rcx, r8
call fcn.140083888
mov rbx, rbp
lea r11, [rsp + 0x90]
mov qword [rbx], 0xf
mov rbx, qword [r11 + 0x30]
mov eax, r12d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov qword [rdi + 0x10], r15
mov byte [rdi], r15b
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005560
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x13e0
call fcn.140083c00
sub rsp, rax
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea ecx, [rbp + 0x40]
call fcn.14008384c
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0x34
mov qword [rsp + 0x40], 0x3f
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400c8300]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400c8310]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x1400c8320]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], bpl
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea edx, [rbp + 1]
nop dword [rax]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, 0x270
jb 0x140005600
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
test rdi, rdi
je 0x1400056e9
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1410], rax
nop word [rax + rax]
lea rcx, [rsp + 0x1410]
call fcn.140005800
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x2f
ja 0x140005698
nop dword [rax + rax]
lea rcx, [rsp + 0x1410]
call fcn.140005800
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x30
jb 0x140005680
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rsi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400056d0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400056c5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400056df
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140003210
sub rdi, 1
jne 0x140005660
mov edx, 0x40
mov rcx, rsi
call fcn.140083888
mov rax, rbx
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x14000a581
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000a598
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x14000a5e9
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x14000a661
mov rcx, rbp
call fcn.140009b10
cmp rbx, 0xfff
jbe 0x14000a641
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14000a682
cmp rbx, rax
ja 0x14000a610
test rdi, rdi
je 0x14000a661
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x14000a664
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
Function at 0x14000a690
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14000a6b1
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x14000a72c
test rax, rax
jle 0x14000a70c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x14000a72c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000a72c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid