joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021540
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa78
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0xa68], rax
lea r9, [0x1400379c8]
mov r8, qword [rsp + 0xa88]
lea rdx, [0x1400379f0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140021641
cmp qword [rsp + 0xa90], 0
je 0x1400215d2
mov rdx, qword [rsp + 0xa90]
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1400215e8
mov r8d, 0x104
lea rdx, [rsp + 0x850]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.__NewDriver___1_
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x850]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x38], 0
jne 0x140021655
mov dword [rsp + 0xa60], 1
jmp 0x140021660
mov dword [rsp + 0xa60], 0
mov eax, dword [rsp + 0xa60]
mov rcx, qword [rsp + 0xa68]
xor rcx, rsp
call fcn.140022b40
add rsp, 0xa78
ret

Function at 0x1400216d0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x78], 0xfffffffffffffffe
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x64], 0
je 0x1400217e7
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.14000dc10
nop
lea r8, str.HKEY_CURRENT_USER_
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140022210
lea r11, [rsp + 0x60]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x1400217d5
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x68]
call fcn.140005d50
mov eax, dword [rsp + 0x70]
jmp 0x14002182e
mov dword [rsp + 0x50], 1
lea rcx, [rsp + 0x68]
call fcn.140005d50
lea rdx, [0x140037ad8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x64], 0
jne 0x14002181c
mov dword [rsp + 0x80], 1
jmp 0x140021827
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x1400218e0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4b0
mov qword [rsp + 0x490], 0xfffffffffffffffe
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rcx, [rsp + 0x260]
call fcn.140004c70
nop
mov rdx, qword [rsp + 0x4c0]
lea rcx, [rsp + 0x260]
call fcn.140021690
lea rcx, [rsp + 0x260]
call fcn.140002d50
mov rdx, rax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x268], eax
cmp dword [rsp + 0x268], 0
je 0x140021996
mov dword [rsp + 0x484], 0
lea rcx, [rsp + 0x260]
call fcn.140005d50
mov eax, dword [rsp + 0x484]
jmp 0x140021aa1
xor eax, eax
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x480], 0x208
lea rax, [rsp + 0x480]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x250]
xor r8d, r8d
lea rdx, [0x140037b00]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x140037b10]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [rsp + 0x4c0]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [rsp + 0x268], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140021a4f
lea rdx, str.Progid
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x268], 0
jne 0x140021a74
mov dword [rsp + 0x498], 1
jmp 0x140021a7f
mov dword [rsp + 0x498], 0
mov eax, dword [rsp + 0x498]
mov dword [rsp + 0x488], eax
lea rcx, [rsp + 0x260]
call fcn.140005d50
mov eax, dword [rsp + 0x488]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x4b0
pop rdi
ret
Function at 0x140021ac0
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x878
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x868], rax
mov rdx, qword [rsp + 0x888]
mov rcx, qword [rsp + 0x880]
call fcn.140021ef0
test eax, eax
jne 0x140021b06
mov eax, 1
jmp 0x140021c44
mov dword [rsp + 0x850], 0x800
xor eax, eax
mov word [rsp + 0x50], ax
lea r9, [rsp + 0x850]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x888]
mov rcx, qword [rsp + 0x880]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140021b6f
mov rdx, qword [rsp + 0x888]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cdqe
mov qword [rsp + 0x858], rax
xor eax, eax
jmp 0x140021c44
lea rdx, str.NoAssociate.KuaiZipMount
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140021ba1
mov rdx, qword [rsp + 0x888]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
jmp 0x140021c44
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x888]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140021c42
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x50]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x888]
call fcn.1400218e0
cmp dword [rsp + 0x38], 0
jne 0x140021c2e
mov dword [rsp + 0x860], 1
jmp 0x140021c39
mov dword [rsp + 0x860], 0
mov eax, dword [rsp + 0x860]
jmp 0x140021c44
xor eax, eax
mov rcx, qword [rsp + 0x868]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x878
ret

Function at 0x140021c70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x848
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x838], rax
mov r9, qword [rsp + 0x858]
lea r8, [0x140037b78]
lea rdx, [0x140037b98]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140021cd7
mov dword [rsp + 0x830], 1
jmp 0x140021ce2
mov dword [rsp + 0x830], 0
mov eax, dword [rsp + 0x830]
mov rcx, qword [rsp + 0x838]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x848
ret
Function at 0x140021ef0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x12a8
call fcn.1400319e0
sub rsp, rax
mov qword [rsp + 0x1280], 0xfffffffffffffffe
mov rax, qword [0x140042d30]
xor rax, rsp
mov qword [rsp + 0x1290], rax
mov dword [rsp + 0x28], 0
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x12b8]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
je 0x140021f5f
xor eax, eax
jmp 0x1400220e6
mov dword [rsp + 0x1050], 0x400
lea r9, [rsp + 0x1050]
lea r8, [rsp + 0x850]
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
je 0x140021faa
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400220e6
lea r8, str.KuaiZipMount
lea rdx, [0x140037c20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x850]
call fcn.1400157a0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x850]
cmp qword [rsp + 0x30], rax
jne 0x1400220d7
lea rcx, [rsp + 0x1058]
call fcn.140016710
nop
lea rdx, str._shellopencommand
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9d, 1
lea r8, [rsp + 0x850]
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x1058]
call fcn.140016960
mov dword [rsp + 0x840], eax
cmp dword [rsp + 0x840], 0
jne 0x1400220ca
mov dword [rsp + 0x1068], 0x400
lea r9, [rsp + 0x1068]
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x1058]
call fcn.140022100
mov r8d, 0x104
lea rdx, [rsp + 0x1070]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x1070]
lea rcx, [rsp + 0x40]
call fcn.1400157a0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x1400220b4
mov dword [rsp + 0x1288], 1
jmp 0x1400220bf
mov dword [rsp + 0x1288], 0
mov eax, dword [rsp + 0x1288]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x1058]
call fcn.140016740
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1290]
xor rcx, rsp
call fcn.140022b40
add rsp, 0x12a8
ret
Function at 0x140022100
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x140022118
xor eax, eax
test eax, eax
jne 0x140022118
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140022180
mov eax, dword [rsp + 0x38]
jmp 0x140022203
cmp dword [rsp + 0x30], 1
je 0x140022195
cmp dword [rsp + 0x30], 2
je 0x140022195
mov eax, 0xd
jmp 0x140022203
cmp qword [rsp + 0x60], 0
je 0x1400221e9
cmp dword [rsp + 0x34], 0
je 0x1400221df
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
test rdx, rdx
jne 0x1400221d6
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + rcx*2 - 2]
test eax, eax
je 0x1400221dd
mov eax, 0xd
jmp 0x140022203
jmp 0x1400221e9
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov word [rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x48
ret
Function at 0x140022688
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140044660]
test rcx, rcx
jne 0x1400225df
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1400225d8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14002260a
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1400225d4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x140044660], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x14002267d
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14002262d
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x140044660]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x14002265a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14002267d
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x140044660]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x140022661
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x140022564
Function at 0x1400251cb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140042d30]
jne 0x140022b5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140022b56
repz ret
ror rcx, 0x10
jmp 0x140025124
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140044800]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400448f8]
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 0x1400251a9
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, [0x140044800]
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 0x1400251cb
mov rax, qword [rsp + 0x88]
mov qword [0x1400448f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140044898], rax
mov rax, qword [0x1400448f8]
mov qword [0x140044770], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140044880], rax
mov dword [0x140044760], 0xc0000409
mov dword [0x140044764], 1
mov rax, qword [0x140042d30]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140042d38]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400447f8], eax
mov ecx, 1
call fcn.14002a58c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140037f18]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400447f8], 0
jne 0x140025252
mov ecx, 1
call fcn.14002a58c
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 0x140029ddc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140029c50
Function at 0x140029de8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14002bb8c
nop
cmp dword [0x140044d70], 1
je 0x140029d88
mov dword [0x140044d6c], 1
mov byte [0x140044d68], r12b
test ebx, ebx
jne 0x140029d74
mov rcx, qword [0x140046930]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140029d61
mov rcx, qword [0x140046928]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140029d00
call fcn.140026fec
cmp qword [rdi], rax
jne 0x140029d00
jmp 0x140029ce6
cmp rdi, rsi
jb 0x140029d61
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140026fec
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140046930]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140046928]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140029d3f
cmp r13, rax
je 0x140029d5f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140029ce6
lea rdx, [0x1400348d8]
lea rcx, [0x1400348c0]
call fcn.140029b30
lea rdx, [0x1400348e8]
lea rcx, [0x1400348e0]
call fcn.140029b30
nop
test r12d, r12d
je 0x140029d97
mov ecx, 8
call fcn.14002ba8c
test r12d, r12d
jne 0x140029dc2
mov dword [0x140044d70], 1
lea ecx, [r12 + 8]
call fcn.14002ba8c
mov ecx, r15d
call fcn.140029ac4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140029c50
Function at 0x14002e1e0
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.140026fec
xor ebx, ebx
mov rdi, rax
cmp qword [0x140045680], rbx
jne 0x14002e2e6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002e3bb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002e3bb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140039aa8]
mov rcx, rsi
mov qword [0x140045680], 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 [0x140045688], 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 [0x140045690], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400456a0], rax
test rax, rax
je 0x14002e2dd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140045698], rax
jmp 0x14002e2ed
mov rax, qword [0x140045698]
jmp 0x14002e2f4
mov rax, qword [0x140045698]
mov r11, qword [0x1400456a0]
cmp rax, rdi
je 0x14002e35c
cmp r11, rdi
je 0x14002e35c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400456a0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002e35c
test rax, rax
je 0x14002e35c
call rsi
test rax, rax
je 0x14002e356
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 0x14002e356
test byte [rsp + 0x38], 1
jne 0x14002e35c
bts ebp, 0x15
jmp 0x14002e39a
mov rcx, qword [0x140045688]
cmp rcx, rdi
je 0x14002e39a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e39a
call rax
mov rbx, rax
test rax, rax
je 0x14002e39a
mov rcx, qword [0x140045690]
cmp rcx, rdi
je 0x14002e39a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e39a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140045680]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e3bb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002e3bd
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 0x1400010b9
Capabilities:
Get hostname

Disassembly:
jmp 0x1400c7750
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1400c778b
mov edx, 0x2e
mov rcx, rdi
call fcn.14000155f
test rax, rax
je 0x1400c7789
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140001221
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x1400c9e20
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14021fbc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400c9e6c
mov eax, 0x1b
jmp 0x1400c9f3f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400c9eb0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400c9f3f
mov rcx, rbp
call fcn.140003283
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400c9f1b
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400c9f2b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c9f3d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004570
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400017d5
Capabilities:
Parse pe header

Disassembly:
jmp 0x140192e34
xor r8d, r8d
xor edx, edx
jmp 0x140192b18
Function at 0x14000180c
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x1400cb310
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14021fbc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400cb393
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400cb3b5
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004570
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.140003283
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov edx, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x1400cb414
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400cb424
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400cb436
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x1400cb398