joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c1188
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1800c1028
call fcn.1800abb8c
mov dword [rax], 0x16
call fcn.1800aba3c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800c1010
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1800c1010
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1800c105a
lock or dword [rax + 0x14], 0x10
jmp 0x1800c1010
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1800c1077
mov rcx, qword [rbp + 0x10]
call fcn.1800c411c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1800bf86c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1800bfdc4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1800c10ce
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1800c1010
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1800c113a
mov rcx, qword [rbp + 0x10]
call fcn.1800bf86c
cmp eax, 0xffffffff
je 0x1800c1121
mov rcx, qword [rbp + 0x10]
call fcn.1800bf86c
cmp eax, 0xfffffffe
je 0x1800c1121
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1800bf86c
movsxd rdi, eax
lea rsi, [0x180135280]
mov rcx, rbx
sar rdi, 6
call fcn.1800bf86c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1800c1128
lea rax, [0x180132520]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800c113a
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1800c1170
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1800c116c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1800c116c
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1800c1013
jmp 0x1800c0fe0
Function at 0x1800cf840
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x1800cf8be
and dword [rsp + 0x2c], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
and dword [rsp + 0x28], 0
mov r9d, 2
and qword [rsp + 0x30], 0
mov rdx, 0xffffffff80000002
call fcn.180002900
mov rbx, qword [rsp + 0x20]
test eax, eax
jne 0x1800cf8b0
lea rdx, str.6B3BA4A8_EC7E_4714_9ECF_EB33995B3384
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rbx, rbx
je 0x1800cf8be
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [0x180135a48]
test rbx, rbx
je 0x1800cf8f4
jmp 0x1800cf8ee
call qword [rbx + 0x38]
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, rax
call fcn.180004cd8
test eax, eax
js 0x1800cf94e
xor ecx, ecx
call qword [rbx + 8]
test eax, eax
js 0x1800cf94e
add rbx, 0x48
cmp qword [rbx], 0
jne 0x1800cf8cc
mov rax, qword [0x1801359d8]
test rax, rax
je 0x1800cf906
call rax
test eax, eax
js 0x1800cf94e
mov rbx, qword [0x180135f30]
xor eax, eax
mov rcx, qword [0x180135f38]
jmp 0x1800cf949
mov rdi, qword [rbx]
test rdi, rdi
je 0x1800cf945
call qword [rdi + 0x30]
mov rcx, qword [rdi]
xor r8d, r8d
mov rdx, rax
call fcn.180004cd8
test eax, eax
js 0x1800cf94e
xor ecx, ecx
call qword [rdi + 8]
test eax, eax
js 0x1800cf94e
mov rcx, qword [0x180135f38]
add rbx, 8
cmp rbx, rcx
jb 0x1800cf918
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800a5000
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800cf96c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov r14d, 1
test eax, eax
js 0x1800cfaa9
and dword [rbp - 0x14], 0
lea rdi, str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
and qword [rbp - 0x20], 0
lea r9d, [r14 + 1]
and dword [rbp - 0x18], 0
lea rcx, [rbp - 0x20]
and qword [rbp - 0x10], 0
mov rbx, 0xffffffff80000002
mov r8, rdi
mov rdx, rbx
call fcn.180002900
test eax, eax
je 0x1800cfa55
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionShell_Extensions
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.180002848
test eax, eax
jne 0x1800cfa0b
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800cfa07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 0x20], 0
and dword [rbp - 0x18], 0
mov r8, rdi
lea rcx, [rbp - 0x20]
mov rdx, rbx
call fcn.180002848
test eax, eax
jne 0x1800cfa36
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800cfa32
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp - 0x20], 0
and dword [rbp - 0x18], 0
mov r9d, 2
lea rcx, [rbp - 0x20]
mov r8, rdi
mov rdx, rbx
call fcn.180002900
test eax, eax
je 0x1800cfa55
mov rcx, qword [rbp - 0x20]
jmp 0x1800cfa9e
lea rbx, str.2345SoftMgr_Shell_Extension
mov rcx, rbx
call fcn.1800abbb4
mov r9d, r14d
lea rdx, str.6B3BA4A8_EC7E_4714_9ECF_EB33995B3384
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x1800cfaa9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
test rcx, rcx
je 0x1800cfaa9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [0x180135a48]
test rbx, rbx
je 0x1800cfae4
jmp 0x1800cfade
mov ecx, r14d
call qword [rbx + 8]
test eax, eax
js 0x1800cfb46
call qword [rbx + 0x38]
mov rcx, qword [rbx]
mov r8d, r14d
mov rdx, rax
call fcn.180004cd8
test eax, eax
js 0x1800cfb46
add rbx, 0x48
cmp qword [rbx], 0
jne 0x1800cfab7
mov rbx, qword [0x180135f30]
xor eax, eax
mov rdx, qword [0x180135f38]
jmp 0x1800cfb28
mov rdi, qword [rbx]
test rdi, rdi
je 0x1800cfb24
mov ecx, r14d
call qword [rdi + 8]
test eax, eax
js 0x1800cfb46
call qword [rdi + 0x30]
mov rcx, qword [rdi]
mov r8d, r14d
mov rdx, rax
call fcn.180004cd8
test eax, eax
js 0x1800cfb46
mov rdx, qword [0x180135f38]
add rbx, 8
cmp rbx, rdx
jb 0x1800cfaf6
test eax, eax
js 0x1800cfb46
mov rdx, qword [0x1801359d0]
test rdx, rdx
je 0x1800cfb46
mov rcx, qword [0x180134118]
call rdx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800a5000
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800d0778
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebx, 0x60
lea rcx, [rsp + 0x40]
xor edx, edx
lea r8d, [rbx + 0x18]
call fcn.1800a8e10
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x76
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], 1
lea r8, str.LastLoadedDPI
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemeManager
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1800d07fe
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18006b790
mov ebx, eax
mov edx, 0x64
mov ecx, ebx
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov eax, 0x51eb851f
shl ecx, 4
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800a5000
add rsp, 0xd0
pop rbx
ret

Function at 0x1800d0844
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
lea rcx, [rbp + 0x27]
call fcn.1800d112c
nop
xor edi, edi
cmp qword [rbp + 0x37], rdi
je 0x1800d0941
movdqa xmm0, xmmword [0x1800fe690]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], di
mov r8, qword [rbx + 0x50]
cmp r8, qword [rbx + 0x58]
jne 0x1800d08b7
lea rdx, [0x1800f87c0]
lea rcx, [rbp + 7]
call fcn.18006c090
jmp 0x1800d08d1
cmp qword [r8 + 0x18], 8
jb 0x1800d08c1
mov r8, qword [r8]
lea rdx, [0x1800f8810]
lea rcx, [rbp + 7]
call fcn.18006c090
mov dword [rbp - 0x69], 0x70
mov dword [rbp - 0x65], 0x540
mov qword [rbp - 0x61], rdi
lea rax, str.Open
mov qword [rbp - 0x59], rax
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 0x51], rax
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], 1
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rbp - 0x31]
call fcn.1800a8e10
lea rcx, [rbp - 0x69]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rcx, [rbp + 7]
call fcn.180005ea4
nop
lea rcx, [rbp + 0x27]
call fcn.180005ea4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800a5000
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800d230c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebx, 0x60
lea rcx, [rsp + 0x40]
xor edx, edx
lea r8d, [rbx + 0x18]
call fcn.1800a8e10
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x76
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x34], 1
lea r8, str.LastLoadedDPI
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemeManager
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1800d2392
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18006b790
mov ebx, eax
mov edx, 0x64
mov ecx, ebx
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov eax, 0x51eb851f
shl ecx, 4
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800a5000
add rsp, 0xd0
pop rbx
ret
Function at 0x1800d23d8
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180132010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x50], rax
je 0x1800d2568
xor eax, eax
mov qword [rbp - 1], rax
lea rcx, [rbp - 1]
call fcn.18000e640
lea rsi, vtable.RC::RCDeferStat.0
mov qword [rbp - 9], rsi
lea rcx, [rbp - 9]
call fcn.18000b610
lea rcx, [rbp - 9]
call fcn.18000b970
lea rcx, [rbp + 0x27]
call fcn.1800d2d4c
nop
xor edi, edi
cmp qword [rbp + 0x37], rdi
je 0x1800d2539
lea rcx, [rbp + 0x27]
call fcn.18006c510
test al, al
je 0x1800d2539
movdqa xmm0, xmmword [0x1800fe690]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], di
mov r8, qword [rbx + 0x50]
cmp qword [r8 + 0x18], 8
jb 0x1800d248d
mov r8, qword [r8]
lea rdx, str.__shortcutsoftmgr
lea rcx, [rbp + 7]
call fcn.18006c090
mov dword [rbp - 0x79], 0x70
mov dword [rbp - 0x75], 0x540
mov qword [rbp - 0x71], rdi
lea rax, str.Open
mov qword [rbp - 0x69], rax
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 0x61], rax
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rax, qword [rbp + 7]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rdi
mov dword [rbp - 0x49], 1
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rbp - 0x41]
call fcn.1800a8e10
lea rcx, [rbp - 0x79]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1800d250a
xor edx, edx
jmp 0x1800d251b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800d2519
or edx, 0xffffffff
jmp 0x1800d251b
mov edx, eax
lea rcx, [rbp - 9]
call fcn.18000ba40
lea rcx, [rbp - 1]
call fcn.18000e6f0
nop
lea rcx, [rbp + 7]
call fcn.180005ea4
jmp 0x1800d2551
mov edx, 0xfffffffe
lea rcx, [rbp - 9]
call fcn.18000ba40
lea rcx, [rbp - 1]
call fcn.18000e6f0
nop
lea rcx, [rbp + 0x27]
call fcn.180005ea4
nop
mov qword [rbp - 9], rsi
lea rcx, [rbp - 1]
call fcn.18000e690
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800a5000
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001b657
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140057888]
jne 0x14000da2a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000da26
repz ret
ror rcx, 0x10
jmp 0x14001b5b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400595f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400596e8]
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 0x14001b635
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, [0x1400595f0]
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 0x14001b657
mov rax, qword [rsp + 0x88]
mov qword [0x1400596e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140059688], rax
mov rax, qword [0x1400596e8]
mov qword [0x140059560], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140059670], rax
mov dword [0x140059550], 0xc0000409
mov dword [0x140059554], 1
mov rax, qword [0x140057888]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140057890]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400595e8], eax
mov ecx, 1
call fcn.14001d890
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140048800]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400595e8], 0
jne 0x14001b6de
mov ecx, 1
call fcn.14001d890
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 0x140006170
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x88
call qword [sym.imp.ntoskrnl.exe_ExGetPreviousMode]
movsx eax, al
test eax, eax
jne 0x140006192
rdtsc
shl rdx, 0x20
or rax, rdx
jmp 0x140006371
mov rax, qword gs:[0x188]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0
cmp dword [0x140024678], 0x1db1
ja 0x1400061c5
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1f8]
mov dword [rsp + 0x28], eax
jmp 0x1400061d4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x80]
mov dword [rsp + 0x28], eax
mov rax, qword gs:[0x1a8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x140006209
mov rax, qword [rsp + 0x20]
sub rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x20], rax
jbe 0x140006368
lfence
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
jne 0x14000623d
jmp 0x140006368
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x501802
je 0x14000624c
jmp 0x1400061fb
mov rax, qword [rsp + 0x20]
sub rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
jne 0x14000627b
jmp 0x140006368
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
cmp eax, 0xf33
je 0x14000628f
jmp 0x1400061fb
jmp 0x14000629f
mov rax, qword [rsp + 0x20]
add rax, 8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x140006361
lfence
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
jne 0x1400062d3
jmp 0x140006361
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
and rax, 0xfffffffffffff000
cmp rax, qword [0x140024690]
jb 0x14000630b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
and rax, 0xfffffffffffff000
mov rcx, qword [0x140024690]
add rcx, 0x2000
cmp rax, rcx
jb 0x14000630d
jmp 0x140006291
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [0x140024670], 0
je 0x14000635a
mov rax, qword [0x140024670]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x70]
call qword [0x140021280]
jmp 0x140006361
jmp 0x140006368
rdtsc
shl rdx, 0x20
or rax, rdx
add rsp, 0x88
ret
Function at 0x180001159
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180034a2c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x18009ab30]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 7
lea r8, [0x18009ab28]
call fcn.1800341a0
mov rsi, rax
test rax, rax
je 0x180034a78
mov rcx, rax
call fcn.180002969
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x180034a83
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180001190
Capabilities:
Query environment variable

Disassembly:
jmp 0x180075e1c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x180075ef0
mov rsi, rax
cmp word [rax], r14w
je 0x180075e6f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x180075e57
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x180075e53
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x180075ef0
mov rcx, rbp
call fcn.18000203b
mov rdi, rax
test rax, rax
je 0x180075ee3
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x180075ee3
mov rsi, rdi
mov rdi, r14
jmp 0x180075ee6
mov rsi, r14
mov rcx, rdi
call fcn.180004552
jmp 0x180075ef3
mov rsi, r14
test rbx, rbx
je 0x180075f01
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800011cc
Capabilities:
Set registry value

Disassembly:
jmp 0x18002a880
push r14
sub rsp, 0x8b0
mov rax, qword [0x1800b75c0]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov rcx, qword [0x1800b8b70]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
xor r14d, r14d
lea rdx, str.QYZip.exe
lea rcx, [rsp + 0x60]
mov word [rax + 2], r14w
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x60]
call fcn.180001e97
test eax, eax
jne 0x18002a901
xor r9d, r9d
lea rdx, str.To_register_the_EXE_shell_extension_properly__r_nplace_Shell.dll_in_the_same_directory_as_the_EXE_executable.
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x1800b8b70]
lea rdx, [rsp + 0x270]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800b8c70]
mov edx, 0x104
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1800b8b8c], eax
jg 0x18002aacd
mov qword [rsp + 0x8c0], rbx
mov qword [rsp + 0x8c8], rbp
mov qword [rsp + 0x8d0], rsi
mov qword [rsp + 0x8d8], rdi
call fcn.18000435e
cmp qword [0x1800b7320], r14
je 0x18002aa8a
lea rbp, [0x1800b7320]
mov rdi, r14
mov rsi, rbp
mov rbx, r14
nop word [rax + rax]
mov rdx, qword [rbx + rbp + 8]
lea r8, str.88B30659_E446_4019_A63B_3B07426E782F
lea rcx, [rsp + 0x690]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x690]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18002aac9
mov r9d, dword [rbx + rbp + 0x18]
cmp r9d, 1
jne 0x18002aa3d
mov rdx, qword [rbx + rbp + 0x20]
lea r8, [rsp + 0x270]
lea rcx, [rsp + 0x480]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9d, dword [rbx + rbp + 0x18]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x480]
jmp 0x18002aa4a
mov rax, qword [rbx + rbp + 0x20]
mov dword [rsp + 0x28], 4
mov rdx, qword [rbx + rbp + 0x10]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
lea rbx, [rdi + rdi*4]
lea rbx, [rbx*8]
cmp qword [rbx + rbp], r14
lea rsi, [rbx + rbp]
jne 0x18002a990
mov eax, 1
mov rdi, qword [rsp + 0x8d8]
mov rsi, qword [rsp + 0x8d0]
mov rbp, qword [rsp + 0x8c8]
mov rbx, qword [rsp + 0x8c0]
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.18000411a
add rsp, 0x8b0
pop r14
ret
xor eax, eax
jmp 0x18002aa8f
lea rcx, [0x1800b8b8c]
call fcn.18000120d
cmp dword [0x1800b8b8c], 0xffffffff
jne 0x18002a943
lea rax, [rsp + 0x270]
mov qword [0x1800b7368], rax
lea rcx, [0x1800b8b8c]
lea rax, [rsp + 0x60]
mov qword [0x1800b73e0], rax
call fcn.1800016c2
jmp 0x18002a943
Function at 0x1800012b2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1800208b0
sub rsp, 0x28
mov rax, qword [0x1800b75c0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov r10, rcx
lea rax, [rsp + 1]
xor r9d, r9d
nop
mov r8, qword [r9 + r10 + 0x20]
lea rax, [rax + 4]
add r9, 8
movzx edx, byte [r8]
movzx ecx, byte [r8 + 2]
mov byte [rax - 5], dl
movzx edx, byte [r8 + 1]
mov byte [rax - 3], cl
movzx ecx, byte [r8 + 3]
mov byte [rax - 4], dl
mov byte [rax - 2], cl
cmp r9, 0x20
jl 0x1800208d0
mov r8d, 4
lea r11, [r10 + 0x28]
mov r9d, 3
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r11]
lea eax, [r9 - 2]
cdq
lea r11, [r11 + 8]
idiv dword [r10]
movsxd rax, edx
add rax, r8
movzx eax, byte [rsp + rax]
mov byte [rcx], al
lea eax, [r9 - 1]
mov rcx, qword [r11 - 8]
cdq
idiv dword [r10]
movsxd rax, edx
add rax, r8
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
mov eax, r9d
mov rcx, qword [r11 - 8]
cdq
idiv dword [r10]
movsxd rax, edx
add rax, r8
inc r9d
movzx eax, byte [rsp + rax]
mov byte [rcx + 2], al
mov eax, r9d
mov rcx, qword [r11 - 8]
cdq
idiv dword [r10]
movsxd rax, edx
add rax, r8
add r8, 4
movzx eax, byte [rsp + rax]
mov byte [rcx + 3], al
cmp r8, 0x10
jl 0x180020920
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.18000411a
add rsp, 0x28
ret

Function at 0x180001320
Capabilities:
Get file size

Disassembly:
jmp 0x1800165e0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180016619
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180016619
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rsp + 0x30]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov rbx, qword [rsp + 0x38]
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret