joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140590e35
Capabilities:
Encode data using xor

Disassembly:
and r14w, 0x51e6
movabs r11, 0x6ccf4df04b11508f
add rdx, 0x51f5199d
movabs rbp, 0x34e961f404f1108a
not dx
neg bp
cmp bpl, 0xe6
call fcn.1403b6234
add byte [rax], al
jae 0x140514ebe
jb 0x140514eaf
jo 0x140514ec7
pop rdi
jae 0x140514e51
sub byte [rsi], ch
mov bh, 0xfc
invalid
enter 0xffffffffffff9482, 0x46
ret
movabs eax, dword [0xfcb7b31a9e99eaf5]
outsd dx, dword [rsi]
rcl dword [rcx], 0xd5
lea ebx, [rsi + 0x66]
mov bh, 0x30
cmp byte [r11], cl
pop rdx
mov cl, 0x68
invalid
jae 0x140590e77
jae 0x140590e7d
push rcx
push r14
xor byte [rcx], dh
push rax
push rax
push r14
imul ebp, dword [rdi + 0x73], 0x7361625f
xor dword gs:[rax + 0x41], eax
push r14
xor dh, byte [rcx]
pop rdx
pop rdx
add byte [rdi], cl
jo 0x140370847
invalid
invalid
jb 0x140590e5b
jo 0x140370847
movabs r15, 0x43a74f0165931c72
push rbp
xchg ebx, eax
add dword gs:[rdi - 0x59], ecx
push r13
mov r15, qword [rsp + 0x10]
add qword [rsp + 8], 0xffffffffffdde797
or r14w, 0x4041
jae 0x140514e16
xor dword [rsi - 0x230007c1], 0x56
invalid
fcom qword [rsi + 0x1e]
add dl, byte [rdi + rbp*4]
jne 0x140590e00
jmp 0x140590ed0
adc al, 0xde
push 0x25
jno 0x140590e91
shl esp, 1
jg 0x140590e96
adc al, 0x8d
pop rbx
xchg r11b, bpl
or byte [rbx], ah
xor byte [rbp + 0x1d5d72eb], dl
push 0x2019e414
wait
jmp 0x140590e17
in al, 0x19
and byte [rbx - 0x68ce7f15], bl
xor byte [rcx], 0x97
invalid
mov bpl, 0x48
ja 0x140590f46
push rbp
pop rsi
adc byte [rcx + 0x42], 0x23
outsb dx, byte [rsi]
push rsp
and eax, dword [rsi + riz*4 + 0x32e4ab92]
push rdi
add byte [rax], al
add byte [rax], al
add byte [0x17873d1cf], bh
test byte [rax + 0x349188a7], cl
movabs al, byte [0x3864ab9a16fdec7f]
invalid
test byte [rbp + 0x77], 0xec
rcl ebp, 1
wait
out 0x2d, al
add ebp, dword [rbp + 0x54]
insb byte [rdi], dx
ja 0x140590f56

Function at 0x14059c847
Capabilities:
Encode data using xor

Disassembly:
mov rsi, qword [rsp + 0x20]
movsxd rdx, dword [rsp + 0x40]
mov byte [rsp + 0x10], r9b
jne 0x140382b34
xchg ebp, eax
or al, 0x18
in eax, dx
sbb dword [rdi], edx
insb byte [rdi], dx
out 0xa, eax
push rsi
cwde
cwde
invalid
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001fb10]
mov dword [rax], 1
mov rax, qword [0x14001fb20]
mov dword [rax], 1
mov rax, qword [0x14001fb30]
mov dword [rax], 1
mov rax, qword [0x14001fa60]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000b4c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400400c0]
test rcx, rcx
je 0x14000b4f9
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000b518
mov rcx, qword [0x1400400c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400430e0], 0
jne 0x14000b530
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [0x1400400c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000b4ec
mov edx, 0x414
lea rbp, [rsp + 0x20]
lea rbx, [0x14001e462]
mov qword [rsp + 0x20], 0
lea rsi, [0x140043100]
movq xmm0, rbx
mov rcx, rbp
mov dword [rsp + 0x28], 3
movq xmm6, rsi
mov word [rsp + 0x40], dx
mov rdi, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov r13d, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x30], xmm6
call rdi
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, rsi
call r12
cmp eax, 0xffffffff
je 0x14000b502
test al, 0x10
je 0x14000b502
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
mov qword [rsp + 0x50], rbx
mov rcx, rbp
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 rdi
sub r13d, 1
jne 0x14000b5a0
jmp 0x14000b502

Function at 0x14000f890
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400162d0
sub rsp, rax
mov eax, dword [0x140047100]
mov rsi, rcx
test eax, eax
je 0x14000f950
xor ebx, ebx
lea rdi, [0x140045100]
test eax, eax
jg 0x14000f8cc
jmp 0x14000f8f0
add rbx, 1
cmp dword [0x140047100], ebx
jle 0x14000f8f0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000f8c0
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000f905
cmp word [rsi + 2], 0x3a
je 0x14000f8dc
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f9a0
movsxd rbx, dword [0x140047100]
cmp ebx, 0x3ff
jg 0x14000f8dc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140047100], 1
mov rdx, rax
lea rax, [0x140045100]
mov qword [rax + rbx*8], rdx
jmp 0x14000f8dc
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.14000aca0
test al, al
je 0x14000f9b8
movsxd rbx, dword [0x140047100]
mov rcx, rdi
lea rdi, [0x140045100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140047100]
add eax, 1
mov dword [0x140047100], eax
jmp 0x14000f8b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f918
xor eax, eax
jmp 0x14000f8e1
mov rcx, rbx
call fcn.14000b400
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140015e9c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140015f1a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015f11
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015f11
mov rax, qword [rbp - 8]
jmp 0x140015f2f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015ee4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003660
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 0x1400036b0
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1400036d1
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140025830
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x140005700
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.14000a530
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 0x14000576f
movups xmm0, xmmword [rbp + 0xe8]
movups xmmword [rbp + 0x68], xmm0
jmp 0x1400057a8
call fcn.140011c90
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 0x1400057a8
lea rcx, [rbp + 0xd0]
call fcn.140012190
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 0x140005849
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.14000a750
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.14000ae90
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 0x140006850
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 0x140006892
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000689a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400068ab
jmp 0x1400068c2
xor r10d, r10d
jmp 0x14000694d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400068c2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400068d9
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 0x1400068f9
add r11, r8
jmp 0x140006a29
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 0x1400069c2
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 0x140006970
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400069df
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x1400069f0
jmp 0x140006a0b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x140006a0b
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 0x140006a25
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 0x14000ddf0
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 0x14000defd
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 0x14000de94
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 0x14000deda
mov byte [rbp - 1], 1
mov rcx, r12
call fcn.140012170
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.140004dc0
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
jne 0x14000de70
mov rcx, r15
call fcn.140007a20
jmp 0x14000de70
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
test rax, rax
je 0x14000df16
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 0x14000df53
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
jmp 0x14000df53
mov byte [rbp - 1], 1
call fcn.140011c90
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 0x14000df53
lea rcx, [rbp - 0x40]
mov byte [rbp - 1], 0
call fcn.140012190
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140016050
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 0x1400162b9
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 0x140016110
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 0x1400162a5
jae 0x1400162a5
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.14004bb20
ud2
Function at 0x140022260
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 0x1400222a0
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 0x140022340
jmp 0x14002232f
jae 0x14002240e
cmp r8, 0x201
jae 0x140022340
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400223a6
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14002237e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14004b050
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 0x1400223cf
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14002247a
mov r8d, r13d
cmp r12, r8
jne 0x140022320
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400224ae
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14002232f
jmp 0x140022340
cmp r14, r8
jb 0x1400224c8
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140025830
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 0x140022463
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 0x14002244e
jmp 0x140022463
lea rcx, [0x140050820]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14004bcd0
jmp 0x1400224dd
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14004c080
ud2
Function at 0x140029390
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10c8
call fcn.140047560
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1030], xmm6
mov qword [rbp + 0x1028], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp + 0x1020], rcx
mov qword [rbp + 0xfd8], rcx
mov qword [rbp + 0xfe0], rdx
lea rcx, [rbp - 0x50]
mov r8d, 0x1000
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea rbx, [0x1400300b0]
lea r12, [rbp + 0xfb0]
mov rdi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov r15, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
mov r8d, 0x1000
lea rcx, [rbp + 0xfd8]
lea rdx, [rbp - 0x50]
call fcn.14002ffd0
mov r14, rdx
test rax, rax
jne 0x14002952c
test r14, r14
je 0x1400294fc
cmp r14, 0x1000
ja 0x1400295d0
xor r13d, r13d
nop dword [rax + rax]
cmp r13, r14
ja 0x1400295a7
mov r8d, r14d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xff4], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea rax, [rbp + 0xff4]
mov qword [rbp + 0xfc8], rax
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov r9, r12
call rdi
test eax, eax
je 0x1400294f6
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff4], 1
jne 0x1400294c0
cmp dword [rbp + 0xff8], 0
jne 0x1400294fc
mov eax, dword [rbp + 0xffc]
add r13, rax
cmp r13, r14
jne 0x140029460
jmp 0x14002940b
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1020]
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1030]
add rsp, 0x10c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x1400294fc
mov rax, r14
dec rax
mov qword [rbp + 0xfe8], rax
mov rax, qword [r14 - 1]
mov qword [rbp + 0x1000], rax
mov rax, qword [r14 + 7]
mov qword [rbp + 0x1008], rax
mov rax, qword [rax]
test rax, rax
je 0x14002956b
mov rcx, qword [rbp + 0x1000]
call rax
mov rcx, qword [rbp + 0x1000]
mov rax, qword [rbp + 0x1008]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002958b
mov r8, qword [rax + 0x10]
call fcn.140003190
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp + 0xfe8]
call fcn.140003190
jmp 0x1400294fc
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
lea r8, str.std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r14
call fcn.14004c0f0
jmp 0x1400295f9
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
lea r8, str.std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r14
call fcn.14004c080
ud2