joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009178
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r15, rdx
mov rbp, rcx
mov r8, rcx
lea rdx, str.Finding_volume_name_for_device__ws
mov ecx, 2
mov esi, 0xc000000e
call fcn.14000b134
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor r12d, r12d
mov r14, rax
test rax, rax
jne 0x1400091f9
mov r8, rbp
lea rdx, str.Failed_to_find_volume_name_for__ws
lea ecx, [rax + 2]
mov esi, 0xc0000001
call fcn.14000b134
jmp 0x1400092e1
or rbx, 0xffffffffffffffff
lea rax, [rsp + 0x20]
mov rdi, rbx
inc rdi
cmp word [rax + rdi*2], r12w
jne 0x140009205
mov r8d, 0x104
mov word [rsp + rdi*2 + 0x1e], r12w
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, 0x5c
mov word [rsp + rdi*2 + 0x1e], cx
test eax, eax
je 0x140009264
lea rdx, [rsp + 0x230]
mov rax, rbp
sub rdx, rbp
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140009260
add rax, 2
test r8d, r8d
jne 0x14000924a
test ecx, ecx
je 0x140009281
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x1400092d8
jmp 0x1400091fd
lea r8, [rsp + 0x20]
mov ecx, 2
lea rdx, str.Found_Volume_Name_of__ws
call fcn.14000b134
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x20a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r15], rax
lea rcx, [rsp + 0x20]
inc rbx
cmp word [rcx + rbx*2], r12w
jne 0x1400092b9
lea rdx, [rbx + 1]
mov rcx, rax
lea r8, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
mov esi, r12d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, esi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14001fbe0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400095e0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor r14d, r14d
mov rdi, rax
test rax, rax
jne 0x140009641
mov ebx, 0xc0000001
jmp 0x1400096bc
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x14000964a
mov r8d, 0x104
mov word [rsp + rbx*2 + 0x1e], r14w
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, 0x5c
lea rdx, [rsp + 0x230]
mov r8, rsi
mov word [rsp + rbx*2 + 0x1e], ax
mov rcx, rbp
call fcn.140009318
mov ebx, eax
test eax, eax
js 0x1400096b3
cmp dword [rsi], 1
je 0x1400096b3
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x140009641
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14001fbe0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b588
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14, r8
and qword [rsp + 0x68], rbx
mov edi, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 8]
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
jne 0x14000b5d3
xor edi, edi
lea ebx, [rax + 8]
jmp 0x14000b678
test edi, edi
jne 0x14000b5f8
lea rcx, [rsp + 0x68]
call fcn.14000b6b0
mov edi, eax
test eax, eax
jne 0x14000b5f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000b664
mov r9, qword [rsp + 0x68]
jmp 0x14000b5ff
lea r9, str.S_1_5_80_956008885_3418522649_1831038044_1853292631_2271478464
mov qword [rsp + 0x28], r9
mov r8, r14
mov edx, 0x200
mov qword [rsp + 0x20], r9
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_swprintf_s]
mov rdx, rsi
mov rcx, rbp
call fcn.14000b874
mov edi, eax
test eax, eax
jne 0x14000b664
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 2
je 0x14000b664
cmp eax, 5
je 0x14000b645
add eax, 0xffffffe0
cmp eax, 1
ja 0x14000b64d
mov rcx, rbp
call fcn.140002260
mov r9d, ebx
lea rdx, str.BfspSetSecurityDescriptor__s__failed__Last_Error___x
mov r8, rbp
mov ecx, 4
call fcn.14000b134
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000b688
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
jne 0x14000b694
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14000c0ac
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor r9d, r9d
mov ebp, r8d
mov rbx, rcx
test rcx, rcx
je 0x14000c144
test edx, edx
je 0x14000c144
lea rax, [rcx + 0x10040]
mov edi, edx
lea rsi, [rdi + rcx]
mov ecx, 0x10040
cmp rax, rsi
lea rax, [rbx + 0x40]
cmovbe edi, ecx
add rdi, rbx
cmp rax, rdi
jae 0x14000c144
movsxd rcx, dword [rbx + 0x3c]
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14000c138
lea rax, [rbx + 0xf8]
add rax, rcx
cmp rax, rsi
jae 0x14000c138
cmp dword [rcx + rbx], 0x4550
jne 0x14000c138
mov eax, 0x14c
cmp word [rcx + rbx + 4], ax
jne 0x14000c138
mov rcx, rbx
call fcn.14000c164
mov r9, rax
test rax, rax
jne 0x14000c144
add rbx, rbp
lea rcx, [rbx + 0x40]
cmp rcx, rdi
jb 0x14000c0f6
mov rbx, qword [rsp + 0x30]
mov rax, r9
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c164
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
and qword [r11 - 0x48], 0
and qword [r11 - 0x40], 0
and dword [rsp + 0x24], 0
and qword [r11 - 0x50], 0
or rbx, 1
mov qword [rsp + 0x40], rbx
mov qword [r11 - 0x30], 0x10
mov qword [r11 - 0x28], 1
mov qword [r11 - 0x20], 0
lea r9, [r11 - 0x40]
mov r8d, 3
lea rdx, [r11 - 0x30]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
mov dword [rsp + 0x20], eax
jmp 0x14000c1de
test eax, eax
js 0x14000c243
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
mov dword [rsp + 0x20], eax
jmp 0x14000c209
test eax, eax
js 0x14000c243
cmp dword [rsp + 0x24], 0x5c
jb 0x14000c241
mov rcx, qword [rsp + 0x28]
add rcx, 6
lea rdx, [0x14002bb78]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14000c241
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0x30], eax
jmp 0x14000c243
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001fbe0
add rsp, 0x70
pop rbx
ret

Function at 0x14000c5d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r12d, r8d
mov ebp, edx
mov rsi, rcx
test rcx, rcx
je 0x14000c6a3
test edx, edx
je 0x14000c6a3
lea rax, [rcx + 0x10040]
mov r14d, ebp
lea r15, [rcx + rbp]
mov rdi, rsi
cmp rax, r15
mov ecx, 0x10040
lea rax, [rsi + 0x40]
cmovbe r14d, ecx
add r14, rsi
cmp rax, r14
jae 0x14000c6a3
movsxd rcx, dword [rdi + 0x3c]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14000c697
lea rax, [rdi + 0xf8]
add rax, rcx
cmp rax, r15
jae 0x14000c697
cmp dword [rcx + rdi], 0x4550
jne 0x14000c697
mov eax, 0x14c
cmp word [rcx + rdi + 4], ax
jne 0x14000c697
or dword [rsp + 0x68], 0xffffffff
lea r9, [rsp + 0x68]
mov edx, esi
lea r8, [rsp + 0x50]
sub edx, edi
xor ebx, ebx
and dword [rsp + 0x50], ebx
add edx, ebp
mov rcx, rdi
call qword [sym.imp.imagehlp.dll_CheckSumMappedFile]
test rax, rax
je 0x14000c693
mov eax, dword [rsp + 0x50]
lea ecx, [rbx + 1]
cmp dword [rsp + 0x68], eax
cmove ebx, ecx
test ebx, ebx
jne 0x14000c6a3
add rdi, r12
lea rcx, [rdi + 0x40]
cmp rcx, r14
jb 0x14000c62a
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000c6c4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, str.FVEAPI.DLL
xor r8d, r8d
xor edi, edi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbx], rax
test rax, rax
jne 0x14000c710
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
mov dword [rsi], edi
test eax, eax
cmovle ecx, eax
jmp 0x14000c7db
lea rdx, str.FveGetStatusW
mov dword [rsi], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14000c739
mov ecx, 0x8007007f
jmp 0x14000c7db
mov rcx, qword [rbx]
lea rdx, str.FveOpenVolumeW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14000c72f
mov rcx, qword [rbx]
lea rdx, str.FveAddAuthMethodInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14000c72f
mov rcx, qword [rbx]
lea rdx, str.FveCommitChanges
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14000c72f
mov rcx, qword [rbx]
lea rdx, str.FveCloseVolume
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14000c72f
mov rcx, qword [rbx]
lea rdx, str.FveGetAuthMethodInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x14000c72f
mov rcx, qword [rbx]
lea rdx, str.FveKeyManagement
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x8007007f
mov qword [rbx + 0x38], rax
test rax, rax
cmove edi, ecx
mov ecx, edi
mov rbx, qword [rsp + 0x30]
mov eax, ecx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d0d0
Capabilities:
Copy file
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0x98]
xor edi, edi
mov rsi, rdx
mov r12, rcx
test ebx, 0xffffffe0
je 0x14000d117
lea ecx, [rdi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000d2e4
mov ecx, ebx
mov eax, ebx
and ecx, 1
and eax, 8
mov r15d, ecx
bts r15d, 0xc
test al, al
cmove r15d, ecx
xor edx, edx
mov rcx, r12
call fcn.14000dd00
mov r13, rax
test rax, rax
je 0x14000d2e2
xor edx, edx
mov rcx, rsi
call fcn.14000dd00
mov r14, rax
test rax, rax
je 0x14000d2b5
xor ebp, ebp
mov dword [rsp + 0x28], r15d
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
mov edi, eax
test eax, eax
jne 0x14000d21f
mov ecx, ebx
and ecx, 2
test cl, cl
je 0x14000d21f
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x98], edi
lea r8, [rsp + 0x88]
and dword [rsp + 0x88], edi
lea rdx, [rsp + 0x98]
mov ecx, eax
mov r11d, eax
inc ebp
call fcn.14000d308
test eax, eax
je 0x14000d1d7
cmp ebp, dword [rsp + 0x98]
jae 0x14000d21f
mov edi, dword [rsp + 0x88]
jmp 0x14000d1e1
cmp ebp, 2
jae 0x14000d21f
mov edi, 0xbb8
mov dword [rsp + 0x30], edi
lea r8, str.WdsCopyFileEx:_Failed_to_copy___s__to___s___GLE__0x_x__will_retry_in__u_ms
mov dword [rsp + 0x28], r11d
lea rcx, [0x140036710]
mov r9, r12
mov qword [rsp + 0x20], rsi
mov edx, 0x4000000
call fcn.14000d048
test edi, edi
je 0x14000d15d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000d15d
test edi, edi
je 0x14000d2b5
and ebx, 4
test bl, bl
je 0x14000d2b5
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
test eax, eax
jne 0x14000d2b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r15d, [rdi + 0x1f]
mov ebp, 0x2000000
test eax, eax
lea r8, str.WdsCopyFileEx:_Failed_to_strip_file_attributes_for__s__will_delete._GLE__0x_x
mov ebx, eax
lea rcx, [0x140036710]
cmove ebx, r15d
mov r9, rsi
mov edx, ebp
mov dword [rsp + 0x20], ebx
call fcn.14000d048
mov rcx, rsi
call fcn.14000d694
test eax, eax
jne 0x14000d2ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rsi
lea r8, str.WdsCopyFileEx:_Failed_to_delete__s._GLE__0x_x
test eax, eax
lea rcx, [0x140036710]
mov edx, ebp
cmove eax, r15d
mov dword [rsp + 0x20], eax
call fcn.14000d048
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
je 0x14000d2e2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000db20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, ebx
test rcx, rcx
je 0x14000dba0
cmp bx, word [rcx]
je 0x14000dba0
xor edx, edx
call fcn.14000dd00
mov rsi, rax
test rax, rax
je 0x14000db9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000db63
test al, 0x10
je 0x14000db63
lea edi, [rbx + 1]
jmp 0x14000db80
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0x10b
cmove eax, ecx
mov ecx, 3
cmp eax, 2
cmove eax, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x14000dbad
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000dbc4
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov edi, ebx
test rcx, rcx
je 0x14000dcdd
cmp bx, word [rcx]
je 0x14000dcdd
xor edx, edx
call fcn.14000dd00
mov rsi, rax
test rax, rax
je 0x14000dce8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000dcb5
bt eax, 0xb
jae 0x14000dcae
mov ebp, 0x80
mov rcx, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14000dcb5
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 7]
mov dword [rsp + 0x28], ebp
xor r9d, r9d
mov edx, 0xc0010000
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000dcb5
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 2]
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x60]
mov edx, 0x9c040
mov qword [rsp + 0x20], rbx
mov rcx, rbp
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000dc9b
mov ebx, 1
jmp 0x14000dca3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000dcbd
mov ebx, 1
jmp 0x14000dcbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x14000dcea
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000df28
Capabilities:
Create directory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rcx
mov ebp, ebx
mov qword [rsp + 0x78], rbx
lea r12d, [rbx + 1]
cmp bx, word [rcx]
jne 0x14000df5c
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000e0fd
lea rdx, [rsp + 0x78]
call fcn.14000dd00
mov rsi, rax
test rax, rax
je 0x14000e0eb
lea r8, [rsp + 0x80]
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
mov rcx, rax
call fcn.14000e220
mov r14d, 0x5c
test eax, eax
js 0x14000e05f
cmp dword [rsp + 0x70], r12d
jne 0x14000e02c
mov r14, qword [rsp + 0x80]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r14 + rcx*2], bx
jne 0x14000dfb8
mov rax, qword [rsp + 0x78]
lea rdi, [rax + rcx*2]
test r14, r14
je 0x14000dfe4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r14d, 0x5c
cmp r12d, 1
jne 0x14000e0ae
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
mov rdi, rax
test rax, rax
je 0x14000e075
mov rcx, rsi
mov word [rax], bx
call fcn.14000db20
test eax, eax
jne 0x14000e022
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rdi], r14w
add rdi, 2
jmp 0x14000dff4
mov rdi, qword [rsp + 0x78]
movzx ecx, word [rdi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14000e047
sub cx, 0x41
cmp cx, 0x19
ja 0x14000dfea
mov eax, 0x3a
cmp ax, word [rdi + 2]
jne 0x14000dfea
cmp r14w, word [rdi + 4]
jne 0x14000dfea
add rdi, 8
jmp 0x14000dfea
movzx ecx, ax
mov r12d, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x78]
jmp 0x14000dfea
cmp r12d, 1
jne 0x14000e0ae
mov rcx, rsi
call fcn.14000db20
cmp eax, r12d
je 0x14000e0a7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r12d
je 0x14000e0a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreatePath:_Unable_to_create___s___GLE__0x_x
jmp 0x14000e0bb
mov ebx, 1
jmp 0x14000e0d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreatePath:_Unable_to_create_parent_directory_for___s___GLE__0x_x
mov r9, r15
mov dword [rsp + 0x20], eax
mov edx, 0x3000000
lea rcx, [0x140036710]
mov ebp, eax
call fcn.14000d048
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000e0f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000e810
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, 1
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [rbx + 0x1f]
lea ecx, [rbx + 0x59]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000e84f
xor ebx, ebx
cmp dword [rsp + 0x30], 3
cmovl ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001fbe0
add rsp, 0x50
pop rbx
ret
Function at 0x14000ea84
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov ebp, r8d
mov r15, rdx
lea r9, [rax - 0x28]
xor r8d, r8d
xor edx, edx
mov esi, ecx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x14000eace
test eax, eax
js 0x14000eb4d
mov ebx, 0xc0000001
jmp 0x14000eb4d
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x14000eaf7
mov ebx, 0xc000009a
jmp 0x14000eb4d
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x14000eb35
movzx eax, word [rdi]
add eax, 2
mov dword [r14], eax
cmp eax, ebp
jbe 0x14000eb26
mov ebx, 0xc0000023
jmp 0x14000eb35
mov rdx, qword [rdi + 8]
mov rcx, r15
mov r8d, eax
call sub.msvcrt.dll_memcpy
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14000f334
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
sub edx, 1
je 0x14000f3c7
cmp edx, 1
je 0x14000f364
mov ebx, 0xc000000d
jmp 0x14000f3ec
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rdx, [0x14002c7f0]
call fcn.14000ee38
mov ebx, eax
test eax, eax
js 0x14000f3b6
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0x23000003
mov dword [rsp + 0x30], 0x10
call fcn.14000f738
mov ebx, eax
test eax, eax
js 0x14000f3b6
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000f3ec
call fcn.14000f120
jmp 0x14000f3ec
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea r8d, [r9 + 0x20]
lea ecx, [r9 + 0x5a]
call qword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x14000f3ec
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdi], xmm0
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001fbe0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret