joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400034a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400034ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400034ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400034ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400034ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400034ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400034f0
xor al, al
add rsp, 0x28
ret
Function at 0x180001c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ebx, ecx
mov dword [rbp - 0x20], 0x4e52654b
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], 0x32334c65
mov edi, r8d
mov dword [rbp - 0x18], 0x4c6c442e
mov byte [rbp - 0x14], 0
mov dword [rbp - 0x30], 0x6e65704f
mov dword [rbp - 0x2c], 0x636f7250
mov dword [rbp - 0x28], 0x737365
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, edi
xor edx, edx
mov ecx, ebx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18000b370
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret

Function at 0x180001cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x20], 0x4e52654b
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x1c], 0x32334c65
mov dword [rbp - 0x18], 0x4c6c442e
mov byte [rbp - 0x14], 0
mov dword [rbp - 0x30], 0x736f6c43
mov dword [rbp - 0x2c], 0x6e614865
mov dword [rbp - 0x28], 0x656c64
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18000b370
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x180001d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x180036ee0]
lea rcx, [rbp - 0x40]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x40], 0x4e52654b
mov dword [rbp - 0x3c], 0x32334c65
mov dword [rbp - 0x38], 0x4c6c442e
mov byte [rbp - 0x34], 0
mov dword [rbp - 0x20], 0x70616e53
mov dword [rbp - 0x1c], 0x746f6873
mov byte [rbp - 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18000b370
add rsp, 0x60
pop rbp
ret

Function at 0x180001db0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x4e52654b
mov dword [rbp - 0x2c], 0x32334c65
mov dword [rbp - 0x28], 0x4c6c442e
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x54746547
mov dword [rbp - 0x1c], 0x436b6369
mov dword [rbp - 0x18], 0x746e756f
mov word [rbp - 0x14], 0x3436
mov byte [rbp - 0x12], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18000b370
add rsp, 0x50
pop rbp
ret
Function at 0x180002410
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rbp + 0x47], rax
movdqa xmm0, xmmword [0x180036fd0]
lea rcx, [rbp + 7]
xor edi, edi
mov dword [rbp + 7], 0x4e52654b
mov qword [rbp - 0x19], rdi
mov qword [rbp - 1], rdi
mov byte [rbp + 0x13], dil
movdqu xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0xb], 0x32334c65
mov dword [rbp + 0xf], 0x4c6c442e
mov word [rbp + 0x3f], 0x73
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
movdqa xmm0, xmmword [0x180036f90]
lea rcx, [rbp - 0x11]
movdqu xmmword [rbp + 0x17], xmm0
mov rbx, rax
mov dword [rbp - 0x11], 0x4e52654b
mov dword [rbp - 0xd], 0x32334c65
mov dword [rbp - 9], 0x4c6c442e
mov byte [rbp - 5], dil
mov byte [rbp + 0x27], dil
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rbp - 0x19]
mov rcx, rbx
lea edx, [rdi + 0x20]
call rax
test eax, eax
je 0x1800025fd
movdqa xmm0, xmmword [0x180036f00]
lea rcx, [rbp - 0x11]
movdqu xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0x17], 0x61766441
mov dword [rbp + 0x1b], 0x32336970
mov dword [rbp + 0x1f], 0x6c6c642e
mov byte [rbp + 0x23], dil
mov dword [rbp + 0x3f], 0x65756c61
mov word [rbp + 0x43], 0x41
mov dword [rbp - 0x11], 0x4e52654b
mov dword [rbp - 0xd], 0x32334c65
mov dword [rbp - 9], 0x4c6c442e
mov byte [rbp - 5], dil
mov dword [rbp + 7], 0x64616f4c
mov dword [rbp + 0xb], 0x7262694c
mov dword [rbp + 0xf], 0x41797261
mov byte [rbp + 0x13], dil
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x17]
call rax
lea rdx, [rbp + 0x2f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rbp - 1]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call rax
test eax, eax
je 0x1800025fd
mov rax, qword [rbp - 1]
lea rcx, [rbp + 0x17]
movdqa xmm0, xmmword [0x180036f60]
mov rbx, qword [rbp - 0x19]
mov qword [rbp - 0xd], rax
movdqu xmmword [rbp + 0x2f], xmm0
mov dword [rbp - 0x11], 1
mov dword [rbp - 5], 2
mov dword [rbp + 0x17], 0x61766441
mov dword [rbp + 0x1b], 0x32336970
mov dword [rbp + 0x1f], 0x6c6c642e
mov byte [rbp + 0x23], dil
mov dword [rbp + 0x3f], 0x6567656c
mov word [rbp + 0x43], 0x73
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9d, [rdi + 0x10]
mov qword [rsp + 0x28], rdi
lea r8, [rbp - 0x11]
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, rbx
call rax
jmp 0x1800025ff
mov eax, edi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18000b370
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1800067e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18003c080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000680d
xor eax, eax
jmp 0x180006953
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180006847
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180006847
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180006953
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180006946
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000688a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180006899
movsx ecx, dil
jmp 0x1800068ed
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x180006946
cmp eax, 1
jle 0x180006907
cmp eax, 3
jne 0x180006946
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.18000f618
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000694b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180006934
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.180010168
cmp rsi, rax
jne 0x180006946
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x18000694b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18000b370
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180007db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rdi, r9
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x30], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rbx, [rcx + 0x220]
cmp rbx, r8
je 0x180007e03
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180007df7
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.180007080
lea r12, [rbp + 0x240]
cmp r12, rdi
je 0x180007e28
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180007e1c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, r12
call fcn.180007080
mov rdi, qword [rbp + 0x230]
mov r8d, r15d
lea r9, [rbp + 0x100]
mov r11, rbp
sub r11, r9
mov r10d, 0x100
nop word [rax + rax]
mov byte [r11 + r9], r8b
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180007e61
mov rcx, qword [rbx]
mov eax, r8d
cdq
idiv edi
movsxd rax, edx
movzx ecx, byte [rax + rcx]
mov byte [r9], cl
inc r8d
inc r9
cmp r8d, r10d
jl 0x180007e50
mov eax, r15d
mov r8, rbp
movzx r9d, byte [r8]
movzx ecx, byte [r8 + 0x100]
add eax, ecx
add eax, r9d
and eax, 0x800000ff
jge 0x180007ea3
dec eax
or eax, 0xffffff00
inc eax
movsxd rdx, eax
movzx ecx, byte [rdx + rbp]
mov byte [r8], cl
mov byte [rdx + rbp], r9b
inc r8
sub r10, 1
jne 0x180007e82
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov dword [rsp + 0x20], 1
mov ebx, r15d
mov r14, qword [rbp + 0x250]
lea rdi, [rbp + 0x200]
xor r8d, r8d
lea rdx, [0x180036680]
mov rcx, rdi
call fcn.180007080
test r14d, r14d
je 0x180007f90
nop dword [rax]
dec r14d
lea eax, [r15 + 1]
and eax, 0x800000ff
jge 0x180007f17
dec eax
or eax, 0xffffff00
inc eax
movsxd r15, eax
movzx r8d, byte [r15 + rbp]
add ebx, r8d
and ebx, 0x800000ff
jge 0x180007f34
dec ebx
or ebx, 0xffffff00
inc ebx
movsxd rcx, ebx
movzx eax, byte [rcx + rbp]
mov byte [r15 + rbp], al
mov byte [rcx + rbp], r8b
movzx ecx, byte [r15 + rbp]
add rcx, r8
movzx eax, cl
movzx r9d, byte [rax + rbp]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x180007f7f
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180007f74
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180007f87
mov rcx, rdi
call fcn.180007be0
test r14d, r14d
jne 0x180007f00
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180007f9d
mov rbx, qword [rdi]
cmp qword [r12 + 0x18], 0x10
jb 0x180007fa9
mov r12, qword [r12]
sub r12, rbx
nop dword [rax]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180007fbd
mov rcx, qword [rdi]
add rcx, qword [rdi + 0x10]
cmp rbx, rcx
je 0x18000800a
movzx r9d, byte [r12 + rbx]
xor r9b, byte [rbx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180007ffd
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180007fef
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
inc rbx
jmp 0x180007fb0
mov rcx, rsi
call fcn.180007be0
inc rbx
jmp 0x180007fb0
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14678ac10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14678ac1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14678ac2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14678ac15
lea eax, [rcx + 1]
jmp 0x14678ac3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14678ac4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14678ac34
sub eax, 3
jb 0x14678ac6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14678acbd
sar eax, 1
movsxd rbp, eax
jb 0x14678aca4
jmp 0x14678ac7c
add ebx, ebx
jne 0x14678ac7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14678aca4
inc ecx
add ebx, ebx
jne 0x14678ac8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14678aca4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14678ac9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14678ac8c
add ecx, 2
jmp 0x14678aca9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14678abd2
jmp 0x14678ac1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x6786000]
mov eax, dword [rdi]
or eax, eax
je 0x14678ad1d
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x678a49c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14678accd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14678ad17
mov qword [rbx], rax
add rbx, 8
jmp 0x14678aced
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14678ad61
cmp al, 0xef
ja 0x14678ad49
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14678ad29
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14678ad38
mov eax, dword [rdi]
add rdi, 4
jmp 0x14678ad38
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14678ade0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14678ade0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14678add0
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rcx
push rsi
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140006010
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140006052
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000605a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000606b
jmp 0x140006082
xor r10d, r10d
jmp 0x14000610d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140006082
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140006099
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400060b9
add r11, r8
jmp 0x1400061eb
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140006182
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140006130
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400061a0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400061b2
jmp 0x1400061cd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400061cd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400061e7
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140008d50
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x140008dd7
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x140008d9c
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x140008dd7
call fcn.1400169b0
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x140008dd7
lea rcx, [rsp + 0x98]
call fcn.140016a40
test bl, bl
je 0x140008e6e
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x140008e6e
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x14000b7f0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14000b8d0
mov rdi, rax
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r12, [rdi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x20]
mov r15, rdi
jmp 0x14000b887
add r15, 8
mov rax, qword [rbp - 0x18]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rbp - 0x10], r13
cmp r15, r12
je 0x14000b8b6
mov rcx, r15
call fcn.140016990
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14001bb20
mov r13, qword [rbp - 0x10]
cmp r13, qword [rbp - 0x20]
jne 0x14000b860
mov rcx, r14
call fcn.140006b80
jmp 0x14000b860
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
jmp 0x14000b8e7
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140011850
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x14018e181]
mov ecx, 0x5f0
mov edx, 8
call fcn.1400022d0
test rax, rax
mov qword [rbp - 8], r14
je 0x140011ac0
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r12d, 1
lock xadd qword [0x14018e1a8], r12
mov r14, r12
xor r14, rcx
lea r15, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r15
lea r15, [rax + r8]
rol rax, 0x15
add r14, r9
mov r13, r14
xor r13, r10
rol r14, 0x20
xor r12, r15
add r12, r13
rol r13, 0xd
xor r15, r11
xor r13, r12
rol r12, 0x20
xor r15, rax
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r15, r12
xor r13, r14
rol r14, 0x20
xor r12, r11
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r14, 0xff
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
add r14, r15
rol r15, 0x10
xor r15, r14
rol r15, 0x15
xor r13, r12
add r14, r13
rol r13, 0x11
mov r12, r14
rol r12, 0x20
xor r12, r13
xor r12, r15
xor r12, r14
je 0x140011910
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r12
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140011aac
test rdx, rdx
je 0x140011aac
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.1400022e0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.140033b20
ud2