joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1900
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4d1b99
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004f3600]
call fcn.0040e120
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x005016e0]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004f3600]
call fcn.0040e120
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x00501440]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004f3540]
call fcn.0040e120
cmp dword [0x006651c0], 0
jne 0x4d1997
mov rcx, qword [rsp + 0x70]
jmp 0x4d19a4
call fcn.00466e20
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x005025a3]
mov qword [rax], rcx
nop
lea rax, [0x004f3540]
call fcn.0040e120
cmp dword [0x006651c0], 0
jne 0x4d19e0
mov rcx, qword [rsp + 0x68]
jmp 0x4d19ed
call fcn.00466e20
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x005020db]
mov qword [rax], rcx
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rcx
lea rax, [0x004dfee0]
call fcn.0040e120
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004ced80
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4d1b8e
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004dfe80]
call fcn.0040e120
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004ced80
movzx ecx, word [0x00664f24]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x78], rdx
lea rax, [0x004dff40]
nop dword [rax]
call fcn.0040e120
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004c4f40
xorps xmm15, xmm15
mov r14, qword [0x00665140]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x40]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.00463860
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.004671e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00464f00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004d1900
Function at 0x2fc4d3100
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d3b02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d3b9a
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d3b7e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d3b72
cmp qword [rbp - 0x10], 0
je 0x2fc4d3b72
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3b38
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d3b9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3ca0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3cc8
mov eax, 0
jmp 0x2fc4d3d16
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d3cf1
mov eax, 0
jmp 0x2fc4d3d16
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d3d11
mov eax, 0
jmp 0x2fc4d3d16
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d9fe0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4da9e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ff108]
test eax, eax
je 0x2fc4daa7a
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ff110]
mov qword [rbp - 8], rax
jmp 0x2fc4daa5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4daa52
cmp qword [rbp - 0x10], 0
je 0x2fc4daa52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4daa18
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4daa7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dab80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4daba8
mov eax, 0
jmp 0x2fc4dabf6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dabd1
mov eax, 0
jmp 0x2fc4dabf6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dabf1
mov eax, 0
jmp 0x2fc4dabf6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dabfc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dac7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dac71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dac71
mov rax, qword [rbp - 8]
jmp 0x2fc4dac8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dac44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2f50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d3952
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f8108]
test eax, eax
je 0x2fc4d39ea
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f8110]
mov qword [rbp - 8], rax
jmp 0x2fc4d39ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d39c2
cmp qword [rbp - 0x10], 0
je 0x2fc4d39c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d3988
lea rax, [0x2fc4f80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d39eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d3af0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d3b18
mov eax, 0
jmp 0x2fc4d3b66
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d3b41
mov eax, 0
jmp 0x2fc4d3b66
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d3b61
mov eax, 0
jmp 0x2fc4d3b66
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x180005060
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbx, rdx
mov rdi, rcx
and dword [rsp + 0x68], 0
cmp qword [rdx + 0x18], 8
jne 0x180005130
lea rdx, str.00000000
mov rcx, rbx
call fcn.180008718
test al, al
jne 0x180005130
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.18000104c
cmp qword [rax + 0x20], 8
jb 0x1800050bf
mov r8, qword [rax + 8]
jmp 0x1800050c3
lea r8, [rax + 8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlpusbmgr_approveds
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp qword [rsp + 0x48], 8
jb 0x1800050e9
mov rcx, qword [rsp + 0x30]
call fcn.18003c660
and dword [rsp + 0x30], 0xfffffe00
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
lea r9, [rsp + 0x28]
lea r8, [0x18005fa10]
xor edx, edx
mov rcx, rdi
call fcn.180019264
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x28]
call fcn.18002574c
mov rax, rdi
jmp 0x180005178
and dword [rsp + 0x30], 0xfffffe00
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
lea r9, [rsp + 0x28]
lea r8, [0x18005fa18]
mov edx, 1
mov rcx, rdi
call fcn.180019264
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x28]
call fcn.18002574c
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x18000885c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x4a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
cmp qword [rdx + 0x18], 0xc8
jbe 0x1800088c7
mov qword [rcx + 0x20], 0xf
mov qword [rcx + 0x18], rsi
mov byte [rcx + 8], sil
xor r8d, r8d
lea rdx, [0x18005f729]
call fcn.1800023b4
mov rax, rbx
jmp 0x180008a09
mov word [rsp + 0x80], si
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0x82]
call fcn.18003eb60
mov r9d, 0x208
lea r8, [rsp + 0x80]
lea rdx, str.cachekvstore
xor ecx, ecx
call fcn.18001a864
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.18000104c
cmp qword [rax + 0x20], 8
jb 0x18000891a
mov rdx, qword [rax + 8]
jmp 0x18000891e
lea rdx, [rax + 8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x78], 8
jb 0x18000893e
mov rcx, qword [rsp + 0x60]
call fcn.18003c660
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x1800089f6
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.18000881c
nop
cmp qword [rsp + 0x70], rsi
je 0x1800089e4
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rdx, str.cachekvstore
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.18000104c
cmp qword [rax + 0x20], 8
jb 0x1800089bf
mov rdx, qword [rax + 8]
jmp 0x1800089c3
lea rdx, [rax + 8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x50], 8
jb 0x1800089e4
mov rcx, qword [rsp + 0x38]
call fcn.18003c660
nop
cmp qword [rsp + 0x78], 8
jb 0x1800089f6
mov rcx, qword [rsp + 0x60]
call fcn.18003c660
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.180008840
mov rax, rbx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.18003c1a0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000e5b8
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
push rdi
push r12
push r14
sub rsp, 0x1c0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movsx ebx, cl
lea rax, [rsp + 0x58]
mov qword [r11 + 0x10], rax
lea rdi, [0x180060aa8]
mov qword [rsp + 0x58], rdi
lea rbp, [0x18000e7e8]
mov qword [rsp + 0x60], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea r8, str.SYSTEMMountedDevices
mov r14, 0xffffffff80000002
mov rdx, r14
lea rcx, [r11 - 0x98]
call fcn.18001c378
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.18001701c
nop
lea rcx, [rsp + 0x140]
call fcn.180006988
movzx r8d, bx
lea rdx, [0x18005f8f8]
lea rcx, [rsp + 0x30]
call fcn.18001bccc
cmp qword [rax + 0x20], 8
jb 0x18000e66d
mov rcx, qword [rax + 8]
jmp 0x18000e671
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov esi, eax
cmp qword [rsp + 0x50], 8
jb 0x18000e68b
mov rcx, qword [rsp + 0x38]
call fcn.18003c660
test esi, esi
je 0x18000e7b9
lea rax, [rsp + 0x30]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea r8, str.SYSTEMMountedDevices
mov rdx, r14
lea rcx, [rsp + 0x180]
call fcn.18001c378
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.18001701c
nop
lea rcx, [rsp + 0x180]
call fcn.180006988
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x80]
call fcn.18001719c
mov r12, qword [rsp + 0xb0]
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov rbp, qword [rsp + 0x80]
mov qword [rsp + 0x20], rbp
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x18000e744
cmp rdi, rbp
je 0x18000e749
call fcn.18003c608
mov rbx, qword [rsp + 0x28]
cmp rbx, r12
je 0x18000e79d
test rdi, rdi
jne 0x18000e762
call fcn.18003c608
xor r11d, r11d
jmp 0x18000e765
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x30]
jne 0x18000e770
call fcn.18003c608
cmp qword [rbx + 0x38], 8
jb 0x18000e77d
mov r8, qword [rbx + 0x20]
jmp 0x18000e781
lea r8, [rbx + 0x20]
lea rdx, str.SYSTEMMountedDevices
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea rcx, [rsp + 0x20]
call fcn.18000865c
jmp 0x18000e735
lea rcx, [rsp + 0x80]
call fcn.180006988
nop
lea rcx, [rsp + 0x100]
call fcn.180006988
nop
lea rcx, [rsp + 0xc0]
call fcn.180006988
mov eax, esi
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x180019208
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov rdi, r8
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x180019254
mov edx, dword [rsp + 0x58]
lea rcx, str.thread__d_created:__s
mov r8, rdi
call fcn.180018d40
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180019c40
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xae8
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rax, qword [rsp + 0xb30]
mov rdi, rcx
mov rcx, qword [rsp + 0xb38]
mov qword [rsp + 0x48], rcx
xor ecx, ecx
mov qword [rsp + 0x38], r9
mov rbp, r8
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x40], rax
cmp rdi, rcx
je 0x180019e5c
cmp r8, rcx
jne 0x180019ca0
cmp rax, rcx
je 0x180019e5c
cmp word [rdi + 2], 0x3a
je 0x180019cf7
cmp word [rdi + 2], 0x5c
je 0x180019cf7
mov word [rsp + 0x6c0], cx
lea rcx, [rsp + 0x6c2]
xor edx, edx
mov r8d, 0x40e
call fcn.18003eb60
lea rdx, [rsp + 0x6c0]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x6c0]
mov rdx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdi, [rsp + 0x6c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180019e5c
test al, 0x10
je 0x180019e5c
lea rcx, [rsp + 0x4b0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x180060ee4]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180019e5c
mov ebx, 1
lea rdx, [0x180060ee8]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180019e33
lea rdx, [0x180060eec]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180019e33
cmp dword [rsp + 0x50], 0xffffffff
je 0x180019e33
lea rcx, [rsp + 0x2a0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [rsp + 0x50], 0x10
je 0x180019e1b
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x180019de8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x2a0]
call rax
test eax, eax
je 0x180019e4a
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x180019e33
mov rdx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
mov r8, rbp
mov qword [rsp + 0x28], rdx
mov edx, ecx
lea rcx, [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
call fcn.180019c40
cmp eax, 2
jmp 0x180019e31
test rbp, rbp
je 0x180019e33
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x2a0]
call rbp
test eax, eax
je 0x180019e4a
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x180019e4f
jmp 0x180019d5c
mov ebx, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x180019e5e
xor eax, eax
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.18003c1a0
add rsp, 0xae8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180019e7c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x180019f81
lea rcx, [rsp + 0x42]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], di
call fcn.18003eb60
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18001ac10
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180019ef2
shr eax, 4
not eax
and eax, 1
jmp 0x180019f83
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x250]
call fcn.180019fa4
cmp eax, edi
je 0x180019f81
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, rdi
je 0x180019f5f
mov ecx, 1
cmp rax, 0xffffffffffffffff
jne 0x180019f61
mov ecx, edi
cmp cl, dil
mov ebx, edi
setne bl
cmp rax, 0xffffffffffffffff
je 0x180019f7d
cmp rax, rdi
je 0x180019f7d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x180019f83
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret