joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005910
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rbx, rdx
mov rdx, qword [rcx]
add rdx, 0x48
call fcn.14000f7a0
mov rsi, rax
xor edi, edi
test rax, rax
je 0x140005aed
mov dword [rbp + 0x67], edi
mov ecx, dword [0x14005a700]
mov dword [rbp + 0x27], ecx
lea rcx, [rax + 0x18]
mov qword [rbp + 0x37], rcx
lea rax, [rbp + 0x67]
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x3f], 4
mov qword [rbp + 0x77], rdi
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInput
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x77]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400059e5
mov dword [rbp - 0x29], 0x45
lea rax, [rbp + 0x27]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x7f], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0xb]
xor r8d, r8d
lea rdx, str.IsThatFreddyFadBear
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400059f8
lea rdx, str.Registry_error_n
lea rcx, [0x1400588c0]
call fcn.14000f530
cmp dword [rbp + 0x67], 0x10
jb 0x140005a14
mov rdx, rsi
call fcn.14000f7a0
mov r8, rax
lea rdx, [rbp + 7]
call fcn.140004810
jmp 0x140005a7a
mov r8, rsi
lea rdx, [rbp - 0x19]
call fcn.140004810
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.14000bd50
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140005a6a
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005b46
call fcn.140017dc8
mov qword [rbp - 9], rdi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140005aa1
mov rcx, rbx
call fcn.14000dba0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140005b2a
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005b40
call fcn.140017dc8
jmp 0x140005b2a
mov dword [rbp + 0x67], 0x3f3f3f5f
mov byte [rbp + 0x6b], 0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
lea rax, [rbp + 0x68]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140005b15
lea rdx, [rbp + 0x68]
mov rcx, rbx
call fcn.14000dba0
mov rax, rbx
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.140023650
int3
call fcn.140023650
int3
Function at 0x14000f7a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x68
mov eax, dword [0x14005a700]
xor ecx, ecx
mov dword [rsp + 0x40], eax
mov r9d, 0xf003f
lea rax, [r11 + 0x10]
mov qword [r11 + 0x10], rcx
mov qword [r11 - 0x20], rax
xor r8d, r8d
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rdx
mov qword [r11 + 8], rcx
lea rdx, str.SOFTWAREMicrosoftInput
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x10], 8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000f866
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x38], rax
lea rdx, str.IsThatFreddyFadBear
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x45
mov qword [rsp + 0x80], rax
mov r9d, 0xb
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x78]
add rsp, 0x68
ret
lea rdx, str.Registry_error_n
lea rcx, [0x1400588c0]
call fcn.14000f530
mov rax, qword [rsp + 0x78]
add rsp, 0x68
ret

Function at 0x14000f890
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x60
xorps xmm0, xmm0
mov qword [r11 + 8], 0
movups xmmword [rdx], xmm0
mov eax, dword [0x14005a700]
mov rbx, rdx
mov dword [rsp + 0x40], eax
mov r9d, 0xf003f
mov qword [r11 - 0x18], r8
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rdx
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInput
mov qword [r11 - 0x48], rax
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x10], 0x10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000f953
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x38], rax
lea rdx, str.IsThatFreddyFadBear
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x45
mov qword [rsp + 0x78], rax
mov r9d, 0xb
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
add rsp, 0x60
pop rbx
ret
lea rdx, str.Registry_error_n
lea rcx, [0x1400588c0]
call fcn.14000f530
mov rax, rbx
add rsp, 0x60
pop rbx
ret
Function at 0x14000fb10
Capabilities:
Set registry value

Disassembly:
movss dword [rsp + 0x18], xmm2
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x68
mov eax, dword [0x14005a700]
mov r9d, 0xf003f
mov dword [rsp + 0x40], eax
xor r8d, r8d
lea rax, [r11 + 0x18]
mov qword [r11 - 0x20], rdx
mov qword [r11 - 0x18], rax
lea rdx, str.SOFTWAREMicrosoftInput
lea rax, [r11 + 8]
mov qword [r11 - 0x10], 4
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x48], rax
mov qword [r11 + 8], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000fbcf
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x38], rax
lea rdx, str.IsThatFreddyFadBear
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x2b3
mov qword [rsp + 0x78], rax
mov r9d, 0xb
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x68
ret
lea rdx, str.Registry_error_n
lea rcx, [0x1400588c0]
call fcn.14000f530
add rsp, 0x68
ret

Function at 0x14000fbf0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x68
mov eax, dword [0x14005a700]
xorps xmm0, xmm0
mov dword [rsp + 0x40], eax
mov r9d, 0xf003f
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rdx
mov qword [r11 - 0x20], rax
lea rdx, str.SOFTWAREMicrosoftInput
lea rax, [r11 + 0x10]
movss dword [rsp + 0x70], xmm0
xor r8d, r8d
mov qword [r11 - 0x48], rax
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x10], 4
mov qword [r11 + 0x10], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000fcbe
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x38], rax
lea rdx, str.IsThatFreddyFadBear
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x45
mov qword [rsp + 0x80], rax
mov r9d, 0xb
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movss xmm0, dword [rsp + 0x70]
add rsp, 0x68
ret
lea rdx, str.Registry_error_n
lea rcx, [0x1400588c0]
call fcn.14000f530
movss xmm0, dword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140012890
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400128f1
lea r8, [r10 + 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 r9, 1
jne 0x1400128b0
mov ecx, dword [r10]
jmp 0x1400129da
cmp ecx, 0x4e0
jb 0x1400129da
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140012910
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140012960
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 0x1400160cc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140057068]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140016110
movzx eax, r14w
jmp 0x140016246
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001614c
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x14001614c
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x140016246
cmp qword [rcx + 0x80], r14
je 0x140016243
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001618a
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 0x1400161b3
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.1400245a4
cmp ax, di
je 0x140016243
movzx edi, si
jmp 0x140016243
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x1400403a0]
test eax, eax
je 0x140016208
sub eax, 1
je 0x140016208
cmp eax, 2
jne 0x140016243
movzx ecx, word [rbp + 7]
jmp 0x140016196
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x140016232
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.140021b14
cmp r14, rax
jne 0x140016243
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x140016246
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140018390
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001e244
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14001e0d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001e0d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001e0d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001e0d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001e0d7
cmp dword [rcx + 0x84], 0xe
jbe 0x14001e0d7
cmp dword [rcx + 0xf8], 0
je 0x14001e0d7
mov ecx, ebx
call fcn.14001e178
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14001df68
cmp dword [rbp + 0x20], 0
je 0x14001e124
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001e12c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001e070
Function at 0x14002e910
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14002e636
call fcn.140021c50
mov dword [rax], 0x16
call fcn.140023630
jmp 0x14002e781
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002e781
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002e781
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14002e665
lock or dword [rcx + 0x14], 0x10
jmp 0x14002e781
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002e679
call fcn.14002fd00
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14002e689
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14002e68c
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14002a88c
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140030d68
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14002e76f
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14002e71d
mov rcx, rbx
call fcn.14002a88c
cmp eax, 0xffffffff
je 0x14002e708
mov rcx, rbx
call fcn.14002a88c
cmp eax, 0xfffffffe
je 0x14002e708
mov rcx, rbx
call fcn.14002a88c
movsxd rdi, eax
lea r14, [0x140059e90]
mov rcx, rbx
sar rdi, 6
call fcn.14002a88c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14002e70f
lea rdx, [0x1400572a0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002e71d
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14002e741
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14002e741
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14002e741
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14002e75f
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14002e76a
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14002e786
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14002e600
Function at 0x14001511c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001519a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015191
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015191
mov rax, qword [rbp - 8]
jmp 0x1400151af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015164
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140a792e0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140a792ea
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140a79313
pop rbp
sub rbp, 0x33
sub rbp, 0xa792e0
sub rsp, 0x20
jmp 0x140a79332
mov rax, 0xa792e0
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x140f6111
xor byte [rax], dl
inc rax
dec rcx
jne 0x140a79351
jmp 0x140a79368
pop rcx
cwde
clc
invalid
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
int3
invalid
invalid
xor eax, 0x167bf512
jge 0x14003f692
jl 0x14003f6d0
jnp 0x14003f6aa
invalid
test dword [rax], eax
invalid
xor al, 0xa8
scasd eax, dword [rdi]
cmp al, 0x5f
cld
invalid
invalid
push rbx
fmul st(1)
invalid
jp 0x14003f716
invalid
adc eax, 0x13c131ae
jg 0x14003f6c9
cwde
adc eax, 0x106c9a6
ja 0x14003f69b
push rbp
sal dword [rsi + 0x1e], 0x43
test dword [rbx + 0x51c7bbf], ebx
jnp 0x14003f710
invalid
jo 0x14003f726
jnp 0x14003f710
add eax, 0x305b2f70
jo 0x14003f726
pop rbx
xor byte [rdx], dl
lodsb al, byte [rsi]
popfq
je 0x14003f775
sub ecx, dword [rcx + rdx]
ficom dword [0xf11971c4]
pop rbx
xor byte [rdx], dl
lodsb al, byte [rsi]
popfq
je 0x14003f775
sub ecx, dword [rcx + rdx]
ficom dword [0xf11971c4]
add rax, 0xffffffff8e49e743
add eax, 0x8e49e743
jp 0x14003f747
add edi, dword [rbx - 0x46]
jnp 0x14003f6cc
stosd dword [rdi], eax
mov esi, 0xbf26502b
sub edx, dword [rax + 0x26]
mov edi, 0x735911ed
sub edx, dword [rax + 0x26]
mov edi, 0x735911ed
mov edi, 0x735911ed
cld
invalid
cmp dword [rcx + 0x5487fc6e], ecx
invalid
invalid
invalid

Function at 0x14000727c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x140007342
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007306
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007303
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020640]
mov rdx, rsi
call fcn.1400123b8
jmp 0x140007306
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072d3
mov rdx, qword [0x14001f118]
lea rcx, [0x140020640]
mov rdi, rdx
inc rdx
mov qword [0x14001f118], rdx
lea edx, [rbx + 0x20]
call fcn.140012400
lea rcx, [0x140021210]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x14001822b
Capabilities:
Write file on windows

Disassembly:
jmp 0x14003ea40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14006f068]
call fcn.1400194d2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14003ea97
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14003eba3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14003eb3c
cmp qword [rbp + 0x28], 0
jle 0x14003eb3c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14003eadc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140019374
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14003eb92
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14003eb92
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140018389
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14002cd30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14006f097]
call fcn.1400194d2
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x14002cd6c
mov rcx, qword [rbp + 0x100]
call fcn.140018410
jmp 0x14002cd87
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x14002cd87
mov rcx, qword [rbp + 0x100]
call fcn.140018a2d
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret