joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b290
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27b0]
mov eax, 0x28b0
call fcn.1400a6360
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x28e8], rbx
mov qword [rsp + 0x28f0], rsi
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rbp + 0x27a0], rax
mov rbx, rcx
xor r12d, r12d
mov esi, r12d
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x7a0]
call fcn.1400a7960
mov eax, 0x22
mov word [rbp + 0x7a0], ax
test rbx, rbx
je 0x14002b4ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x14002b4ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xffa
jge 0x14002b4ff
mov rdx, rbx
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1400f897c]
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1400f8b90]
lea rcx, [rsp + 0x30]
call fcn.140002330
nop
call fcn.14002d210
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.14002d2b0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.140002320
test rbx, rbx
je 0x14002b4ff
lea rdx, str.ShellExecuteW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x14002b4ff
lea rcx, [rsp + 0x60]
call fcn.14002ac90
mov ebx, r12d
lea rdi, [rsp + 0x60]
nop dword [rax]
cmp word [rdi], 0
je 0x14002b3fe
movsxd r14, ebx
imul rax, r14, 0x210
lea r8, [rsp + 0x60]
add r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x7a0]
lea rdx, str.open
xor ecx, ecx
call r15
cmp rax, 0x20
ja 0x14002b40e
inc ebx
add rdi, 0x210
cmp ebx, 3
jge 0x14002b431
jmp 0x14002b3c0
imul rax, r14, 0x210
mov esi, dword [rbp + rax + 0x16c]
cmp dword [rbp + rax + 0x168], 0
jne 0x14002b429
add esi, 0x10
test esi, esi
jne 0x14002b4fb
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x7a0]
lea rdx, str.open
xor ecx, ecx
call r15
cmp rax, 0x20
ja 0x14002b4f6
lea rax, str._programfiles_x86__Internet_Exploreriexplore.exe
mov qword [rsp + 0x30], rax
lea rax, str._programfiles_Internet_Exploreriexplore.exe
mov qword [rsp + 0x38], rax
mov rbx, r12
nop dword [rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x590]
call fcn.1400a7960
mov r8d, 0x103
lea rdx, [rbp + 0x590]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002b4eb
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x7a0]
lea r8, [rbp + 0x590]
lea rdx, str.open
xor ecx, ecx
call r15
cmp rax, 0x20
ja 0x14002b4f6
inc rbx
cmp rbx, 2
jae 0x14002b4fb
jmp 0x14002b480
mov esi, 0x10
mov eax, esi
jmp 0x14002b501
xor eax, eax
mov rcx, qword [rbp + 0x27a0]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0x28b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14002bed0
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14002bf01
xor al, al
jmp 0x14002bf67
and ebx, 0xffffb1af
call fcn.140002310
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14002bf1f
mov al, 1
jmp 0x14002bf67
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14002ca10
test al, al
je 0x14002bf58
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x14002bf58
mov bl, 1
jmp 0x14002bf5a
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14002bf80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14002bff8
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14002ca10
test al, al
je 0x14002bfec
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.140002320
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14002c010
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140002310
mov rbx, rax
mov rcx, rdi
call fcn.140002310
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14002c0e7
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14002ca10
movzx ebx, bl
mov ecx, 1
test al, al
cmovne ebx, ecx
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14002ca10
test al, al
jne 0x14002c0ab
test bl, bl
je 0x14002c0eb
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140002310
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14002c0eb
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
mov al, 1
jmp 0x14002c102
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002c130
Capabilities:
Copy file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140002310
mov rbx, rax
mov rcx, rdi
call fcn.140002310
mov rcx, rax
mov ebp, 1
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14002c192
movzx eax, bpl
jmp 0x14002c21c
xor bl, bl
lea rcx, [rsp + 0x48]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14002ca10
movzx ebx, bl
test al, al
cmovne ebx, ebp
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14002ca10
test al, al
jne 0x14002c1d4
test bl, bl
je 0x14002c202
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.140002310
mov rcx, rax
mov r8d, ebp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14002c202
mov bl, 1
jmp 0x14002c204
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140002320
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c240
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002c283
mov al, 1
jmp 0x14002c3c6
mov rcx, rdi
call fcn.140002310
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002330
nop
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14002c2f1
lea rcx, [rsp + 0x48]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14002ca10
test al, al
je 0x14002c2e6
lea rcx, [rsp + 0x48]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea rcx, [rsp + 0x48]
call fcn.140002320
nop
lea rcx, [rsp + 0x28]
call fcn.140002320
cmp esi, 0xffffffff
jne 0x14002c307
xor al, al
jmp 0x14002c3c6
mov rcx, rdi
call fcn.140002310
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002330
nop
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14002bed0
movzx ebx, al
lea rcx, [rsp + 0x28]
call fcn.140002320
test bl, bl
je 0x14002c300
mov rcx, rdi
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002c27c
lea rcx, [rsp + 0x28]
call fcn.140008ad0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14002ca10
test al, al
je 0x14002c38a
lea rcx, [rsp + 0x28]
call fcn.140002310
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002c38a
mov bl, 1
jmp 0x14002c3b9
mov rcx, rdi
call fcn.140002310
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002330
nop
mov edx, esi
lea rcx, [rsp + 0x48]
call fcn.14002bed0
nop
lea rcx, [rsp + 0x48]
call fcn.140002320
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140002320
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002c3f0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x688], rbx
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x28], rdi
lea rdx, [0x140136540]
lea rcx, [rsp + 0x28]
call fcn.140011c6c
nop
lea rcx, [0x140136560]
call fcn.140002300
test al, al
jne 0x14002c490
lea rcx, [0x140136560]
call fcn.140002370
cmp rbx, rax
je 0x14002c47f
lea rcx, [0x140136560]
call fcn.140002370
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14002c472
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rcx, rbx
call fcn.140002400
nop
lea rcx, [rsp + 0x28]
call fcn.140011c94
mov al, 1
jmp 0x14002c555
xor edx, edx
mov r8d, 0x20c
lea rcx, [rsp + 0x30]
call fcn.1400a7960
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x14002c549
mov word [rsp + 0x23a], di
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x240]
call fcn.1400a7960
mov r8d, 0x208
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x14002c532
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x14002c576
mov word [rsp + rax + 0x240], di
lea rcx, [rsp + 0x240]
call fcn.140002620
lea rdx, [rsp + 0x240]
mov r8, rax
jmp 0x14002c476
lea rcx, [rsp + 0x30]
call fcn.140002620
lea rdx, [rsp + 0x30]
mov r8, rax
jmp 0x14002c476
lea rcx, [rsp + 0x28]
call fcn.140011c94
xor al, al
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400a5660
mov rbx, qword [rsp + 0x688]
add rsp, 0x670
pop rdi
ret
call fcn.1400a5b88
nop
int3
Function at 0x140031380
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], 0x114
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, 0x110
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call fcn.1400a7960
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x140031400
cmp dword [rsp + 0x24], 6
jb 0x140031400
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x150
pop rbx
ret

Function at 0x140031420
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, rcx
lea rdx, str.wintrust.dll
lea rcx, [rax - 0x50]
call fcn.140002330
nop
call fcn.14002d210
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.14002d2b0
mov rbx, rax
lea rcx, [rsp + 0x28]
call fcn.140002320
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x48]
call fcn.140002330
nop
call fcn.14002d210
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.14002d2b0
mov rdi, rax
lea rcx, [rsp + 0x48]
call fcn.140002320
test rbx, rbx
je 0x140031576
test rdi, rdi
je 0x140031576
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140032df0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r9
mov r13, r8
mov r12, rdx
mov r14, rcx
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rdx, str.Version.dll
lea rcx, [rsp + 0x40]
call fcn.140002330
nop
call fcn.14002d210
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14002d2b0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140002320
test rbx, rbx
je 0x140033059
lea rdx, str.VerQueryValueW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x140033059
xor sil, sil
lea rdx, str.Version.dll
lea rcx, [rsp + 0x40]
call fcn.140002330
nop
call fcn.14002d210
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14002d2b0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.140002320
test rbx, rbx
je 0x140033053
lea rdx, str.GetFileVersionInfoExW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.GetFileVersionInfoSizeExW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r15, r15
je 0x140032f65
test rax, rax
je 0x140032f65
mov dword [rsp + 0x70], 0
mov rcx, r14
call fcn.140002310
mov rdx, rax
lea r8, [rsp + 0x70]
xor ecx, ecx
call rdi
mov edi, eax
test eax, eax
je 0x140033053
mov edx, edi
mov ecx, 1
call fcn.1400b16b8
mov rbx, rax
mov rcx, r14
call fcn.140002310
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov r9d, edi
mov r8d, dword [rsp + 0x70]
xor ecx, ecx
call r15
test eax, eax
jne 0x140032fdf
mov rcx, rbx
call fcn.1400aa178
movzx eax, sil
jmp 0x14003305b
lea rdx, str.GetFileVersionInfoW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r15, r15
je 0x140033053
test rax, rax
je 0x140033053
mov rcx, r14
call fcn.140002310
mov rcx, rax
xor edx, edx
call rbx
mov edi, eax
test eax, eax
je 0x140033053
mov edx, edi
mov ecx, 1
call fcn.1400b16b8
mov rbx, rax
mov rcx, r14
call fcn.140002310
mov rcx, rax
mov r9, rbx
mov r8d, edi
xor edx, edx
call r15
test eax, eax
je 0x14003304b
test rbx, rbx
je 0x140033053
xor eax, eax
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x68]
lea rdx, [0x1400f86c4]
mov rcx, rbx
call rbp
test eax, eax
je 0x14003304b
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003304b
cmp dword [rsp + 0x74], 0
jbe 0x14003304b
cmp dword [rcx], 0xfeef04bd
jne 0x14003304b
movzx eax, word [rcx + 0xa]
mov dword [r12], eax
movzx eax, word [rcx + 8]
mov dword [r13], eax
movzx eax, word [rcx + 0xe]
mov rdx, qword [rsp + 0x30]
mov dword [rdx], eax
movzx eax, word [rcx + 0xc]
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
mov sil, 1
mov rcx, rbx
call fcn.1400aa178
movzx eax, sil
jmp 0x14003305b
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a5660
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140033bc0
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x870
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r15, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r14d, eax
test eax, eax
je 0x140033cb4
lea r12, [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
call fcn.140002370
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
cmp r14d, 0x3fe
jbe 0x140033ce2
lea ecx, [r14 + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a5f88
mov r12, rax
lea rcx, [rsp + 0x50]
call fcn.140017370
mov qword [rsp + 0x50], r12
test rax, rax
je 0x140033c81
mov rdx, rax
call fcn.14001e85c
mov rdx, r12
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x140033caa
cmp eax, r14d
ja 0x140033caa
mov ecx, eax
mov word [r12 + rcx*2], di
lea ecx, [rax + 1]
mov word [r12 + rcx*2], di
mov r14d, eax
jmp 0x140033d14
lea rcx, [rsp + 0x50]
call fcn.14001e844
xor al, al
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, r14
add rax, rax
cmp rax, 0x800
jae 0x140033df5
mov word [rsp + rax + 0x60], di
lea eax, [r14 + 1]
mov ecx, eax
add rcx, rcx
cmp rcx, 0x800
jae 0x140033def
mov word [rsp + rcx + 0x60], di
mov ebx, edi
test r14d, r14d
je 0x140033dde
mov rbp, r12
cmp word [rbp], 0
jne 0x140033dcf
cmp edi, ebx
je 0x140033dcf
mov eax, edi
lea rdx, [r12 + rax*2]
lea rcx, [rsp + 0x30]
call fcn.140002330
nop
lea rcx, [rsp + 0x30]
call fcn.140002370
mov rdx, rax
mov rcx, r15
call fcn.140009010
mov rcx, rdx
test al, al
je 0x140033da9
call fcn.140002370
mov rdx, rax
mov rcx, r15
call fcn.140008ea0
mov rsi, rax
mov rcx, rdx
call fcn.140002370
mov rdi, rax
mov rdx, qword [rsi]
mov ecx, 0x20
call fcn.140002080
mov r8, rax
mov rcx, rdi
call fcn.140002370
mov rdx, rax
mov rcx, r8
call fcn.140008aa0
add qword [rsi], 0x20
jmp 0x140033dc2
call fcn.140002370
mov r8, rax
mov rcx, r15
call fcn.140008ea0
mov rdx, qword [rax]
call fcn.140009cd0
nop
lea rcx, [rsp + 0x30]
call fcn.140002320
lea edi, [rbx + 1]
inc ebx
add rbp, 2
cmp ebx, r14d
jb 0x140033d22
lea rcx, [rsp + 0x50]
call fcn.14001e844
mov al, 1
jmp 0x140033cb6
call fcn.1400a5b88
int3
call fcn.1400a5b88
int3
Function at 0x1400423b0
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x1400425c6
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x140132088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
xor bpl, bpl
mov qword [r11 - 0x68], r14
lea rdx, [rcx + 0x18]
lea rcx, [r11 - 0x68]
call fcn.140011c6c
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x140042436
cmp rdi, qword [rax]
je 0x140042423
add rax, 0x18
cmp rax, rcx
jne 0x140042413
jmp 0x140042436
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rsi
call fcn.1400425d0
movzx ebp, al
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140042453
mov rcx, qword [rcx]
test rcx, rcx
je 0x14004244e
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x58]
call fcn.140011c6c
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x14004258a
cmp rdi, qword [rbx]
je 0x14004248a
add rbx, 0x18
cmp rbx, rax
jne 0x140042477
jmp 0x14004258a
test bpl, bpl
je 0x140042559
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1400b0cec
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140042559
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x70]
call fcn.14003d060
nop
lea rcx, [rsp + 0x70]
call fcn.140002300
test al, al
jne 0x14004254f
lea rcx, [rsp + 0x70]
call fcn.140002310
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14004254f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
mov r8d, 8
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x70]
call fcn.140002320
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140042576
mov rcx, qword [rax]
test rcx, rcx
je 0x140042571
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x58], r14
mov rcx, rdi
test bpl, bpl
je 0x140042582
mov dl, 1
jmp 0x140042584
xor edx, edx
call fcn.14003cc60
nop
lea rcx, [rsp + 0x58]
call fcn.140011c94
nop
lea rcx, [rsp + 0x50]
call fcn.140011c94
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5660
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret