joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013c60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140014a60
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140013cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14002a144]
mov rbx, rcx
test esi, esi
jle 0x140013e00
mov rax, qword [0x14002a148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140013d1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140013da5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140013d00
mov rcx, rbx
call fcn.140014740
mov rdi, rax
test rax, rax
je 0x140013e22
mov rax, qword [0x14002a148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014880
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14002a148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140013e07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140013d9e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140013db0
add dword [0x14002a144], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14002a148]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140013d9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140013c60
nop dword [rax]
xor esi, esi
jmp 0x140013d28
mov rax, qword [0x14002a148]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140013c60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140013c60
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400143b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14002a1a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14002a180]
test rbx, rbx
je 0x14001440c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140014403
test eax, eax
jne 0x140014403
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400143e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140014740
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140018630]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140014760
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140014768
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140014760
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400147bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400147b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140014760
add rax, 0x28
cmp rax, r9
jne 0x1400147a0
xor eax, eax
ret

Function at 0x1400147c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018630]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400147df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400147e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400147df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140014880
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018630]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001489f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400148a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140f870b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140f87237
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 0x140f870e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f870c7
add dl, dl
jne 0x140f870ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f8714e
xor eax, eax
add dl, dl
jne 0x140f870fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140f87205
add dl, dl
jne 0x140f8710e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f8711b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f87128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f87135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140f87142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140f870d6
mov eax, 1
add dl, dl
jne 0x140f8715e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140f8716b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f87153
sub eax, ebx
mov ebx, 1
jne 0x140f871a4
mov ecx, 1
add dl, dl
jne 0x140f87186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f87193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f8717b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f870d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140f871c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140f871cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140f871b5
cmp eax, 0x7d00
jae 0x140f871f3
cmp eax, 0x500
jb 0x140f871ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f870d6
cmp eax, 0x7f
ja 0x140f871f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140f870d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140f8722a
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 0x140f870d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007de0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007e1b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007e40
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007e58
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007e0e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d462]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007f24
test al, 0x10
je 0x140007e24
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007e24
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007ed0
jmp 0x140007e24

Function at 0x14000e590
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400157b0
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e630
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e5cc
jmp 0x14000e5e0
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e5e0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e5c0
jmp 0x14000e617
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e5f5
cmp word [rsi + 2], 0x3a
je 0x14000e617
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e680
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e698
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e6ba
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e5b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e604
xor eax, eax
jmp 0x14000e61c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e617
mov rcx, rbx
call fcn.140007d20
nop
nop word cs:[rax + rax]
nop
Function at 0x140003680
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
movups xmm0, xmmword [0x14004db70]
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.shell32.dll_SHGetKnownFolderPath]
mov rcx, qword [rsp + 0x28]
test eax, eax
je 0x1400036d0
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1400036f1
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140025850
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x140005720
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rsi
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x58]
call fcn.14000a550
xorps xmm0, xmm0
movaps xmmword [rbp + 0xe0], xmm0
movaps xmmword [rbp + 0x110], xmm0
movaps xmmword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0xe0], 0x40
lea rcx, [rbp + 0xe0]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000578f
movups xmm0, xmmword [rbp + 0xe8]
movups xmmword [rbp + 0x68], xmm0
jmp 0x1400057c8
call fcn.140011cb0
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xd8], edx
mov qword [rbp + 0xc8], 1
movups xmm0, xmmword [rbp + 0xe8]
movups xmmword [rbp + 0x68], xmm0
test rax, rax
je 0x1400057c8
lea rcx, [rbp + 0xd0]
call fcn.1400121b0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x130], xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x110], xmm0
movaps xmmword [rbp + 0x100], xmm0
movaps xmmword [rbp + 0xf0], xmm0
movaps xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0x140], 0
lea rcx, [rbp + 0xe0]
mov edx, 0x68
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x140005869
mov r8, qword [rbp + 0x100]
mov rdx, qword [rbp + 0xf0]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rbp + 0x130]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rbp + 0xe8]
sub rdx, r8
cmovb rdx, r9
mov qword [rbp + 0x78], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rbp + 0x80], rax
lea rcx, [rbp - 0x58]
mov dl, 1
mov r8b, 1
call fcn.14000a770
mov byte [rbp + 0xe0], 1
movabs rax, 0x202020202020101
mov qword [rbp + 0xe1], rax
lea rcx, [rbp - 0x58]
lea r9, [rbp + 0xe0]
xor edx, edx
call fcn.14000aeb0
lea rdx, [rbp - 0x58]
mov r8d, 0x120
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
add rsp, 0x1d8
pop rsi
pop rbp
ret
Function at 0x140006870
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 0x1400068b2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400068ba
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400068cb
jmp 0x1400068e2
xor r10d, r10d
jmp 0x14000696d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400068e2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400068f9
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 0x140006919
add r11, r8
jmp 0x140006a49
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400069e2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140006990
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400069ff
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140006a10
jmp 0x140006a2b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x140006a2b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x140006a45
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 0x14000de10
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 0x24]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14000df1d
mov rdi, rax
mov qword [rbp - 0x30], rsi
movsxd rax, dword [rbp - 0x24]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rdi + rax*8]
lea rbx, [rbp - 0x60]
lea r14, [rbp - 0x48]
lea r15, [rbp - 0x20]
mov r12, rdi
jmp 0x14000deb4
add r12, 8
mov rax, qword [rbp - 0x18]
lea rcx, [rsi + rsi*2]
mov rdx, qword [rbp - 0x50]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rax + rcx*8], xmm0
inc rsi
mov qword [rbp - 0x10], rsi
cmp r12, r13
je 0x14000defa
mov byte [rbp - 1], 1
mov rcx, r12
call fcn.140012190
lea rcx, [rax + rdx*2]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rcx
mov word [rbp - 0x38], 0
mov byte [rbp - 1], 1
mov rcx, rbx
mov rdx, r14
call fcn.140004de0
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
jne 0x14000de90
mov rcx, r15
call fcn.140007a40
jmp 0x14000de90
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
test rax, rax
je 0x14000df36
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x30]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx], xmm0
jmp 0x14000df73
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x14000df73
mov byte [rbp - 1], 1
call fcn.140011cb0
mov dword [rbp - 0x38], edx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], 1
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
test rax, rax
je 0x14000df73
lea rcx, [rbp - 0x40]
mov byte [rbp - 1], 0
call fcn.1400121b0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140016070
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 [0x140065181]
mov ecx, 0x5f0
mov edx, 8
call fcn.140003180
test rax, rax
mov qword [rbp - 8], r14
je 0x1400162d9
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 r13d, 1
lock xadd qword [0x140065198], r13
mov r14, r13
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r15, [r14 + rdx]
xor rax, r15
lea r12, [rax + r8]
xor r13, r12
add r14, r9
mov r15, r14
rol r15, 0x20
rol rax, 0x15
xor r14, r10
xor r12, r11
xor r12, rax
add r13, r14
rol r14, 0xd
add r15, r12
xor r14, r13
rol r12, 0x10
xor r12, r15
rol r13, 0x20
add r15, r14
add r13, r12
rol r14, 0x11
xor r14, r15
rol r12, 0x15
rol r15, 0x20
xor r12, r13
xor r13, r11
xor r15, 0xff
add r13, r14
add r15, r12
rol r14, 0xd
xor r14, r13
rol r12, 0x10
rol r13, 0x20
xor r12, r15
add r15, r14
rol r14, 0x11
add r13, r12
xor r14, r15
rol r12, 0x15
xor r12, r13
rol r15, 0x20
add r13, r14
add r15, r12
rol r14, 0xd
xor r14, r13
rol r12, 0x10
rol r13, 0x20
xor r12, r15
add r15, r14
rol r14, 0x11
add r13, r12
xor r14, r15
rol r12, 0x15
xor r12, r13
rol r15, 0x20
add r13, r14
add r15, r12
rol r14, 0xd
xor r14, r13
rol r12, 0x10
xor r12, r15
add r15, r14
rol r14, 0x11
rol r12, 0x15
mov r13, r15
rol r13, 0x20
xor r13, r14
xor r13, r12
cmp r13, r15
je 0x140016130
xor r13, r15
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], r13
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
mov rax, rdx
neg rax
jo 0x1400162c5
jae 0x1400162c5
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.140003190
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.14004bb40
ud2
Function at 0x140022280
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret

Function at 0x1400222c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140022360
jmp 0x14002234f
jae 0x14002242e
cmp r8, 0x201
jae 0x140022360
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400223c6
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14002239e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14004b070
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400223ef
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14002249a
mov r8d, r13d
cmp r12, r8
jne 0x140022340
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400224ce
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14002234f
jmp 0x140022360
cmp r14, r8
jb 0x1400224e8
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140025850
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140022483
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140003190
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14002246e
jmp 0x140022483
lea rcx, [0x140050820]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14004bcf0
jmp 0x1400224fd
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14004c0a0
ud2