joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007be0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14072006b], 1
jne 0x140007bfd
cmp byte [0x14072006a], 0
jne 0x140007c1c
jmp 0x140007c4b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14072006b], 1
test rax, rax
setne byte [0x14072006a]
je 0x140007c4b
mov rdi, qword [fcn.1400060b0]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004c00
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x140725008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x140007c70
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x14072006b], 1
jne 0x140007c91
cmp byte [0x14072006a], 0
jne 0x140007cb0
jmp 0x140007ce2
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14072006b], 1
test rax, rax
setne byte [0x14072006a]
je 0x140007ce2
mov rbx, qword [fcn.1400060b0]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140004c00
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x140725008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140007d10
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14072006b], 1
jne 0x140007d2d
cmp byte [0x14072006a], 0
jne 0x140007d4c
jmp 0x140007d7b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14072006b], 1
test rax, rax
setne byte [0x14072006a]
je 0x140007d7b
mov rdi, qword [fcn.1400060b0]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004c00
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x140725008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140007da0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x14072006b], 1
jne 0x140007dcb
cmp byte [0x14072006a], 0
jne 0x140007dea
jmp 0x140007e22
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14072006b], 1
test rax, rax
setne byte [0x14072006a]
je 0x140007e22
mov r15, qword [fcn.1400060b0]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.140004c00
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x140725008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140007e60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140720069], 1
jne 0x140007e7c
cmp byte [0x140720068], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140720068]
mov byte [0x140720069], 1
add rsp, 0x28
ret
Function at 0x140002f14
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x30]
movsxd rcx, dword [rdx + 0x3c]
mov r10d, dword [rcx + rdx + 0x88]
add r10, rdx
cmp r10, rdx
je 0x140002fb3
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x140002fb3
mov edi, dword [r10 + 0x20]
dec r8d
lea rcx, [rdi + r8*4]
mov r9d, dword [rcx + rdx]
add r9, rdx
mov r11d, 0x1b4dcea0
mov cl, byte [r9]
inc r9
test cl, cl
je 0x140002fae
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r9]
inc r9
test cl, cl
jne 0x140002f8e
cmp r11d, 0x2fff48a2
je 0x140002fb8
test r8d, r8d
jne 0x140002f70
mov rax, qword [rax]
jmp 0x140002f4b
mov ecx, dword [r10 + 0x1c]
add rcx, rdx
mov eax, dword [r10 + 0x24]
add rax, rdx
movzx eax, word [rax + r8*2]
mov r8d, dword [rcx + rax*4]
add r8, rdx
mov rdx, rbx
lea rcx, [0x140003018]
call r8
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140002ffa
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
and qword [rbx + 0x38], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140029500
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003e00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x14002dba1], 0
mov edi, 0x51eb851f
movsd xmm0, qword [0x14002db98]
movzx eax, word [0x14002dba0]
movsd qword [rbp - 0x50], xmm0
mov word [rbp - 0x48], ax
je 0x140003e76
xor r8d, r8d
lea r9, [rbp - 0x50]
mov eax, edi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9], al
inc r9
cmp r8d, 0xa
jl 0x140003e52
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
je 0x140003ffd
movzx ecx, word [0x14002dc88]
lea r10, [rbp - 0x40]
movups xmm0, xmmword [0x14002dc78]
mov word [rbp - 0x30], cx
xor r8d, r8d
mov cl, byte [0x14002dc8a]
mov byte [rbp - 0x2e], cl
movups xmmword [rbp - 0x40], xmm0
mov eax, edi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r10], al
inc r10
cmp r8d, 0x13
jl 0x140003eb2
lea rdx, [rbp - 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140003ffd
mov eax, dword [0x14002e2d0]
lea r9, [rbp - 0x50]
movsd xmm0, qword [str.XQGXRT_n_b]
xor r8d, r8d
mov dword [rbp - 0x48], eax
mov al, byte [0x14002e2d4]
mov byte [rbp - 0x44], al
movsd qword [rbp - 0x50], xmm0
mov eax, edi
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x140003f15
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8, rax
test rax, rax
je 0x140003ffd
movups xmm0, xmmword [str.gQG_VXNlOQ_21C]
mov cl, byte [0x14002db90]
lea r10, [rbp - 0x28]
mov byte [rbp - 0x18], cl
xor r9d, r9d
movups xmmword [rbp - 0x28], xmm0
mov eax, edi
mul r9d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r10], al
inc r10
cmp r9d, 0x11
jl 0x140003f6a
lea rdx, [rbp - 0x28]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140003ffd
or dword [rbp - 0x4d], 0xffffffff
lea r9, [rbp - 0x10]
mov eax, 0x6a
mov byte [rbp - 0x4e], 0x68
mov rcx, rbx
mov word [rbp - 0x50], ax
mov byte [rbp - 0x49], 0xb8
mov r14d, 0xd0ff
lea edx, [rax - 0x5c]
lea r8d, [rax - 0x66]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003ffd
movsd xmm0, qword [rbp - 0x50]
lea r9, [rbp - 0x10]
movsd qword [rbx], xmm0
mov edx, 0xe
mov dword [rbx + 8], edi
mov rcx, rbx
mov word [rbx + 0xc], r14w
mov r8d, dword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140029500
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140004020
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rsi, qword [0x14003a130]
xor edx, edx
mov rdi, qword [0x14003a138]
xorps xmm0, xmm0
mov qword [rbp - 0x18], rdx
mov r15d, 0x1000
movdqu xmmword [rbp - 0x28], xmm0
cmp rsi, rdi
je 0x140004198
sub rdi, rsi
movabs rax, 0x1fffffffffffffff
mov rbx, rdi
sar rbx, 3
cmp rbx, rax
ja 0x1400041fb
shl rbx, 3
cmp rbx, r15
jb 0x1400040b8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1400041fb
call fcn.140029520
mov rcx, rax
test rax, rax
je 0x1400041c5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400040c9
test rbx, rbx
je 0x1400040c7
mov rcx, rbx
call fcn.140029520
jmp 0x1400040c9
xor eax, eax
add rbx, rax
mov qword [rbp - 0x28], rax
mov r8, rdi
mov qword [rbp - 0x18], rbx
mov rdx, rsi
mov qword [rbp - 0x20], rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
and qword [rbp - 0x10], 0
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x20], rbx
call fcn.1400045a0
mov rdi, qword [0x14003a138]
mov rsi, qword [0x14003a130]
mov rdx, qword [rbp - 0x18]
cmp rsi, rdi
je 0x140004198
mov rcx, qword [rsi]
xor eax, eax
cmp byte [rax + rcx], 0xc3
je 0x14000412c
cmp byte [rax + rcx], 0xcc
je 0x140004164
inc rax
cmp rax, rcx
jbe 0x140004118
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400041df
sub rdx, rcx
mov rax, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r15
jb 0x14000415d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041c5
call fcn.140029564
jmp 0x1400041df
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400041d7
sub rdx, rcx
mov rax, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r15
jb 0x140004191
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400041c5
call fcn.140029564
jmp 0x1400041d7
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400041d1
sub rdx, rcx
mov rax, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, r15
jb 0x1400041cc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029564
cmp byte [rbp - 0x30], 0
je 0x1400041df
mov byte [0], 0
mov rbx, qword [rsp + 0x60]
xor al, al
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
call fcn.140001474
int3
Function at 0x14000536c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x13e0
call fcn.14002a430
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
or dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], eax
mov ecx, 1
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x44], edx
inc rcx
cmp rcx, r8
jb 0x1400053c0
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x30], 0x41
mov dword [rsp + 0x34], 0x7a
and qword [rbx], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
cmp rdi, 0xf
jbe 0x140005422
mov rdx, rdi
mov rcx, rbx
call fcn.1400048fc
and qword [rbx + 0x10], 0
test rdi, rdi
je 0x140005446
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140024ba8
mov edx, eax
mov rcx, rbx
call fcn.1400043c8
sub rdi, 1
jne 0x140005427
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140029500
mov rbx, qword [rsp + 0x1400]
add rsp, 0x13e0
pop rdi
ret

Function at 0x140005510
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x20]
mov edx, 0x1000
mov r8d, 0x40
mov ecx, 0x400000
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x400010], 0x1000
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov edx, 0x1000
mov ecx, 0x400000
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140029500
add rsp, 0x38
ret
Function at 0x140005578
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.14002a430
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x1320], rax
movsxd rsi, edx
mov rdi, rcx
mov qword [rbp - 0x80], rcx
movups xmm0, xmmword [0x14002e9f8]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14002ea08]
movups xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [0x14002ea18]
movups xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [0x14002ea28]
movsd qword [rsp + 0x50], xmm1
mov eax, dword [0x14002ea30]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14002ea34]
mov word [rsp + 0x5c], ax
mov al, byte [0x14002ea36]
mov byte [rsp + 0x5e], al
xor r8d, r8d
lea r9, [rsp + 0x20]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x3f
jl 0x14000560a
and qword [rsp + 0x60], 0
and qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140005654
lea rcx, [rsp + 0x60]
cmp rbx, 0xf
ja 0x140005681
mov qword [rsp + 0x70], rbx
mov r8, rbx
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
jmp 0x14000568f
lea r9, [rsp + 0x20]
mov rdx, rbx
call fcn.140005244
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
or dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
mov edx, 1
mov r8d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x6c], ecx
inc rdx
cmp rdx, r8
jb 0x1400056ac
mov dword [rbp - 0x70], r8d
mov rax, qword [rsp + 0x70]
dec rax
and qword [rbp - 0x80], 0
mov qword [rbp - 0x78], rax
mov rdx, rsi
mov rcx, rdi
call fcn.140023e58
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400056f4
mov rbx, qword [rdi]
mov rcx, rdi
jb 0x1400056fc
mov rcx, qword [rdi]
mov rsi, qword [rdi + 0x10]
add rsi, rcx
jmp 0x14000572e
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.140024c70
mov rcx, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov al, byte [rax + rcx]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x140005705
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140005773
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000576e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000576e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029564
mov rax, rdi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.140029500
mov rbx, qword [rsp + 0x1460]
add rsp, 0x1430
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005798
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x13d0
call fcn.14002a430
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
or dword [rsp + 0x13b4], 0xffffffff
mov ecx, 1
mov edx, eax
mov dword [rsp + 0x34], eax
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, r8
jb 0x1400057ee
xor esi, esi
mov dword [rsp + 0x30], r8d
xorps xmm0, xmm0
mov dword [rsp + 0x28], esi
movups xmmword [rdi], xmm0
mov ebp, 0x3e8
mov qword [rdi], rsi
mov ecx, ebp
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov dword [rsp + 0x2c], 0x63
call fcn.140029520
mov qword [rdi], rax
mov r8d, ebp
mov qword [rdi + 8], rax
xor edx, edx
add rax, rbp
mov qword [rdi + 0x10], rax
mov rbx, qword [rdi]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x3e8]
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x20]
mov qword [rdi + 8], rax
call fcn.14002642c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140024ba8
mov rcx, qword [rdi]
mov dword [rsi + rcx], eax
add rsi, 4
cmp rsi, rbp
jl 0x140005871
mov rax, rdi
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.140029500
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140009e78
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1338]
mov eax, 0x1430
call fcn.14002a430
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov rdi, rcx
mov qword [rbp - 0x80], rcx
movups xmm0, xmmword [0x14002e9f8]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [0x14002ea08]
movups xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [0x14002ea18]
movups xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [0x14002ea28]
movsd qword [rsp + 0x50], xmm1
mov eax, dword [0x14002ea30]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14002ea34]
mov word [rsp + 0x5c], ax
mov al, byte [0x14002ea36]
mov byte [rsp + 0x5e], al
xor r8d, r8d
lea r9, [rsp + 0x20]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x3f
jl 0x140009f0e
and qword [rsp + 0x60], 0
and qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140009f58
lea rcx, [rsp + 0x60]
cmp rbx, 0xf
ja 0x140009f85
mov qword [rsp + 0x70], rbx
mov r8, rbx
lea rdx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
jmp 0x140009f93
lea r9, [rsp + 0x20]
mov rdx, rbx
call fcn.140005244
nop
or dword [rbp + 0x1314], 0xffffffff
mov ecx, 0x6773b31f
mov dword [rbp - 0x6c], ecx
mov edx, 1
mov r8d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x6c], ecx
inc rdx
cmp rdx, r8
jb 0x140009fad
mov dword [rbp - 0x70], r8d
mov rax, qword [rsp + 0x70]
dec rax
and qword [rbp - 0x80], 0
mov qword [rbp - 0x78], rax
mov edx, 0x10
mov rcx, rdi
call fcn.140023e58
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140009ff7
mov rbx, qword [rdi]
mov esi, 0x10
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.140024c70
mov rcx, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov al, byte [rcx + rax]
mov byte [rbx], al
dec esi
inc rbx
test esi, esi
jg 0x140009ffc
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000a06b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a066
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a066
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029564
mov rax, rdi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.140029500
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000bb18
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140022f88
nop
movsd xmm0, qword [0x140031470]
movsd qword [rsp + 0x20], xmm0
mov al, byte [0x140031478]
mov byte [rsp + 0x28], al
xor r8d, r8d
lea r9, [rsp + 0x20]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 9
jl 0x14000bb83
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
cmp byte [rsp + 0x20], 0
je 0x14000bbdc
lea rax, [rsp + 0x20]
inc rax
cmp byte [rax], 0
jne 0x14000bbcf
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140025364
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x60], 6
sete bl
lea rax, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x90]
mov dword [rsp + rdx + 0x4c], r8d
lea rcx, [rsp + 0x60]
call fcn.1400238fc
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov al, bl
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140029500
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret