joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007f4fc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov esi, ecx
mov dword [rsp + 0x20], pe_nt_image_headers64
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007f565
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14007f55c
cmp dword [rsp + 0x28], esi
je 0x14007f557
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14007f53c
mov edi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x150]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14007f644
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rcx, [rbp - 0x20]
mov word [rbp - 0x1f], 0x7265
mov word [rbp - 0x19], reloc.WLDAP32.dll_Ordinal_50
mov word [rbp - 0x1c], 0x6c65
mov byte [rbp - 0x1a], 0x33
mov byte [rbp - 0x1d], WSASetLastError
mov byte [rbp - 0x20], 0x6b
mov dword [rbp - 0xb], 0x746e65
mov dword [rbp - 0xf], 0x76457465
mov byte [rbp - 0x10], 0x53
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d7868], rax
test rax, rax
je 0x14007f6be
mov rcx, qword [0x1400d7838]
call rax
and dword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.14007f6cc
add rsp, 0x50
pop rbp
ret

Function at 0x14007f6cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp - 0x24], ecx
sub ecx, 2
neg ecx
mov dword [rbp - 0x28], reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x14], r9d
sbb eax, eax
mov dword [rbp - 0x47], 0x6c6c64
and dword [rbp - 0x1c], 0
and eax, 0x84
and dword [rbp - 0x18], 0
mov dword [rbp - 0x20], eax
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x10], eax
mov dword [rbp - 0x4c], 0x32336970
mov word [rbp - 0x4f], 0x7664
mov byte [rbp - 0x48], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp - 0x50], 0x41
mov byte [rbp - 0x4d], 0x61
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14007f790
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x37], 0x61745365
mov rcx, rax
mov dword [rbp - 0x33], 0x737574
mov word [rbp - 0x39], 0x6369
mov word [rbp - 0x3f], 0x7465
mov word [rbp - 0x3c], 0x7265
mov byte [rbp - 0x3d], 0x53
mov byte [rbp - 0x40], 0x53
mov byte [rbp - 0x3a], 0x76
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d7860], rax
test rax, rax
je 0x14007f790
mov rcx, qword [0x1400d7840]
lea rdx, [rbp - 0x28]
call rax
test eax, eax
jne 0x14007f798
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.14007f644
xor eax, eax
add rsp, 0x70
pop rbp
ret
mov eax, 1
jmp 0x14007f792
Function at 0x14007fcf8
Capabilities:
Check if file exists
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14007fd68
call fcn.14007f044
mov dl, al
lea rcx, [rsp + 0x50]
call fcn.140095558
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140095570
test al, al
je 0x14007fd68
mov r9d, 4
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, [0x1400d7820]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14007fe10
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
and qword [rsp + 0x50], 0
call qword [0x1400d7888]
lea r8, [rsp + 0x50]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14007fe98
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x14007fe8d
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
and qword [rsp + 0x28], 0
mov r9d, reloc.WS2_32.dll_recv
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
ret

Function at 0x140081674
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rsi, rcx
mov edi, 0x104
mov r8d, edi
lea rcx, [rsp + 0x40]
xor edx, edx
xor ebx, ebx
call fcn.14004e050
mov r8d, edi
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rdx, str.tm.dat
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008172e
lea r9, [rsp + 0x168]
mov dword [rsp + 0x168], ebx
lea r8d, [rbx + 4]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov rcx, rdi
setne bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x150]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14008174c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x150
mov edi, 0x104
lea rcx, [rsp + 0x40]
mov r8d, edi
xor edx, edx
xor ebx, ebx
call fcn.14004e050
mov r8d, edi
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rdx, str.tm.dat
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140081807
lea r9, [rsp + 0x168]
mov dword [rsp + 0x168], ebx
lea r8d, [rbx + 4]
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x160]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov rcx, rdi
setne bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rbx, qword [rsp + 0x170]
add rsp, 0x150
pop rdi
ret
Function at 0x140084298
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1f98]
mov eax, 0x2060
call fcn.14004d510
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
and dword [rsp + 0x30], 0
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x1400842fb
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
lea r8, [0x1400bd118]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400080b4
nop
mov r8, r14
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140008178
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete r15b
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or r12d, 0xffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140084384
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400843a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test r15b, r15b
je 0x140084406
mov r15d, 0x2000
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14004e050
mov dword [rsp + 0x34], r15d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140084406
lea r8, [rsp + 0x60]
lea rdx, [0x1400bd164]
mov rcx, rbx
call fcn.14000da78
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140084432
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140084452
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140084471
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rbx
add rsp, 0x2060
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140084514
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r12, r9
mov r13, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x29], 0x6c6c64
mov dword [rsp + 0x25], 0x2e32336c
mov dword [rsp + 0x21], 0x656e7265
mov byte [rsp + 0x20], Ordinal_79
mov dword [rsp + 0x3a], 0x747865
mov word [rsp + 0x37], 0x3233
mov dword [rsp + 0x32], 0x7365636f
mov byte [rsp + 0x36], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x39], Ordinal_79
mov word [rsp + 0x30], 0x7250
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x14008463c
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x140084632
mov dword [rsp + 0x50], pe_nt_image_headers64
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140084632
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140084624
lea rdx, [rsp + 0x7c]
mov rcx, qword [rdi]
call fcn.140058848
test eax, eax
jne 0x140084603
mov byte [r13], 1
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsi]
call fcn.140058848
test eax, eax
jne 0x140084619
mov byte [r12], 1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call r15
cmp eax, 1
je 0x1400845ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008465a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140084677
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140084698
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x70], r14d
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x1400846df
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rdi], rax
mov r15d, 1
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x47], 0x2073776f
mov dword [rsp + 0x42], 0x6e69575c
mov dword [rsp + 0x3a], 0x6f726369
mov dword [rsp + 0x31], 0x5754464f
mov dword [rsp + 0x54], 0x72655674
mov dword [rsp + 0x4c], 0x75435c54
mov dword [rsp + 0x36], 0x4d5c4552
mov dword [rsp + 0x59], 0x6e6f69
mov dword [rsp + 0x50], 0x6e657272
mov byte [rsp + 0x35], 0x41
mov dword [rsp + 0x3e], 0x74666f73
mov byte [rsp + 0x30], 0x53
mov byte [rsp + 0x4b], Ordinal_79
mov byte [rsp + 0x58], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x46], 0x64
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140084905
mov dword [rbp + 0x1d0], r15d
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14004e050
mov dword [rbp + 0x1c8], ebx
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400847f2
lea r8, [rbp - 0x80]
lea rdx, [0x1400bd164]
mov rcx, rdi
call fcn.14000da78
mov rcx, qword [rdi]
mov eax, dword [rcx - 0x10]
cmp eax, 3
jl 0x1400848fa
test eax, eax
jns 0x140084810
mov ecx, 0x80070057
call fcn.140010d40
int3
cmp byte [rcx], 0x36
jne 0x1400848fa
cmp eax, 2
jge 0x140084829
mov ecx, 0x80070057
call fcn.140010d40
int3
mov al, byte [rcx + 2]
sub al, 0x32
cmp al, r15b
ja 0x1400848fa
mov dword [rsp + 0x60], r14d
mov dword [rbp + 0x1d8], r14d
mov dword [rbp + 0x1d0], 4
mov dword [rbp + 0x1c8], 4
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
xor r8d, r8d
lea rdx, str.CurrentMajorVersionNumber
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
movzx ebx, r14b
test eax, eax
cmove ebx, r15d
mov dword [rbp + 0x1d0], 4
mov dword [rbp + 0x1c8], 4
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
xor r8d, r8d
lea rdx, str.CurrentMinorVersionNumber
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test bl, bl
je 0x1400848fa
mov r9d, dword [rbp + 0x1d8]
mov r8d, dword [rsp + 0x60]
lea rdx, str._d._d
mov rcx, rdi
call fcn.14000da78
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x140085474
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x70], r14d
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x1400854bb
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rdi], rax
mov r15d, 1
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x47], 0x2073776f
mov dword [rsp + 0x42], 0x6e69575c
mov dword [rsp + 0x3a], 0x6f726369
mov dword [rsp + 0x31], 0x5754464f
mov dword [rsp + 0x54], 0x72655674
mov dword [rsp + 0x4c], 0x75435c54
mov dword [rsp + 0x36], 0x4d5c4552
mov dword [rsp + 0x59], 0x6e6f69
mov dword [rsp + 0x50], 0x6e657272
mov byte [rsp + 0x35], 0x41
mov dword [rsp + 0x3e], 0x74666f73
mov byte [rsp + 0x30], 0x53
mov byte [rsp + 0x4b], Ordinal_79
mov byte [rsp + 0x58], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x46], 0x64
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400856e1
mov dword [rbp + 0x1d0], r15d
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14004e050
mov dword [rbp + 0x1c8], ebx
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400855ce
lea r8, [rbp - 0x80]
lea rdx, [0x1400bd164]
mov rcx, rdi
call fcn.14000da78
mov rcx, qword [rdi]
mov eax, dword [rcx - 0x10]
cmp eax, 3
jl 0x1400856d6
test eax, eax
jns 0x1400855ec
mov ecx, 0x80070057
call fcn.140010d40
int3
cmp byte [rcx], 0x36
jne 0x1400856d6
cmp eax, 2
jge 0x140085605
mov ecx, 0x80070057
call fcn.140010d40
int3
mov al, byte [rcx + 2]
sub al, 0x32
cmp al, r15b
ja 0x1400856d6
mov dword [rsp + 0x60], r14d
mov dword [rbp + 0x1d8], r14d
mov dword [rbp + 0x1d0], 4
mov dword [rbp + 0x1c8], 4
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
xor r8d, r8d
lea rdx, str.CurrentMajorVersionNumber
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
movzx ebx, r14b
test eax, eax
cmove ebx, r15d
mov dword [rbp + 0x1d0], 4
mov dword [rbp + 0x1c8], 4
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1d0]
xor r8d, r8d
lea rdx, str.CurrentMinorVersionNumber
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test bl, bl
je 0x1400856d6
mov r9d, dword [rbp + 0x1d8]
mov r8d, dword [rsp + 0x60]
lea rdx, str._d._d
mov rcx, rdi
call fcn.14000da78
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
Function at 0x14008726c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
xor r14d, r14d
mov rsi, rdx
lea ecx, [r14 + 3]
call fcn.14001223c
call fcn.14001209c
mov r8, qword [rsi]
mov edx, 0x2712
mov rcx, rax
mov rdi, rax
call fcn.1400121bc
lea r8, [0x140087368]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400121bc
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.1400121bc
lea r8, [rbp - 0x20]
mov dword [rbp - 0x12], 0x302e31
mov edx, 0x2722
mov dword [rbp - 0x1c], 0x2d6c7275
mov rcx, rdi
mov dword [rbp - 0x20], 0x6362696c
mov dword [rbp - 0x18], 0x6e656761
mov word [rbp - 0x14], 0x2f74
call fcn.1400121bc
mov rcx, rdi
call fcn.1400120dc
test eax, eax
movzx ebx, r14b
lea ecx, [r14 + 1]
cmove ebx, ecx
mov rcx, rdi
call fcn.140012064
mov rdx, qword [rsi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140087343
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rsi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x1400880f4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
xor ebx, ebx
mov rdi, rdx
mov r15d, ecx
test r8b, r8b
je 0x140088160
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x140088155
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140088155
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
lea r9d, [rbx + 8]
mov qword [rsp + 0x20], rax
mov r8, rdi
lea edx, [rbx + 0x13]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp qword [rdi], rbx
setne al
jmp 0x140088263
xor edx, edx
mov dword [rbp + 0xb0], 4
mov dword [rbp + 0xb8], ebx
mov dword [rsp + 0x40], pe_nt_image_headers64
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140088261
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140088258
lea rdx, [rsp + 0x6c]
lea rcx, str.explorer.exe
call fcn.140059840
test eax, eax
jne 0x14008823a
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x14008823a
mov r8, rdi
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140088220
mov r9d, dword [rbp + 0xb0]
lea rax, [rbp + 0xb0]
mov rcx, qword [rdi]
lea r8, [rbp + 0xb8]
mov edx, listen
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140088220
cmp r15d, dword [rbp + 0xb8]
je 0x14008824d
cmp qword [rdi], rbx
je 0x140088231
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14008819e
mov rcx, r14
mov bl, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140088e80
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov byte [0x1400d782d], 1
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14004e050
mov r8d, ebx
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14004e050
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov r8, rax
mov edx, ebx
lea rcx, [rbp + 0x40]
call fcn.1400587ac
lea rcx, [rbp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea rdx, str.sc_delete
lea rcx, [rbp + 0x168]
call fcn.1400109fc
nop
lea r8, [rbp + 0x40]
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.1400080b4
nop
mov rdx, qword [rbp + 0x168]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140088f58
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x160]
call fcn.1400596ec
mov rdx, qword [rbp + 0x160]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140088f85
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rbp
ret