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

Disassembly:
test rcx, rcx
je 0x140005740
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000573f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140005745
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000573f
mov eax, 0
jmp 0x14000573f

Function at 0x140005dc0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005d70
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000f3d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140017f10
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140017f10
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000f440
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409c35f4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000f5d0
mov rax, qword [0x1409c35f8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000f48c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000f515
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000f470
mov rcx, rdi
call fcn.14000ffa0
test rax, rax
mov r12, rax
je 0x14000f622
mov rax, qword [0x1409c35f8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400100e0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409c35f8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000f605
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000f50e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000f580
add dword [0x1409c35f4], 1
cmp ebx, 8
jae 0x14000f541
test bl, 4
jne 0x14000f5e0
test ebx, ebx
je 0x14000f536
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000f5f4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000f536
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000f55a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409c35f8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000f50e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000f3d0
xor esi, esi
jmp 0x14000f497
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000f536
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000f536
mov rax, qword [0x1409c35f8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000f3d0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000f3d0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000fbf0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409c3660]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409c3640]
test rbx, rbx
je 0x14000fc44
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000fc3b
test rsi, rsi
je 0x14000fc3b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000fc20
lea rcx, [0x1409c3660]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000ffa0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409be5b0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001000f
mov rcx, r9
call fcn.14000fe70
test eax, eax
je 0x14001000f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001000d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140010004
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001000f
add rdx, 0x28
cmp rdx, r9
jne 0x14000fff0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001a340
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409ba2c0]
jmp 0x140010dd0

Function at 0x14001a350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409ba2c0]
jmp 0x140010dd0
Function at 0x18067b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18067b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x18067b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067b06f
add dl, dl
jne 0x18067b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067b0f6
xor eax, eax
add dl, dl
jne 0x18067b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18067b1ad
add dl, dl
jne 0x18067b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18067b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18067b07e
mov eax, 1
add dl, dl
jne 0x18067b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18067b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067b0fb
sub eax, ebx
mov ebx, 1
jne 0x18067b14c
mov ecx, 1
add dl, dl
jne 0x18067b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x18067b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18067b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18067b15d
cmp eax, 0x7d00
jae 0x18067b19b
cmp eax, 0x500
jb 0x18067b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067b07e
cmp eax, 0x7f
ja 0x18067b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18067b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18067b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18067b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180001190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180001208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180001208
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800011f5
nop
cmp rbx, rcx
jae 0x180001208
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1800011e0
cmp rbx, rcx
jae 0x180001208
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18000120a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180001220
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rcx, qword [0x180095940]
test rcx, rcx
jne 0x18000127e
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800012a3
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180095940], rax
jmp 0x180001287
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rbx, rax
test rbx, rbx
je 0x1800012a3
xor edx, edx
lea rcx, [0x180083090]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x18000130d
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp ecx, 0x103
ja 0x18000130b
dec eax
cmp word [rsp + rax*2 + 0x20], 0x5c
je 0x1800012e3
lea r8, [0x18008308c]
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
jne 0x18000130b
lea r8, [0x180083090]
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
test eax, eax
jne 0x18000130b
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x18000130d
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800264d0
add rsp, 0x240
pop rbx
ret
Function at 0x180004660
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [0x180083238]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.kernel32.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtOpenFile
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor edx, edx
call fcn.18001bf10
lea rdx, str.NtClose
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor edx, edx
call fcn.18001bf10
lea rdx, str.NtCreateSection
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor edx, edx
call fcn.18001bf10
lea rdx, str.NtQueryAttributesFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor edx, edx
call fcn.18001bf10
lea rdx, [0x180083290]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor edx, edx
call fcn.18001bf10
lea rdx, [0x1800832a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18001bf10

Function at 0x180006970
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180006a43
cmp byte [rcx + 0x71], 0
je 0x180006a43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x180006a3f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180006a04
sub eax, 1
je 0x180006a08
cmp eax, 2
jne 0x180006a3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800264d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180006a36
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180006a3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800069ec
xor al, al
jmp 0x1800069ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800264d0
add rsp, 0x60
pop rbx
ret
Function at 0x180009080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov esi, edx
mov r14, rcx
xor edx, edx
lea rcx, [0x180094ed0]
call fcn.180026438
mov r15d, 1
mov rdi, rax
mov ebx, r15d
test rax, rax
je 0x180009113
mov ebp, esi
shr ebp, 4
lea eax, [rbp + 1]
movzx r12d, ax
nop
xor r9d, r9d
mov r8, r12
mov rcx, rdi
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1800090fb
mov r8d, esi
mov rdx, rax
mov rcx, rdi
call fcn.180001190
test rax, rax
jne 0x180009134
mov edx, ebx
lea rcx, [0x180094ed0]
inc ebx
call fcn.180026438
mov rdi, rax
test rax, rax
jne 0x1800090d0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
test rdi, rdi
je 0x180009113
inc bp
mov r8d, 6
movzx edx, bp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x18000922b
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18000922b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18000922b
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and esi, 0xf
jbe 0x1800091b9
nop word [rax + rax]
cmp rbx, rcx
jae 0x18000922b
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add esi, 0xffffffff
jne 0x1800091a0
cmp rbx, rcx
jae 0x18000922b
cmp word [rbx], 0
je 0x18000922b
mov rax, qword [r14]
mov edx, r15d
movzx edi, word [rbx]
mov ecx, dword [rax - 0xc]
sub edx, dword [rax - 8]
sub ecx, edi
or edx, ecx
jge 0x1800091e3
mov edx, edi
mov rcx, r14
call fcn.180006ff0
movzx r9d, word [rbx]
lea r8, [rbx + 2]
mov rcx, qword [r14]
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wmemcpy_s]
test eax, eax
je 0x18000920f
cmp eax, 0xc
je 0x18000924d
cmp eax, 0x16
je 0x180009237
cmp eax, 0x22
je 0x180009237
cmp eax, 0x50
jne 0x180009242
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x180009237
mov dword [rax - 0x10], edi
xor ecx, ecx
mov rax, qword [r14]
mov word [rax + rdi*2], cx
mov eax, r15d
jmp 0x180009115
xor ecx, ecx
mov r15d, ecx
mov eax, ecx
jmp 0x180009115
mov ecx, 0x80070057
call fcn.180001130
int3
mov ecx, 0x80004005
call fcn.180001130
int3
mov ecx, 0x8007000e
call fcn.180001130
int3
Function at 0x1800120a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
lea r8, [rcx + 9]
mov rdx, rcx
mov rax, rcx
jne 0x1800120d5
cmp rcx, r8
je 0x1800120ce
nop word [rax + rax]
movzx ecx, byte [rdx + 0xa]
xor byte [rax], cl
inc rax
cmp rax, r8
jne 0x1800120c0
mov byte [r8], 1
mov rax, rdx
ret

Function at 0x1800120e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x50], 0
lea r8, [rcx + 0x50]
mov rdx, rcx
mov rax, rcx
jne 0x180012187
xor r10d, r10d
cmp rcx, r8
ja 0x180012160
lea r9, [rcx + 0x52]
movsx ecx, word [rcx + 0x52]
movd xmm1, ecx
lea rcx, [rax + 0x4e]
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
cmp rax, r9
ja 0x18001211f
cmp rcx, r9
jae 0x180012160
nop
movdqu xmm0, xmmword [rax]
add r10, 0x20
xorps xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp r10, 0x20
jne 0x180012120
cmp rax, r8
je 0x180012180
nop word [rax + rax]
movzx ecx, word [rdx + 0x52]
xor word [rax], cx
add rax, 2
cmp rax, r8
jne 0x180012170
mov byte [r8], 1
mov rax, rdx
ret

Function at 0x180012190
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x58], 0
lea r8, [rcx + 0x58]
mov rdx, rcx
mov rax, rcx
jne 0x180012237
xor r10d, r10d
cmp rcx, r8
ja 0x180012210
lea r9, [rcx + 0x5a]
movsx ecx, word [rcx + 0x5a]
movd xmm1, ecx
lea rcx, [rax + 0x56]
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
cmp rax, r9
ja 0x1800121cf
cmp rcx, r9
jae 0x180012210
nop
movdqu xmm0, xmmword [rax]
add r10, 0x20
xorps xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp r10, 0x20
jne 0x1800121d0
cmp rax, r8
je 0x180012230
nop word [rax + rax]
movzx ecx, word [rdx + 0x5a]
xor word [rax], cx
add rax, 2
cmp rax, r8
jne 0x180012220
mov byte [r8], 1
mov rax, rdx
ret

Function at 0x1800124f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
lea r8, [rcx + 0x4a]
mov rdx, rcx
mov rax, rcx
jne 0x180012597
xor r10d, r10d
cmp rcx, r8
ja 0x180012570
lea r9, [rcx + 0x4c]
movsx ecx, word [rcx + 0x4c]
movd xmm1, ecx
lea rcx, [rax + 0x48]
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
cmp rax, r9
ja 0x18001252f
cmp rcx, r9
jae 0x180012570
nop
movdqu xmm0, xmmword [rax]
add r10, 0x20
xorps xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp r10, 0x20
jne 0x180012530
cmp rax, r8
je 0x180012590
nop word [rax + rax]
movzx ecx, word [rdx + 0x4c]
xor word [rax], cx
add rax, 2
cmp rax, r8
jne 0x180012580
mov byte [r8], 1
mov rax, rdx
ret
Function at 0x1800125a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3a], 0
lea r8, [rcx + 0x3a]
mov rdx, rcx
mov rax, rcx
jne 0x1800125d7
cmp rcx, r8
je 0x1800125d0
nop word [rax + rax]
movzx ecx, word [rdx + 0x3c]
xor word [rax], cx
add rax, 2
cmp rax, r8
jne 0x1800125c0
mov byte [r8], 1
mov rax, rdx
ret

Function at 0x1800127d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
lea r8, [rcx + 0x12]
mov rdx, rcx
mov rax, rcx
jne 0x180012807
cmp rcx, r8
je 0x180012800
nop word [rax + rax]
movzx ecx, word [rdx + 0x14]
xor word [rax], cx
add rax, 2
cmp rax, r8
jne 0x1800127f0
mov byte [r8], 1
mov rax, rdx
ret
Function at 0x18001a9e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18001aa2f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180095a70]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18001aa6d
cmp rsi, r14
jb 0x18001aa65
cmp rsi, r15
jae 0x18001aa65
cmp qword [rsi + 8], 0
jne 0x18001ac37
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18001aa50
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18001ab02
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18001aaf9
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001aaf9
cmp dword [rsp + 0x40], 0x10000
je 0x18001ab7b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18001aaf9
sub rbx, rbp
cmp rbx, r14
jae 0x18001aac0
test rsi, rsi
jne 0x18001abe0
cmp rdi, r15
ja 0x18001ac1f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18001ac1f
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001ac1f
cmp dword [rsp + 0x40], 0x10000
je 0x18001abb1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18001ab32
jmp 0x18001ac1f
test rbx, rbx
je 0x18001aaf9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001abe0
cmp rbx, r14
jae 0x18001aaa0
jmp 0x18001ab02
test rdi, rdi
je 0x18001ac1f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001abe0
cmp rdi, r15
jbe 0x18001ab10
jmp 0x18001ac1f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18001abf0
mov rax, qword [0x180095a70]
mov qword [rsi], rax
mov qword [0x180095a70], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800264d0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18001b650
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18001b79f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18001b796
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x18001b74c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18001b74c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18001b74c
mov rdx, qword [rdi]
test rdx, rdx
jne 0x18001b70d
mov rcx, qword [0x1800958d0]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x18001b775
lea rbx, [rdi + 0xc]
jmp 0x18001b741
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x18001b741
mov rcx, qword [0x1800958d0]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18001b775
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18001b6b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18001b791
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x18001b791
mov rcx, qword [0x1800958d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800264d0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret