joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100015a2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rax, str.Hello_from_the_dll__n
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 1
and qword [rdi], 0
lea rax, str.Index_out_of_bounds
mov qword [rdi + 0x20], rax
and qword [rdi + 0x28], 0
mov rcx, rdi
call fcn.1002f630
lea r9, [rsp + 0x38]
and qword [r9], 0
lea rsi, sym.dll_deadlock.dll_BUF
mov edx, 0x1cc
mov r8d, 0x40
mov rcx, rsi
call sub.KERNEL32.dll_VirtualProtect
lea rbx, [rsp + 0x34]
mov dword [rbx], eax
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
lea rax, [rsp + 0x70]
mov qword [rax], rbx
lea rdx, [0x100065b0]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rcx
lea rcx, str.Index_out_of_bounds
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], 3
and qword [rdi], 0
lea rcx, [0x1002e780]
mov qword [rax + 0x18], rcx
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], 2
lea rcx, [rsp + 0x40]
call fcn.1002f630
xor ecx, ecx
mov r8d, 0x7e
lea r9, str.a_super_secret_key__impossible_for_anyone_to_ever_guess_or_brute_force...._except_for_maybe_one_of_googles_quantum_computers.
mov rax, rcx
xor edx, edx
div r8
cmp rcx, 0x1cc
je 0x100016a1
imul rax, rax, 0xffffffffffffff82
add rax, rcx
mov al, byte [r9 + rax]
xor byte [rcx + rsi], al
inc rcx
jmp 0x1000167d
call rsi
mov rcx, qword [rsp + 0x28]
call fcn.1000146d
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x10004e70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x10004f00
cmp r10, r11
jb 0x10004f76
cmp r10, rdx
ja 0x10004f8a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x10004f02
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x10004ee0
jmp 0x10004f64
ja 0x10004f0a
mov r11, r10
cmp rax, r8
jne 0x10004ea4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x10004f40
mov rdi, r8
sub ecx, edx
jns 0x10004f5b
jmp 0x10004f66
cmp r8, rsi
je 0x10004f9b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x10004f66
xor al, 1
cmp rdi, rsi
jne 0x10004f20
jmp 0x10004f66
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.10003580
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.10002b20
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.10002f00
ud2
Function at 0x1000d5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1000d5fb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1000d5fb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1000d616
cmp eax, 0x42
jne 0x1000d5fb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1000d6c6
cmp byte [r9 + r11], 0x5f
jne 0x1000d6c6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1000d72e
mov rcx, rsi
xor edx, edx
call fcn.10008db0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.10008db0
test al, al
jne 0x1000d7c1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1000d652
lea rdx, [0x10037ad3]
mov r8d, 1
call fcn.10002bb0
test al, al
jne 0x1000d7c1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1000d60a
xor r14d, r14d
lea rbx, [0x10037eae]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1000d684
cmp byte [rax + rcx], 0x45
je 0x1000d7e3
sub r14, 1
jb 0x1000d6a9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1000d6a9
mov r8d, 2
mov rdx, rbx
call fcn.10002bb0
test al, al
jne 0x1000d7c1
mov rcx, rsi
call fcn.1000d800
test al, al
jne 0x1000d7c1
mov rax, qword [rsi]
test rax, rax
jne 0x1000d670
jmp 0x1000d60a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1000d788
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1000d722
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1000d70c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1000d6fb
add dl, 0xa9
jmp 0x1000d70a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1000d788
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1000d788
movzx edx, bl
add rax, rdx
jae 0x1000d6d0
jmp 0x1000d788
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1000d788
cmp rax, rcx
jae 0x1000d785
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1000d7db
cmp qword [rsi + 0x20], 0
je 0x1000d7ef
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1000d5a0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1000d60c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1000d7c9
lea rax, [0x10037e79]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.10002bb0
test al, al
je 0x1000d7c9
mov dil, 2
jmp 0x1000d60a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1000d60a
mov dil, 1
xor r8d, r8d
jmp 0x1000d78a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1000d60a
xor edi, edi
jmp 0x1000d60a
Function at 0x10010840
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x10035228]
test ecx, ecx
je 0x10010911
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x10010873
mov rdi, rax
cmp qword [rax], 0
je 0x10010873
add rdi, 8
jmp 0x10010907
mov ecx, dword [0x10035228]
test ecx, ecx
je 0x10010924
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x10010905
mov rsi, rax
test rax, rax
jne 0x100108d7
mov ecx, 0x20
mov edx, 8
call fcn.100082e0
test rax, rax
je 0x10010947
mov rsi, rax
mov qword [rax], 0
lea rax, [0x10035210]
mov qword [rsi + 0x18], rax
mov ecx, dword [0x10035228]
test ecx, ecx
je 0x10010937
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 8]
cmp qword [rsi], 0
mov rcx, qword [rsi + 0x10]
mov qword [rsi], 1
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
je 0x10010907
test rcx, rcx
je 0x10010907
lock dec qword [rcx]
jne 0x10010907
call fcn.10010980
jmp 0x10010907
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x10035210]
call fcn.10011090
mov ecx, eax
jmp 0x10010856
lea rcx, [0x10035210]
call fcn.10011090
mov ecx, eax
jmp 0x10010883
lea rcx, [0x10035210]
call fcn.10011090
mov ecx, eax
jmp 0x100108cf
mov ecx, 0x20
mov edx, 8
call fcn.100019f0
ud2

Function at 0x10011090
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1001110e
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1001114f
cmp dword [rsp + 0x2c], 0
je 0x10011133
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x10011169
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1003f0b8]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1003f0b8], rsi
jne 0x100110f0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x10011145
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x100111bf
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x10011138
mov edi, dword [rsp + 0x28]
jmp 0x10011145
mov edi, dword [rsi + 0x18]
jmp 0x10011143
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.10011230
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x30], 0
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.10002130
ud2
mov qword [rsp + 0x30], 0
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.100112a0
ud2
Function at 0x100128d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x10035248]
test ecx, ecx
je 0x10012979
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x100128fc
cmp qword [rax], 0
je 0x100128fc
add rax, 8
jmp 0x10012973
mov ecx, dword [0x10035248]
test ecx, ecx
je 0x1001298c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x10012971
mov rsi, rax
test rax, rax
jne 0x1001295c
mov ecx, 0x18
mov edx, 8
call fcn.100082e0
test rax, rax
je 0x100129af
mov rsi, rax
mov qword [rax], 0
lea rax, [0x10035230]
mov qword [rsi + 0x10], rax
mov ecx, dword [0x10035248]
test ecx, ecx
je 0x1001299f
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rax, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], 0
jmp 0x10012973
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x10035230]
call fcn.10011090
mov ecx, eax
jmp 0x100128e5
lea rcx, [0x10035230]
call fcn.10011090
mov ecx, eax
jmp 0x1001290c
lea rcx, [0x10035230]
call fcn.10011090
mov ecx, eax
jmp 0x10012954
mov ecx, 0x18
mov edx, 8
call fcn.100019f0
ud2
Function at 0x10015680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x100156b0
test ecx, ecx
jne 0x10015700
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x100156bc
test ecx, ecx
jne 0x10015700
mov rcx, rdi
call fcn.10015560
movzx eax, al
test bpl, bpl
jne 0x10015707
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x100156f3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x10015878]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x100156f3.2
xor eax, eax
test bpl, bpl
je 0x100156cc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x10015859
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1001573a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x100157b9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x10015780
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1001579b
inc rax
dec rdi
cmp rax, 1
jne 0x10015760
jmp 0x100157b9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1001579b
cmp ebx, 0x5c
je 0x1001579b
inc rax
dec rdi
cmp rax, 1
jne 0x10015780
jmp 0x100157b9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x10015867
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x100157e3
mov al, 9
cmp rdx, 2
je 0x100157e7
cmp rdx, 1
jne 0x100157f7
cmp byte [r8], 0x2e
jne 0x100157f7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x100157f7
mov al, 0xa
jmp 0x100157f7
cmp byte [r8], 0x2e
jne 0x100157f7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x100156f3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x100156f3.2
mov ecx, 2
jmp case.0x100156f3.2
lea r8, [0x10039570]
call fcn.10002a90
ud2
lea r8, [0x10039588]
call fcn.10002a90
ud2
Function at 0x10033a00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x1003f6e4]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x10033b20
mov rax, qword [0x1003f6e8]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x10033a4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x10033b06
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x10033a30
mov rcx, rsi
call fcn.10034640
test rax, rax
mov r12, rax
je 0x10033b58
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x1003f6e8]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.10034790
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x1003f6e8]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x10033b3b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x10033aff
sub eax, 0x40
and eax, 0xffffffbf
je 0x10033aff
add rbx, qword [0x1003f6e8]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10033b27
add dword [0x1003f6e4], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.ntdll.dll_memcpy
xor ebx, ebx
jmp 0x10033a57
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.10033990
mov rax, qword [0x1003f6e8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.10033990
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.10033990
nop
nop dword [rax + rax]

Function at 0x100342b0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1003f9c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1003f9a0]
test rbx, rbx
je 0x10034304
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x100342fb
test rsi, rsi
je 0x100342fb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x100342e0
lea rcx, [0x1003f9c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x10034640
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1003ae10]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x10034660
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.10034520
test eax, eax
je 0x10034658
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x100346bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x100346b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x10034658
add rdx, 0x28
cmp rdx, r9
jne 0x100346a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x1400086e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140008741
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140008700
mov ecx, dword [r9]
jmp 0x140008828
cmp ecx, 0x4e0
jb 0x140008828
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140008760
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400087b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14000d6a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movups xmm3, xmmword [0x14008ae80]
pextrw eax, xmm3, 7
movups xmmword [rsp + 0x40], xmm3
test ax, ax
je 0x14000d7f3
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000d7b1
movdqa xmm2, xmmword [0x1400937e0]
movdqa xmm4, xmmword [0x140093860]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140093810]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400937f0]
paddw xmm2, xmmword [0x140093820]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140093810]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140093820]
xorps xmm2, xmm0
movq qword [rsp + 0x48], xmm2
jmp 0x14000d7f3
lea r8, [rsp + 0x40]
xor ecx, ecx
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x35
xor word [r8 - 2], ax
cmp ecx, 8
jl 0x14000d7c0
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000d839
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x58
ret
xor al, al
add rsp, 0x58
ret
Function at 0x14000f4f0
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r12
push r13
mov eax, 0x1070
call fcn.140077d60
sub rsp, rax
mov rax, qword [0x1400a2080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r12, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x14000f53c
mov rdx, rbp
jmp 0x14000f650
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.14000e0d0
test al, al
je 0x14000f534
mov qword [rsp + 0x1068], rsi
lea rdx, str.PAGE
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r14
mov qword [rsp + 0x1050], r15
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x14000f580
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r15, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r15, rax
test r14d, r14d
je 0x14000f625
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r15 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000f5ee
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x14000f5e0
cmp rdi, rax
je 0x14000f5fe
inc esi
cmp esi, r14d
jae 0x14000f625
lea rdx, str.PAGE
jmp 0x14000f5c0
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x14000f625
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x40]
add rdx, rax
je 0x14000f625
test ecx, ecx
je 0x14000f625
lea rax, [rsp + 0x40]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x14000f628
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r14, qword [rsp + 0x1058]
mov r15, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.14000f3e0
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400771f0
add rsp, 0x1070
pop r13
pop r12
pop rbp
ret

Function at 0x140010060
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 0x140010088
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 0x1400100ae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400100b0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle fcn.140010109
test ecx, ecx
jle 0x1400100e9
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 fcn.140010109
mov r9, qword [rdi + 0x80]
test r9, r9
je fcn.140010109
mov r8, rbx
mov edx, 1
mov rcx, r15