joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14022ce80
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400c8068
sub rsp, rax
mov rax, qword [0x1402bf080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402c4120]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14022d072
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14022cfc6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14022cfc6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14022cfab
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14022cf48
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14022d032
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14022d091
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14022d06d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14022d091
jmp 0x14022cf1e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400c9b70
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14022d140
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400c8068
sub rsp, rax
mov rax, qword [0x1402bf080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402c4120]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14022d34d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14022d299
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14022d299
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14022d279
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14022d208
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14022d30d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14022d36c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14022d348
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14022d36c
jmp 0x14022d1de
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400c9b70
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400035cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140010028]
jne 0x140002d9a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002d96
repz ret
ror rcx, 0x10
jmp 0x140003528
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400110e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400111d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400035ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400110e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400035cf
mov rax, qword [rsp + 0x88]
mov qword [0x1400111d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140011178], rax
mov rax, qword [0x1400111d8]
mov qword [0x140011050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140011160], rax
mov dword [0x140011040], 0xc0000409
mov dword [0x140011044], 1
mov rax, qword [0x140010028]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140010030]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400110d8], eax
mov ecx, 1
call fcn.14000533c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b358]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400110d8], 0
jne 0x140003656
mov ecx, 1
call fcn.14000533c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140003fb4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140003e24
Function at 0x140005ec8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140010028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140004ee4
xor ebx, ebx
cmp qword [0x140012050], rbx
mov rdi, rax
jne 0x140005fdb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400060b2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400060b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140012050], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140012058], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140012060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140012070], rax
test rax, rax
je 0x140005fd2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140012068], rax
jmp 0x140005fe2
mov rax, qword [0x140012068]
jmp 0x140005fe9
mov rax, qword [0x140012068]
mov r11, qword [0x140012070]
cmp rax, rdi
je 0x140006050
cmp r11, rdi
je 0x140006050
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140012070]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140006050
test rax, rax
je 0x140006050
call rsi
test rax, rax
je 0x14000604a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000604a
test byte [rsp + 0x40], 1
jne 0x140006050
bts ebp, 0x15
jmp 0x140006090
mov rcx, qword [0x140012058]
cmp rcx, rdi
je 0x140006090
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006090
call rax
mov rbx, rax
test rax, rax
je 0x140006090
mov rcx, qword [0x140012060]
cmp rcx, rdi
je 0x140006090
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140006090
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140012050]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400060b2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400060b4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002d80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180001430
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov r8, rcx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
test eax, eax
jne 0x18000147d
cmp dword [rsp + 0x50], 4
mov eax, dword [rsp + 0x58]
je 0x18000147f
mov eax, ecx
test eax, eax
setne al
add rsp, 0x38
ret

Function at 0x1800025f0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1058
call fcn.1800517b0
sub rsp, rax
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp dword [0x18007318c], 0
je 0x1800026b2
lea rax, str._BanBurnThread
mov qword [rsp + 0x1050], rbx
lea r9, str.._banburn.cpp
mov qword [rsp + 0x28], rax
lea r8, str._s._d:_s
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov edx, 0x800
mov dword [rsp + 0x20], 0x72
mov dword [0x18007318c], ebx
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x180001680]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1800026a1
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18001cbb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x1058
ret

Function at 0x180003e30
Capabilities:
Create thread

Disassembly:
mov eax, 0x1058
call fcn.1800517b0
sub rsp, rax
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp dword [0x180073190], 0
mov byte [0x180075684], cl
je 0x180003ef8
lea rax, str._AuditBurnThread
mov qword [rsp + 0x1050], rbx
lea r9, str.._banburn.cpp
mov qword [rsp + 0x28], rax
lea r8, str._s._d:_s
lea rcx, [rsp + 0x40]
xor ebx, ebx
mov edx, 0x800
mov dword [rsp + 0x20], 0xc8
mov dword [0x180073190], ebx
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x180002fc0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x180003ee7
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18001cbb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x1058
ret
Function at 0x18000b240
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x8d0
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
xor edi, edi
mov rbx, rcx
lea rcx, [rsp + 0x42]
lea r8d, [rdi + 0x7e]
xor edx, edx
mov word [rsp + 0x40], di
call fcn.18003e8c0
lea r8d, [rdi + 0x40]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, [rsp + 0x40]
lea r8, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea rcx, [rsp + 0xc0]
mov edx, 0x400
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea r8, str.MediaSubType
lea rdx, [rsp + 0xc0]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x18000b2f6
cmp dword [rsp + 0x38], 4
mov eax, dword [rsp + 0x30]
je 0x18000b2f8
mov eax, edi
cmp eax, 2
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x8e8]
add rsp, 0x8d0
pop rdi
ret

Function at 0x18000c560
Capabilities:
Create thread

Disassembly:
push rbx
mov eax, 0x1050
call fcn.1800517b0
sub rsp, rax
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rax, str._DeviceManagerThread
lea r9, str..devicemgr.cpp
lea r8, str._s._d:_s
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov dword [rsp + 0x20], 0x156
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor r11d, r11d
lea rax, [rsp + 0x30]
lea r8, [0x18000b680]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x30], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x18000c5fb
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18001cbb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x1050
pop rbx
ret

Function at 0x18000f530
Capabilities:
Create thread

Disassembly:
mov eax, 0x1058
call fcn.1800517b0
sub rsp, rax
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
cmp qword [0x180075688], 0
jne 0x18000f5ee
lea rax, str.deviceUseLogMonitor
lea r9, str..devicemon.cpp
lea r8, str._s._d:_s
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov dword [rsp + 0x20], SHCreateDirectory
mov qword [rsp + 0x1050], rbx
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor r11d, r11d
lea rax, [rsp + 0x30]
lea r8, [0x18000ec10]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x18000f5df
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18001cbb8
mov qword [0x180075688], rbx
mov rbx, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x1058
ret
Function at 0x180011ef0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x60
xor ebp, ebp
mov rbx, r8
lea r8, [rax + 0x18]
mov dword [rsp + 0x80], ebp
mov esi, ebp
mov rdi, rdx
mov byte [rax + 0x18], sil
call fcn.180011dd0
test rbx, rbx
jne 0x180011f48
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.180009450
lea esi, [rbp + 1]
cmp qword [rax + 0x20], 8
jb 0x180011f44
mov rbx, qword [rax + 8]
jmp 0x180011f48
lea rbx, [rax + 8]
cmp byte [rsp + 0x80], bpl
lea rax, [rsp + 0x80]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
setne bpl
mov r9d, 4
mov r8, rbx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
test sil, 1
je 0x180011fa5
cmp qword [rsp + 0x50], 8
jb 0x180011fa5
mov rcx, qword [rsp + 0x38]
call fcn.18003c784
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x180014310
Capabilities:
Enumerate network shares

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rsi, rcx
mov r12b, 1
xor r13d, r13d
nop dword [rax]
lea rax, [rsp + 0x90]
lea r8, [rsp + 0x40]
or r9d, 0xffffffff
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov edx, 0x1f6
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
xor ecx, ecx
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x88], r13d
mov dword [rsp + 0x98], r13d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x90], r13d
call sub.NETAPI32.dll_NetShareEnum
mov ebp, eax
test eax, eax
je 0x180014396
cmp eax, 0xea
jne 0x18001440d
mov eax, dword [rsp + 0x88]
mov rbx, qword [rsp + 0x40]
mov edi, 1
cmp eax, edi
jb 0x1800143f7
nop dword [rax + rax]
cmp dword [rbx + 8], r13d
jne 0x1800143d8
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800143d8
test rsi, rsi
je 0x1800143d8
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800143e4
mov eax, dword [rsp + 0x88]
inc edi
add rbx, 0x48
cmp edi, eax
jbe 0x1800143b0
jmp 0x1800143f7
mov rdx, qword [rbx]
xor r8d, r8d
xor ecx, ecx
call sub.NETAPI32.dll_NetShareDel
test eax, eax
sete r12b
mov rcx, qword [rsp + 0x40]
call sub.NETAPI32.dll_NetApiBufferFree
cmp ebp, 0xea
je 0x180014330
mov al, r12b
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180016350
Capabilities:
Create thread

Disassembly:
push rbx
mov eax, 0x1050
call fcn.1800517b0
sub rsp, rax
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rax, str._ShareManagerThread
lea r9, str.._sharemgr.cpp
lea r8, str._s._d:_s
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov dword [rsp + 0x20], 0xb4
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor r11d, r11d
lea rax, [rsp + 0x30]
lea r8, [0x180015a40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x30], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x1800163eb
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18001cbb8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x1050
pop rbx
ret
Function at 0x18001d324
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.18003e8c0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18001d382
lea rcx, [rsp + 0x20]
call fcn.18001f9c4
test eax, eax
je 0x18001d382
cmp dword [rsp + 0x24], 6
lea rax, str.poflt64_win7.sys
je 0x18001d389
lea rax, str.poflt64.sys
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003c160
add rsp, 0x158
ret
Function at 0x18001d3a4
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x470], rax
call fcn.18001d324
mov rbx, rax
xor edi, edi
mov word [rsp + 0x260], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x262]
call fcn.18003e8c0
cmp rbx, rdi
je 0x18001d40a
lea rdx, [rsp + 0x260]
mov rcx, rbx
call fcn.18001f800
lea rcx, [rsp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x18001d47e
cmp word [0x1800756b0], di
je 0x18001d451
mov r8d, 0x104
lea rdx, [0x1800756b0]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rdx, rbx
lea rcx, [rsp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x18001d47e
lea rdx, [rsp + 0x260]
lea rcx, str.file_not_found:__s
call fcn.180039cb8
xor eax, eax
jmp 0x18001d5e8
mov word [rsp + 0x50], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.18003e8c0
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.driverspoflt64.sys
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
je 0x18001d5ce
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x50]
call fcn.18001f60c
cmp eax, edi
jne 0x18001d5c7
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
cmp eax, edi
je 0x18001d511
lea rcx, str.upgrade_poflt_driver_succeeded
call fcn.18001cbb8
jmp 0x18001d5e6
lea rdx, [rsp + 0x50]
lea rcx, str.overwrite__s_failed__rename_it
call fcn.18001cee8
call fcn.18001fc58
mov r9d, eax
lea r8, [rsp + 0x50]
lea rdx, str._s._08x.dirty
lea rcx, [rsp + 0x28]
call fcn.180020c28
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x18001d5a1
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
cmp eax, edi
je 0x18001d58b
lea rcx, str.upgrade_poflt_driver_succeeded
call fcn.18001cbb8
jmp 0x18001d5b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.copy_poflt_driver_failed:__d
call fcn.18001cee8
jmp 0x18001d5b3
lea rdx, [rsp + 0x50]
lea rcx, str.rename__s_failed
call fcn.18001cee8
nop
cmp qword [rsp + 0x48], 8
jb 0x18001d5e6
mov rcx, qword [rsp + 0x30]
call fcn.18003c784
jmp 0x18001d5e6
mov ebx, 1
jmp 0x18001d5e6
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x490]
add rsp, 0x480
pop rdi
ret
Function at 0x18001d60c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x42]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bx
call fcn.18003e8c0
call fcn.18001d324
mov rdi, rax
cmp rax, rbx
je 0x18001d65e
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18001f800
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x18001d6af
cmp word [0x1800756b0], bx
je 0x18001d69c
lea rdx, [0x1800756b0]
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x18001d6af
xor eax, eax
jmp 0x18001d6ed
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 1
lea r9, str.poflt_minifilter_driver
lea r8, str.poflt64.sys
lea rdx, [rsp + 0x40]
lea rcx, str.poflt64
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x40b3c
call fcn.18003a754
cmp eax, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18003c160
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret