joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004bb20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov r9d, 0x3b18
lea r8, [0x1801288c0]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xb]
mov dword [rsp + 0x20], 0x3b6b3b6d
mov dword [rsp + 0x24], 0x3b6a3b7d
mov dword [rsp + 0x28], 0x3b2a3b2b
mov dword [rsp + 0x2c], 0x3b7c3b36
mov dword [rsp + 0x30], 0x3b743b74
mov qword [rsp + 0x34], r9
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.18004bc90
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x130
pop rbp
ret
Function at 0x18004cd10
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.180090d70
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
jne 0x18004cd76
cmp dword [rsp + 0x28], 2
jb 0x18004cd76
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x158
ret
Function at 0x18004da80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18004dac3
xor eax, eax
jmp 0x18004dcc6
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18004dafd
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18004dafd
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
mov eax, esi
jmp 0x18004dcc6
cmp qword [rbx + 0x90], 0
jne 0x18004db0f
or eax, 0xffffffff
jmp 0x18004dcc6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x80]
cmp qword [r8], rax
jne 0x18004db39
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x68]
mov qword [r8], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp qword [rbx + 0x78], 0
jne 0x18004db5d
movsx ecx, sil
mov rdx, qword [rbx + 0x90]
call fcn.18008b8a8
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x18004dcc4
mov byte [rbp - 1], sil
xor r15d, r15d
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x1f], setsockopt
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], r15b
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.180010820
nop
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
nop word [rax + rax]
lea rdx, [rbp + 7]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp + 7]
cmovae r8, r10
mov rcx, qword [rbx + 0x78]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, [rbp - 1]
lea rdx, [rbx + 0x84]
call qword [r10 + 0x38]
test eax, eax
js 0x18004dca1
cmp eax, 1
jg 0x18004dc82
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
cmp r9, 0x10
cmovae rax, r10
mov rdi, qword [rbp - 9]
sub rdi, rax
je 0x18004dc49
lea rcx, [rbp + 7]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x90]
mov r8, rdi
mov edx, 1
call fcn.18008c1c0
cmp rdi, rax
jne 0x18004dca1
mov r9, qword [rbp + 0x1f]
mov r10, qword [rbp + 7]
mov byte [rbx + 0x81], 1
lea rax, [rbp - 1]
cmp qword [rbp - 0x11], rax
jne 0x18004dc7e
test rdi, rdi
jne 0x18004dba0
cmp qword [rbp + 0x17], 0x20
jae 0x18004dca1
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp + 7]
call fcn.180013e10
jmp 0x18004db8d
mov ebx, esi
jmp 0x18004dca4
cmp eax, 3
jne 0x18004dca1
movsx ecx, byte [rbp - 1]
mov rdx, qword [rbx + 0x90]
call fcn.18008b8a8
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x18004dca4
or ebx, 0xffffffff
cmp qword [rbp + 0x1f], 0x10
jb 0x18004dcb4
mov rcx, qword [rbp + 7]
call fcn.180089ef8
mov qword [rbp + 0x1f], setsockopt
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], 0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180089cd0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18004e740
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x18004e8b7
cmp byte [rcx + 0x81], 0
je 0x18004e8b7
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x18004e79c
xor al, al
jmp 0x18004e8b9
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x18], setsockopt
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.180010820
nop
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x30]
cmovae r8, r10
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x18004e810
dec eax
jne 0x18004e887
jmp 0x18004e817
mov byte [rdi + 0x81], 0
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x18004e861
lea rcx, [rbp - 0x30]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.18008c1c0
cmp rbx, rax
jne 0x18004e88c
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x30]
cmp byte [rdi + 0x81], 0
je 0x18004e890
test rbx, rbx
jne 0x18004e7d0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.180013e10
jmp 0x18004e7c8
sub eax, 2
je 0x18004e890
xor bl, bl
jmp 0x18004e892
mov bl, 1
cmp qword [rbp - 0x18], 0x10
jb 0x18004e8a2
mov rcx, qword [rbp - 0x30]
call fcn.180089ef8
mov qword [rbp - 0x18], setsockopt
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], 0
movzx eax, bl
jmp 0x18004e8b9
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180089cd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180054180
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x30], 0
call fcn.180054090
mov dword [rsp + 0x68], 0
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x180053ff0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
mov rcx, rdi
call fcn.180065ac0
mov dword [rsp + 0x30], 1
mov rax, qword [rdi]
test rax, rax
je 0x180054246
cmp qword [rax], 0
je 0x180054246
lea rbx, [0x180126d30]
mov qword [rsp + 0x38], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdx, rdi
call fcn.1800544b0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
jmp 0x180054273
lea rax, str.wtf__cannot_create_the_thread
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.180089d40
lea rdx, [0x180115cf0]
lea rcx, [rsp + 0x50]
call fcn.18008f9b8
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180089cd0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x1800542a0
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.180054090
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.180054110
nop
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x50], rdi
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rbx
cmp rbx, rdi
je 0x180054326
mov rcx, qword [rbx]
test rcx, rcx
je 0x18005430d
mov rcx, qword [rcx]
mov edx, 0x29a
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rbx, 0x10
cmp rbx, rdi
jne 0x180054302
mov qword [rsp + 0x48], rbx
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x180054393
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
je 0x180054379
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x180054366
lock dec dword [rbx + 8]
jne 0x180054366
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x180054366
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
add rdi, 0x10
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jne 0x180054340
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.180089ef8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180089cd0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x18006dfe0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18006e0e9
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x1c
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18006e0e0
cmp dword [rsp + 0x20], 0x10
jb 0x18006e0c2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18006e0c2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18006e0c2
mov r8, qword [rbx]
test r8, r8
jne 0x18006e083
mov rcx, qword [0x180126bb8]
xor edx, edx
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x18006e0e0
jmp 0x18006e0b2
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18006e0b2
mov rcx, qword [0x180126bb8]
lea r9d, [rax + rax]
xor edx, edx
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18006e0e0
mov ecx, dword [rbx + 8]
mov qword [rbx], rax
add ecx, ecx
mov dword [rbx + 8], ecx
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rcx + rdx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x1c
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18006e032
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180089cd0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x18006e110
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov ebp, r8d
mov r14d, edx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov rdi, rcx
call fcn.18006dfe0
cmp qword [rdi], rbx
je 0x18006e198
cmp dword [rdi + 0xc], ebx
jbe 0x18006e198
mov qword [rsp + 0x30], rsi
nop dword [rax + rax]
mov rax, qword [rdi]
mov ecx, ebx
xor edx, edx
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006e18c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18006de10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x18006e150
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18006e1b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
xor ebx, ebx
mov rsi, rcx
cmp dword [rcx + 0xc], ebx
jbe 0x18006e208
mov qword [rsp + 0x30], rdi
nop dword [rax]
mov rax, qword [rsi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18006e1fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rsi + 0xc]
jb 0x18006e1d0
mov rdi, qword [rsp + 0x30]
mov r8, qword [rsi]
mov rcx, qword [0x180126bb8]
xor edx, edx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]

Function at 0x18006e230
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
mov ebp, 5
imul rbx, rax, 0x38
add rbx, qword [0x18012a0f0]
test byte [rbx + 0x20], 1
mov rdi, qword [rbx]
je 0x18006e278
sub rdi, rbp
mov ebp, 7
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18006e29a
mov eax, 0xa
jmp 0x18006e30d
test esi, esi
je 0x18006e2bc
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18006e2df
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18006e2df
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18006e2d8
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18006e2df
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [rbx + 0x20], 0xfffffff9
and esi, 1
lea eax, [rsi + rsi]
mov ecx, esi
and ecx, 0xfffffffd
or ecx, eax
add ecx, ecx
or dword [rbx + 0x20], ecx
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180089cd0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18006e330
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], rsp
mov r15d, ecx
xor ecx, ecx
mov edi, ecx
cmp edi, dword [0x18012a0fc]
jae 0x18006e4cc
mov eax, edi
imul rdx, rax, 0x38
mov rax, qword [0x18012a0f0]
mov r8d, dword [rdx + rax + 0x20]
shl r8d, 0x1e
sar r8d, 0x1f
cmp r8d, r15d
je 0x18006e4c5
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.18006dfe0
mov r13, qword [rsp + 0x30]
test r13, r13
je 0x18006e408
mov r12d, dword [rsp + 0x3c]
test r12d, r12d
je 0x18006e40d
mov rbx, r13
mov r14d, r12d
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006e3fd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor r8d, r8d
test r15d, r15d
setne r8b
or edx, 0xffffffff
mov rcx, rsi
call fcn.18006de10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
dec r14
jne 0x18006e3c0
jmp 0x18006e40d
mov r12d, dword [rsp + 0x3c]
nop dword [rax]
cmp edi, dword [0x18012a0fc]
jae 0x18006e467
mov eax, edi
imul rcx, rax, 0x38
mov rax, qword [0x18012a0f0]
mov edx, dword [rcx + rax + 0x20]
shl edx, 0x1e
sar edx, 0x1f
cmp edx, r15d
je 0x18006e45f
mov edx, r15d
mov ecx, edi
call fcn.18006e230
mov dword [rsp + 0x78], eax
test eax, eax
je 0x18006e45f
lea rdx, [0x18006e459]
mov rcx, qword [rsp + 0x28]
call fcn.18009d6a0
nop
nop
mov eax, dword [rsp + 0x78]
jmp 0x18006e4ce
inc edi
mov dword [rsp + 0x20], edi
jmp 0x18006e410
test r13, r13
je 0x18006e4c3
test r12d, r12d
je 0x18006e4b1
mov rbx, r13
mov r14d, r12d
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006e4a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
dec r14
jne 0x18006e480
mov r8, r13
xor edx, edx
mov rcx, qword [0x180126bb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
inc edi
jmp 0x18006e353
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18006f0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x8f0], rbx
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r14, r9
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov r9d, 0x20019
mov r8, rdx
lea rcx, [rbp - 0x68]
call fcn.18006ed20
nop
mov dword [rbp - 0x78], 0x400
mov dword [rbp - 0x74], 0x400
xor r15d, r15d
mov dword [rbp - 0x70], r15d
mov esi, r15d
mov rax, qword [rbp - 0x68]
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x3b0]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x18006f2f6
cmp dword [rbp - 0x70], 1
jne 0x18006f29c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbp + 0x3b0], ax
jne 0x18006f1ac
mov r8, r15
jmp 0x18006f1cb
lea rax, [rbp + 0x3b0]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18006f1c0
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x40]
call fcn.180006180
nop
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp word [rbp - 0x50], 0
jne 0x18006f207
mov r8, r15
jmp 0x18006f21b
lea rax, [rbp - 0x50]
mov r8, rdi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18006f210
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.180006180
nop
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x18006f2f0
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call qword [rax + select]
test al, al
sete bl
cmp qword [rsp + 0x78], 8
jb 0x18006f25e
mov rcx, qword [rsp + 0x60]
call fcn.180089ef8
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r15
mov word [rsp + 0x60], r15w
cmp qword [rsp + 0x58], 8
jb 0x18006f284
mov rcx, qword [rsp + 0x40]
call fcn.180089ef8
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
test bl, bl
jne 0x18006f2eb
mov dword [rbp - 0x78], 0x400
mov dword [rbp - 0x74], 0x400
inc esi
mov rax, qword [rbp - 0x68]
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
lea r8, [rbp + 0x3b0]
mov edx, esi
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x18006f16e
xor sil, sil
jmp 0x18006f2f9
call fcn.180085aac
nop
mov sil, 1
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x18006f31f
lock dec dword [rbx + 8]
jne 0x18006f31f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x18006f31f
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + ioctlsocket]
movzx eax, sil
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.180089cd0
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006f540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x180128da8]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0x1c]
mov r9d, 0x421d
mov dword [rsp + 0x20], 0x4252424e
mov dword [rsp + 0x24], 0x4249425b
mov dword [rsp + 0x28], 0x425c424a
mov dword [rsp + 0x2c], 0x4258424f
mov dword [rsp + 0x30], 0x424a4241
mov dword [rsp + 0x34], 0x4277427c
mov dword [rsp + 0x38], 0x4270427c
mov dword [rsp + 0x3c], 0x424a423d
mov dword [rsp + 0x40], 0x427f4278
mov dword [rsp + 0x44], 0x4258423d
mov dword [rsp + 0x48], 0x42754273
mov dword [rsp + 0x4c], 0x4273427c
mov dword [rsp + 0x50], 0x4278427e
mov qword [rsp + 0x54], 0x421d426f
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.18004bc90
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x130
pop rbp
ret

Function at 0x180072310
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x180072362
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x20], eax
call fcn.1800ad650
test ebx, ebx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
jne 0x180072377
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x40
pop rdi
ret
lea rdx, [0x1800d62d8]
lea rcx, [rsp + 0x20]
call fcn.180072120
int3
Function at 0x180072640
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180118b10]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
xor r8d, r8d
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 2]
or r9d, 0xffffffff
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x180127bac], eax
test eax, eax
je 0x1800726b7
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x40
pop rbx
ret
mov rdx, qword [rbx + 8]
lea rcx, [fcn.180001fb0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180089cd0
add rsp, 0x40
pop rbx
ret