joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018a610
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
sub rsp, 0x30
xor edi, edi
mov r14, r8
mov r15, rdx
mov rsi, rcx
test rdx, rdx
je 0x14018a72c
test r8, r8
je 0x14018a72c
mov eax, dword [rcx + 0x20]
test eax, eax
jne 0x14018a65d
and qword [rdx], rdi
and dword [r8], edi
xor ebx, ebx
jmp 0x14018a738
test byte [rcx + 4], 1
je 0x14018a66d
xor ecx, ecx
call fcn.140082b34
mov eax, dword [rsi + 0x20]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14018a690
test rdi, rdi
jne 0x14018a69a
mov ebx, 0x8007000e
jmp 0x14018a731
cmp qword [rsi + 0x28], 0
lea rax, [rsp + 0x20]
mov r12d, dword [rsi + 0x20]
jne 0x14018a6b7
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
jmp 0x14018a6c1
movups xmm0, xmmword [rsi + 0x28]
movdqu xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax]
xor r13d, r13d
mov rbx, rdi
movq qword [rsp + 0x20], xmm0
psrldq xmm0, 8
movd ebp, xmm0
mov dword [rsp + 0x28], ebp
test r12d, r12d
je 0x14018a71c
movaps xmm1, xmmword [rsp + 0x20]
lea r8, [rsp + 0x68]
movdqa xmm0, xmm1
inc ebp
psrldq xmm0, 8
movq rcx, xmm1
movd edx, xmm0
mov dword [rsp + 0x28], ebp
call fcn.14018f20c
inc r13d
mov cl, byte [rax]
xor cl, byte [rsp + 0x68]
mov byte [rdi], cl
inc rdi
cmp r13d, r12d
jb 0x14018a6e2
mov qword [r15], rbx
xor edi, edi
mov eax, dword [rsi + 0x20]
mov dword [r14], eax
jmp 0x14018a656
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test rdi, rdi
je 0x14018a758
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14018b0c4
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [0x1404524a0], ebx
jne 0x14018b107
lea rcx, [0x140451a20]
call fcn.140077f34
mov ebx, eax
test eax, eax
jns 0x14018b0ef
mov ecx, eax
call fcn.140082a8c
jmp 0x14018b107
xor edx, edx
lea rcx, [0x140451a08]
call fcn.14018cb3c
mov dword [0x1404524a0], 1
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
jns 0x14018b116
mov ecx, ebx
jmp 0x14018b179
mov rbx, qword [0x140452498]
test rbx, rbx
je 0x14018b16c
and qword [rsp + 0x30], 0
lea rax, [0x14003809c]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x38], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.14018ec14
mov ebx, eax
test eax, eax
jns 0x14018b17e
mov ecx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x14018b194
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x1404524a0], 1
jne 0x14018b22c
lea rcx, [0x140451a20]
call fcn.140077dac
or dword [0x1404524a0], 0xffffffff
lea rcx, [0x140451a08]
xor edx, edx
call fcn.14018cb3c
lea rcx, [0x140451a20]
call fcn.14007ae68
cmp dword [0x140451a20], 0
je 0x14018b1f1
lea rcx, [0x140451a28]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x140451a20], 0
mov rcx, qword [0x140451a58]
test rcx, rcx
je 0x14018b20b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x140451a58], 0
mov rcx, qword [0x140451a50]
test rcx, rcx
je 0x14018b225
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x140451a50], 0
and dword [0x1404524a0], 0
mov rbx, qword [0x140452498]
test rbx, rbx
je 0x14018b282
and qword [rsp + 0x30], 0
lea rax, [0x14003809c]
xor r9d, r9d
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
mov qword [rsp + 0x38], rbx
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [0x140452498], 0
add rsp, 0x40
pop rbx
ret
Function at 0x14018ea6c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
movsxd rbp, edx
xor ebx, ebx
mov rsi, rcx
cmp dword [rcx], ebp
je 0x14018ebcf
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x14018eb3b
lea r15, [rbp*2]
movabs rax, 0xaaaaaaaaaaaaaaab
add r15, rbp
xor edi, edi
shl r15, 3
mul r15
shr rdx, 4
cmp rdx, rbp
je 0x14018eadd
mov edi, 0x80070216
mov ecx, edi
call fcn.140082a8c
mov r15, qword [rsp + 0x70]
mov ecx, edi
call fcn.140082b34
test edi, edi
jns 0x14018eaf4
mov ecx, edi
call fcn.140082a8c
jmp 0x14018ebd1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14018eb18
mov rbx, rax
test rax, rax
jne 0x14018eb1f
mov edi, 0x8007000e
jmp 0x14018eae8
test r14d, r14d
je 0x14018eb3b
mov rdx, qword [rsi + 8]
mov rcx, rdi
movsxd rax, r14d
lea r8, [rax + rax*2]
shl r8, 3
call sub.msvcrt.dll_memcpy
mov r12, rbx
cmp ebp, dword [rsi + 4]
jge 0x14018eb9a
mov edi, ebp
mov rdx, qword [rsi + 8]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rax, [rdx + rcx*8]
test rax, rax
je 0x14018eb93
and qword [rsp + 0x30], 0
lea rcx, [0x140049b5c]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
add rax, 8
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018eb45
mov rdi, qword [rsi + 8]
mov r15, rbx
xor ebx, ebx
test rdi, rdi
je 0x14018ebbc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test r15, r15
cmovne rax, r12
mov qword [rsi + 8], rax
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
xor edi, edi
mov ecx, edi
call fcn.140082b34
test rbx, rbx
je 0x14018ebf1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14018ff50
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edi, edx
mov rbx, rcx
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14018ffa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14018ffcc
cmp dword [rsp + 0x24], 5
jb 0x14018ffbc
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x14018ff8b
xor eax, eax
jmp 0x14018ffcc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14018ffb8
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140389660
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x140193c94
Capabilities:
Check for time delay via queryperformancecounter
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor esi, esi
mov ebx, edx
mov qword [rsp + 0x64], 2
mov rdi, rcx
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
test edx, edx
je 0x140193e1d
mov r15, qword [rcx]
test r15, r15
jne 0x140193cff
mov esi, 0xc004d104
jmp 0x140193e1d
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r14d, dword [rsp + 0x3c]
lea r8, [rsp + 0x40]
xor r14d, eax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x3c], r14d
lea rax, [rsp + 0x38]
xor r14d, dword [rsp + 0x38]
mov r9d, 8
mov qword [rsp + 0x50], rax
mov dl, 1
mov rax, qword [0x1404524a8]
mov dword [rsp + 0x58], esi
mov ecx, dword [rax]
lea rax, [rsp + 0x50]
add rax, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1401996a0
test ebx, ebx
je 0x140193e1d
mov r12d, dword [rdi + 8]
mov r13, rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rsp + 0x38]
mov ecx, r14d
xor eax, r14d
mov r14d, eax
mov al, byte [rbp + 0x78]
inc al
rol r14d, cl
mov byte [rbp + 0x78], al
movzx r8d, al
mov al, byte [rbp + 0x79]
add al, byte [rsp + r8 + 0x78]
mov byte [rbp + 0x79], al
mov cl, byte [rsp + r8 + 0x78]
movzx edx, al
mov al, byte [rsp + rdx + 0x78]
mov byte [rsp + r8 + 0x78], al
lea r8, [rsp + 0x30]
mov byte [rsp + rdx + 0x78], cl
mov edx, r12d
movzx ecx, byte [rbp + 0x79]
movzx eax, byte [rbp + 0x78]
mov cl, byte [rsp + rcx + 0x78]
add cl, byte [rsp + rax + 0x78]
movzx eax, cl
mov rcx, r15
mov bl, byte [rsp + rax + 0x78]
xor bl, r14b
call fcn.14018f20c
lea r8, [rsp + 0x31]
mov edx, r12d
mov rcx, r15
mov dil, byte [rax]
xor dil, byte [rsp + 0x30]
xor dil, bl
call fcn.14018f20c
mov cl, byte [rsp + 0x31]
inc r12d
xor cl, dil
mov byte [rax], cl
sub r13, 1
jne 0x140193d7b
lea rcx, [rsp + 0x60]
call fcn.140199624
mov eax, esi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401945d0
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, [0x14005445c]
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 0x140194658
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, [0x14005445c]
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 0x140196074
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 0x14019611e
mov r10, qword [rdx]
test r10, r10
je 0x1401960c2
mov rax, qword [0x1404524a8]
mov r9d, dword [rax]
sub r10, r9
cmp dword [r10 + 8], edi
jne 0x1401960c2
cmp qword [r10], rdi
je 0x1401960c2
mov eax, dword [rdx + 8]
add rax, qword [r10]
jmp 0x140196120
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 0x14019611e
movups xmm0, xmmword [rsi]
movdqu xmmword [rsp + 0x20], xmm0
test ebp, ebp
je 0x140196120
mov esi, dword [rsp + 0x28]
mov rbx, rdi
mov rcx, qword [rsp + 0x20]
lea edx, [rsi + rdi]
lea r8, [rsp + 0x60]
call fcn.14018f20c
inc edi
mov cl, byte [rax]
xor cl, byte [rsp + 0x60]
mov rax, qword [r14]
mov byte [rbx + rax], cl
inc rbx
cmp edi, ebp
jb 0x1401960f2
mov rax, qword [r14]
jmp 0x140196120
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 0x1401996a0
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 0x140199817
test r9d, r9d
je 0x140199817
mov rbx, qword [rcx + 0x10]
mov r15d, 1
test rbx, rbx
jne 0x14019975b
cmp dword [rcx + 8], 2
jne 0x140199784
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 0x14019979b
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
mov qword [rdi + 0x10], rbx
mov rcx, rbx
call fcn.1401a762c
test sil, sil
mov ebx, eax
mov esi, eax
test eax, eax
jns 0x140199775
mov ecx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x14019981e
mov ecx, dword [rdi + 4]
sub ecx, r15d
je 0x1401997c4
cmp ecx, r15d
je 0x1401997a7
mov ebx, 0xc004d203
jmp 0x14019981c
and qword [rdi + 0x10], 0
mov ebx, 0x8007000e
jmp 0x14019981c
movaps xmm0, xmmword [r12]
lea rdx, [rbp - 0x50]
mov r8d, r14d
movdqa xmmword [rbp - 0x50], xmm0
mov rcx, rdi
call fcn.1401a2538
mov ebx, eax
jmp 0x140199811
movaps xmm0, xmmword [r12]
lea rax, [0x140054adc]
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 0x140199828
jmp 0x14019981c
mov ebx, 0x80070057
mov esi, ebx
mov ecx, esi
call fcn.140082a8c
xor r15b, r15b
mov ecx, ebx
mov byte [rdi], r15b
call fcn.140082b34
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 0x14019985c
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 0x1401998d9
mov rax, qword [rbp + 0x7f]
mov r8d, r10d
mov qword [rsp + 0x20], rax
test dl, dl
je 0x1401998c0
lea r9, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 9]
movdqa xmmword [rbp - 9], xmm1
call fcn.1401a7734
mov ebx, eax
test eax, eax
jns 0x14019994b
mov ecx, eax
jmp 0x140199946
lea r9, [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm1
call fcn.1401a7e88
jmp 0x1401998af
lea rax, [0x140054e1c]
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 0x14019994b
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov eax, ebx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
Function at 0x140199e48
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13d, dword [r8]
xor edi, edi
mov r12, r8
mov r15d, edx
mov rbx, rcx
mov ebp, edi
mov esi, edi
test edx, edx
je 0x140199ffe
mov r9, qword [rcx]
test r9, r9
je 0x140199ffe
cmp edx, 0x14
ja 0x140199e9b
mov ecx, 0xc004a003
mov ebx, ecx
jmp 0x14019a005
mov rax, qword [0x1404524a8]
mov ecx, dword [rax]
sub r9, rcx
cmp dword [r9 + 8], edi
jne 0x140199ec4
cmp qword [r9], rdi
je 0x140199ec4
mov ecx, dword [rbx + 8]
add rcx, qword [r9]
jne 0x140199f1e
mov ebx, 0x8007000e
jmp 0x14019a003
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x14]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140199eba
movups xmm0, xmmword [rbx]
mov ebx, edi
mov rdi, rax
movdqu xmmword [rsp + 0x20], xmm0
mov r14d, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
lea edx, [r14 + rbx]
lea r8, [rsp + 0x70]
call fcn.14018f20c
inc ebx
mov cl, byte [rax]
xor cl, byte [rsp + 0x70]
mov byte [rdi], cl
inc rdi
cmp ebx, 0x14
jb 0x140199ef4
mov rcx, rsi
xor edi, edi
cmp byte [rcx + 1], 2
jne 0x140199e8f
cmp word [rcx + 2], di
jne 0x140199e8f
test dword [rcx + 4], 0x400
je 0x140199e8f
mov r8d, dword [rcx + 8]
lea eax, [r8 - 0x31415352]
test eax, 0xfeffffff
jne 0x140199e8f
cmp dword [rcx + 0x10], edi
je 0x140199e8f
mov r9d, 0x31415352
cmp r8d, r9d
jne 0x140199f79
test r13b, 0x40
je 0x140199f79
mov ebx, 0xc004d204
jmp 0x14019a003
mov edx, dword [rcx + 0xc]
test dl, 0x3f
je 0x140199f88
mov ebx, 0xc004d201
jmp 0x14019a003
mov eax, r13d
or eax, 0xa0
cmp r8d, r9d
cmovne eax, r13d
mov r14d, eax
or r14d, 0xe0
cmp r8d, 0x32415352
cmovne r14d, eax
shr edx, 3
lea eax, [rdx - 1]
cmp eax, 0xff
ja 0x140199fd0
test dl, 7
jne 0x140199fd0
lea ebp, [rdx + 0x14]
test r14b, 0x40
je 0x140199fde
imul eax, edx, 7
shr eax, 1
add ebp, eax
jmp 0x140199fde
mov ebx, 0xc004d201
mov ecx, ebx
mov edi, ebx
call fcn.140082a8c
mov ecx, edi
call fcn.140082b34
mov ebx, edi
test edi, edi
jns 0x140199fef
mov ecx, edi
jmp 0x14019a005
cmp ebp, r15d
ja 0x140199e8f
mov dword [r12], r14d
jmp 0x14019a00a
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14019a04c
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x140448b38]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [rsp + 0x1c0], 5
mov r10, r9
mov rbp, rdx
je 0x14019a091
mov eax, 0xc004d104
jmp 0x14019a224
mov esi, dword [r9]
lea r15, [rdx + 0x40]
mov edi, dword [r9 + 4]
mov r12d, SafeArrayGetElement
mov r11d, dword [r9 + 8]
mov ebx, dword [r9 + 0xc]
mov r14d, dword [r9 + 0x10]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.1401a3b44
lea rdx, [rsp + 0x60]
mov r8d, 0x40
lea rcx, [rsp + 0x28]
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rdx], eax
lea rdx, [rdx + 4]
sub r8, 1
jne 0x14019a0d1
lea rdx, [rsp + 0x20]
mov r8, r12
mov eax, ebx
mov ecx, esi
xor eax, r11d
rol ecx, 5
and eax, edi
xor eax, ebx
add eax, ecx
add eax, dword [rdx]
lea rdx, [rdx + 4]
add eax, r14d
mov r14d, ebx
mov ebx, r11d
mov r11d, edi
rol r11d, 0x1e
mov edi, esi
lea esi, [rax + 0x5a827999]
sub r8, 1
jne 0x14019a0f6
lea rdx, [rsp + 0x70]
mov r8, r12
mov eax, ebx
mov ecx, esi
xor eax, r11d
rol ecx, 5
xor eax, edi
add eax, ecx
add eax, dword [rdx]
lea rdx, [rdx + 4]
add eax, r14d
mov r14d, ebx
mov ebx, r11d
mov r11d, edi
rol r11d, 0x1e
mov edi, esi
lea esi, [rax + 0x6ed9eba1]
sub r8, 1
jne 0x14019a132
lea r8, [rsp + 0xc0]
mov r9, r12
mov edx, esi
mov ecx, r11d
xor ecx, edi
rol edx, 5
and ecx, ebx
mov eax, r11d
and eax, edi
xor ecx, eax
add ecx, dword [r8]
lea eax, [r14 + rdx]
add eax, 0x8f1bbcdc
lea r8, [r8 + 4]
add eax, ecx
mov r14d, ebx
mov ebx, r11d
mov r11d, edi
rol r11d, 0x1e
mov edi, esi
mov esi, eax
sub r9, 1
jne 0x14019a16f
lea rdx, [rsp + 0x110]
mov r8, r12
add r14d, 0xca62c1d6
mov r9d, esi
rol r9d, 5
mov eax, ebx
xor eax, r11d
add r9d, r14d
xor eax, edi
mov r14d, ebx
add eax, dword [rdx]
mov ebx, r11d
mov r11d, edi
lea rdx, [rdx + 4]
add r9d, eax
rol r11d, 0x1e
mov edi, esi
mov esi, r9d
sub r8, 1
jne 0x14019a1b6
add dword [r10 + 0x10], r14d
add rbp, 0x40
add dword [r10 + 0xc], ebx
add dword [r10 + 8], r11d
add dword [r10 + 4], edi
add dword [r10], r9d
mov r14d, dword [r10 + 0x10]
mov ebx, dword [r10 + 0xc]
mov r11d, dword [r10 + 8]
mov edi, dword [r10 + 4]
mov esi, dword [r10]
cmp rbp, r15
jb 0x14019a0ae
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140389660
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret