joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e59c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001e5b2
mov al, 1
jmp 0x14001e612
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001e5c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001e610
mov ecx, dword [rcx + 0x18]
nop
call fcn.140021de4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001e610
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001e610
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001e610
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001e612
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001ea74
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003a7e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001eacb
cmp word [rdx], r13w
jne 0x14001eacb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001ead0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001ebf5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001ec16
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001eb09
mov rdx, r9
mov word [rbx], cx
jmp 0x14001eb30
cmp r9, r8
jae 0x14001eb40
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001eaea
jmp 0x14001ebf5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ebea
cmp dword [rsp + 0x80], esi
je 0x14001ebea
lea r8, [0x14003a7e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001ebc2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001eb92
mov word [rbx], r13w
jmp 0x14001ebf2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001eb9f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001ebf2
cmp word [rsp + 0x70], r13w
jne 0x14001ebcf
cmp rbx, r14
je 0x14001eb8c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001e9d0
cmp word [rsp + 0x70], r13w
je 0x14001ebf5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003a7e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001ebef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001ebf5
Function at 0x140020f30
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140020f60
xor eax, eax
jmp 0x140021023
mov rbp, rbx
cmp word [rax], si
je 0x140020f85
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140020f6c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140020f68
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140020e50
movsxd r14, eax
test eax, eax
jne 0x140020fc3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140020f59
mov rcx, r14
call fcn.14001afd0
mov rdi, rax
test rax, rax
jne 0x140020fdc
xor ecx, ecx
call fcn.14001a358
jmp 0x140020fb8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140020e50
test eax, eax
jne 0x14002100d
mov rcx, rdi
call fcn.14001a358
jmp 0x140021017
xor ecx, ecx
call fcn.14001a358
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400261c0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140019a94
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002624a
cmp byte [rbp - 0x21], r15b
je 0x140026245
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140026280
call fcn.14001a5a8
test eax, eax
jne 0x14002626c
cmp byte [rbp - 0x21], r15b
je 0x140026264
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140026280
cmp byte [rbp - 0x21], r15b
je 0x14002627d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001f59c
test eax, eax
jne 0x140026320
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140019a94
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400262bf
cmp byte [rbp - 0x21], r15b
je 0x1400262f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400262f4
call fcn.14001a5a8
test eax, eax
jne 0x1400262e0
cmp byte [rbp - 0x21], r15b
je 0x1400262d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400262f4
cmp byte [rbp - 0x21], r15b
je 0x1400262f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001f59c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026320
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140026323
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140026331
mov rcx, rdi
call fcn.14001a358
cmp byte [rbp + 0x3f], r15b
je 0x140026340
mov rcx, qword [rbp + 0x27]
call fcn.14001a358
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400270c0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001e9d0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001e9d0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027210
cmp rax, 0xffffffffffffffff
je 0x140027210
xor edi, edi
test rbp, rbp
jle 0x1400271bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001a2e0
mov rbx, rax
test rax, rax
jne 0x140027148
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400271b1
mov edx, 0x8000
mov ecx, r14d
call fcn.140019dd4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001e19c
cmp eax, 0xffffffff
je 0x140027191
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027158
mov edx, r15d
mov ecx, r14d
call fcn.140019dd4
jmp 0x1400271b1
cmp byte [rsi + 0x38], dil
je 0x1400271a8
cmp dword [rsi + 0x34], 5
jne 0x1400271a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400271b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a358
jmp 0x140027224
jns 0x140027224
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001e9d0
cmp rax, 0xffffffffffffffff
jne 0x1400271dc
cmp byte [rsi + 0x30], dil
je 0x140027224
mov edi, dword [rsi + 0x2c]
jmp 0x140027224
mov ecx, r14d
call fcn.140021de4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027224
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027224
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002721d
mov eax, dword [rsi + 0x2c]
jmp 0x140027222
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001e9d0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140028390
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400283b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400283b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000204c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002096
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002096
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002096
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002096
cmp dword [rcx + 0x84], 0xe
jbe 0x140002096
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002098
xor al, al
add rsp, 0x28
ret
Function at 0x18000646c
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 0x18000653c
lea rdx, str.00000000
mov rcx, rbx
call fcn.180008d90
test al, al
jne 0x18000653c
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.18000129c
cmp qword [rax + 0x20], 8
jb 0x1800064cb
mov r8, qword [rax + 8]
jmp 0x1800064cf
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 0x1800064f5
mov rcx, qword [rsp + 0x30]
call fcn.180043070
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, [0x180068214]
xor edx, edx
mov rcx, rdi
call fcn.18001e4d4
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x28]
call fcn.18002b33c
mov rax, rdi
jmp 0x180006584
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, [0x180068218]
mov edx, 1
mov rcx, rdi
call fcn.18001e4d4
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x28]
call fcn.18002b33c
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180009914
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 [0x1800824d0]
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 0x18000997f
mov qword [rcx + 0x20], 7
mov qword [rcx + 0x18], rsi
mov word [rcx + 8], si
xor r8d, r8d
lea rdx, [0x1800674e0]
call fcn.18000297c
mov rax, rbx
jmp 0x180009ae9
mov word [rsp + 0x80], si
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0x82]
call fcn.180045560
mov r9d, 0x208
lea r8, [rsp + 0x80]
lea rdx, str.cachekvstore
xor ecx, ecx
call fcn.18001f958
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.18000129c
cmp qword [rax + 0x20], 8
jb 0x1800099d2
mov rdx, qword [rax + 8]
jmp 0x1800099d6
lea rdx, [rax + 8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x78], 8
jb 0x1800099f6
mov rcx, qword [rsp + 0x60]
call fcn.180043070
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, esi
jne 0x180009aae
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.1800098d4
nop
cmp qword [rsp + 0x70], rsi
je 0x180009a9c
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.18000129c
cmp qword [rax + 0x20], 8
jb 0x180009a77
mov rdx, qword [rax + 8]
jmp 0x180009a7b
lea rdx, [rax + 8]
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp qword [rsp + 0x50], 8
jb 0x180009a9c
mov rcx, qword [rsp + 0x38]
call fcn.180043070
nop
cmp qword [rsp + 0x78], 8
jb 0x180009aae
mov rcx, qword [rsp + 0x60]
call fcn.180043070
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rsi
mov word [rbx + 8], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x80]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.18000297c
mov rax, rbx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180009b10
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
and dword [rsp + 0x20], 0
cmp qword [rdx + 0x18], 0xc8
jbe 0x180009b68
mov qword [rcx + 0x20], 0xf
and qword [rcx + 0x18], 0
mov byte [rcx + 8], 0
xor r8d, r8d
lea rdx, [0x1800677fc]
call fcn.1800026f8
mov rax, rbx
jmp 0x180009bf7
lea rcx, [rsp + 0x30]
call fcn.180009914
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180009bc8
mov qword [rbx + 0x20], 0xf
and qword [rbx + 0x18], 0
mov byte [rbx + 8], al
xor r8d, r8d
lea rdx, [0x1800677fc]
mov rcx, rbx
call fcn.1800026f8
nop
cmp qword [rsp + 0x50], 8
jb 0x180009bc3
mov rcx, qword [rsp + 0x38]
call fcn.180043070
mov rax, rbx
jmp 0x180009bf7
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1800098f8
nop
cmp qword [rsp + 0x50], 8
jb 0x180009bf4
mov rcx, qword [rsp + 0x38]
call fcn.180043070
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180042bb0
add rsp, 0x60
pop rbx
ret
Function at 0x180011dd4
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
push rdi
push r12
push r14
sub rsp, 0x150
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movsx ebx, cl
lea rax, [rsp + 0x20]
mov qword [r11 + 0x10], rax
lea rdi, [0x1800698e0]
mov qword [rsp + 0x20], rdi
lea rbp, [0x18001203c]
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea r8, str.SYSTEMMountedDevices
mov r14, 0xffffffff80000002
mov rdx, r14
lea rcx, [r11 - 0xd8]
call fcn.18000408c
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.18001c058
nop
lea rcx, [rsp + 0x90]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x90]
call fcn.180043070
movzx r8d, bx
lea rdx, [0x180068160]
lea rcx, [rsp + 0x40]
call fcn.18002132c
cmp qword [rax + 0x20], 8
jb 0x180011e9a
mov rcx, qword [rax + 8]
jmp 0x180011e9e
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov esi, eax
cmp qword [rsp + 0x60], 8
jb 0x180011eb8
mov rcx, qword [rsp + 0x48]
call fcn.180043070
test esi, esi
je 0x180012001
lea rax, [rsp + 0x20]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea r8, str.SYSTEMMountedDevices
mov rdx, r14
lea rcx, [rsp + 0x110]
call fcn.18000408c
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18001c058
nop
lea rcx, [rsp + 0x110]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x110]
call fcn.180043070
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.18001c1d8
mov r12, qword [rsp + 0x70]
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbp
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdi, qword [rsp + 0x20]
test rdi, rdi
je 0x180011f76
cmp rdi, rbp
je 0x180011f7b
call fcn.180043018
mov rbx, qword [rsp + 0x28]
cmp rbx, r12
je 0x180011fcf
test rdi, rdi
jne 0x180011f94
call fcn.180043018
xor r11d, r11d
jmp 0x180011f97
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x30]
jne 0x180011fa2
call fcn.180043018
cmp qword [rbx + 0x38], 8
jb 0x180011faf
mov r8, qword [rbx + 0x20]
jmp 0x180011fb3
lea r8, [rbx + 0x20]
lea rdx, str.SYSTEMMountedDevices
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea rcx, [rsp + 0x20]
call fcn.180007d4c
jmp 0x180011f67
lea rcx, [rsp + 0x40]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x40]
call fcn.180043070
nop
lea rcx, [rsp + 0x90]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x90]
call fcn.180043070
nop
lea rcx, [rsp + 0xd0]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0xd0]
call fcn.180043070
mov eax, esi
lea r11, [rsp + 0x150]
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 0x18001e478
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 0x18001e4c4
mov edx, dword [rsp + 0x58]
lea rcx, str.thread__d_created:__s
mov r8, rdi
call fcn.18001dfb0
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18001ecec
Capabilities:
Enumerate files on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0x740
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x730], rax
mov rbp, rdx
mov rbx, rcx
mov qword [r11 - 0x6c0], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea ecx, [r12 + 8]
call fcn.18004316c
cmp rax, r12
je 0x18001ed4e
lea rcx, [rsp + 0x30]
mov qword [rax], rcx
jmp 0x18001ed51
mov rax, r12
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.180002d50
mov qword [rsp + 0x60], rax
mov byte [rax + 0x41], 1
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rax], rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x68], r12
cmp rbp, r12
jne 0x18001edbf
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180008f58
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x30]
call fcn.180043070
mov rax, rbx
jmp 0x18001ef3b
mov rdx, rbp
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..________.dirty
lea rcx, [rsp + 0x520]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18001ef0e
lea rdx, [0x180069c48]
lea rcx, [rsp + 0xec]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r12d
je 0x18001eeeb
lea rdx, [0x180069c4c]
lea rcx, [rsp + 0xec]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r12d
je 0x18001eeeb
cmp dword [rsp + 0xc0], 0xffffffff
je 0x18001eeeb
mov rdx, rbp
lea rcx, [rsp + 0x310]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0xec]
lea rcx, [rsp + 0x310]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], r12
mov word [rsp + 0x78], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x310]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x70]
call fcn.18000297c
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.18000939c
nop
cmp qword [rsp + 0x90], 8
jb 0x18001eeeb
mov rcx, qword [rsp + 0x78]
call fcn.180043070
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r12d
jne 0x18001ee08
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180008f58
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.180007e34
nop
mov rcx, qword [rsp + 0x30]
call fcn.180043070
mov rax, rbx
mov rcx, qword [rsp + 0x730]
xor rcx, rsp
call fcn.180042bb0
lea r11, [rsp + 0x740]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x18001ef64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
mov rbx, rcx
cmp rcx, rdi
je 0x18001f072
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x18001f072
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], di
call fcn.180045560
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18001ff90
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18001efe3
shr eax, 4
not eax
and eax, 1
jmp 0x18001f074
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.18001f098
cmp eax, edi
je 0x18001f072
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 0x18001f050
mov ecx, 1
cmp rax, 0xffffffffffffffff
jne 0x18001f052
mov ecx, edi
cmp cl, dil
mov ebx, edi
setne bl
cmp rax, 0xffffffffffffffff
je 0x18001f06e
cmp rax, rdi
je 0x18001f06e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x18001f074
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180042bb0
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret