joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140192df4
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmm0, xmmword [r9]
lea rax, [0x140028ddc]
movaps xmm1, xmmword [rdx]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x20]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x1c], rax
lea r8d, [r9 + 0x40]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x10], rax
lea ecx, [r8 + 0x79]
mov rax, qword [rbp + 0x30]
mov qword [rbp - 8], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x20], 0x80
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rbp + 0x20]
add rsp, 0x80
pop rbp
ret

Function at 0x140192e7c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmm0, xmmword [r9]
lea rax, [0x140028ddc]
movaps xmm1, xmmword [rdx]
xor r9d, r9d
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x28], rcx
lea rax, [rbp + 0x20]
mov qword [rbp - 0x30], rax
mov ecx, 0x40
lea rax, [rbp - 0x60]
mov dword [rbp - 0x14], r8d
mov qword [rbp - 0x1c], rax
mov r8d, ecx
lea rax, [rbp - 0x50]
mov dword [rbp - 0x20], ecx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x30]
lea ecx, [r8 + 0x79]
mov qword [rbp - 8], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x40], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rbp + 0x20]
add rsp, 0x80
pop rbp
ret

Function at 0x140194860
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
test r8d, r8d
je 0x14019490a
mov r10, qword [rdx]
test r10, r10
je 0x1401948ae
mov rax, qword [0x14045d6d8]
mov r9d, dword [rax]
sub r10, r9
cmp dword [r10 + 8], edi
jne 0x1401948ae
cmp qword [r10], rdi
je 0x1401948ae
mov eax, dword [rdx + 8]
add rax, qword [r10]
jmp 0x14019490c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r14], rax
test rax, rax
je 0x14019490a
movups xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x20], xmm0
test ebp, ebp
je 0x140194905
mov esi, dword [rsp + 0x28]
mov rbx, rdi
mov rcx, qword [rsp + 0x20]
lea edx, [rsi + rdi]
lea r8, [rsp + 0x60]
call fcn.14018d9f4
mov cl, byte [rsp + 0x60]
inc edi
xor cl, byte [rax]
mov rax, qword [r14]
mov byte [rbx + rax], cl
inc rbx
cmp edi, ebp
jb 0x1401948de
mov rax, qword [r14]
jmp 0x14019490c
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140197f5c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
cmp qword [r8], 0
mov r14d, r9d
mov r12, r8
mov sil, dl
mov rdi, rcx
je 0x1401980d4
test r9d, r9d
je 0x1401980d4
mov rbx, qword [rcx + 0x10]
mov r15d, 1
test rbx, rbx
jne 0x140198027
cmp dword [rcx + 8], 2
jne 0x140198022
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14019800d
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.msvcrt.dll_memset
and qword [rbx + 0x90], 0
xor eax, eax
and qword [rbx + 0x98], 0
mov qword [rbx + 0xb0], rax
and qword [rbx + 0xb8], rax
and dword [rbx + 0x58], eax
and dword [rbx + 0x38], eax
mov qword [rbx], rdi
mov dword [rbx + 8], r15d
jmp 0x14019800f
xor ebx, ebx
mov qword [rdi + 0x10], rbx
test rbx, rbx
jne 0x140198027
mov ebx, 0x8007000e
jmp 0x1401980d9
test rbx, rbx
je 0x140198050
mov rcx, rbx
call fcn.1401a5f6c
test sil, sil
mov ebx, eax
mov esi, eax
test eax, eax
jns 0x140198041
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x1401980db
mov ecx, dword [rdi + 4]
sub ecx, r15d
je 0x140198081
cmp ecx, r15d
je 0x140198064
mov ebx, 0xc004d203
jmp 0x1401980d9
movaps xmm0, xmmword [r12]
lea rdx, [rbp - 0x50]
mov r8d, r14d
movdqa xmmword [rbp - 0x50], xmm0
mov rcx, rdi
call fcn.1401a0e18
mov ebx, eax
jmp 0x1401980ce
movaps xmm0, xmmword [r12]
lea rax, [0x14003e31c]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
xor r9d, r9d
movdqa xmmword [rbp - 0x40], xmm0
lea rax, [rbp + 0x40]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
mov ecx, 0xb9
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rdi
lea r8d, [r9 + 0x2c]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x40]
test ebx, ebx
jns 0x1401980e5
jmp 0x1401980d9
mov ebx, 0x80070057
mov esi, ebx
mov ecx, esi
call fcn.14007ac40
xor r15b, r15b
mov ecx, ebx
mov byte [rdi], r15b
call fcn.14007ace8
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140198118
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [rbp + 0x77]
mov r10d, r9d
movaps xmm1, xmmword [r8]
mov r9, rcx
mov rcx, qword [rcx + 0x10]
movaps xmm0, xmmword [rax]
test rcx, rcx
je 0x140198195
mov rax, qword [rbp + 0x7f]
mov r8d, r10d
mov qword [rsp + 0x20], rax
test dl, dl
je 0x14019817c
lea r9, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm1
call fcn.1401a6074
mov ebx, eax
test eax, eax
jns 0x140198207
mov ecx, eax
jmp 0x140198202
lea r9, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
call fcn.1401a67c8
jmp 0x14019816b
lea rax, [0x14003dc9c]
mov qword [rbp + 0x1f], r9
mov qword [rbp + 0xf], rax
xor r9d, r9d
lea rax, [rbp + 0x57]
movdqa xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x17], rax
movzx eax, dl
lea rdx, [rbp + 7]
inc eax
movdqa xmmword [rbp - 9], xmm1
shl eax, 6
lea r8d, [r9 + 0x40]
mov dword [rbp + 0x27], eax
lea ecx, [r8 + 0x79]
lea rax, [rbp - 9]
mov qword [rbp + 7], 3
mov qword [rbp + 0x2b], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x37], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x33], r10d
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x57]
test ebx, ebx
jns 0x140198207
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x140199a2c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rcx, rdx
call fcn.1401999dc
test eax, eax
js 0x140199aba
movzx eax, word [rdi + 6]
mov word [rbx], ax
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x18]
mov r9d, esi
mov r8, rdi
xor edx, edx
call fcn.140199d70
test eax, eax
js 0x140199aba
mov qword [rsp + 0x20], 3
lea rax, [0x140037e5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
xor r9d, r9d
lea r8d, [r9 + 0x28]
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rsp + 0x78]
jmp 0x140199aba
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140305f10
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov r14, qword [rbp + 0x77]
mov r12, r9
and qword [rbp - 0x21], 0
mov r15d, r8d
and dword [rbp + 0x67], 0
mov rdi, rdx
and dword [rbp - 0x39], 0
mov rsi, rcx
cmp dword [r14], r8d
jae 0x140305f5a
mov edi, 0x80049e19
jmp 0x1403060d0
mov rax, qword [rdx]
and qword [rbp - 0x31], 0
and qword [rbp - 0x29], 0
and qword [rbp - 0x19], 0
mov rbx, qword [rax]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x29]
lea rdx, [0x140424ef8]
mov rcx, rdi
call rax
test eax, eax
je 0x140305f9c
mov edi, 0x80049e2f
jmp 0x14030602a
mov rdi, qword [rbp - 0x29]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x30]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea rdx, [rbp - 0x31]
mov rcx, rdi
call rax
mov edi, eax
test eax, eax
js 0x14030602a
mov rdx, qword [rbp - 0x31]
lea r8, [rbp - 0x19]
mov rcx, rsi
call fcn.14030568c
mov edi, eax
test eax, eax
js 0x14030602a
lea rax, [0x14004c35c]
mov qword [rbp - 0x11], 3
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x11]
lea rax, [rbp + 0x77]
mov qword [rbp + 7], rsi
mov qword [rbp - 1], rax
xor r9d, r9d
mov rax, qword [rbp - 0x29]
mov ecx, 0xb9
mov qword [rbp + 0xf], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x17], rax
lea r8d, [r9 + 0x38]
lea rax, [rbp - 0x21]
mov qword [rbp + 0x1f], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x77]
mov rsi, qword [rbp - 0x31]
test rsi, rsi
je 0x140306053
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
and qword [rbp - 0x31], 0
mov rsi, qword [rbp - 0x29]
test rsi, rsi
je 0x140306077
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
test edi, edi
js 0x1403060d0
mov eax, dword [r14]
mov r8d, r15d
mov r9, qword [rbp + 0x7f]
mov rdx, r12
mov rcx, qword [rbp - 0x21]
mov dword [rbp + 0x67], eax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
call fcn.1401701cc
mov edi, eax
test eax, eax
js 0x1403060d0
mov eax, dword [r14]
lea r9, [rbp - 0x39]
mov r8d, dword [rbp + 0x67]
sub eax, r8d
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x21]
mov dword [rbp - 0x39], eax
call fcn.140170560
mov edi, eax
test eax, eax
js 0x1403060d0
mov ecx, dword [rbp + 0x67]
add ecx, dword [rbp - 0x39]
mov dword [r14], ecx
mov rcx, qword [rbp - 0x21]
call fcn.14016f53c
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140004340
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 0x14000439a
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
test dl, dl
lea rax, [0x1400d424a]
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 0x1400043e8
call fcn.140003c10
mov eax, 1
add rsp, 0x90
pop rbx
ret
call fcn.140003c10
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x140004660
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 0x1400046d3
mov rcx, qword [rcx]
lea rax, [rsi + 0x18]
jmp 0x1400046d7
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 0x1400046f4
mov rcx, qword [rdi]
mov r14, rax
lea rax, [0x1400d424a]
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 0x140004760
test r13b, r13b
je 0x140004752
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 0x1400047a4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14000479c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000481f
mov rcx, r8
lea rbp, [rdi + 0x18]
call fcn.14008f498
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 0x1400047ed
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400047e5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000481f
mov rcx, r8
call fcn.14008f498
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 0x140004830
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
lea r8, [0x1400d42ec]
lea rcx, [rsp + 0x48]
call fcn.1400024e0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000498b
test byte [rsp + 0x70], 0x10
jne 0x14000496b
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400048e0
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.140002630
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004925
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rbx + 8], 0x20
jmp 0x140004937
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.140002900
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000496b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049c6
call fcn.14008f498
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400048b3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400049d2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14008f498
movdqa xmm0, xmmword [0x1400d44e0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140004a1b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004a16
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004a45
mov rcx, r8
call fcn.14008f498
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbx
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005380
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.14008f810
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea ecx, [rbx + 0x40]
call fcn.14008f45c
mov rbp, 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 [0x1400d4308]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400d4318]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x1400d4328]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], bl
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea edx, [rbx + 1]
nop dword [rax]
nop word [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 0x140005420
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
test rsi, rsi
je 0x14000550b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1410], rax
movzx ebx, byte [rsp + 0x1410]
lea rcx, [rsp + 0x1410]
call fcn.140005620
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x2f
ja 0x1400054b8
nop word [rax + rax]
lea rcx, [rsp + 0x1410]
call fcn.140005620
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x30
jb 0x1400054a0
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rbp]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400054f0
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400054e5
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005501
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140003210
sub rsi, 1
jne 0x140005482
mov edx, 0x40
mov rcx, rbp
call fcn.14008f498
mov rax, rdi
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005620
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140005681
lea r8, [r9 + 8]
nop dword [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 0x140005640
mov ecx, dword [r9]
jmp 0x14000576b
cmp ecx, 0x4e0
jb 0x14000576b
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]
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 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400056a0
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 0x1400056f0
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 0x1400088f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140008950
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140008905
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.1400058d0
call fcn.140008950
mov byte [rax + 8], 1
call fcn.140008950
mov ecx, 0x1388
mov byte [rax + 9], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
jmp fcn.140005610

Function at 0x140008ae0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140008950
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140008af5
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.1400058d0
call fcn.140008950
mov byte [rax + 8], 1
call fcn.140008950
mov ecx, 0x2710
mov byte [rax + 9], 0
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
jmp fcn.140005610
Function at 0x140009930
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400099f9
cmp byte [rcx + 0x71], 0
je 0x1400099f9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400099ec
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400099a8
sub eax, 1
je 0x1400099ac
cmp eax, 2
jne 0x1400099ec
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1400099da
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400099ec
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret