joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001ecd0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1090
call fcn.180052f60
sub rsp, rax
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rdi, rcx
mov ebp, 0x206
lea rcx, [rsp + 0x252]
xor ebx, ebx
xor edx, edx
mov r8, rbp
mov word [rsp + 0x250], bx
call fcn.18003eb60
mov esi, 0x104
lea r8, [rsp + 0x250]
lea rdx, str.poflt64.sys
mov r9d, esi
mov rcx, rdi
call fcn.18001a864
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x18001eda3
cmp word [0x18007a480], bx
je 0x18001ed8a
lea rdx, [0x18007a480]
lea rcx, [rsp + 0x250]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rdx, str.poflt64.sys
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x18001eda3
xor eax, eax
jmp 0x18001ef23
lea rcx, str.poflt64
call fcn.18001c95c
cmp eax, ebx
je 0x18001edc7
mov edx, 1
mov rcx, rdi
call fcn.18001ea64
mov ebx, eax
jmp 0x18001ef21
lea rcx, [rsp + 0x42]
mov r8, rbp
xor edx, edx
mov word [rsp + 0x40], bx
call fcn.18003eb60
lea r8, [rsp + 0x40]
lea rdx, str.poflt64.inf
mov r9d, esi
xor ecx, ecx
call fcn.18001a864
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x18001ee27
lea rdx, [0x18007a480]
lea rcx, [rsp + 0x40]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rdx, str.poflt64.inf
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x18001ef21
lea rcx, [rsp + 0x462]
mov r8, rbp
xor edx, edx
mov word [rsp + 0x460], bx
call fcn.18003eb60
lea rcx, [rsp + 0x672]
mov r8, rbp
xor edx, edx
mov word [rsp + 0x670], bx
call fcn.18003eb60
lea rcx, [rsp + 0x460]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x670]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.rundll32.exe
lea rcx, [rsp + 0x460]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.setupapi.dll
lea rcx, [rsp + 0x670]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea r11, [rsp + 0x40]
lea rax, [rsp + 0x670]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x460]
lea r8, str._s__s_InstallHinfSection_DefaultInstall_132__s
lea rcx, [rsp + 0x880]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x880]
or r8d, 0xffffffff
mov dword [rsp + 0x30], ebx
call fcn.18001b1a0
cmp eax, ebx
je 0x18001ef21
cmp dword [rsp + 0x30], ebx
mov eax, 1
cmove ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.18003c1a0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180033174
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.18003eb60
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.180002638
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x18003322c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x60], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.18003eb60
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x1800332a6
lea rdx, str.projonepodlp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x1800332bd
cmp esi, 2
jne 0x18003330a
lea rdx, str.projonepotcm
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp rdi, rbp
je 0x1800332d0
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180002638
mov rax, rbx
jmp 0x1800333b0
cmp esi, ebp
jne 0x18003338b
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.18003322c
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebp
je 0x180033363
mov r8, rdi
mov edx, 2
mov rcx, rbx
call fcn.18003322c
nop
cmp qword [rsp + 0x50], 8
jb 0x18003335e
mov rcx, qword [rsp + 0x38]
call fcn.18003c660
mov rax, rbx
jmp 0x1800333b0
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.18003322c
nop
cmp qword [rsp + 0x50], 8
jb 0x180033386
mov rcx, qword [rsp + 0x38]
call fcn.18003c660
mov rax, rbx
jmp 0x1800333b0
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor r8d, r8d
lea rdx, [0x18005f470]
mov rcx, rbx
call fcn.180002638
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800333d4
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movsx r8d, cl
lea rdx, str.__c:
lea rcx, [rsp + 0x48]
call fcn.18001bd74
cmp qword [rax + 0x20], 0x10
jb 0x180033415
mov rcx, qword [rax + 8]
jmp 0x180033419
lea rcx, [rax + 8]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov r8d, 3
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp qword [rsp + 0x68], 0x10
mov rbx, rax
jb 0x180033452
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
and qword [rsp + 0x60], 0
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
test rbx, rbx
je 0x1800334f6
cmp rbx, rdi
je 0x180033509
lea r8d, [rdi + 0x25]
lea rcx, [rsp + 0x84]
xor edx, edx
mov dword [rsp + 0x80], 0x28
call fcn.18003eb60
and dword [rsp + 0x70], 0
and dword [rsp + 0x74], 0
xor eax, eax
lea r9d, [rdi + 0xd]
and qword [rsp + 0x38], rax
and dword [rsp + 0x40], eax
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, 0x2d1400
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov rcx, rbx
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180033500
mov edi, dword [rsp + 0x9c]
jmp 0x180033500
cmp rbx, rdi
je 0x180033509
test rbx, rbx
je 0x180033509
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret

Function at 0x18003352c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov dil, cl
mov byte [rsp + 0x20], cl
lea rcx, [rsp + 0x20]
mov rbx, rdx
mov byte [rsp + 0x21], 0x3a
mov byte [rsp + 0x22], 0x5c
mov qword [rsp + 0x23], rax
mov dword [rsp + 0x2b], eax
mov byte [rsp + 0x2f], al
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x180033582
cmp eax, 3
je 0x180033582
mov byte [rbx], 0
jmp 0x18003359b
mov cl, dil
call fcn.1800333d4
cmp eax, 0xffffffff
jne 0x180033593
xor al, al
jmp 0x18003359d
cmp eax, 7
jne 0x18003359b
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800335b8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
and dword [rsp + 0x70], 0
mov ecx, 8
call fcn.18003c75c
test rax, rax
je 0x1800335e9
mov qword [rax], rbx
jmp 0x1800335eb
xor eax, eax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180016e98
mov qword [rbx + 0x30], rax
mov byte [rax + 0x1a], 1
mov rax, qword [rbx + 0x30]
mov qword [rax + 8], rax
mov rax, qword [rbx + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x10], rax
and qword [rbx + 0x38], 0
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
xor edi, edi
bt esi, edi
jae 0x180033667
mov byte [rsp + 0x68], 0
lea ecx, [rdi + 0x61]
lea rdx, [rsp + 0x68]
call fcn.18003352c
test al, al
je 0x180033667
cmp byte [rsp + 0x68], 0
je 0x180033667
lea eax, [rdi + 0x41]
mov byte [rsp + 0x68], al
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180013164
inc edi
cmp edi, 0x1a
jl 0x18003362c
mov rax, rbx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x18003367c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
movsx r8d, cl
lea rdx, str.._c:
lea rcx, [rsp + 0x48]
call fcn.18001bd74
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
cmovae rcx, qword [rsp + 0x50]
xor edi, edi
mov edx, 0x80000000
lea r8d, [rdi + 3]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, rdi
je 0x180033765
cmp rax, 0xffffffffffffffff
je 0x180033779
lea rcx, [rsp + 0x71]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x70], dil
call fcn.18003eb60
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov r8d, 0x200
mov rcx, rbx
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
cmp eax, edi
je 0x180033773
cmp dword [rsp + 0x250], 0x1a6c0089
jne 0x180033773
mov edi, dword [rsp + 0x254]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x68], 0x10
jb 0x180033761
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
mov eax, edi
jmp 0x18003378d
cmp rax, 0xffffffffffffffff
je 0x180033779
cmp rax, rdi
je 0x180033779
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x68], 0x10
jb 0x18003378b
mov rcx, qword [rsp + 0x50]
call fcn.18003c660
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x1800337ec
Capabilities:
Check if file exists
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, r8d
mov r8d, edx
mov dl, cl
lea rcx, [r11 - 0x40]
call fcn.1800337b0
nop
test edi, edi
jne 0x180033844
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.180019854
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180033897
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180033897
or eax, 6
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
mov eax, edi
neg eax
sbb edx, edx
and edx, 0x70000000
add edx, 0x10000000
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x1800339dd
cmp rax, 0xffffffffffffffff
je 0x1800339f2
mov byte [rsp + 0x40], 0
xor eax, eax
mov word [rsp + 0x41], ax
mov byte [rsp + 0x43], al
and dword [rsp + 0x4c], eax
and qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x4c], 4
jne 0x18003394d
mov edi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x180033946
mov rcx, qword [rsp + 0x60]
call fcn.18003c660
mov eax, edi
jmp 0x180033a06
test edi, edi
je 0x180033974
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x18003396d
mov rcx, qword [rsp + 0x60]
call fcn.18003c660
xor eax, eax
jmp 0x180033a06
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
call fcn.18001ab80
mov dword [rsp + 0x48], eax
and dword [rsp + 0x44], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, 4
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x44], 4
jne 0x1800339dd
mov edi, dword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x1800339d9
mov rcx, qword [rsp + 0x60]
call fcn.18003c660
mov eax, edi
jmp 0x180033a06
cmp rbx, 0xffffffffffffffff
je 0x1800339f2
test rbx, rbx
je 0x1800339f2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x180033a04
mov rcx, qword [rsp + 0x60]
call fcn.18003c660
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x180033a28
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov bl, cl
xor r8d, r8d
mov dl, cl
lea rcx, [rsp + 0x50]
call fcn.1800337b0
nop
mov r8d, 1
mov dl, bl
lea rcx, [rsp + 0x28]
call fcn.1800337b0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
cmp qword [rax + 0x20], 0x10
jb 0x180033a8b
mov rcx, qword [rax + 8]
jmp 0x180033a8f
lea rcx, [rax + 8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
cmp qword [rsp + 0x48], 0x10
jb 0x180033aaa
mov rcx, qword [rsp + 0x30]
call fcn.18003c660
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180033ae3
or eax, 6
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rcx, qword [rsp + 0x58]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180033af5
mov rcx, qword [rsp + 0x58]
call fcn.18003c660
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18003c1a0
add rsp, 0x80
pop rbx
ret

Function at 0x180033e40
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rdx
mov bl, cl
xor ebp, ebp
mov byte [rsp + 0x40], bpl
lea rdx, [rsp + 0x40]
call fcn.18003352c
cmp al, bpl
je 0x180033f95
cmp byte [rsp + 0x40], bpl
je 0x180033f95
movsx eax, bl
movzx r8d, ax
lea rdx, [0x18005f8f8]
lea rcx, [rsp + 0x50]
call fcn.18001bccc
nop
mov word [rsp + 0x180], bp
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x182]
call fcn.18003eb60
mov word [rsp + 0x80], bp
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x82]
call fcn.18003eb60
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov r8d, 0x80
mov dword [rsp + 0x38], r8d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea rdx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp word [rsp + 0x80], bp
je 0x180033f7f
mov cl, bl
call fcn.18003367c
cmp eax, ebp
je 0x180033f5c
mov dword [rdi], eax
cmp qword [rsp + 0x70], 8
jb 0x180033f58
mov rcx, qword [rsp + 0x58]
call fcn.18003c660
mov al, 1
jmp 0x180033f97
mov cl, bl
call fcn.180033c20
cmp eax, ebp
je 0x180033f7f
mov dword [rdi], eax
cmp qword [rsp + 0x70], 8
jb 0x180033f7b
mov rcx, qword [rsp + 0x58]
call fcn.18003c660
mov al, 1
jmp 0x180033f97
cmp qword [rsp + 0x70], 8
jb 0x180033f91
mov rcx, qword [rsp + 0x58]
call fcn.18003c660
xor al, al
jmp 0x180033f97
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18003c1a0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180035924
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebx, r9d
mov rsi, r8
mov bpl, dl
mov dil, cl
mov dl, cl
lea rcx, [r11 - 0x50]
call fcn.180034c98
nop
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800359b6
mov dword [0x18007a264], 0x1392
cmp qword [rsp + 0x98], 8
jb 0x1800359af
mov rcx, qword [rsp + 0x80]
call fcn.18003c660
xor eax, eax
jmp 0x180035b88
mov r8, rsi
mov dl, dil
lea rcx, [rsp + 0x50]
call fcn.180034ddc
nop
lea rax, [rsp + 0x80]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x98]
cmp r10, 8
cmovae rax, r9
xor edi, edi
cmp rax, rdi
je 0x180035b3d
lea rax, [rsp + 0x58]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rcx, 8
cmovae rax, r8
cmp rax, rdi
je 0x180035b47
lea rdx, [rsp + 0x58]
cmp rcx, 8
cmovae rdx, r8
lea rcx, [rsp + 0x80]
cmp r10, 8
cmovae rcx, r9
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
jne 0x180035b21
cmp ebx, edi
je 0x180035a88
cmp qword [rsp + 0x70], 8
jb 0x180035a53
mov rcx, qword [rsp + 0x58]
call fcn.18003c660
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
cmp qword [rsp + 0x98], 8
jb 0x180035a7e
mov rcx, qword [rsp + 0x80]
call fcn.18003c660
mov eax, 1
jmp 0x180035b88
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.18001887c
nop
cmp qword [rax + 0x20], 0x10
jb 0x180035aa5
mov rcx, qword [rax + 8]
jmp 0x180035aa9
lea rcx, [rax + 8]
mov r8b, bpl
mov rdx, rsi
call fcn.180038d8c
mov ebx, edi
cmp eax, edi
sete bl
cmp qword [rsp + 0x40], 0x10
jb 0x180035acd
mov rcx, qword [rsp + 0x28]
call fcn.18003c660
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x28], dil
cmp qword [rsp + 0x70], 8
jb 0x180035af2
mov rcx, qword [rsp + 0x58]
call fcn.18003c660
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
cmp qword [rsp + 0x98], 8
jb 0x180035b1d
mov rcx, qword [rsp + 0x80]
call fcn.18003c660
mov eax, ebx
jmp 0x180035b88
mov r10, qword [rsp + 0x98]
mov r9, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
jmp 0x180035b47
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
cmp rcx, 8
jb 0x180035b65
mov rcx, r8
call fcn.18003c660
mov r10, qword [rsp + 0x98]
mov r9, qword [rsp + 0x80]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
cmp r10, 8
jb 0x180035b86
mov rcx, r9
call fcn.18003c660
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800367c4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
mov eax, 0x1038
call fcn.180052f60
sub rsp, rax
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov r8, rcx
lea r9, [rsp + 0x1048]
lea rcx, [rsp + 0x20]
mov edx, 0x800
call qword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.18003c1a0
add rsp, 0x1038
ret

Function at 0x180036b9c
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.18003eb60
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x180036c4d
lea r8, [rsp + 0x20]
lea rdx, str.swvv64.sys
mov r9d, 0x104
xor ecx, ecx
call fcn.18001a864
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x180036c4d
cmp word [0x18007a690], bx
je 0x180036c3a
lea rdx, [0x18007a690]
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rdx, str.swvv64.sys
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x180036c4d
xor eax, eax
jmp 0x180036c64
lea rdx, str.swvv
lea rcx, [rsp + 0x20]
mov r8d, 3
call fcn.18001c7a0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18003c1a0
add rsp, 0x240
pop rbx
ret
Function at 0x180037ae4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x1a0
mov rax, qword [0x1800764c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbp, rcx
mov edi, edx
lea rcx, [rsp + 0x74]
xor r12d, r12d
xor edx, edx
mov r8d, 0x110
mov ebx, r12d
mov dword [rsp + 0x70], 0x114
call fcn.18003eb60
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [rsp + 0x74]
mov r13d, 0x8000
cmp rbp, r13
jne 0x180037b4f
mov ebx, 0x100
jmp 0x180037b7e
cmp rbp, 0x8004
jne 0x180037b5f
mov ebx, 0x80
jmp 0x180037b7e
cmp edx, 6
jb 0x180037b7e
cmp dword [rsp + 0x78], 1
jb 0x180037b7e
mov eax, ebx
mov ebx, 0x80
cmp rbp, 0x8003
cmove eax, ebx
mov ebx, eax
mov ecx, edi
mov esi, 1
shl esi, cl
cmp ebx, r12d
je 0x180037bc9
mov edi, r12d
bt esi, edi
jae 0x180037bbe
xor r9d, r9d
lea eax, [rdi + 0x41]
lea r8, [rsp + 0x40]
lea edx, [r9 + 5]
mov ecx, ebx
mov byte [rsp + 0x41], 0x3a
mov byte [rsp + 0x40], al
mov byte [rsp + 0x42], 0x5c
mov byte [rsp + 0x43], r12b
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
inc edi
cmp edi, 0x1a
jl 0x180037b8f
mov edx, dword [rsp + 0x74]
mov ebx, 2
cmp edx, 6
mov eax, 0x3e8
lea ecx, [rbx + 0x62]
mov dword [rsp + 0x54], esi
mov edi, 0x219
cmovae eax, ecx
lea rcx, [rsp + 0x60]
mov esi, 0xffff
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x48]
mov rcx, rsi
mov r8, rbp
mov edx, edi
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], r12d
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [rsp + 0x74], 6
jae 0x180037c5b
cmp rbp, r13
jne 0x180037c5b
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x48]
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, edi
mov rcx, rsi
mov dword [rsp + 0x28], 0xc8
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.18003c1a0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret