joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004a42c
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 [0x18009a658]
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 0x18004a4a0
call fcn.1800464b0
mov ebx, eax
jmp 0x18004a5e1
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, rbx
jne 0x18004a4c3
call fcn.1800464b0
mov ebx, eax
jmp 0x18004a5d7
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 0x18004a4e8
call fcn.1800464b0
mov ebx, eax
jmp 0x18004a5d7
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 0x18004a521
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18004a517
lea rcx, [rsp + 0x70]
call fcn.180046d50
nop
mov eax, 0x8007000e
jmp 0x18004a5fa
mov ecx, eax
cmp rcx, rbx
je 0x18004a55f
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18004a555
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18004a55f
lea rcx, [rsp + 0x70]
call fcn.180046d58
mov rax, qword [rsp + 0x70]
jmp 0x18004a569
mov ecx, 0x80070057
call fcn.18004646c
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18004a580
cmp rax, rbx
jne 0x18004a58c
mov ebx, 0x8007000e
jmp 0x18004a5d7
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 0x18004a5b3
call fcn.1800464b0
mov ebx, eax
jmp 0x18004a5d7
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.180049794
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18004a5f8
lea rcx, [rsp + 0x70]
call fcn.180046d50
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x18004cfb0
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 0x18004d121
mov qword [0x18009de98], rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rdx, [0x18009dc90]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [0x18009dc90]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [0x18009dc88], rax
call fcn.180026d58
xor ebx, ebx
cmp eax, ebx
je 0x18004d01d
lea rdx, [0x18004c3ac]
mov rcx, rdi
call fcn.1800262bc
mov rdi, qword [0x18009dc88]
cmp rdi, rbx
je 0x18004d0c4
lea rdx, str.explorer.exe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x18004d0bd
call fcn.18002cd20
call fcn.180052ca4
call fcn.180042668
lea r8, [0x180046bac]
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, [0x18004bad0]
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 [0x18009dc80], 1
mov qword [0x18009dea0], rax
call fcn.180053d4c
mov rcx, rax
call fcn.1800544e4
call fcn.180046428
call fcn.180051a50
jmp 0x18004d117
mov rdi, qword [0x18009dc88]
lea rdx, str.360desktop
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
jne 0x18004d103
lea rdx, str.360FileBrowser
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
jne 0x18004d103
lea rdx, str.kdesktopservice
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp rax, rbx
je 0x18004d117
mov dword [0x18009dc84], 1
call fcn.18002cd20
call fcn.180052ca4
cmp byte [0x18009dc40], bl
je 0x18004d183
jmp 0x18004d188
xor ebx, ebx
cmp edx, ebx
jne 0x18004d183
cmp dword [0x18009dc80], ebx
je 0x18004d176
call fcn.18000104c
mov rcx, qword [0x18009dea0]
cmp rcx, rbx
je 0x18004d15d
lea edx, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x18009dea0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x18009dea0], rbx
call fcn.18004013c
call fcn.180053d4c
mov rcx, rax
call fcn.180053d8c
call fcn.1800426ec
jmp 0x18004d183
cmp dword [0x18009dc84], ebx
je 0x18004d183
call fcn.18000104c
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 0x18004d6c8
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x30], 0xfffffffffffffffe
test ecx, ecx
je 0x18004d74a
mov dword [rsp + 0x70], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
lea rdx, [0x18007deec]
lea rcx, [rsp + 0x38]
call fcn.180005248
nop
cmp qword [rax + 0x20], 8
jb 0x18004d709
mov r8, qword [rax + 8]
jmp 0x18004d70d
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.18000590c
nop
cmp qword [rsp + 0x58], 8
jb 0x18004d79b
mov rcx, qword [rsp + 0x40]
call fcn.180054958
jmp 0x18004d79b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, eax
lea rdx, [0x18007deec]
lea rcx, [rsp + 0x38]
call fcn.180005248
cmp qword [rax + 0x20], 8
jb 0x18004d771
mov r8, qword [rax + 8]
jmp 0x18004d775
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 0x18004d79b
mov rcx, qword [rsp + 0x40]
call fcn.180054958
add rsp, 0x68
ret

Function at 0x18004d7a0
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x18007deec]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.180005248
cmp qword [rax + 0x20], 8
jb 0x18004d7cb
mov r8, qword [rax + 8]
jmp 0x18004d7cf
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 0x18004d7f5
mov rcx, qword [rsp + 0x28]
call fcn.180054958
add rsp, 0x58
ret
Function at 0x18004e5f4
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.18004d6c8
cmp qword [rbx + 0x30], 8
jb 0x18004e626
mov rcx, qword [rbx + 0x18]
jmp 0x18004e62a
lea rcx, [rbx + 0x18]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.18002cd9c
test eax, eax
jne 0x18004e696
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x18007deec]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.180005248
cmp qword [rax + 0x20], 8
jb 0x18004e662
mov r8, qword [rax + 8]
jmp 0x18004e666
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 0x18004e68c
mov rcx, qword [rsp + 0x28]
call fcn.180054958
mov eax, 1
jmp 0x18004e78b
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], 0x68
lea r8d, [rdx + 0x64]
call fcn.180055bd0
cmp qword [rbx + 0x30], 8
mov rax, qword [0x18009de98]
mov qword [rsp + 0x58], rax
lea rax, [0x1800786f0]
mov dword [rsp + 0x54], 0x88
mov qword [rsp + 0x70], rax
lea rax, [0x18004e53c]
mov qword [rsp + 0x60], 0xdb
mov qword [rsp + 0x78], rax
jb 0x18004e6f0
mov rcx, qword [rbx + 0x18]
jmp 0x18004e6f4
lea rcx, [rbx + 0x18]
call fcn.1800018b8
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rax, [sym.shlext64.dll_DllCanUnloadNow]
mov qword [rsp + 0x88], rax
call qword [0x18009df58]
mov rbx, rax
test rax, rax
je 0x18004e738
mov rdx, rdi
mov rcx, rax
call rsi
test eax, eax
jne 0x18004e738
mov rcx, rbx
call qword [0x18009df60]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x18007deec]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.180005248
cmp qword [rax + 0x20], 8
jb 0x18004e75f
mov r8, qword [rax + 8]
jmp 0x18004e763
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 0x18004e789
mov rcx, qword [rsp + 0x28]
call fcn.180054958
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 0x18004e7a0
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 0x18004e7da
cmp word [rbx + 2], 0x3a
jne 0x18004e7da
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18004e7cd
xor eax, eax
jmp 0x18004e7f5
not al
movzx eax, al
shr eax, 4
and eax, 1
jmp 0x18004e7f5
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 0x18004ea00
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 0x18004ea47
call fcn.1800059e4
test al, al
je 0x18004ea9e
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_volatileoverlayIcon_
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x18004ea7f
mov r9d, 0x64
call fcn.180005444
cmp eax, dword [rsp + 0x48]
je 0x18004ea9e
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.18000590c
mov rcx, rbx
call fcn.1800018b8
lea rcx, [0x18004e7fc]
xor r9d, r9d
mov r8, rax
mov edx, 0x3e8
call fcn.180026e60
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180050c48
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
call fcn.18002cd20
lea rcx, [0x18009df70]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x18009dfc0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x18009df98]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov ebx, 0x10000
lea r8, [0x18005047c]
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, [0x1800507ac]
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, [0x180050b10]
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 0x180052020
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 [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x160], rax
movzx ebp, cx
mov word [rsp + 0x20], cx
mov eax, dword [0x18009e3e0]
test al, 1
jne 0x180052085
or eax, 1
mov dword [0x18009e3e0], eax
lea rcx, [0x18009e3a0]
call fcn.180041a18
lea rcx, [0x180073ea0]
call fcn.180055e0c
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [0x18009e3a0]
call fcn.18005147c
mov r12, qword [0x18009e3d0]
mov rsi, qword [rsp + 0x28]
xor edi, edi
cmp rsi, rdi
je 0x1800520b7
cmp rsi, qword [0x18009e3a0]
je 0x1800520bc
call fcn.180054d28
mov rbx, qword [rsp + 0x30]
cmp rbx, r12
je 0x1800520e6
cmp rsi, rdi
jne 0x1800520d2
call fcn.180054d28
jmp 0x1800520d5
mov rdi, qword [rsi]
cmp rbx, qword [rdi + 0x30]
jne 0x1800520e0
call fcn.180054d28
mov rax, qword [rbx + 0x20]
jmp 0x180052146
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x44]
call fcn.180055bd0
mov dword [rsp + 0x40], 0x11c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x44], 5
jbe 0x18005211f
movzx ecx, bp
call fcn.180051308
mov rbx, rax
jmp 0x18005212a
movzx ecx, bp
call fcn.180050d00
mov rbx, rax
cmp rbx, rdi
je 0x180052143
lea rdx, [rsp + 0x20]
lea rcx, [0x18009e3a0]
call fcn.180051d0c
mov qword [rax], rbx
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180055580
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 0x180053d8c
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov rbx, rcx
je 0x180053ddd
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180053ddd
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x180053dce
cmp dword [rsp + 0x30], 0x103
jne 0x180053dce
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 0x180053ec0
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 [0x18009a658]
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.180055bd0
mov r9d, 0x104
lea r8, [rsp + 0x170]
lea rdx, str.polocker.exe
mov rcx, rbx
call fcn.180002a20
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebp
jne 0x180053f4a
lea eax, [rbp + 3]
jmp 0x18005407e
mov qword [rsp + 0x20], rsi
mov r9, rdi
lea r8, [rsp + 0x170]
lea rdx, str.__s___s__s
lea rcx, [rsp + 0x40]
call fcn.180005248
nop
mov word [rsp + 0x70], bp
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x72]
call fcn.180055bd0
mov dword [rsp + 0x30], 0x80
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, ebp
jne 0x180053fb8
cmp qword [rsp + 0x60], 8
jb 0x180053fb1
mov rcx, qword [rsp + 0x48]
call fcn.180054958
xor eax, eax
jmp 0x18005407e
call fcn.180026d58
cmp eax, ebp
jne 0x180054022
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.1800036a0
cmp rax, rbp
je 0x180053fec
cmp rax, 0xffffffffffffffff
jne 0x180053fee
mov ebx, ebp
neg bl
sbb ebx, ebx
not ebx
and ebx, 4
cmp rax, 0xffffffffffffffff
je 0x18005400c
cmp rax, rbp
je 0x18005400c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x60], 8
jb 0x18005401e
mov rcx, qword [rsp + 0x48]
call fcn.180054958
mov eax, ebx
jmp 0x18005407e
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov ebx, 1
mov edx, ebx
call fcn.180003c28
cmp rax, rbp
je 0x18005404a
cmp rax, 0xffffffffffffffff
jne 0x18005404c
mov ebx, ebp
neg bl
sbb ebx, ebx
not ebx
and ebx, 4
cmp rax, 0xffffffffffffffff
je 0x18005406a
cmp rax, rbp
je 0x18005406a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x60], 8
jb 0x18005407c
mov rcx, qword [rsp + 0x48]
call fcn.180054958
mov eax, ebx
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x3c8]
add rsp, 0x390
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800544e4
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 8], 0
mov rbx, rcx
je 0x1800544f7
xor al, al
jmp 0x18005456b
mov byte [rcx + 8], 1
lea r8, [0x180077b08]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
xor r9d, r9d
mov rcx, 0xffffffff80000002
call fcn.180005444
test eax, eax
je 0x180054569
cmp dword [0x18009dc80], 0
je 0x180054569
lea rcx, [0x180079430]
call fcn.180026784
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x180054546
cmp eax, 2
jne 0x180054569
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x180054430]
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
Function at 0x180058c33
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18009a658]
jne 0x18005559a
rol rcx, 0x10
test cx, 0xffff
jne 0x180055596
repz ret
ror rcx, 0x10
jmp 0x180058b8c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18009ee60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18009ef58]
mov qword [rsp + 0x58], r11
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 0x180058c11
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, [0x18009ee60]
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 0x180058c33
mov rax, qword [rsp + 0x88]
mov qword [0x18009ef58], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18009eef8], rax
mov rax, qword [0x18009ef58]
mov qword [0x18009edd0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18009eee0], rax
mov dword [0x18009edc0], 0xc0000409
mov dword [0x18009edc4], 1
mov rax, qword [0x18009a658]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18009a660]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18009ee58], eax
mov ecx, 1
call fcn.180057544
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180079d60]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18009ee58], 0
jne 0x180058cba
mov ecx, 1
call fcn.180057544
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 0x18005b448
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18005b2bc
Function at 0x18005c964
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180056fe4
xor ebx, ebx
mov rdi, rax
cmp qword [0x18009f7c8], rbx
jne 0x18005ca6a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18005cb3f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005cb3f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18009f7c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18009f7d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x18009f7d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18009f7e8], rax
test rax, rax
je 0x18005ca61
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18009f7e0], rax
jmp 0x18005ca71
mov rax, qword [0x18009f7e0]
jmp 0x18005ca78
mov rax, qword [0x18009f7e0]
mov r11, qword [0x18009f7e8]
cmp rax, rdi
je 0x18005cae0
cmp r11, rdi
je 0x18005cae0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18009f7e8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18005cae0
test rax, rax
je 0x18005cae0
call rsi
test rax, rax
je 0x18005cada
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18005cada
test byte [rsp + 0x38], 1
jne 0x18005cae0
bts ebp, 0x15
jmp 0x18005cb1e
mov rcx, qword [0x18009f7d0]
cmp rcx, rdi
je 0x18005cb1e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005cb1e
call rax
mov rbx, rax
test rax, rax
je 0x18005cb1e
mov rcx, qword [0x18009f7d8]
cmp rcx, rdi
je 0x18005cb1e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005cb1e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18009f7c8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005cb3f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18005cb41
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140002952
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002971
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055bb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055fa
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1401e10f0], 0
jne 0x140005612
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400055bb
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005534
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1401e10f0]
test rbx, rbx
je 0x140005643
test byte [rbx + 7], 0x40
jne 0x140005643
mov rcx, rbx
call fcn.1400039df
lea rcx, [0x140020320]
call fcn.140015130
cmp byte [rax], 0
je 0x14000567b
lea rcx, [0x140020220]
mov byte [rax], 0
call fcn.140015130
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003f44
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005cf2
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1401e10c0]
xor ebx, ebx
lea r14, [0x140020320]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005d78
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14002139b]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001a4e8
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140005bcb
mov rcx, r14
call fcn.140015130
cmp byte [rax], 0
jne 0x140005daa
inc rbx
jmp 0x140005d2b
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret