joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x20], 0
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0xc0]
call fcn.1400415f0
nop
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0xc0]
mov qword [rsp + 0x48], rax
mov dl, 0x30
mov rcx, qword [rsp + 0x48]
call fcn.140059fc0
lea rdx, [0x14005a720]
lea rcx, [rsp + 0xc0]
call fcn.140044fb0
mov byte [rsp + 0x1b0], 0x2d
mov byte [rsp + 0x1b1], 0x5f
mov byte [rsp + 0x1b2], 0x2e
mov byte [rsp + 0x1b3], 0x7e
mov byte [rsp + 0x1b4], 0x3a
mov byte [rsp + 0x1b5], 0x2f
mov byte [rsp + 0x1b6], 0x26
mov byte [rsp + 0x1b7], 0x3f
mov byte [rsp + 0x1b8], 0x3d
lea rax, [rsp + 0x1b9]
mov r8, rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x80]
call fcn.14002d280
nop
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1400564f0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call fcn.140056540
mov qword [rsp + 0x50], rax
jmp 0x1400290fc
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
je 0x140029218
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsx eax, byte [rax]
mov ecx, eax
call fcn.1400e9114
test eax, eax
jne 0x140029178
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x80]
call fcn.14005a010
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.140059200
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140045250
movzx eax, al
test eax, eax
je 0x140029192
mov rax, qword [rsp + 0x30]
movzx edx, byte [rax]
lea rcx, [rsp + 0xc0]
call fcn.14002dc20
jmp 0x1400290ef
lea rdx, [0x14005eea0]
lea rcx, [rsp + 0xc0]
call fcn.140044fb0
mov dl, 0x25
lea rcx, [rsp + 0xc0]
call fcn.14002dc20
mov qword [rsp + 0x70], rax
mov edx, 2
lea rcx, [rsp + 0xa8]
call fcn.1400de91c
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14002dbd0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.140044d00
lea rdx, [0x14005b420]
lea rcx, [rsp + 0xc0]
call fcn.140044fb0
jmp 0x1400290ef
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0xc0]
call fcn.14005e520
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x80]
call fcn.140044350
nop
lea rcx, [rsp + 0xc0]
call fcn.140046de0
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x1d8
ret
Function at 0x1400296e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x130]
call fcn.14001c680
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xb0]
call fcn.14000c810
nop
lea rcx, [rsp + 0x130]
call fcn.140006ee0
lea r8, [0x14013b528]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.1400105d0
nop
lea rcx, [rsp + 0x50]
call fcn.14000c280
nop
lea rcx, [rsp + 0x70]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140029826
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xd0]
call fcn.14003ff60
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x150]
call fcn.14001a320
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000c180
lea rcx, [rsp + 0x150]
call fcn.140006ee0
nop
lea rcx, [rsp + 0xd0]
call fcn.140006ee0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000c810
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.14000a510
nop
lea rcx, [rsp + 0x70]
call fcn.14000a510
nop
lea rcx, [rsp + 0xb0]
call fcn.14000a510
mov rax, qword [rsp + 0x1b0]
jmp 0x14002997a
lea rcx, [rsp + 0x90]
call fcn.14000c280
nop
lea rdx, [rsp + 0x90]
lea rcx, [0x14013b580]
call fcn.14009ca60
cmp eax, 1
jne 0x140029896
lea rdx, [0x14013b5d0]
lea rcx, [rsp + 0xf0]
call fcn.14000c220
nop
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x90]
call fcn.14009cf10
cmp eax, 1
jne 0x140029896
mov dword [rsp + 0x28], 1
jmp 0x14002989e
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1400298c4
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0xf0]
call fcn.14000a510
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140029924
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.14003ff60
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x170]
call fcn.14001a320
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000c180
lea rcx, [rsp + 0x170]
call fcn.140006ee0
nop
lea rcx, [rsp + 0x110]
call fcn.140006ee0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000c810
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.14000a510
nop
lea rcx, [rsp + 0x50]
call fcn.14000a510
nop
lea rcx, [rsp + 0x70]
call fcn.14000a510
nop
lea rcx, [rsp + 0xb0]
call fcn.14000a510
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x1a8
ret
Function at 0x14002c190
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x250
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002c1fc
mov eax, 2
imul rax, rax, 3
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x208
jae 0x14002c1eb
jmp 0x14002c1f0
call fcn.1400dc820
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x30]
mov ecx, eax
call fcn.1400e9778
cmp eax, 0x78
jne 0x14002c220
mov dword [rsp + 0x20], 1
jmp 0x14002c228
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x250
pop rdi
ret

Function at 0x14002c470
Capabilities:
Get common file path

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rdx, [0x14013b0c0]
mov rcx, qword [rsp + 0x60]
call fcn.140004670
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x14002c552
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14002c532
mov edx, 0x104
mov rcx, qword [rsp + 0x60]
call fcn.1400481c0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x48]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call fcn.1400045e0
jmp 0x14002c542
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + 0x10]
cmp dword [rsp + 0x68], 5
je 0x14002c560
cmp dword [rsp + 0x68], 0
jne 0x14002c573
lea rdx, [0x14013af64]
mov rcx, qword [rsp + 0x60]
call fcn.140003a10
jmp 0x14002c5a0
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x14002c58f
lea rdx, [0x14013b0c8]
mov rcx, qword [rsp + 0x60]
call fcn.140003a10
jmp 0x14002c5a0
lea rdx, [0x14013b0e0]
mov rcx, qword [rsp + 0x60]
call fcn.140003a10
add rsp, 0x58
ret
Function at 0x14002c630
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x48], 0xfffffffffffffffe
lea rcx, [0x14013c708]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14002c6db
lea rdx, [0x14013c728]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002c6d0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x68]
call fcn.140004640
xor r9d, r9d
mov r8d, 0x100
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x68]
call fcn.140001910
mov eax, dword [rsp + 0x24]
jmp 0x14002c705
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x68]
call fcn.140004640
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x68]
call fcn.140001910
mov eax, dword [rsp + 0x28]
add rsp, 0x58
ret
Function at 0x14006e780
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x28], 0x104
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x2c0]
call fcn.14000fc20
movzx eax, word [rax]
cmp eax, 0x5c
je 0x14006e7dd
lea rdx, [0x14014518c]
mov rcx, qword [rsp + 0x2c0]
call fcn.14000c140
mov rcx, qword [rsp + 0x2c0]
call fcn.14000c120
cmp rax, 3
jae 0x14006e7f7
xor al, al
jmp 0x14006e98d
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
call fcn.14000bf40
nop
lea rcx, [rsp + 0x50]
call fcn.140006930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 4
je 0x14006e83c
cmp dword [rsp + 0x24], 1
jne 0x14006e975
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
call fcn.140006930
lea r9, [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov edx, 2
mov rcx, rax
call sub.MPR.dll_WNetGetUniversalNameW
test eax, eax
jne 0x14006e8b2
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14006e8ad
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call fcn.1400e9024
test rax, rax
jbe 0x14006e8ad
mov rax, qword [rsp + 0x30]
mov r9, qword [rax]
mov r8d, 3
xor edx, edx
mov rcx, qword [rsp + 0x2c0]
call fcn.14005c960
mov byte [rsp + 0x20], 1
jmp 0x14006e975
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x208
jae 0x14006e8cd
jmp 0x14006e8d2
call fcn.1400dc820
xor eax, eax
mov rcx, qword [rsp + 0x38]
mov word [rsp + rcx + 0x90], ax
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000bf40
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140006930
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x90]
mov rcx, rax
call sub.MPR.dll_WNetGetConnectionW
lea rcx, [rsp + 0x70]
call fcn.14000a510
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x90]
cmp eax, 0x5c
jne 0x14006e975
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x90]
cmp eax, 0x5c
jne 0x14006e975
lea r9, [rsp + 0x90]
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x2c0]
call fcn.14005c960
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x50]
call fcn.14000a510
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x2b8
ret
Function at 0x14006ebe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x298
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
lea rdx, str.SYSTEMMountedDevices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14006ec39
xor al, al
jmp 0x14006ed54
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400e17c0
mov dword [rsp + 0x40], 0x206
mov dword [rsp + 0x44], 3
lea rcx, [rsp + 0x38]
call fcn.140004d40
nop
movzx eax, word [rsp + 0x2a0]
mov r8d, eax
lea rdx, str.DosDevices_C:
lea rcx, [rsp + 0x38]
call fcn.140005ca0
lea rcx, [rsp + 0x38]
call fcn.140004640
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006ecec
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call fcn.140001910
movzx eax, byte [rsp + 0x30]
jmp 0x14006ed54
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004430
xor r8d, r8d
lea rdx, str.FLOPPY
lea rcx, [rsp + 0x50]
call fcn.1400034e0
cmp eax, 0xffffffff
je 0x14006ed29
mov dword [rsp + 0x34], 1
jmp 0x14006ed31
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x50]
call fcn.140001910
nop
lea rcx, [rsp + 0x38]
call fcn.140001910
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x298
ret
Function at 0x14006f8b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov qword [rsp + 0x20], 0
lea r8, [0x140144f58]
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0xb8]
call fcn.1400105d0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140006930
lea rdx, [rsp + 0x100]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0xb8]
call fcn.14000a510
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x14006f956
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x370]
call fcn.14000a510
mov rax, qword [rsp + 0x40]
jmp 0x14006faa7
mov eax, dword [rsp + 0x100]
and eax, 0x10
test eax, eax
je 0x14006fa3a
lea rdx, [0x140144f60]
lea rcx, [rsp + 0x12c]
call fcn.1400e989c
test eax, eax
je 0x14006f998
lea rdx, [0x140144f68]
lea rcx, [rsp + 0x12c]
call fcn.1400e989c
test eax, eax
jne 0x14006f99d
jmp 0x14006fa65
lea r8, [0x140144f6c]
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0xd8]
call fcn.1400105d0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x12c]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.140072e70
nop
lea rcx, [rsp + 0xd8]
call fcn.14000a510
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call fcn.14000c2d0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14006f8b0
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x98]
call fcn.14000a510
jmp 0x14006fa65
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x11c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14006f956
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x370]
call fcn.14000a510
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x368
ret
Function at 0x140070b50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2f8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
lea rcx, [rsp + 0xb0]
call fcn.14000c280
nop
mov rcx, qword [rsp + 0x300]
call fcn.14006bd50
mov eax, 0x41
mov word [rsp + 0x20], ax
jmp 0x140070bab
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0x5a
jg 0x140070cdb
movzx eax, word [rsp + 0x20]
cmp eax, 0x43
jge 0x140070bd6
movzx ecx, word [rsp + 0x20]
call fcn.14006ebe0
movzx eax, al
test eax, eax
je 0x140070bd6
jmp 0x140070b9e
movzx ecx, word [rsp + 0x20]
call fcn.1400e910c
mov word [rsp + 0x24], ax
lea rdx, [rsp + 0x70]
lea rcx, [0x1401a1de8]
call fcn.1400592f0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x78]
lea rcx, [0x1401a1de8]
call fcn.140057010
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x24]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.140074430
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x88]
lea rcx, [0x1401a1de8]
call fcn.1400592f0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.140016bc0
movzx eax, al
test eax, eax
je 0x140070c6c
jmp 0x140070b9e
movzx eax, word [rsp + 0x20]
mov r8d, eax
lea rdx, [0x1401451c0]
lea rcx, [rsp + 0xb0]
call fcn.140023fe0
lea rcx, [rsp + 0xb0]
call fcn.140006930
mov r8d, 0x104
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x140070cd6
lea rcx, [rsp + 0xb0]
call fcn.14006e780
movzx eax, al
test eax, eax
jne 0x140070cd6
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x300]
call fcn.1400777e0
jmp 0x140070b9e
mov rcx, qword [rsp + 0x300]
call fcn.14005e060
cmp rax, 1
jbe 0x140070dc2
mov rcx, qword [rsp + 0x300]
call fcn.140056520
movzx eax, word [rax]
cmp eax, 0x41
jne 0x140070d5a
mov eax, 0x41
mov word [rsp + 0x26], ax
lea rdx, [rsp + 0x26]
mov rcx, qword [rsp + 0x300]
call fcn.1400777b0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x300]
call fcn.140057010
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x300]
call fcn.140077400
mov rcx, qword [rsp + 0x300]
call fcn.140056520
movzx eax, word [rax]
cmp eax, 0x42
jne 0x140070dc2
mov eax, 0x42
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x300]
call fcn.1400777b0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x300]
call fcn.140057010
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x300]
call fcn.140077400
mov rcx, qword [rsp + 0x300]
call fcn.14005e060
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xb0]
call fcn.14000a510
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x2f8
ret
Function at 0x140071a80
Capabilities:
Enumerate disk volumes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x260]
call fcn.140004640
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140071b75
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.1400e9024
test rax, rax
je 0x140071b6a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x268]
call fcn.140074330
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400e17c0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
test eax, eax
je 0x140071b6a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x268]
call fcn.140074330
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400e17c0
jmp 0x140071b2a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x250
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140071e1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
je 0x140071e18
cmp dword [rsp + 0x20], 3
je 0x140071e18
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 1
jmp 0x140071e26
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 1
jmp 0x140071e34
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140079f10
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
call fcn.140004d40
nop
mov edx, 0x104
lea rcx, [rsp + 0x48]
call fcn.1400048e0
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400045e0
lea r8, str.test.dat
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140046070
nop
lea rcx, [rsp + 0x50]
call fcn.140004640
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x140079fe5
lea rdx, str.c:_temp
lea rcx, [rsp + 0x48]
call fcn.140004670
lea rcx, [rsp + 0x48]
call fcn.140004640
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call fcn.140004cb0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.140001910
nop
lea rcx, [rsp + 0x48]
call fcn.140001910
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret

Function at 0x14007aa40
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x250
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14007aaac
mov eax, 2
imul rax, rax, 3
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x208
jae 0x14007aa9b
jmp 0x14007aaa0
call fcn.1400dc820
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rsp + rcx + 0x30], ax
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x30]
mov ecx, eax
call fcn.1400e9778
cmp eax, 0x78
jne 0x14007aad0
mov dword [rsp + 0x20], 1
jmp 0x14007aad8
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0x250
pop rdi
ret