joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180047f88
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180047cf4
nop
mov rbx, qword [rsp + 0x50]
mov r9d, 5
lea r8, str.BackupCount
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
mov rcx, 0xffffffff80000002
call fcn.180005684
mov r11d, eax
xor edi, edi
cmp rbx, r11
jbe 0x1800480f6
mov rax, qword [rsp + 0x48]
mov rbx, qword [rax]
mov r11, qword [rsp + 0x20]
cmp r11, rdi
jne 0x180048012
call fcn.1800592a8
mov r11, rdi
jmp 0x180048015
mov r11, qword [r11]
cmp rbx, qword [r11 + 0x28]
jne 0x180048020
call fcn.1800592a8
lea rdx, [rbx + 0x10]
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xa0], di
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x98]
call fcn.1800074f8
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r11, qword [rsp + 0x48]
mov rax, qword [r11]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x20]
call fcn.180006290
cmp qword [rsp + 0xb8], 8
jb 0x1800480c5
mov rcx, qword [rsp + 0xa0]
call fcn.180058ed8
mov rbx, qword [rsp + 0x50]
mov r9d, 5
lea r8, str.BackupCount
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
mov rcx, 0xffffffff80000002
call fcn.180005684
mov r11d, eax
cmp rbx, r11
ja 0x180047ff6
lea rcx, [rsp + 0x20]
call fcn.1800094cc
mov rcx, qword [rsp + 0x48]
call fcn.180058ed8
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsp + 0x20]
call fcn.180058ed8
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x18004a840
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x1800a4d38]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x18004a87c
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], eax
lea r8, [0x18004a6e8]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret

Function at 0x18004a8fc
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x1800a5000], 0
mov rdi, rdx
mov rbx, rcx
jne 0x18004a950
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18004a940
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a4ff8], rax
jmp 0x18004a947
mov rax, qword [0x1800a4ff8]
mov byte [0x1800a5000], 1
jmp 0x18004a957
mov rax, qword [0x1800a4ff8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18004a96d
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x18004a973
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18004aa30
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
xor edi, edi
mov rbx, r8
mov rbp, rdx
mov r12, rcx
cmp r8, rdi
jne 0x18004aa5e
lea eax, [rdi + 0xd]
jmp 0x18004aa95
mov rsi, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rsi, [rsi + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x18004aa61
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x18004b1c8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18004b2d5
test rcx, rcx
je 0x18004b23d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov dword [rsp + 0x50], edi
xor edi, edi
mov qword [rsp + 0x48], rcx
cmp ebx, edi
jmp 0x18004b26f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18004b1c8
mov rcx, qword [rsp + 0x48]
mov ebx, eax
cmp eax, edi
jne 0x18004b2d7
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x18004b257
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x18004b2bd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.18004a8fc
mov rcx, qword [rsp + 0x48]
mov ebx, eax
jmp 0x18004b2d7
xor edi, edi
cmp rcx, rdi
je 0x18004b2e2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18004e8ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp rax, rbx
jne 0x18004e960
call fcn.18004a8c8
mov ebx, eax
jmp 0x18004eaa1
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, rbx
jne 0x18004e983
call fcn.18004a8c8
mov ebx, eax
jmp 0x18004ea97
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
jne 0x18004e9a8
call fcn.18004a8c8
mov ebx, eax
jmp 0x18004ea97
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x18004e9e1
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18004e9d7
lea rcx, [rsp + 0x70]
call fcn.18004b16c
nop
mov eax, 0x8007000e
jmp 0x18004eaba
mov ecx, eax
cmp rcx, rbx
je 0x18004ea1f
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18004ea15
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18004ea1f
lea rcx, [rsp + 0x70]
call fcn.18004b174
mov rax, qword [rsp + 0x70]
jmp 0x18004ea29
mov ecx, 0x80070057
call fcn.18004a884
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18004ea40
cmp rax, rbx
jne 0x18004ea4c
mov ebx, 0x8007000e
jmp 0x18004ea97
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x18004ea73
call fcn.18004a8c8
mov ebx, eax
jmp 0x18004ea97
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18004dba0
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18004eab8
lea rcx, [rsp + 0x70]
call fcn.18004b16c
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x18004fe60
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x80], rax
call fcn.18002b038
xor edi, edi
cmp al, dil
jne 0x18004ff76
lea ebx, [rdi + 1]
mov edx, ebx
lea rcx, [rsp + 0x58]
call fcn.1800466ec
nop
cmp qword [rsp + 0x70], rdi
je 0x18004ff64
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
lea rdx, str._s__i
lea rcx, [rsp + 0x20]
call fcn.180005488
nop
cmp qword [rax + 0x20], 8
jb 0x18004fee5
mov rcx, qword [rax + 8]
jmp 0x18004fee9
lea rcx, [rax + 8]
mov r8d, ebx
xor edx, edx
call fcn.180003750
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x40], 8
jb 0x18004ff0d
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
cmp rbx, rdi
je 0x18004ff3a
cmp rbx, 0xffffffffffffffff
je 0x18004ff3a
lea rcx, str.CFID_POBUS_fixed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18004ff4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CFID_POBUS_start_failed:__d
call fcn.18003432c
nop
cmp rbx, 0xffffffffffffffff
je 0x18004ff64
cmp rbx, rdi
je 0x18004ff64
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x78], 8
jb 0x18004ff76
mov rcx, qword [rsp + 0x60]
call fcn.180058ed8
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x18005128c
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rdi, rcx
cmp edx, 1
jne 0x1800513f8
mov qword [0x1800a4f98], rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rdx, [0x1800a4d90]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [0x1800a4d90]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [0x1800a4d88], rax
call fcn.180027d70
xor ebx, ebx
cmp eax, ebx
je 0x1800512f9
lea rdx, [0x18005052c]
mov rcx, rdi
call fcn.1800270a8
call fcn.180057264
mov rdi, qword [0x1800a4d88]
cmp rdi, rbx
je 0x1800513a0
lea rdx, str.explorer.exe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x180051399
call fcn.18002ed98
call fcn.180044e9c
lea r8, [0x18004afc4]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x18004ff98]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1800a4d80], 1
mov qword [0x1800a4fa0], rax
call fcn.1800582cc
mov rcx, rax
call fcn.180058a64
call fcn.18004a840
call fcn.180055e00
jmp 0x1800513ee
mov rdi, qword [0x1800a4d88]
lea rdx, str.360desktop
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
jne 0x1800513df
lea rdx, str.360FileBrowser
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
jne 0x1800513df
lea rdx, str.kdesktopservice
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
je 0x1800513ee
mov dword [0x1800a4d84], 1
call fcn.18002ed98
cmp byte [0x1800a4d40], bl
je 0x18005145a
jmp 0x18005145f
xor ebx, ebx
cmp edx, ebx
jne 0x18005145a
cmp dword [0x1800a4d80], ebx
je 0x18005144d
call fcn.1800572cc
mov rcx, qword [0x1800a4fa0]
cmp rcx, rbx
je 0x180051434
lea edx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1800a4fa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1800a4fa0], rbx
call fcn.180042c90
call fcn.1800582cc
mov rcx, rax
call fcn.18005830c
call fcn.180044f20
jmp 0x18005145a
cmp dword [0x1800a4d84], ebx
je 0x18005145a
call fcn.1800572cc
mov ebx, 1
neg esi
mov rsi, qword [rsp + 0x48]
sbb eax, eax
and eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800519c0
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
test ecx, ecx
je 0x180051a42
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
lea rdx, [0x18008383c]
lea rcx, [rsp + 0x38]
call fcn.180005488
nop
cmp qword [rax + 0x20], 8
jb 0x180051a01
mov r8, qword [rax + 8]
jmp 0x180051a05
lea r8, [rax + 8]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatilehookBypass_
mov rcx, 0xffffffff80000002
call fcn.180005b4c
nop
cmp qword [rsp + 0x58], 8
jb 0x180051a93
mov rcx, qword [rsp + 0x40]
call fcn.180058ed8
jmp 0x180051a93
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
lea rdx, [0x18008383c]
lea rcx, [rsp + 0x38]
call fcn.180005488
cmp qword [rax + 0x20], 8
jb 0x180051a69
mov r8, qword [rax + 8]
jmp 0x180051a6d
lea r8, [rax + 8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatilehookBypass_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp qword [rsp + 0x58], 8
jb 0x180051a93
mov rcx, qword [rsp + 0x40]
call fcn.180058ed8
add rsp, 0x68
ret

Function at 0x180051a98
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x18008383c]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.180005488
cmp qword [rax + 0x20], 8
jb 0x180051ac3
mov r8, qword [rax + 8]
jmp 0x180051ac7
lea r8, [rax + 8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatilehookBypass_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp qword [rsp + 0x40], 8
jb 0x180051aed
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
add rsp, 0x58
ret
Function at 0x1800528e8
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rbx, rcx
mov ecx, 1
mov rdi, r8
mov rsi, rdx
call fcn.1800519c0
cmp qword [rbx + 0x30], 8
jb 0x18005291a
mov rcx, qword [rbx + 0x18]
jmp 0x18005291e
lea rcx, [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.18002f33c
test eax, eax
jne 0x18005298a
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x18008383c]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.180005488
cmp qword [rax + 0x20], 8
jb 0x180052956
mov r8, qword [rax + 8]
jmp 0x18005295a
lea r8, [rax + 8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatilehookBypass_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp qword [rsp + 0x40], 8
jb 0x180052980
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
mov eax, 1
jmp 0x180052a7f
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], 0x68
lea r8d, [rdx + 0x64]
call fcn.18005a150
cmp qword [rbx + 0x30], 8
mov rax, qword [0x1800a4f98]
mov qword [rsp + 0x58], rax
lea rax, [0x18007df00]
mov dword [rsp + 0x54], 0x88
mov qword [rsp + 0x70], rax
lea rax, [0x180052830]
mov qword [rsp + 0x60], 0xdb
mov qword [rsp + 0x78], rax
jb 0x1800529e4
mov rcx, qword [rbx + 0x18]
jmp 0x1800529e8
lea rcx, [rbx + 0x18]
call fcn.1800018a4
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rax, [sym.shlext64.dll_DllCanUnloadNow]
mov qword [rsp + 0x88], rax
call qword [0x1800a5058]
mov rbx, rax
test rax, rax
je 0x180052a2c
mov rdx, rdi
mov rcx, rax
call rsi
test eax, eax
jne 0x180052a2c
mov rcx, rbx
call qword [0x1800a5060]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x18008383c]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.180005488
cmp qword [rax + 0x20], 8
jb 0x180052a53
mov r8, qword [rax + 8]
jmp 0x180052a57
lea r8, [rax + 8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatilehookBypass_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp qword [rsp + 0x40], 8
jb 0x180052a7d
mov rcx, qword [rsp + 0x28]
call fcn.180058ed8
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x180052a94
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x180052acc
cmp word [rbx + 2], 0x3a
jne 0x180052acc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180052ac5
test al, 0x10
je 0x180052ac5
xor eax, eax
jmp 0x180052ae7
mov eax, 1
jmp 0x180052ae7
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp eax, ecx
setne cl
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x180052cf4
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
mov rdi, 0xffffffff80000002
mov rbx, rcx
mov r8, rcx
test edx, edx
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatileoverlayIcon_
mov rcx, rdi
jne 0x180052d3b
call fcn.180005c24
test al, al
je 0x180052d92
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatileoverlayIcon_
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x180052d73
mov r9d, 0x64
call fcn.180005684
cmp eax, dword [rsp + 0x48]
je 0x180052d92
lea rax, [rsp + 0x48]
mov r9d, 4
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatileoverlayIcon_
mov dword [rsp + 0x28], r9d
mov r8, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.180005b4c
mov rcx, rbx
call fcn.1800018a4
lea rcx, [0x180052af0]
xor r9d, r9d
mov r8, rax
mov edx, 0x3e8
call fcn.180027e78
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180054dfc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
call fcn.18002ed98
lea rcx, [0x1800a5070]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1800a50c0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1800a5098]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov ebx, 0x10000
lea r8, [0x180054764]
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x180054a94]
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x180054cc4]
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x180056434
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x170
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x160], rax
movzx ebp, cx
mov word [rsp + 0x20], cx
mov eax, dword [0x1800a54d0]
test al, 1
jne 0x180056499
or eax, 1
mov dword [0x1800a54d0], eax
lea rcx, [0x1800a5490]
call fcn.1800561b4
lea rcx, [0x180078af0]
call fcn.18005a38c
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [0x1800a5490]
call fcn.18005582c
mov r12, qword [0x1800a54c0]
mov rsi, qword [rsp + 0x28]
xor edi, edi
cmp rsi, rdi
je 0x1800564cb
cmp rsi, qword [0x1800a5490]
je 0x1800564d0
call fcn.1800592a8
mov rbx, qword [rsp + 0x30]
cmp rbx, r12
je 0x1800564fa
cmp rsi, rdi
jne 0x1800564e6
call fcn.1800592a8
jmp 0x1800564e9
mov rdi, qword [rsi]
cmp rbx, qword [rdi + 0x30]
jne 0x1800564f4
call fcn.1800592a8
mov rax, qword [rbx + 0x20]
jmp 0x18005655a
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x44]
call fcn.18005a150
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x44], 5
jbe 0x180056533
movzx ecx, bp
call fcn.1800554bc
mov rbx, rax
jmp 0x18005653e
movzx ecx, bp
call fcn.180054eb4
mov rbx, rax
cmp rbx, rdi
je 0x180056557
lea rdx, [rsp + 0x20]
lea rcx, [0x1800a5490]
call fcn.1800560bc
mov qword [rax], rbx
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180059b00
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x18005830c
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov rbx, rcx
je 0x18005835d
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18005835d
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x18005834e
cmp dword [rsp + 0x30], 0x103
jne 0x18005834e
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
Function at 0x180058440
Capabilities:
Check if file exists
Get session user name

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x390
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov word [rsp + 0x170], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x236]
call fcn.18005a150
mov r9d, 0x104
lea r8, [rsp + 0x170]
lea rdx, str.polocker.exe
mov rcx, rbx
call fcn.180002ab4
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebp
jne 0x1800584ca
lea eax, [rbp + 3]
jmp 0x1800585fe
mov qword [rsp + 0x20], rsi
mov r9, rdi
lea r8, [rsp + 0x170]
lea rdx, str.__s___s__s
lea rcx, [rsp + 0x40]
call fcn.180005488
nop
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x72]
call fcn.18005a150
mov dword [rsp + 0x30], 0x80
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, ebp
jne 0x180058538
cmp qword [rsp + 0x60], 8
jb 0x180058531
mov rcx, qword [rsp + 0x48]
call fcn.180058ed8
xor eax, eax
jmp 0x1800585fe
call fcn.180027d70
cmp eax, ebp
jne 0x1800585a2
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov ebx, 1
mov r8d, ebx
xor edx, edx
call fcn.180003750
cmp rax, rbp
je 0x18005856c
cmp rax, 0xffffffffffffffff
jne 0x18005856e
mov ebx, ebp
neg bl
sbb ebx, ebx
not ebx
and ebx, 4
cmp rax, 0xffffffffffffffff
je 0x18005858c
cmp rax, rbp
je 0x18005858c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x60], 8
jb 0x18005859e
mov rcx, qword [rsp + 0x48]
call fcn.180058ed8
mov eax, ebx
jmp 0x1800585fe
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov ebx, 1
mov edx, ebx
call fcn.180003c54
cmp rax, rbp
je 0x1800585ca
cmp rax, 0xffffffffffffffff
jne 0x1800585cc
mov ebx, ebp
neg bl
sbb ebx, ebx
not ebx
and ebx, 4
cmp rax, 0xffffffffffffffff
je 0x1800585ea
cmp rax, rbp
je 0x1800585ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x60], 8
jb 0x1800585fc
mov rcx, qword [rsp + 0x48]
call fcn.180058ed8
mov eax, ebx
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0x3c8]
add rsp, 0x390
pop rdi
pop rsi
pop rbp
ret

Function at 0x180058a64
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 8], 0
mov rbx, rcx
je 0x180058a77
xor al, al
jmp 0x180058aeb
mov byte [rcx + 8], 1
lea r8, [0x18007d270]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.180005684
test eax, eax
je 0x180058ae9
cmp dword [0x1800a4d80], 0
je 0x180058ae9
lea rcx, [0x18007ed40]
call fcn.18002779c
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x180058ac6
cmp eax, 2
jne 0x180058ae9
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x1800589b0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x10], rax
mov al, 1
add rsp, 0x30
pop rbx
ret