joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011640
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x378
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0xc8]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0xc8]
call fcn.140039480
lea rdx, [0x140179c18]
lea rcx, [rsp + 0xc8]
call fcn.140019680
lea rcx, [rsp + 0xc8]
call fcn.14000b420
lea rdx, [rsp + 0x110]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x14001182e
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140011822
mov rdx, qword [rsp + 0x380]
lea rcx, [rsp + 0x88]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x88]
call fcn.140039480
lea rdx, [rsp + 0x13c]
lea rcx, [rsp + 0x88]
call fcn.140019680
mov eax, dword [rsp + 0x110]
and eax, 0x10
test eax, eax
je 0x140011810
lea rdx, [rsp + 0x13c]
lea rcx, [rsp + 0xe8]
call fcn.140019710
nop
xor r8d, r8d
lea rdx, str.CONFLICT.
lea rcx, [rsp + 0xe8]
call fcn.140019500
cmp rax, 0xffffffffffffffff
je 0x140011802
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xa8]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0xa8]
call fcn.140039480
lea rdx, [0x140179c38]
lea rcx, [rsp + 0xa8]
call fcn.140019680
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.14000b5f0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400160e0
test eax, eax
je 0x1400117f4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
call fcn.14000b5f0
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140011980
nop
lea rcx, [rsp + 0xa8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0xe8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x88]
call fcn.14000b4e0
jmp 0x1400116c4
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0xc8]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x380]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x378
ret

Function at 0x140011870
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x30]
call fcn.14000b4e0
add rsp, 0x28
ret
Function at 0x140011d40
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3d8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x28]
call fcn.14000b5f0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400160e0
test eax, eax
jne 0x140011da2
mov rcx, qword [rsp + 0x3e0]
call fcn.14000b4e0
jmp 0x140011f95
mov rdx, qword [rsp + 0x3e0]
lea rcx, [rsp + 0x148]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x148]
call fcn.140039480
lea rdx, [0x140179c98]
lea rcx, [rsp + 0x148]
call fcn.140019680
lea rcx, [rsp + 0x148]
call fcn.14000b420
lea rdx, [rsp + 0x170]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x140011efd
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140011ef2
mov rdx, qword [rsp + 0x3e0]
lea rcx, [rsp + 0x128]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x128]
call fcn.140039480
lea rdx, [rsp + reloc.COMCTL32.dll_RemoveWindowSubclass]
lea rcx, [rsp + 0x128]
call fcn.140019680
mov eax, dword [rsp + 0x170]
and eax, 0x10
test eax, eax
jne 0x140011ee0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x38]
call fcn.14000b5f0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [0x140179ca0]
mov rcx, qword [rsp + 0x48]
call fcn.140019710
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14003a2e0
lea rcx, [rsp + 0x128]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x128]
call fcn.14000b4e0
jmp 0x140011e08
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x3e0]
mov rcx, qword [rsp + 0x60]
call fcn.14000b5f0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
lea rdx, str.Remove_folder
mov rcx, qword [rsp + 0x70]
call fcn.140019710
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.14003a2e0
mov rcx, qword [rsp + 0x3e0]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x148]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x3e0]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x3d8
ret
Function at 0x140011fb0
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
jmp 0x140011fd1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x20], eax
jae 0x140012029
mov rcx, qword [rsp + 0x70]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call fcn.14000b5f0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400160e0
test eax, eax
jne 0x140012027
jmp 0x140012029
jmp 0x140011fc7
mov rcx, qword [rsp + 0x70]
call fcn.14000b4e0
add rsp, 0x68
ret

Function at 0x140012250
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140016e50
mov rcx, qword [rsp + 0x60]
call fcn.14000b420
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x28]
call fcn.14000b420
xor r8d, r8d
mov rcx, qword [rsp + 0x20]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x28]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x60]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x58
ret
Function at 0x1400122e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x350
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0xf0]
call fcn.14000c2f0
nop
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.140016e50
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov edx, 1
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x50], rax
mov r9d, 0xa
mov r8d, 0x104
lea rdx, [rsp + 0x130]
mov ecx, dword [rsp + 0x50]
call fcn.140087f6c
mov rdx, qword [rsp + 0x360]
lea rcx, [rsp + 0xf0]
call fcn.14000b480
lea rdx, [0x140179ce0]
lea rcx, [rsp + 0xf0]
call fcn.140019680
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xf0]
call fcn.140019680
lea rdx, [0x140179954]
lea rcx, [rsp + 0xf0]
call fcn.140019680
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.1400196b0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x80], VarBstrFromR4
lea rcx, [rsp + 0xf0]
call fcn.14000b420
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x360]
call fcn.14000b420
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x110]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0xf0]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x360]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x350
pop rdi
ret
Function at 0x140012b60
Capabilities:
Check if file exists
Copy file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x148]
call fcn.14000b5f0
nop
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x128]
call fcn.14000b5f0
nop
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x28]
call fcn.14000b5f0
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x128]
call fcn.140039510
lea rcx, [rsp + 0x148]
call fcn.140039310
lea rcx, [rsp + 0x128]
call fcn.140039310
lea rcx, [rsp + 0x128]
call fcn.14000b420
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140012c6f
lea rcx, [rsp + 0x128]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x148]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1c8]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1d0]
call fcn.14000b4e0
jmp 0x140012e4a
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x128]
call fcn.14001bbd0
movzx eax, al
test eax, eax
je 0x140012cd5
lea rcx, [rsp + 0x128]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x148]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1c8]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1d0]
call fcn.14000b4e0
jmp 0x140012e4a
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x38]
call fcn.14000b5f0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x188]
call fcn.140016fa0
nop
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x48]
call fcn.14000b5f0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x168]
call fcn.140016fa0
nop
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x58]
call fcn.14000b5f0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x68]
call fcn.14000b5f0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140038ea0
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140012de9
lea rcx, [rsp + 0x128]
call fcn.14000b420
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x148]
call fcn.14000b420
xor r8d, r8d
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rsp + 0x168]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x188]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x128]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x148]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1c8]
call fcn.14000b4e0
nop
mov rcx, qword [rsp + 0x1d0]
call fcn.14000b4e0
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x1b8
ret
Function at 0x140012e70
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.14000c2f0
nop
lea r8, [rsp + 0x28]
mov edx, dword [rsp + 0x288]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140012eee
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400196e0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
call fcn.14000b570
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.14000b4e0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x270
pop rdi
ret

Function at 0x1400133c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call fcn.14000c2f0
nop
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x140013441
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400196e0
lea rcx, [rsp + 0x28]
call fcn.140039480
lea rdx, str.Downloaded_Program_Files
lea rcx, [rsp + 0x28]
call fcn.140019680
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x280]
call fcn.14000b570
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.14000b4e0
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x270
pop rdi
ret
Function at 0x1400145a0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x60]
call fcn.140018cf0
nop
mov dword [rsp + 0x24], 0x104
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140018970
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140018a10
jmp 0x140014628
lea rcx, [rsp + 0x28]
call fcn.140018900
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1400188c0
movzx eax, al
test eax, eax
je 0x14001470c
lea rcx, [rsp + 0x28]
call fcn.14000d020
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.14000b5f0
nop
xor r8d, r8d
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xc8]
call fcn.140019500
cmp rax, 0xffffffffffffffff
je 0x14001468a
lea rcx, [rsp + 0xc8]
call fcn.14000b4e0
jmp 0x14001461e
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call fcn.14000b5f0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140014080
nop
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call fcn.140018be0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400395b0
nop
lea rcx, [rsp + 0x78]
call fcn.140018ae0
nop
lea rcx, [rsp + 0xc8]
call fcn.14000b4e0
jmp 0x14001461e
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x320]
call fcn.140018b60
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x60]
call fcn.140018ae0
nop
mov rcx, qword [rsp + 0x328]
call fcn.140018ae0
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x318
ret
Function at 0x140014770
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x60]
call fcn.140018cf0
nop
mov dword [rsp + 0x24], 0x104
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140018970
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.140018a10
jmp 0x1400147f8
lea rcx, [rsp + 0x28]
call fcn.140018900
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.1400188c0
movzx eax, al
test eax, eax
je 0x1400148dc
lea rcx, [rsp + 0x28]
call fcn.14000d020
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.14000b5f0
nop
xor r8d, r8d
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xc8]
call fcn.140019500
cmp rax, 0xffffffffffffffff
je 0x14001485a
lea rcx, [rsp + 0xc8]
call fcn.14000b4e0
jmp 0x1400147ee
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call fcn.14000b5f0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140014180
nop
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call fcn.140018be0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400395b0
nop
lea rcx, [rsp + 0x78]
call fcn.140018ae0
nop
lea rcx, [rsp + 0xc8]
call fcn.14000b4e0
jmp 0x1400147ee
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x320]
call fcn.140018b60
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x60]
call fcn.140018ae0
nop
mov rcx, qword [rsp + 0x328]
call fcn.140018ae0
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x318
ret
Function at 0x140014940
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call fcn.140018cf0
nop
mov rdx, qword [rsp + 0x328]
lea rcx, [rsp + 0x68]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x68]
call fcn.140039480
lea rdx, [0x14017a058]
lea rcx, [rsp + 0x68]
call fcn.140019680
lea rcx, [rsp + 0x68]
call fcn.14000b420
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140014ab0
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140014aa5
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x88]
call fcn.140019710
nop
mov eax, dword [rsp + 0xb0]
and eax, 0x10
test eax, eax
je 0x140014a93
lea rdx, [0x14017999c]
lea rcx, [rsp + 0x88]
call fcn.14001b8c0
movzx eax, al
test eax, eax
je 0x140014a93
lea rdx, [0x140179e84]
lea rcx, [rsp + 0x88]
call fcn.14001b8c0
movzx eax, al
test eax, eax
je 0x140014a93
mov rdx, qword [rsp + 0x328]
lea rcx, [rsp + 0x48]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0x48]
call fcn.140039480
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x48]
call fcn.140019680
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140012120
nop
lea rcx, [rsp + 0x48]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x88]
call fcn.14000b4e0
jmp 0x1400149d0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x320]
call fcn.140018b60
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x68]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x30]
call fcn.140018ae0
nop
mov rcx, qword [rsp + 0x328]
call fcn.14000b4e0
mov rax, qword [rsp + 0x320]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x318
ret
Function at 0x140014b10
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3a8
mov rax, qword [0x1401c0030]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call fcn.140018cf0
nop
lea rcx, [rsp + 0x98]
call fcn.14000c2f0
nop
mov edx, 0x2e
lea rcx, [rsp + 0x58]
call fcn.140012e70
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1401799bc]
lea rcx, [rsp + 0x58]
call fcn.1400194a0
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x58]
call fcn.140019430
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14000b510
lea rcx, [rsp + 0xf8]
call fcn.14000b4e0
mov r8, 0xffffffffffffffff
lea rdx, [0x1401799f4]
lea rcx, [rsp + 0x58]
call fcn.1400194a0
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x58]
call fcn.140019430
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14000b510
lea rcx, [rsp + 0x118]
call fcn.14000b4e0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.14000b480
lea rcx, [rsp + 0x98]
call fcn.140039480
lea rdx, [0x14017a2f0]
lea rcx, [rsp + 0x98]
call fcn.140019680
lea rcx, [rsp + 0x98]
call fcn.14000b420
lea rdx, [rsp + 0x140]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140014d8f
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140014d84
lea rdx, [rsp + 0x16c]
lea rcx, [rsp + 0x78]
call fcn.140019710
nop
lea rcx, [rsp + 0xd8]
call fcn.140039780
nop
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x78]
call fcn.14001bbd0
movzx eax, al
test eax, eax
je 0x140014cd2
lea rcx, [rsp + 0xd8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x78]
call fcn.14000b4e0
jmp 0x140014c63
mov eax, dword [rsp + 0x140]
and eax, 0x10
test eax, eax
je 0x140014d67
lea rdx, [0x140179a14]
lea rcx, [rsp + 0x78]
call fcn.14001b8c0
movzx eax, al
test eax, eax
je 0x140014d67
lea rdx, [0x14017a2f8]
lea rcx, [rsp + 0x78]
call fcn.14001b8c0
movzx eax, al
test eax, eax
je 0x140014d67
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xb8]
call fcn.14000b5f0
nop
lea rcx, [rsp + 0xb8]
call fcn.140039480
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xb8]
call fcn.1400196b0
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140012120
nop
lea rcx, [rsp + 0xb8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0xd8]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x78]
call fcn.14000b4e0
jmp 0x140014c63
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3b0]
call fcn.140018b60
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x58]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x98]
call fcn.14000b4e0
nop
lea rcx, [rsp + 0x40]
call fcn.140018ae0
mov rax, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.14005e8d0
add rsp, 0x3a8
ret