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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
test rdx, rdx
jne 0x1401260e8
lea r8, str.wszfilePath___NULL
mov edx, 0xac
lea rcx, str.base_stor_blbengine_blbengutils_filelogger.cpp
call fcn.1400906e0
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x68], 0
mov eax, 0xfeff
and qword [rsp + 0x70], 0
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
lea r8d, [r9 + 3]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [r14], rax
cmp rax, 0xffffffffffffffff
jne 0x14012619e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140126152
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea rdi, [0x140173048]
cmp rcx, rdi
je 0x140126304
test byte [rcx + 0x1c], 1
je 0x140126304
cmp byte [rcx + 0x19], 2
jb 0x140126304
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161168]
mov edx, 0xb
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.1400151b8
jmp 0x140126304
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140126470
mov ebx, eax
test eax, eax
jns 0x1401261f9
mov rcx, qword [0x140173048]
lea rdi, [0x140173048]
cmp rcx, rdi
je 0x140126304
test byte [rcx + 0x1c], 1
je 0x140126304
cmp byte [rcx + 0x19], 2
jb 0x140126304
mov edx, 0xc
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161168]
call fcn.14000c354
jmp 0x140126304
cmp qword [rsp + 0x70], 0
lea rdi, [0x140173048]
jne 0x1401262d4
mov rcx, qword [r14]
lea r9, [rsp + 0x68]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x60]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140126288
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140126250
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea rdi, [0x140173048]
cmp rcx, rdi
je 0x140126304
test byte [rcx + 0x1c], 1
je 0x140126304
cmp byte [rcx + 0x19], 2
jb 0x140126304
mov edx, 0xd
mov r9d, ebx
jmp 0x1401261e4
cmp dword [rsp + 0x68], 2
je 0x1401262a7
lea r8, str.dwBytesWritten__sizeof_wchUnicodeBOM_
mov edx, 0xe4
lea rcx, str.base_stor_blbengine_blbengutils_filelogger.cpp
call fcn.1400906e0
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140126304
test byte [rcx + 0x1c], 1
je 0x1401262db
cmp byte [rcx + 0x19], 4
jb 0x1401262db
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161168]
mov edx, 0xe
call fcn.14000c328
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x140126304
test byte [rcx + 0x1c], 1
je 0x140126304
cmp byte [rcx + 0x19], 4
jb 0x140126304
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161168]
mov edx, 0xf
mov r9, rsi
call fcn.140015150
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1401337c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, r9
mov r15b, r8b
mov r12, rdx
mov r14, rcx
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x14013381c
test byte [rcx + 0x1c], 1
je 0x14013381c
cmp byte [rcx + 0x19], 4
jb 0x14013381c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162558]
mov edx, 0xc
call fcn.14000c328
and qword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor eax, eax
xor esi, esi
mov qword [rbp + 0x10], rax
xor r8d, r8d
mov rcx, qword [r14]
xor edx, edx
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140133874
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14013395a
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14013395a
mov r8d, 2
lea rcx, [rsp + 0x20]
mov edx, edi
call fcn.14000d5bc
mov ebx, eax
test eax, eax
js 0x14013392d
mov rcx, qword [r14]
mov r8d, edi
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x1401338cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140133932
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140133932
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140091518
mov ebx, eax
test eax, eax
js 0x140133926
test rdi, rdi
je 0x1401338f4
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor edi, edi
mov rsi, qword [rsp + 0x60]
mov rdx, rbp
mov rcx, rsi
call fcn.140091f50
mov ebx, eax
test eax, eax
js 0x140133932
mov rcx, qword [r12]
lea rdx, [rbp + 8]
xor r8d, r8d
call fcn.140091bf0
mov ebx, eax
test eax, eax
js 0x140133932
mov byte [rbp + 0x10], r15b
jmp 0x140133932
mov rsi, qword [rsp + 0x60]
jmp 0x140133932
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x140133946
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x14013395a
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140133987
test byte [rcx + 0x1c], 1
je 0x140133987
cmp byte [rcx + 0x19], 4
jb 0x140133987
mov rcx, qword [rcx + 0x10]
lea r8, [0x140162558]
mov edx, 0xd
call fcn.14000c328
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140134598
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov byte [rdx], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
jne 0x1401345b8
mov byte [rbx], 1
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1401345c8
Capabilities:
Enumerate disk volumes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
or rbp, 0xffffffffffffffff
and qword [rsp + 0x30], rbx
xor sil, sil
mov byte [r8], bl
mov r14, r8
mov r15, rcx
test dl, 1
je 0x1401346f8
lea rcx, [rsp + 0x30]
call fcn.140099294
mov ebx, eax
test eax, eax
jns 0x14013464b
mov ecx, 0xc0000452
call fcn.14002a840
cmp ebx, eax
je 0x140134647
mov ecx, 0xc0000451
call fcn.14002a840
cmp ebx, eax
je 0x140134647
mov ecx, 0xc000003a
call fcn.14002a840
cmp ebx, eax
jne 0x140134669
xor ebx, ebx
jmp 0x140134666
mov rdx, qword [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140134666
mov sil, 1
mov byte [r14], sil
lea rsi, [0x140173048]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
cmp rbp, 0xffffffffffffffff
je 0x140134696
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
nop dword [rax + rax]
test ebx, ebx
jns 0x1401346ce
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1401346ce
test byte [rcx + 0x1c], 1
je 0x1401346ce
cmp byte [rcx + 0x19], 2
jb 0x1401346ce
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x17
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.1400151b8
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edi, 0x104
lea rcx, [rsp + 0x40]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140134772
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x14013475c
test byte [rcx + 0x1c], 1
je 0x14013475c
cmp byte [rcx + 0x19], 2
jb 0x14013475c
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x16]
mov r9d, eax
lea r8, [0x1401626e8]
call fcn.14000c47c
test ebx, ebx
jle 0x140134670
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140134670
mov rdx, r15
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140134663
mov r8d, edi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x140134772
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140134666
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x1401347f7
test byte [rcx + 0x1c], 1
je 0x1401347f7
cmp byte [rcx + 0x19], 2
jb 0x1401347f7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x16
mov r9d, eax
call fcn.14000c47c
test edi, edi
jg 0x140134802
mov ebx, edi
jmp 0x140134670
movzx ebx, di
jmp 0x140134767
Function at 0x14013547c
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x680
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rdi, rcx
mov rcx, qword [0x140173048]
lea r14, [0x140173048]
lea r15, [0x1401626e8]
cmp rcx, r14
je 0x1401354de
test byte [rcx + 0x1c], 1
je 0x1401354de
cmp byte [rcx + 0x19], 4
jb 0x1401354de
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov r8, r15
call fcn.14000c328
movups xmm0, xmmword [0x14014fdf0]
mov ebx, 0x104
lea rcx, [rsp + 0x40]
mov edx, ebx
movdqu xmmword [rdi], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14013555c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x140135546
test byte [rcx + 0x1c], 1
je 0x140135546
cmp byte [rcx + 0x19], 2
jb 0x140135546
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0xc]
mov r9d, eax
mov r8, r15
call fcn.14000c47c
mov rcx, qword [0x140173048]
test ebx, ebx
jle 0x14013565f
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14013565f
mov r8d, ebx
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1401355be
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x140135546
test byte [rcx + 0x1c], 1
je 0x140135546
cmp byte [rcx + 0x19], 2
jb 0x140135546
mov edx, 0xd
lea r9, [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], ebx
call fcn.14003fe00
jmp 0x14013553f
mov r8d, ebx
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x140135622
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x140135546
test byte [rcx + 0x1c], 1
je 0x140135546
cmp byte [rcx + 0x19], 2
jb 0x140135546
mov edx, 0xe
lea r9, [rsp + 0x250]
jmp 0x1401355ac
lea rax, [rsp + 0x460]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], si
jne 0x14013562e
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x460]
call fcn.140094e44
mov ebx, eax
test eax, eax
js 0x140135658
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rdi], xmm0
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x140135681
test byte [rcx + 0x1c], 1
je 0x140135681
cmp byte [rcx + 0x19], 4
jb 0x140135681
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov r8, r15
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140007410
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14013612c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
lea r9, [rsp + 0x68]
mov qword [rdx], r15
mov r14, rdx
xor edx, edx
mov dword [rsp + 0x70], r15d
xor r8d, r8d
mov rbp, rcx
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140136196
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
je 0x140136196
test eax, eax
jg 0x140136188
mov ebx, eax
jmp 0x14013626d
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14013626d
mov ecx, dword [rsp + 0x68]
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1401361bb
mov ebx, 0x8007000e
jmp 0x140136271
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1401361f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14013625e
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14013625e
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], r15w
jne 0x1401361fc
test edi, edi
je 0x14013625e
lea eax, [rdi + 1]
lea rcx, [rax + rax]
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r11, rax
test rax, rax
jne 0x14013622e
mov ebx, 0x8007000e
jmp 0x14013625e
mov r8, rsi
mov rdx, rbx
mov rcx, r11
call fcn.140006530
mov ebx, eax
test eax, eax
js 0x14013624f
lea ecx, [rdi - 1]
mov word [r11 + rcx*2], r15w
mov qword [r14], r11
jmp 0x14013625e
mov rcx, r11
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x1401362ac
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1401362ac
test byte [rcx + 0x1c], 1
je 0x1401362ac
cmp byte [rcx + 0x19], 3
jb 0x1401362ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0xa
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.1400151b8
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140136ef0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push r13
push r14
sub rsp, 0x40
and qword [rdx], 0
mov rsi, rdx
and qword [rax + 0x18], 0
lea rdx, [rax + 0x18]
mov r14, rcx
call fcn.140091dd8
lea r13, [0x140173048]
mov ebx, eax
test eax, eax
js 0x140137080
and qword [rsp + 0x30], 0
mov r8d, 3
and dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x80]
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140136fc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140136fae
test byte [rcx + 0x1c], 1
je 0x140136fae
cmp byte [rcx + 0x19], 2
jb 0x140136fae
mov r9, qword [rsp + 0x80]
lea edx, [rbp + 0x26]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov dword [rsp + 0x20], eax
call fcn.14003fe00
mov rcx, qword [0x140173048]
test ebx, ebx
jle 0x140137087
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140137087
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x78]
and qword [rsp + 0x88], 0
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], 8
mov edx, 0x7405c
mov qword [rsp + 0x20], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x140137066
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x140137057
test byte [rcx + 0x1c], 1
je 0x140137057
cmp byte [rcx + 0x19], 2
jb 0x140137057
mov r9, qword [rsp + 0x80]
lea r8, [0x1401626e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x26
mov dword [rsp + 0x20], eax
call fcn.14003fe00
test ebx, ebx
jle 0x140137071
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140137071
mov rax, qword [rsp + 0x88]
mov qword [rsi], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp qword [rsp + 0x80], 0
je 0x1401370ad
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
test ebx, ebx
jns 0x1401370e1
cmp rcx, r13
je 0x1401370e1
test dword [rcx + 0x1c], 0x200
je 0x1401370e1
cmp byte [rcx + 0x19], 2
jb 0x1401370e1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401626e8]
mov edx, 0x27
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.1400151b8
mov eax, ebx
add rsp, 0x40
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401373f0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea r9, [rax + 0x20]
mov qword [rdx], rbx
mov rdi, r8
mov qword [r8], rbx
mov rsi, rdx
lea r8, [rax + 0x10]
mov rbp, rcx
lea rdx, [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x140137485
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140137472
test byte [rcx + 0x1c], 1
je 0x140137472
cmp byte [rcx + 0x19], 2
jb 0x140137472
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xf]
mov r9, rbp
mov dword [rsp + 0x20], edi
lea r8, [0x1401627a8]
call fcn.14003fe00
test edi, edi
jg 0x14013747a
mov ebx, edi
jmp 0x140137495
movzx ebx, di
or ebx, 0x80070000
jmp 0x140137495
mov rcx, qword [rsp + 0x58]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rdi], rcx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401449e4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x240
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebx, ebx
mov dword [0x1401758e8], ebx
mov dword [0x1401758d8], ebx
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x140144a43
test byte [rcx + 0x1c], 0x20
je 0x140144a43
cmp byte [rcx + 0x19], 4
jb 0x140144a43
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
lea r8, [0x140163500]
call fcn.14000c328
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x105
call sub.msvcrt.dll_memset
mov r8d, 0x105
lea rdx, [rsp + 0x20]
lea rcx, str._PROCESSOR_ARCHITECTURE_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp eax, 0x105
jbe 0x140144a81
mov ebx, 0x8007000e
jmp 0x140144aff
lea rdx, [0x140163460]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140144a9f
mov word [0x140173d60], bx
jmp 0x140144af8
lea rdx, str.amd64
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140144abb
mov eax, 9
jmp 0x140144af1
lea rdx, str.ia64
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140144ad7
mov eax, 6
jmp 0x140144af1
lea rdx, str.ARM64
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140144af8
mov eax, 0xc
mov word [0x140173d60], ax
or dword [0x1401758e8], 1
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x140144b2c
test byte [rcx + 0x1c], 0x20
je 0x140144b2c
cmp byte [rcx + 0x19], 4
jb 0x140144b2c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163500]
mov edx, 0xb
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rsi
ret
Function at 0x140147620
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x140175904], 0
mov rbx, rcx
movups xmm0, xmmword [0x14014fdf0]
movdqu xmmword [rcx], xmm0
je 0x14014765b
mov ecx, dword [0x140175908]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
je 0x14014765b
movups xmm0, xmmword [rax]
movdqu xmmword [rbx], xmm0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140001000
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140014be0
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 0x140014c22
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140014c2a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140014c3b
jmp 0x140014c52
xor r10d, r10d
jmp 0x140014cdd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140014c52
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140014c69
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 0x140014c89
add r11, r8
jmp 0x140014db9
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 0x140014d52
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 0x140014d00
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140014d6f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140014d80
jmp 0x140014d9b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x140014d9b
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 0x140014db5
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