joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008fc40
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov eax, dword [0x1404928b8]
test eax, eax
jne 0x14008fc96
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x1404928b8], eax
mov ecx, eax
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14008fe3e
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x14008fe3e
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14008fe3e
mov ecx, dword [0x1404928b8]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x14008fe31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14008fe28
test byte [rax], 2
je 0x14008fe28
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
test rax, rax
je 0x14008fe31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
je 0x14008fe31
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
xor r15d, r15d
mov edi, r15d
test eax, eax
je 0x14008fe23
nop word [rax + rax]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1402dd440
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov edx, edi
mov rcx, rbp
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008fdb0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.14007ece0
nop
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x14008fe01
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
add qword [rbx + 8], 0x20
jmp 0x14008fe0f
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.14008fe70
nop
lea rcx, [rsp + 0x28]
call fcn.14007ec70
inc edi
cmp edi, esi
jb 0x14008fd60
mov rcx, r14
jmp 0x14008fe2b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x14008fe40
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140090920
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, rdx
mov rsi, rcx
xor ebx, ebx
lea rdx, [rsp + 0x20]
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov rdx, qword [rsp + 0x20]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x140090980
lea rcx, [rsp + 0x28]
call fcn.14007ece0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rsp + 0x40], 8
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x38]
movabs rdi, 0xcbf29ce484222325
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rax + rax]
test rdx, rdx
je 0x1400909e5
movabs r8, 0x100000001b3
movzx eax, byte [rbx + rcx]
inc rbx
xor rdi, rax
imul rdi, r8
cmp rbx, rdx
jb 0x1400909d2
lea rcx, [rsp + 0x28]
call fcn.14007ec70
mov rax, qword [rsi + 0x30]
and rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14009c070
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, r8
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
je 0x14009c26e
test rax, rax
je 0x14009c26e
xor ebx, ebx
mov qword [r11 - 0x38], rbx
mov qword [r11 - 0x30], 7
mov word [rsp + 0x40], bx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x14009c0d0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14007ece0
nop
cmp qword [rsp + 0x50], 0
je 0x14009c25d
cmp qword [rsi + 0x28], 0
jne 0x14009c11b
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x3e8
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rsi + 0x28], rax
test rax, rax
je 0x14009c25d
mov rax, qword [rsi + 0x30]
test rax, rax
jne 0x14009c163
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsi + 0x38], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, [0x14009c350]
xor edx, edx
xor ecx, ecx
call fcn.1402e67b4
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14009c259
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rsi + 0x40]
mov rdi, qword [rbx + 8]
lea r9, [rsp + 0x40]
mov r8, rdi
mov rdx, rbx
call fcn.14009c780
mov rdx, rax
mov rax, qword [rsi + 0x48]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jb 0x14009c292
inc rax
mov qword [rsi + 0x48], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
mov rbx, qword [rsi + 0x50]
mov rdi, qword [rbx + 8]
mov rax, rbx
cmp byte [rdi + 0x19], 0
jne 0x14009c1e9
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x40]
call fcn.1400952e0
test al, al
je 0x14009c1d9
mov rdi, qword [rdi + 0x10]
jmp 0x14009c1df
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x14009c1c1
mov rax, qword [rsi + 0x50]
cmp rbx, rax
je 0x14009c200
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400952e0
test al, al
je 0x14009c237
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rsi + 0x50]
call fcn.14009c7d0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x50]
call fcn.14009c830
mov rbx, qword [rsp + 0x30]
mov qword [rbx + 0x40], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x14009c25d
mov bl, 1
jmp 0x14009c25f
xor bl, bl
lea rcx, [rsp + 0x40]
call fcn.14007ec70
movzx eax, bl
jmp 0x14009c270
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rcx, str.list_T__too_long
call fcn.1401aba0c
int3
Function at 0x14009c2a0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14009c2bf
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14009c2f5
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14009c2e3
mov rcx, qword [rbx + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], 0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14009c30c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], 0
add rsp, 0x20
pop rbx
ret

Function at 0x14009d380
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov ebx, edx
lea rbp, [0x140402ad8]
mov rdi, rcx
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rsi, rax
test rax, rax
je 0x14009d447
lea rcx, [rsp + 0x60]
mov edx, 0x50
test ebx, ebx
jne 0x14009d3df
mov r8, rdi
call fcn.14007f180
lea ecx, [rbx + 4]
jmp 0x14009d3f7
mov r9, rdi
mov dword [rsp + 0x20], ebx
lea r8, str._s_failed_w_err_0x_08lx
call fcn.14007f180
mov ecx, 1
xor edx, edx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r9w
xor r9d, r9d
mov qword [rsp + 0x20], rdx
movzx edx, cx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009d470
Capabilities:
Create service
Modify service
Persist via windows service
Query service status
Start service

Disassembly:
sub rsp, 0x4d8
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x2b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14009d4cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.14009d9f0
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1401aed20
add rsp, 0x4d8
ret
xor edx, edx
mov qword [rsp + 0x4d0], rdi
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14009d508
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.14009d9f0
jmp 0x14009d64b
xor edx, edx
mov qword [rsp + 0x4e0], rbx
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
call fcn.1402dd440
lea r9, [rsp + 0x2b0]
mov edx, 0x104
lea r8, str.__s___pservice
lea rcx, [rsp + 0xa0]
call fcn.14007f180
xor ecx, ecx
lea rax, [0x1403ff228]
mov qword [rsp + 0x60], rcx
lea r8, str.Coodesker_Service
mov qword [rsp + 0x58], rcx
lea rdx, [0x140402ad8]
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rcx
mov rcx, rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x14009d5e6
mov r8d, 0xf01ff
lea rdx, [0x140402ad8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14009d5e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.14009d9f0
jmp 0x14009d63a
lea rax, str.Coodesker_Quick_Start_Service
mov edx, 1
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14009d631
mov eax, dword [rsp + 0x7c]
test al, 4
jne 0x14009d631
test al, 2
jne 0x14009d631
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x4e0]
mov rdi, qword [rsp + 0x4d0]
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1401aed20
add rsp, 0x4d8
ret
Function at 0x14009e530
Capabilities:
Query or enumerate registry value

Disassembly:
test rdx, rdx
je 0x14009e6e8
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x270], rbx
mov rsi, r8
mov rbx, 0xffffffffffffffff
mov rdi, rdx
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009e570
test rax, rax
je 0x14009e6c0
xor edx, edx
mov dword [rsp + 0x34], 4
mov r8d, 0x208
mov dword [rsp + 0x3c], 1
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 4
call fcn.1402dd440
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.1402e50f4
lea rcx, [rsp + 0x40]
lea rdx, str.21EC2020_3AEA_1069_A2DD_08002B30309D
nop dword [rax + rax]
movzx eax, word [rcx + rbx*2 + 2]
cmp ax, word [rdx + rbx*2 + 2]
jne 0x14009e5f4
add rbx, 2
cmp rbx, 0x27
je 0x14009e690
movzx eax, word [rcx + rbx*2]
cmp ax, word [rdx + rbx*2]
je 0x14009e5d0
lea rdx, str.26EE0668_A00A_44D7_9371_BEB064C98683
lea rcx, [rsp + 0x40]
call fcn.1402e4f5c
test eax, eax
je 0x14009e6bd
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x3c]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
jne 0x14009e6b1
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x38]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x14009e6ab
cmp dword [rsp + 0x38], 0
je 0x14009e6ab
xor al, al
mov byte [rsi], al
jmp 0x14009e6c0
lea r8, str.5399E694_6CE5_4D6C_8FCE_1D8870FDCBA0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1402e50f4
jmp 0x14009e60d
mov al, 1
mov byte [rsi], al
jmp 0x14009e6c0
cmp dword [rsp + 0x3c], 0
jne 0x14009e6bd
mov byte [rsi], 1
jmp 0x14009e6c0
mov byte [rsi], 0
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401aed20
mov rsi, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret
Function at 0x14009e539
Capabilities:
Query or enumerate registry value

Disassembly:
test rdx, rdx
je 0x14009e6e8
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x270], rbx
mov rsi, r8
mov rbx, 0xffffffffffffffff
mov rdi, rdx
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009e570
test rax, rax
je 0x14009e6c0
xor edx, edx
mov dword [rsp + 0x34], 4
mov r8d, 0x208
mov dword [rsp + 0x3c], 1
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 4
call fcn.1402dd440
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.1402e50f4
lea rcx, [rsp + 0x40]
lea rdx, str.21EC2020_3AEA_1069_A2DD_08002B30309D
nop dword [rax + rax]
movzx eax, word [rcx + rbx*2 + 2]
cmp ax, word [rdx + rbx*2 + 2]
jne 0x14009e5f4
add rbx, 2
cmp rbx, 0x27
je 0x14009e690
movzx eax, word [rcx + rbx*2]
cmp ax, word [rdx + rbx*2]
je 0x14009e5d0
lea rdx, str.26EE0668_A00A_44D7_9371_BEB064C98683
lea rcx, [rsp + 0x40]
call fcn.1402e4f5c
test eax, eax
je 0x14009e6bd
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x3c]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
jne 0x14009e6b1
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x38]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x14009e6ab
cmp dword [rsp + 0x38], 0
je 0x14009e6ab
xor al, al
mov byte [rsi], al
jmp 0x14009e6c0
lea r8, str.5399E694_6CE5_4D6C_8FCE_1D8870FDCBA0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1402e50f4
jmp 0x14009e60d
mov al, 1
mov byte [rsi], al
jmp 0x14009e6c0
cmp dword [rsp + 0x3c], 0
jne 0x14009e6bd
mov byte [rsi], 1
jmp 0x14009e6c0
mov byte [rsi], 0
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401aed20
mov rsi, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret
Function at 0x14009e6f9
Capabilities:
Get file system object information

Disassembly:
test rdx, rdx
je 0x14009e8bf
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009e734
test rax, rax
je 0x14009e8a2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rsp + 0x50], xmm0
xor ebp, ebp
mov word [rsp + 0x40], bp
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], bp
jne 0x14009e770
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14007ece0
nop
mov r8d, 2
lea rdx, [0x1403fe454]
mov rcx, rdi
call fcn.1402e4d88
test eax, eax
je 0x14009e7f6
mov r8, rdi
lea rdx, str.::_s
lea rcx, [rsp + 0x60]
call fcn.1401349c0
mov rdi, rax
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x14009e7ec
lea rcx, [rsp + 0x40]
call fcn.14007ec70
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rcx, [rsp + 0x60]
call fcn.14007ec70
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rsp + 0x80]
call fcn.1402dd440
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHParseDisplayName]
mov dword [rsp + 0x20], 0x1008
mov r9d, 0x2b8
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009e869
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [rsp + 0x90]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14009e871
mov r8, rbx
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.14007ece0
mov eax, dword [rsp + 0x88]
mov dword [r14], eax
lea rcx, [rsp + 0x40]
call fcn.14007ec70
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1401aed20
add rsp, 0x350
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14009e8c9
Capabilities:
Get file system object information

Disassembly:
test rdx, rdx
je 0x14009ea8b
push rbp
push rsi
push rdi
sub rsp, 0x350
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x370], rbx
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rsi, r8
mov rdi, rdx
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009e906
test rax, rax
je 0x14009ea69
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rsp + 0x50], xmm0
xor ebp, ebp
mov word [rsp + 0x40], bp
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdi + r8*2], bp
jne 0x14009e940
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14007ece0
nop
mov r8d, 2
lea rdx, [0x1403fe454]
mov rcx, rdi
call fcn.1402e4d88
test eax, eax
je 0x14009e9c6
mov r8, rdi
lea rdx, str.::_s
lea rcx, [rsp + 0x60]
call fcn.1401349c0
mov rdi, rax
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x14009e9bc
lea rcx, [rsp + 0x40]
call fcn.14007ec70
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rcx, [rsp + 0x60]
call fcn.14007ec70
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rsp + 0x80]
call fcn.1402dd440
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHParseDisplayName]
mov dword [rsp + 0x20], 0x208
mov r9d, 0x2b8
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009ea39
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [rsp + 0x90]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14009ea41
mov r8, rbx
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.14007ece0
nop
lea rcx, [rsp + 0x40]
call fcn.14007ec70
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1401aed20
mov rbx, qword [rsp + 0x370]
add rsp, 0x350
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ec70
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x3b8]
sub rsp, 0x4a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, r9
mov rax, rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009ede8
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.1402dd440
mov edi, r14d
mov dword [rsp + 0x44], 0x200
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14009edd9
movzx ebx, byte [rsp + 0x40]
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14009ed51
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.14007ece0
nop
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.14009f790
nop
lea rcx, [rsp + 0x68]
call fcn.14007ec70
mov dword [rsp + 0x44], 0x200
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.1402dd440
inc edi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x70]
mov edx, edi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14009ed33
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14009edea
xor al, al
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret