joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002160
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.1400675ec
mov rcx, 0xffffffffffffffff
lea rdx, [rax + 1]
mov eax, 2
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.14002700c
mov rcx, rbx
mov rdi, rax
call fcn.1400675ec
mov r8, rbx
mov rcx, rdi
lea rdx, [rax + 1]
call fcn.140067468
mov ebp, 0x5c
mov rcx, rdi
mov edx, ebp
call fcn.140064488
xor esi, esi
jmp 0x1400021e1
xor edx, edx
mov word [rbx], si
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, ebp
mov word [rbx], bp
lea rcx, [rbx + 2]
call fcn.140064488
mov rbx, rax
mov rcx, rdi
test rax, rax
jne 0x1400021c8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rdi
mov ebx, eax
call fcn.140027004
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002218
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x638]
sub rsp, 0x720
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x610], rax
mov rsi, rcx
mov r8, rcx
mov r15d, 0x124
lea rcx, [rbp + 0x3c0]
mov edx, r15d
call fcn.140067468
lea r8, [0x1400852d0]
mov edx, r15d
lea rcx, [rbp + 0x3c0]
call fcn.1400673e8
mov r8, rsi
lea rcx, [rbp + 0x170]
mov edx, r15d
call fcn.140067468
lea r8, [0x140085174]
mov edx, r15d
lea rcx, [rbp + 0x170]
call fcn.1400673e8
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400022c6
xor eax, eax
jmp 0x1400023dc
lea r8, [rbp + 0x170]
mov rdx, r15
lea rcx, [rbp + 0x3c0]
call fcn.140067468
xor r14d, r14d
mov ebx, 1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400023b5
lea rdx, [0x1400852d8]
lea rcx, [rsp + 0x4c]
call fcn.1400675b4
test eax, eax
je 0x1400023c2
lea rdx, [0x1400852dc]
lea rcx, [rsp + 0x4c]
call fcn.1400675b4
test eax, eax
je 0x1400023c2
lea r8, [rsp + 0x4c]
mov rdx, r15
lea rcx, [rbp + 0x170]
call fcn.1400673e8
test byte [rsp + 0x20], 0x10
je 0x14000236a
lea rcx, [rbp + 0x170]
call fcn.140002218
test eax, eax
je 0x140002408
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14000239d
test byte [rsp + 0x20], 1
je 0x140002383
mov edx, 0x80
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000239d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [rbp + 0x3c0]
mov rdx, r15
lea rcx, [rbp + 0x170]
call fcn.140067468
jmp 0x1400023c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
cmove ebx, r14d
test ebx, ebx
jne 0x1400022e4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400022bf
Function at 0x140002668
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r8
mov r13d, edx
mov r15, rcx
call fcn.1400675ec
mov rbx, 0xffffffffffffffff
lea r9, [rax + 8]
mov eax, 2
mul r9
cmovo rax, rbx
mov rcx, rax
call fcn.14002700c
mov qword [rsp + 0x38], rax
mov r14, rax
test rax, rax
jne 0x1400026e2
lea ecx, [rbx + 9]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14000283a
mov rcx, r15
call fcn.1400675ec
mov r9, r15
lea r8, [0x1400852e8]
mov rcx, r14
lea rdx, [rax + 8]
call fcn.140003410
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, rbx
je 0x14000282d
or r14, rbx
test byte [rsp + 0x40], 0x10
je 0x1400027fc
lea rdx, [0x1400852d8]
lea rcx, [rsp + 0x6c]
call fcn.140067698
test eax, eax
je 0x140002809
lea rdx, [0x1400852dc]
lea rcx, [rsp + 0x6c]
call fcn.140067698
test eax, eax
je 0x140002809
test r13d, r13d
je 0x140002809
mov rcx, r15
call fcn.1400675ec
lea rcx, [rsp + 0x6c]
mov rbx, rax
call fcn.1400675ec
lea rcx, [rax + 8]
mov eax, 2
add rcx, rbx
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14002700c
mov r12, rax
test rax, rax
je 0x140002809
mov rcx, r15
call fcn.1400675ec
lea rcx, [rsp + 0x6c]
mov rbx, rax
call fcn.1400675ec
mov r9, r15
lea r8, str._s_s
mov rcx, r12
lea rdx, [rax + 8]
lea rax, [rsp + 0x6c]
add rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.140003410
xor eax, eax
lea r8, [rsp + 0x30]
mov edx, r13d
mov qword [rsp + 0x30], rax
mov rcx, r12
call fcn.140002668
mov rax, qword [rsp + 0x30]
mov rcx, r12
add qword [rdi], rax
call fcn.140027004
jmp 0x140002809
mov eax, dword [rsp + 0x60]
add dword [rdi], eax
mov eax, dword [rsp + 0x5c]
add dword [rdi + 4], eax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000271d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rsp + 0x38]
mov rcx, r14
call fcn.140027004
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14005ef50
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002864
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5b8]
sub rsp, 0x6a0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov qword [rbp - 0x78], rdx
mov rdi, rcx
lea rcx, [rbp - 0x50]
call fcn.140001370
nop
mov edx, 0x104
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rbp - 0x68]
movzx ecx, word [rbp + 0x360]
call fcn.1400620e0
cmp dword [rbp - 0x64], 1
jne 0x1400029fe
lea rcx, [rbp + 0x60]
call fcn.140061ba0
mov r8, rdi
mov edx, 0x100
lea rcx, [rbp + 0x60]
call fcn.1400673e8
lea rcx, [rbp + 0x60]
call fcn.1400675ec
lea r8d, [rax + rax]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140001df8
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400014bc
movzx eax, byte [rbp + 0x5f]
movzx ecx, byte [rbp + 0x5e]
movzx edx, byte [rbp + 0x5d]
movzx r8d, byte [rbp + 0x5c]
movzx r10d, byte [rbp + 0x5b]
movzx r11d, byte [rbp + 0x5a]
movzx ebx, byte [rbp + 0x59]
movzx edi, byte [rbp + 0x58]
movzx esi, byte [rbp + 0x57]
movzx r14d, byte [rbp + 0x56]
movzx r15d, byte [rbp + 0x55]
movzx r12d, byte [rbp + 0x54]
movzx r13d, byte [rbp + 0x53]
movzx r9d, byte [rbp + 0x50]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x80], edx
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
movzx eax, byte [rbp + 0x52]
mov dword [rsp + 0x28], eax
movzx eax, byte [rbp + 0x51]
mov dword [rsp + 0x20], eax
lea r8, str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
mov edx, 0x40
mov rcx, qword [rbp - 0x78]
call fcn.140003410
mov ebx, 1
lea rcx, [rbp - 0x50]
call fcn.1400013cc
mov eax, ebx
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14005ef50
mov rbx, qword [rsp + 0x6f0]
add rsp, 0x6a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x80], 0x200
lea r9, [0x140085178]
lea r8, str.SYSTEMCurrentControlSetServices_s
mov edx, 0x80
lea rcx, [rbp + 0x260]
call fcn.140003410
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x7c]
lea r8, str.GUID
lea rdx, [rbp + 0x260]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
test eax, eax
je 0x1400028e3
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400029c9
Function at 0x140002bd4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x20]
call fcn.140064220
and dword [rdi], 0
mov rcx, rbx
call fcn.1400675ec
lea rcx, [rax + 3]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002700c
mov rcx, rbx
mov rsi, rax
call fcn.1400675ec
mov r8, rbx
mov rcx, rsi
lea rdx, [rax + 3]
call fcn.140067468
mov rcx, rbx
call fcn.1400675ec
lea r8, [0x140085174]
mov rcx, rsi
lea rdx, [rax + 3]
call fcn.1400673e8
mov dword [rsp + 0x38], 0x20
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x140002cb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call fcn.140027004
mov ecx, ebx
jmp 0x140002d37
mov rcx, rsi
call fcn.140027004
lea rdx, str.FAT32
lea rcx, [rsp + 0x40]
call fcn.140067698
test eax, eax
jne 0x140002cdb
mov dword [rdi], 2
mov eax, 1
jmp 0x140002d3f
lea rdx, [0x140085278]
lea rcx, [rsp + 0x40]
call fcn.140067698
test eax, eax
jne 0x140002cf8
mov dword [rdi], 1
jmp 0x140002cd4
lea rdx, str.NTFS
lea rcx, [rsp + 0x40]
call fcn.140067698
test eax, eax
jne 0x140002d15
mov dword [rdi], 3
jmp 0x140002cd4
lea rdx, str.EXFAT
lea rcx, [rsp + 0x40]
call fcn.140067698
test eax, eax
jne 0x140002d32
mov dword [rdi], 4
jmp 0x140002cd4
mov ecx, 0x3ed
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140002d60
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x68], rax
movabs rax, 0x5c003a0020
movzx ebx, cx
mov qword [rsp + 0x40], rax
mov word [rsp + 0x40], cx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 1
ja 0x140002e6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140002e6a
mov dword [rsp + 0x38], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140002e6a
lea rdx, [0x140085278]
lea rcx, [rsp + 0x48]
call fcn.140067698
test eax, eax
je 0x140002e57
lea rdx, str.FAT32
lea rcx, [rsp + 0x48]
call fcn.140067698
test eax, eax
je 0x140002e57
lea rdx, str.FAT16
lea rcx, [rsp + 0x48]
call fcn.140067698
test eax, eax
je 0x140002e57
lea rdx, str.EXFAT
lea rcx, [rsp + 0x48]
call fcn.140067698
test eax, eax
je 0x140002e57
lea rdx, str.NTFS
lea rcx, [rsp + 0x48]
call fcn.140067698
test eax, eax
jne 0x140002e6a
movzx ecx, bx
call fcn.140002f30
test eax, eax
je 0x140002e6a
mov eax, 1
jmp 0x140002e6c
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x70
pop rbx
ret

Function at 0x140002f30
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x430], rax
movabs rax, 0x5c003a0043
lea rdx, [rsp + 0x230]
mov qword [rsp + 0x20], rax
mov r8d, 0x100
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140002fcc
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002fcc
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x230]
call fcn.140067698
mov rcx, rbx
test eax, eax
je 0x140002fe7
mov r8d, 0x100
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x140002f95
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor eax, eax
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x440
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, 1
jmp 0x140002fce
Function at 0x140002ff4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rdi, r8
mov rbx, rdx
mov r9d, 0x19
mov r8, rcx
lea r12d, [r9 + 7]
mov edx, r12d
lea rcx, [r11 - 0x78]
call fcn.1400674d0
xor r15d, r15d
mov word [rsp + reloc.OLEAUT32.dll_OleCreatePictureIndirect], r15w
mov edx, r12d
lea rcx, [rsp + 0x170]
call fcn.140067a24
lea rcx, [rsp + 0x170]
call fcn.1400675ec
cmp rax, 0x19
jne 0x14000318d
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.140064220
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x170]
mov esi, 0x200
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
mov r8, rbx
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x120]
mov edx, r12d
lea rcx, [rsp + 0x150]
call fcn.140067a78
lea rcx, [rsp + 0x80]
call fcn.140001370
nop
lea rcx, [rsp + 0x150]
call fcn.140067b00
lea r8d, [rax - 0x10]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x80]
call fcn.140001df8
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x80]
call fcn.1400014bc
mov esi, r15d
mov ebx, r15d
movzx ecx, byte [rsp + rbx + 0x140]
call fcn.14000328c
cmp ax, word [rsp + rbx*2 + 0x170]
jne 0x140003171
inc esi
inc rbx
cmp rbx, 0x10
jl 0x14000314f
lea rcx, [rsp + 0x80]
call fcn.1400013cc
cmp esi, 0x10
jl 0x14000318d
mov eax, 1
jmp 0x14000326a
test rdi, rdi
je 0x140003268
mov dword [rdi], r15d
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [0x140085170]
lea rdx, str.CLSID78C3F4BC_C7BC_48E4_AD72_2DD16F6704A9
mov rcx, 0xffffffff80000000
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x140003268
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movabs r8, 0xd6bf94d5e57a42bd
mov rax, r8
mul qword [rsp + 0x48]
mov rcx, rdx
shr rcx, 0x17
mov qword [rsp + 0x48], rcx
mov rax, r8
mul qword [rsp + 0x50]
shr rdx, 0x17
mov qword [rsp + 0x50], rdx
cmp rdx, rcx
jbe 0x140003268
sub rdx, rcx
cmp rdx, 0x278d00
jae 0x140003268
movabs rax, 0xc22e450672894ab7
mul rdx
shr rdx, 0x10
mov eax, 0x1e
sub eax, edx
mov dword [rdi], eax
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x1c0
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140005be8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
and dword [rcx], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x10]
mov qword [r11 - 0x18], rcx
lea r8, str.NoDriveAutoRun
mov rbx, rcx
mov dword [rsp + 0x48], 4
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x40], 4
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.NoDriveAutoRun
mov dword [rsp + 0x50], 0x7ffffff
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [rbx + 4], 1
add rsp, 0x30
pop rbx
ret

Function at 0x140005c7c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov r9d, 4
lea r8, str.NoDriveAutoRun
mov dword [rsp + 0x28], r9d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov qword [rsp + 0x20], rcx
mov rbx, rcx
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
and dword [rbx + 4], 0
add rsp, 0x30
pop rbx
ret

Function at 0x140006244
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rbx
sub rsp, 0x50
and qword [rsp + 0x60], 0
lea rcx, str.._rootwmi
and qword [rsp + 0x68], 0
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
and qword [rsp + 0x40], 0
xor r9d, r9d
mov dword [rsp + 0x38], 2
xor r8d, r8d
and qword [rsp + 0x30], 0
or edx, 0xffffffff
mov dword [rsp + 0x28], 3
xor ecx, ecx
and dword [rsp + 0x20], 0
mov rbx, rax
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x1400062b7
cmp eax, 0x80010119
je 0x1400062b7
lea rcx, str.CoInitializeSecurity___returned_0x_08X_n
jmp 0x140006372
xor edx, edx
lea rax, [rsp + 0x60]
lea r9, [0x14009ec50]
mov qword [rsp + 0x20], rax
lea rcx, [0x14009ec40]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400062eb
lea rcx, str.CoCreateInstance___returned_0x_08X_n
jmp 0x140006372
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
and qword [rsp + 0x38], 0
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov rax, qword [rcx]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [rax + 0x18]
test eax, eax
je 0x140006337
mov r8, rbx
lea rcx, str.pWMILocator__ConnectServer___returned_0x_08X_trying_to_connect_to__ls_n
mov edx, eax
call fcn.140006874
jmp 0x140006379
and dword [rsp + 0x38], 0
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], 3
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
je 0x140006379
lea rcx, str.CoSetProxyBlanket___returned_0x_08X_n
mov edx, eax
call fcn.140006874
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140006392
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
Function at 0x140006e24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rbp
mov ebx, ecx
xor edi, edi
call fcn.1400293ac
movzx edx, bx
lea r8, [0x140086a00]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140006e6c
xor eax, eax
jmp 0x140006f66
call fcn.1400293ac
mov rdx, rbx
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
jne 0x140006e90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x140006e65
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140006f5a
call fcn.1400293ac
mov rdx, rbx
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rbx, eax
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x140006f5a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.140064b40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rbp
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140006f51
mov r14, qword [rsp + 0x58]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140006f46
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rdx, [rbx + 8]
mov qword [rdx], rdi
mov rcx, r14
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [rbx + 0x10], eax
mov rdi, rbx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x140007f54
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140033ac8
mov ebx, 0x45b
mov rcx, rdi
mov edx, ebx
call fcn.140032178
mov r9d, 0x64
lea edx, [rbx - 0x55]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, ebx
mov rcx, rdi
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032da4
lea edx, [rbx + 1]
mov rcx, rdi
call fcn.140032178
mov rcx, rax
xor edx, edx
call fcn.140032da4
mov rbx, qword [rdi + 0x138]
mov edx, 0x3f2
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
mov rcx, qword [rdi + 0x130]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1400081dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r8, rdx
movzx edx, word [rcx + 0x130]
jmp method.CAboutPage.virtual_720
Function at 0x14000d46c
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [0x1400890d8]
lea rcx, [rsp + 0x4e]
movsd xmm0, qword [str.._:]
xor edx, edx
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400890dc]
movsd qword [rsp + 0x40], xmm0
lea r8d, [rdx + 0x32]
mov word [rsp + 0x4c], ax
call fcn.140064220
movzx eax, word [rsp + 0x80]
lea rcx, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov word [rsp + 0x48], ax
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000d50f
xor eax, eax
jmp 0x14000d51d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14005ef50
add rsp, 0x2a8
ret

Function at 0x14000d538
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rsp + 0x38], 0
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
je 0x14000d5a5
mov ebx, 1
cmp dword [rsp + 0x38], ebx
jle 0x14000d5a0
lea rdi, [rax + 8]
mov rcx, qword [rdi]
lea rdx, str._exit
call fcn.140067698
test eax, eax
jne 0x14000d594
mov dword [rsi + 0x180], 1
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x38]
jl 0x14000d577
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d624
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000d67d
lea rdx, str.ChangeWindowMessageFilter
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000d674
lea rcx, str.StartWork:_Find_ChangeWindowMessageFilter
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, 1
mov ecx, 0x233
call rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret