joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401cb5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x14028cce8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
mov r15, r9
xor ecx, ecx
mov rbx, r8
mov rsi, rdx
mov dword [rsp + 0x34], ecx
mov dword [r14 + 0xc], ecx
cmp qword [rdx + 0x18], 8
jb 0x1401cb5fa
mov rdx, qword [rdx]
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r14 + 0x10], eax
test eax, eax
jne 0x1401cb6dc
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x1401cb637
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov al, 1
jmp 0x1401cb6de
mov rdx, qword [rbx]
mov qword [rsp + 0x50], rbp
mov rbp, qword [rbx + 8]
mov rcx, rbp
mov qword [rsp + 0x48], rdi
sub rcx, rdx
mov byte [rsp + 0x30], 0
mov rdi, rax
cmp rax, rcx
jae 0x1401cb660
add rax, rdx
jmp 0x1401cb694
jbe 0x1401cb698
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x1401cb680
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.1400a9d90
jmp 0x1401cb698
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rbp
call fcn.14018fdf0
lea rax, [rdi + rbp]
mov qword [rbx + 8], rax
cmp qword [rsi + 0x18], 8
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
jb 0x1401cb6ac
mov rsi, qword [rsi]
mov rcx, qword [r14]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov r9, r15
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [r14 + 0x10], eax
test eax, eax
je 0x1401cb630
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14018a760
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbx
ret
Function at 0x1401cd880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, rcx
mov qword [rsp + 0x28], rcx
lea rax, vtable.Esg::Encoders::AESImpl.0
mov qword [rcx], rax
mov dword [rcx + 8], 0x1a
add rcx, 0x10
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov eax, dword [r14 + 8]
test al, 8
je 0x1401cd8c9
lea edx, [rdi + 0x20]
jmp 0x1401cd8d2
test al, 4
je 0x1401cd8d8
mov edx, reloc.WS2_32.dll_recv
call fcn.140094e60
nop
lea rax, vtable.Esg::Encoders::AESLegacy.0
mov qword [r14], rax
cmp byte [0x1402947b8], 0
jne 0x1401cda11
mov bl, 1
call fcn.1401d87b0
test al, al
cmove ebx, edi
call fcn.1401d8570
movzx ebx, bl
test al, al
cmove ebx, edi
call fcn.1401d87b0
test al, al
jne 0x1401cd916
xor bpl, bpl
jmp 0x1401cd96e
call fcn.1401d8570
test al, al
jne 0x1401cd924
xor bpl, bpl
jmp 0x1401cd96e
mov edx, edi
movzx r9d, byte [0x140299620]
lea r8, [0x140299720]
lea r10, [0x140299620]
nop dword [rax]
mov eax, edi
cmp r9d, edx
je 0x1401cd95b
nop word [rax + rax]
inc eax
movzx ecx, byte [rax + r10]
cmp ecx, edx
jne 0x1401cd950
mov byte [r8], al
inc edx
inc r8
cmp edx, 0xff
jbe 0x1401cd940
mov bpl, 1
and bpl, bl
mov r9b, 1
mov dword [0x140299820], edi
mov edi, 1
lea rsi, [0x140299824]
nop word [rax + rax]
movzx eax, r9b
mov dword [rsi], eax
mov r10b, 2
movzx r8d, r9b
xor bl, bl
mov r11d, 8
nop word [rax + rax]
movzx ecx, r10b
movzx eax, bl
xor al, r8b
movzx r9d, al
movzx eax, bl
and cl, 1
cmove r9d, eax
movzx eax, r8b
add al, al
movzx edx, al
shr r10b, 1
movzx ebx, r9b
movzx ecx, r8b
movzx eax, dl
xor al, 0x1b
movzx r8d, al
test cl, cl
cmovns r8d, edx
sub r11d, 1
jne 0x1401cd9b0
inc edi
add rsi, 4
cmp edi, 0x3b
jb 0x1401cd990
call fcn.1401d8870
test al, al
je 0x1401cda27
mov byte [0x1402947b8], bpl
test bpl, bpl
je 0x1401cda2d
mov rax, r14
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov byte [0x1402947b8], al
lea rax, str.Tables_failed_to_initialize
mov qword [rsp + 0x20], rax
lea rdx, [0x140289090]
lea rcx, [rsp + 0x20]
call fcn.140190400
int3
Function at 0x1401d8570
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
call fcn.1401d87b0
test al, al
jne 0x1401d8582
add rsp, 0x38
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov ebp, 0x100
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
xor r14d, r14d
mov qword [rsp + 0x20], r15
lea r15, [0x140000000]
nop
movzx r9d, byte [r14 + r15 + 0x299520]
movzx eax, r9b
and al, 0xf1
movzx edi, al
shr al, 4
and dil, 0xf
xor dil, al
movzx eax, r9b
and al, 0xe3
movzx ebx, al
shr al, 4
and bl, 0xf
xor bl, al
movzx eax, r9b
and al, 0xc7
movzx r11d, al
shr al, 4
and r11b, 0xf
xor r11b, al
movzx eax, r9b
and al, 0x8f
movzx r10d, al
shr al, 4
and r10b, 0xf
xor r10b, al
movzx eax, r9b
and al, 0x1f
movzx r8d, al
shr al, 4
and r8b, 0xf
xor r8b, al
movzx eax, r9b
and al, 0x3e
movzx edx, al
shr al, 4
and dl, 0xf
xor dl, al
movzx eax, r9b
and al, 0x7c
and r9b, 0xf8
movzx ecx, al
shr al, 4
and cl, 0xf
xor cl, al
movzx eax, r9b
and al, 0xf
shr r9b, 4
xor al, r9b
movzx eax, al
mov r9d, eax
and eax, 3
shr r9d, 2
xor r9d, eax
movzx eax, cl
mov ecx, eax
and eax, 3
shr ecx, 2
xor ecx, eax
movzx eax, dl
mov edx, eax
and eax, 3
shr edx, 2
xor edx, eax
movzx eax, r8b
mov r8d, eax
and eax, 3
shr r8d, 2
xor r8d, eax
movzx eax, r10b
mov r10d, eax
and eax, 3
shr r10d, 2
xor r10d, eax
movzx eax, r11b
mov r11d, eax
and eax, 3
shr r11d, 2
xor r11d, eax
movzx eax, bl
mov ebx, eax
shr ebx, 2
and eax, 3
lea r14, [r14 + 1]
xor ebx, eax
mov esi, r9d
shr esi, 1
and r9d, 1
xor esi, r9d
movzx eax, dil
mov edi, eax
add esi, esi
and eax, 3
shr edi, 2
xor edi, eax
mov eax, ecx
shr eax, 1
and ecx, 1
xor eax, ecx
or esi, eax
mov eax, edx
shr eax, 1
add esi, esi
and edx, 1
xor eax, edx
or esi, eax
mov eax, r8d
shr eax, 1
add esi, esi
and r8d, 1
xor eax, r8d
or esi, eax
mov eax, r10d
shr eax, 1
add esi, esi
and r10d, 1
xor eax, r10d
or esi, eax
mov eax, r11d
shr eax, 1
add esi, esi
and r11d, 1
xor eax, r11d
or esi, eax
mov eax, ebx
shr eax, 1
add esi, esi
and ebx, 1
xor eax, ebx
or esi, eax
mov eax, edi
add esi, esi
shr eax, 1
and edi, 1
xor eax, edi
or esi, eax
xor esi, 0x63
mov byte [r14 + r15 + 0x29961f], sil
sub rbp, 1
jne 0x1401d85b0
mov r15, qword [rsp + 0x20]
mov al, 1
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x1401d87b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov byte [0x140299520], 0
lea rsi, [0x140299521]
mov edi, 1
nop dword [rax]
nop word [rax + rax]
mov ebx, 1
movzx r10d, bl
movzx eax, dil
xor r9b, r9b
mov r11d, 8
nop word [rax + rax]
movzx ecx, r9b
movzx r8d, r10b
xor cl, al
movzx edx, cl
and r8b, 1
movzx ecx, r9b
cmove edx, ecx
movzx ecx, al
add cl, cl
shr r10b, 1
movzx r9d, dl
movzx edx, cl
movzx ecx, al
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx eax, al
cmovns eax, edx
sub r11d, 1
jne 0x1401d8800
cmp r9b, 1
je 0x1401d8847
inc ebx
jmp 0x1401d87e5
mov byte [rsi], bl
inc edi
inc rsi
cmp edi, 0xff
jbe 0x1401d87e0
mov rbx, qword [rsp + 8]
mov al, 1
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1401d8870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
xor r13d, r13d
mov qword [rsp + 0x38], 0x100
lea r8, [0x140000000]
nop dword [rax + rax]
movzx r15d, byte [r8 + r13 + 0x299620]
mov r10d, 8
movzx r14d, byte [r8 + r13 + 0x299720]
movzx ebp, r15b
sar bpl, 7
movzx eax, r15b
add al, al
and bpl, 0x1b
xor bpl, al
movzx r9d, r14b
movzx r12d, bpl
mov al, 0xe
xor r12b, r15b
xor sil, sil
nop dword [rax]
movzx ecx, sil
movzx r8d, r9b
xor cl, al
movzx edx, cl
and r8b, 1
movzx ecx, sil
cmove edx, ecx
movzx ecx, al
add cl, cl
shr r9b, 1
movzx esi, dl
movzx edx, cl
movzx ecx, al
movzx eax, dl
xor al, 0x1b
test cl, cl
movzx eax, al
cmovns eax, edx
sub r10d, 1
jne 0x1401d88e0
movzx r9d, r14b
mov r8b, 9
xor dil, dil
mov r10d, 8
nop dword [rax]
movzx eax, dil
movzx edx, r9b
xor al, r8b
movzx ecx, al
and dl, 1
movzx eax, dil
cmove ecx, eax
movzx eax, r8b
add al, al
shr r9b, 1
movzx edx, al
movzx eax, dl
movzx edi, cl
xor al, 0x1b
movzx ecx, r8b
test cl, cl
movzx r8d, al
cmovns r8d, edx
sub r10d, 1
jne 0x1401d8930
movzx r9d, r14b
mov r8b, 0xd
xor bl, bl
mov r10d, 8
nop
movzx eax, bl
movzx edx, r9b
xor al, r8b
movzx ecx, al
and dl, 1
movzx eax, bl
cmove ecx, eax
movzx eax, r8b
add al, al
shr r9b, 1
movzx edx, al
movzx eax, dl
movzx ebx, cl
xor al, 0x1b
movzx ecx, r8b
test cl, cl
movzx r8d, al
cmovns r8d, edx
sub r10d, 1
jne 0x1401d8980
movzx r9d, r14b
mov r8b, 0xb
xor r11b, r11b
mov r10d, 8
nop
movzx eax, r11b
movzx edx, r9b
xor al, r8b
movzx ecx, al
and dl, 1
movzx eax, r11b
cmove ecx, eax
movzx eax, r8b
add al, al
shr r9b, 1
movzx edx, al
movzx eax, dl
movzx r11d, cl
xor al, 0x1b
movzx ecx, r8b
test cl, cl
movzx r8d, al
cmovns r8d, edx
sub r10d, 1
jne 0x1401d89d0
lea r8, [0x140000000]
movzx eax, bpl
movzx ecx, r12b
mov edx, r15d
shl ecx, 8
or ecx, r15d
mov dword [r8 + r13*4 + 0x29b910], edx
shl ecx, 8
or ecx, r15d
rol edx, 8
shl ecx, 8
or ecx, eax
mov dword [r8 + r13*4 + 0x29bd10], edx
mov dword [r8 + r13*4 + 0x299910], ecx
mov eax, r14d
rol ecx, 8
mov dword [r8 + r13*4 + 0x299d10], ecx
rol ecx, 8
mov dword [r8 + r13*4 + 0x29a110], ecx
rol ecx, 8
mov dword [r8 + r13*4 + 0x29a510], ecx
mov ecx, r11d
shl ecx, 8
or ecx, ebx
mov dword [r8 + r13*4 + 0x29c910], eax
shl ecx, 8
or ecx, edi
rol eax, 8
shl ecx, 8
or ecx, esi
mov dword [r8 + r13*4 + 0x29cd10], eax
mov dword [r8 + r13*4 + 0x29a910], ecx
rol ecx, 8
mov dword [r8 + r13*4 + 0x29ad10], ecx
rol ecx, 8
rol edx, 8
rol eax, 8
mov dword [r8 + r13*4 + 0x29b110], ecx
mov dword [r8 + r13*4 + 0x29c110], edx
mov dword [r8 + r13*4 + 0x29d110], eax
rol ecx, 8
rol edx, 8
rol eax, 8
mov dword [r8 + r13*4 + 0x29b510], ecx
mov dword [r8 + r13*4 + 0x29c510], edx
mov dword [r8 + r13*4 + 0x29d510], eax
inc r13
sub qword [rsp + 0x38], 1
jne 0x1401d88a0
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18000b6dd
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push rsi
sub rsp, 0xc8
xor eax, eax
xor edx, edx
mov r8d, edx
mov dword [0x1800ca2f0], 0xd00
mov dword [0x1800ca2f4], 0xa35
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x3c], eax
mov qword [rbp - 0x48], r8
jmp 0x18000b747
mov rax, qword [rbp - 0x50]
lea rcx, [0x180054523]
lea rdx, [0x180054552]
mov r8b, byte [rdx + rax]
mov r9b, byte [rcx + rax]
sub r9b, r8b
mov byte [rbp + rax - 0x30], r9b
add rax, 1
cmp rax, 0xe
mov qword [rbp - 0x50], rax
je 0x18000b7c0
jmp 0x18000b711
mov rax, qword [rbp - 0x48]
mov ecx, dword [rbp - 0x3c]
lea rdx, section..data
imul r8, rax, 0x168
mov r9, rdx
add r9, r8
add r9, 0xc0
imul r8, rax, 0x168
add rdx, r8
add rdx, 0x10
add rax, 1
mov r10d, dword [r9]
xor r10d, dword [rdx]
add r10d, ecx
cmp rax, 0x535
mov ecx, r10d
mov dword [rbp - 0x3c], ecx
mov dword [rbp - 0x54], r10d
mov qword [rbp - 0x48], rax
jne 0x18000b747
mov dword [0x1800ca2f0], 0x125f
xor eax, eax
mov ecx, eax
mov dword [0x1800ca2f4], 0xe59
mov qword [rbp - 0x50], rcx
jmp 0x18000b711
lea rdx, [rbp - 0x30]
mov dword [0x1800ca2f0], 0x2a84
mov dword [0x1800ca2f4], 0xfffff3e5
mov qword [rbp - 0x60], rdx
call fcn.18000c357
mov qword [rbp - 0x68], rax
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
call fcn.18000b16f
xor r8d, r8d
mov ecx, r8d
mov r8d, 0x1000
mov r9d, 4
mov r10d, dword [rbp - 0x54]
mov r11d, r10d
mov edx, r11d
mov dword [0x1800ca2f0], 0x1961
call rax
xor r8d, r8d
mov ecx, r8d
xor r8d, r8d
mov r9d, dword [0x1800ca2f4]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x74], r9d
mov qword [rbp - 0x80], rcx
mov dword [rbp - 0x84], r8d
mov eax, dword [rbp - 0x84]
mov rcx, qword [rbp - 0x80]
mov edx, dword [rbp - 0x74]
lea r8, section..data
imul r9, rcx, 0x168
mov r10, r8
add r10, r9
add r10, 0xc0
mov r11d, dword [r10]
imul r9, rcx, 0x168
mov r10, r8
add r10, r9
add r10, 0x160
mov r9, qword [r10]
imul r10, rcx, 0x168
add r8, r10
add r8, 0x10
mov esi, dword [r8]
add edx, 0xfffff9d2
mov dword [0x1800ca2f0], edx
xor esi, r11d
mov edx, eax
mov r8d, edx
mov r10, qword [rbp - 0x70]
add r10, r8
mov edx, esi
mov r8d, edx
mov qword [rbp - 0x90], rcx
mov rcx, r10
mov rdx, r9
mov dword [rbp - 0x94], eax
mov dword [rbp - 0x98], esi
call fcn.18000c5ae
mov eax, dword [0x1800ca2f4]
mov r11d, eax
add r11d, 0xf76
mov dword [0x1800ca2f0], r11d
mov r11d, dword [rbp - 0x98]
mov esi, dword [rbp - 0x94]
add r11d, esi
mov rcx, qword [rbp - 0x90]
add rcx, 1
cmp rcx, 0x535
mov dword [rbp - 0x74], eax
mov qword [rbp - 0x80], rcx
mov dword [rbp - 0x84], r11d
jne 0x18000b83d
mov dword [0x1800ca2f4], 0x31f
mov rax, qword [rbp - 0x70]
add rax, 0x5b13f
mov rcx, qword [rbp - 0x70]
add rcx, 0x2f738
mov rdx, qword [rbp - 0x70]
mov qword [rbp - 0xa0], rcx
mov rcx, rdx
mov r8d, dword [rbp - 0x54]
mov qword [rbp - 0xa8], rax
call fcn.18000c4e1
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0xa8]
mov qword [rax], rcx
mov qword [rax + 8], 0x12d400
mov dword [0x1800ca2f0], 0x17da
mov rcx, qword [rbp - 0xa0]
mov qword [rax + 0x10], rcx
mov r8d, dword [0x1800ca2f4]
add r8d, 0x739
mov dword [0x1800ca2f4], r8d
mov qword [rax + 0x18], 0x2030
xor eax, eax
add rsp, 0xc8
pop rsi
pop rbp
ret
Function at 0x18000bf29
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov eax, 0x1165
lea rdx, [0x18000bd4f]
mov r8d, dword [0x1800ca2f0]
add r8d, 0x540
mov dword [0x1800ca2f4], r8d
cmp rcx, 0
mov qword [rbp - 8], rcx
mov dword [rbp - 0xc], eax
mov qword [rbp - 0x18], rdx
jne 0x18000bfe4
mov rax, qword [rbp - 0x18]
mov ecx, dword [rbp - 0xc]
cmp word [rax], 0x5a4d
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x24], ecx
jne 0x18000bf9d
mov rax, qword [rbp - 0x20]
add rax, 0x3c
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax]
mov rdx, qword [rbp - 0x20]
cmp dword [rdx + rcx], 0x4550
je 0x18000bfd1
mov dword [0x1800ca2f4], 0xa
mov rax, qword [rbp - 0x20]
add rax, 0xfffffffffffff000
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
and rax, 0xfffffffffffff000
mov ecx, dword [rbp - 0x24]
add ecx, 0x85b
mov dword [rbp - 0xc], ecx
mov qword [rbp - 0x18], rax
jmp 0x18000bf66
mov eax, dword [rbp - 0x24]
mov dword [0x1800ca2f0], eax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x40], rax
jmp 0x18000bfff
mov dword [0x1800ca2f4], 0x10eb
xor eax, eax
mov edx, eax
mov rcx, qword [rbp - 8]
call fcn.18000c057
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
add rsp, 0x60
pop rbp
ret
Function at 0x140001470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400014e4
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x140001510
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400014c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14004d8e0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x1400e03f0], eax
jmp 0x1400014ef
Function at 0x1400030f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140003121
xor eax, eax
jmp 0x14000326b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14000315e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14000315e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14000326b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140003260
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400031a5
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400031b3
movzx ecx, di
jmp 0x140003207
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
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_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003220
sub eax, 1
je 0x140003220
cmp eax, 2
jne 0x140003260
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x140003263
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14000324e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140003260
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004d8e0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003e70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003f45
cmp byte [rcx + 0x72], 0
je 0x140003f45
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140003f41
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_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003f06
sub eax, 1
je 0x140003f0a
cmp eax, 2
jne 0x140003f41
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004d8e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003f38
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 0x140003f41
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140003eee
xor al, al
jmp 0x140003eee
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004d8e0
add rsp, 0x60
pop rbx
ret
Function at 0x1400055e0
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 0x140005641
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 0x140005600
mov ecx, dword [r9]
jmp 0x14000572b
cmp ecx, 0x4e0
jb 0x14000572b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140005660
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400056b0
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 0x14000fa40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.14004ea40
sub rsp, rax
mov rax, qword [0x14009c040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
movaps xmm0, xmmword [0x1400902b0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [0x1400902c0]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm0, xmmword [0x1400902d0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [0x1400902e0]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm0, xmmword [0x1400902f0]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x140090300]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x140090310]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x140090320]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x140090328]
mov dword [rbp - 0x48], eax
movzx eax, word [0x14009032c]
mov word [rbp - 0x44], ax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov edx, 1
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x3c], ecx
inc rdx
cmp rdx, 0x270
jb 0x14000fb20
mov dword [rbp - 0x40], 0x270
lea rax, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x14000fb52
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov dword [rsp + 0x20], 1
mov r14d, 0x10
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
test rsi, rsi
jne 0x14000fbad
lea rcx, [rbp - 0x40]
call fcn.1400055e0
mov ebx, eax
shl rbx, 0x20
lea rcx, [rbp - 0x40]
call fcn.1400055e0
mov eax, eax
or rbx, rax
jmp 0x14000fbbd
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400053f0
mov rbx, rax
movzx r9d, word [rsp + rbx*2 + 0x40]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000fbf1
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 7
jbe 0x14000fbe4
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x14000fbf9
mov rcx, rdi
call fcn.140004940
sub r14, 1
jne 0x14000fb80
mov rax, rdi
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.14004d8e0
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret