joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008c1f4
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp - 0x10], rax
and qword [rbp - 0x28], 0
mov rdi, rcx
mov rcx, qword [rcx + 0x68]
test rcx, rcx
je 0x14008c2ae
mov rdx, qword [rcx]
lea r9, [rbp - 0x28]
mov rcx, qword [rcx + 0x18]
mov esi, 8
add rdx, 0x18
mov r8d, esi
call fcn.1400932e0
cmp qword [rbp - 0x28], 0
je 0x14008c2ae
and qword [rbp - 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rdi]
lea r9, [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
mov r8, rax
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
mov rcx, qword [rcx]
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14008c294
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x30], 0
lea r9, [rbp - 0x30]
mov r8, rsi
lea rcx, [rdi + 0x68]
mov edx, Ordinal_27
call fcn.140089d44
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14008c2c2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0x40], 0
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14008c39c
mov rsi, qword [rbx + 0x10]
test rsi, rsi
jg 0x14008c2f2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rsi, rax
je 0x14008c2f2
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rsi, rax
jne 0x14008c39c
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp - 0x18]
or esi, 0xffffffff
mov dword [rbp - 0x18], esi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp - 0x18], 0x103
jne 0x14008c39c
mov rcx, qword [rdi + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x20]
mov edx, esi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rdi + 0x20]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008c34d
jle 0x14008c348
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x10], 0
and dword [rbx + 8], 0
mov rbx, qword [rdi + 0x28]
and qword [rdi + 0x28], 0
and qword [rdi + 0x20], 0
test rbx, rbx
je 0x14008c38e
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14008c38e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14008c38e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14008c39c
call fcn.140089c18
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400949f4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov r8, rdx
lea rdx, str._registrymachineSYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x27]
call fcn.1400518b0
nop
call fcn.14007f460
mov rbx, rax
lea rcx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rcx, qword [rbp + 0x27]
mov qword [rbp + 0xf], rcx
lea rax, [rbp + 0x17]
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [0x14017bd40]
lea rcx, [rbp - 0x19]
call fcn.140009b30
nop
lea r9, [rbp + 0xf]
lea r8, [rbp + 7]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140087ba0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140094acf
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094aca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140094bc4
call fcn.14010f640
call fcn.14007f460
lea rcx, [rbp + 0x17]
mov qword [rbp + 7], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], reloc.WS2_32.dll_ntohl
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.NtUnloadDriver]
movsd qword [rbp - 0x19], xmm0
mov ecx, dword [0x140177b18]
mov dword [rbp - 0x11], ecx
movzx ecx, word [0x140177b1c]
mov word [rbp - 0xd], cx
mov byte [rbp - 0xb], 0
lea r8, [rbp + 7]
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140094d3c
mov ebx, eax
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140094b61
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140094b5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140094bc4
call fcn.14010f640
mov r8, rdi
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x19]
call fcn.1400518b0
cmp qword [rax + 0x18], 8
jb 0x140094b7e
mov rax, qword [rax]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [rbp - 0x19]
call fcn.1400089c0
nop
lea rcx, [rbp + 0x27]
call fcn.1400089c0
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140118cb4
nop
int3
Function at 0x140094bcc
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x30], 0
mov rbx, r8
mov rdi, rdx
mov dword [rsp + 0x38], 1
xor edx, edx
mov r8d, 0x208
call fcn.140112010
cmp qword [rbx + 0x18], 8
jb 0x140094c2d
mov rbx, qword [rbx]
mov r9, rbx
lea r8, str.___s
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140089e34
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
lea rdx, str.systemCurrentControlSetServices
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test eax, eax
jne 0x140094cf4
cmp qword [rdi + 0x18], 8
jb 0x140094c73
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
jne 0x140094cf4
lea rcx, [rsp + 0x50]
call fcn.1401261f0
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, str.ImagePath
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x140094cf4
mov rcx, qword [rsp + 0x30]
lea r9d, [rax + 4]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Type
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jle 0x140094d04
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jle 0x140094d14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400954d8
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov r12, rcx
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x50], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
and qword [rdx], rax
and qword [rdx + 8], rax
and qword [rdx + 0x10], rax
mov dword [rbp - 0x50], 1
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x30], rax
test rax, rax
jg 0x14009554a
jmp 0x140095668
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x24], xmm0
and qword [rbp - 0x14], 0
mov dword [rbp - 0x28], Ordinal_33
lea rdx, [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x140095656
mov r14, qword [r12]
mov eax, dword [r14 + 8]
cmp dword [rbp - 0x1c], eax
jne 0x140095649
mov ecx, Ordinal_41
call fcn.14010f648
mov rsi, rax
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov qword [rsi], rax
lea r15, [rsi + 0x10]
mov r8d, dword [rbp - 0x20]
mov qword [r15], r14
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
or dword [rbp - 0x50], 2
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rsi
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140095600
mov qword [rdx], r15
mov qword [rdx + 8], rsi
movdqu xmmword [rbp - 0x48], xmm0
add qword [rdi + 8], 0x10
jmp 0x14009560d
lea r8, [rbp - 0x48]
mov rcx, rdi
call fcn.14007e59c
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140095649
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x140095645
mov rbx, qword [rbp - 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140095645
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140095570
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140098590
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rbx, rcx
mov byte [rcx + 0x60], bpl
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x1400985cf
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400985e4
jle 0x1400985e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
mov edx, edi
mov rcx, rbx
call fcn.140098384
inc edi
cmp edi, 4
jl 0x1400985e6
cmp qword [rbx + 0x10], rbp
je 0x1400986e1
call fcn.140076a94
mov rcx, qword [rbx]
mov dword [rsp + 0x40], ebp
cmp qword [rax], 0xffffffffffffffff
mov edx, dword [rcx + 8]
mov dword [rsp + 0x44], edx
je 0x140098694
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x44]
mov rcx, qword [rax]
mov r9d, 4
mov dword [rsp + 0x28], ebp
mov edx, 0x8005e020
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140098660
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], ebp
jl 0x140098694
lea r14, [rbx + 8]
mov rdi, qword [r14]
mov rsi, qword [rdi + 8]
jmp 0x14009868c
mov r8, qword [rsi + 0x10]
mov rdx, r14
mov rcx, r14
call fcn.1400987a4
mov rcx, rsi
mov edx, gethostname
mov rsi, qword [rsi]
call fcn.14010f640
cmp byte [rsi + 0x19], bpl
je 0x14009866d
jmp 0x1400986c6
lea r14, [rbx + 8]
mov rdi, qword [r14]
mov rsi, qword [rdi + 8]
jmp 0x1400986c0
mov r8, qword [rsi + 0x10]
mov rdx, r14
mov rcx, r14
call fcn.1400987a4
mov rcx, rsi
mov edx, gethostname
mov rsi, qword [rsi]
call fcn.14010f640
cmp byte [rsi + 0x19], bpl
je 0x1400986a1
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [r14 + 8], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140099398
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
xorps xmm0, xmm0
xor eax, eax
xor esi, esi
mov rdi, rcx
mov qword [rcx + 0x10], rsi
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x14], rax
mov dword [rbp - 0xc], eax
mov bl, r8b
mov dword [rbp - 0x38], esi
movups xmmword [rbp - 0x34], xmm0
movups xmmword [rbp - 0x24], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x34]
mov dword [rdi + 0x18], eax
test bl, bl
je 0x14009940e
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x140099464
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x3c], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x3c]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [rbp - 0x40]
cmp ecx, 1
mov edx, dword [rbp - 0x3c]
sete al
cmp edx, 1
mov byte [rdi + 0x14], al
sete al
mov byte [rdi + 0x15], al
cmp ecx, 1
jne 0x14009948c
cmp edx, ecx
je 0x140099464
cmp ecx, 1
mov byte [rdi + 0x17], 1
setne sil
add esi, 2
mov dword [rdi + 0x10], esi
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
test ecx, ecx
jne 0x140099456
test edx, edx
jne 0x140099456
mov dword [rdi + 0x10], 1
jmp 0x140099467

Function at 0x14009969c
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r10, qword [rsp + 0x70]
lea rax, [rsp + 0x30]
mov rcx, qword [rcx + 8]
xor ebx, ebx
test r10, r10
mov dword [rsp + 0x30], ebx
cmovne rax, r10
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400996ea
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010f620
add rsp, 0x40
pop rbx
ret
Function at 0x14009997c
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r12, r9
mov r15, r8
mov rsi, rdx
mov qword [rsp + 0x80], rcx
call fcn.14007f460
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x60]
call fcn.140009b30
nop
call fcn.140095e48
lea rbp, [r13 + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0x10
cmovae rcx, rbx
mov rdx, qword [rsp + 0x70]
call fcn.14007fd6c
mov r9, rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.14007fcc4
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x140099a3e
cmp rdi, qword [r13 + 8]
je 0x140099a3e
mov rdi, qword [rdi + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140099a49
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov ebp, 0x1000
cmp r14, 0x10
jb 0x140099a81
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, rbp
jb 0x140099a79
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099b2a
mov rcx, rbx
call fcn.14010f640
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x110]
xor r8d, r8d
test rdi, rdi
je 0x140099adb
and qword [rsp + 0x50], r8
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], rbp
and qword [rsp + 0x38], r8
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
mov r9, rcx
mov edx, dword [rsp + 0x118]
mov rcx, rsi
call rdi
test eax, eax
jns 0x140099b16
and qword [rsi], 0
jmp 0x140099b16
and eax, 1
shl eax, 2
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsi], rax
test rax, rax
je 0x140099b07
xor eax, eax
jmp 0x140099b16
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140118cb4
int3
Function at 0x1400a299c
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
jne 0x1400a29bb
mov al, 1
jmp 0x1400a2a6b
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x1400a2a5b
cmp byte [rcx + 0x16], 0
jne 0x1400a2a5b
call fcn.14007f460
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.Wow64SuspendThread
lea rcx, [rsp + 0x20]
call fcn.140009b30
nop
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400a2a7c
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400a2a57
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a2a52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a2a76
call fcn.14010f640
mov al, bl
jmp 0x1400a2a6b
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.140118cb4
int3

Function at 0x1400a2b10
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
jne 0x1400a2b28
mov al, 1
jmp 0x1400a2b38
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rbx
ret

Function at 0x1400a5178
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x14019ec50], 0
jne 0x1400a51e9
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x14019ec40], rax
mov eax, dword [rsp + 0x48]
mov qword [0x14019ec48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x14019ec50], rax
lea rax, [0x14019ec40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14010f620
add rsp, 0x68
ret

Function at 0x1400a5204
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400a526c
call fcn.1400a5178
test rbx, rbx
jne 0x1400a522f
mov rbx, qword [rax + 0x10]
mov rax, qword [rax]
dec rsi
add rsi, rax
mov dword [rsp + 0x20], 0x40
dec rax
mov r9d, 0x3000
not rax
xor edx, edx
and rsi, rax
mov rcx, rbx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x1400a526c
test rdi, rdi
je 0x1400a526e
mov qword [rdi], rsi
jmp 0x1400a526e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400a6040
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rdi, [rcx + 0x20]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
lea rbx, [rcx + 0x40]
mov qword [rsp + 0x20], rbx
mov dword [rbx], r15d
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
lea ecx, [r15 + 0x38]
call fcn.14010f648
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [r15 + 0x10]
call fcn.14007e2f0
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call fcn.140112010
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rbp + 0x60]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400a61ee
lea rdx, [rbp + 0x60]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400a61ee
xor edx, edx
lea r8d, [rbx - 0xc]
lea rcx, [rsp + 0x60]
call fcn.140112010
lea rcx, [rsp + 0x60]
call fcn.1400070a0
nop
lea rdx, str.srv
lea rcx, [rsp + 0x70]
call fcn.140009320
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.140009320
mov rcx, rax
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
call fcn.140009320
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.140008770
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x1400a61d8
mov rcx, rdi
call fcn.1400089c0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x14017ced0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
lea rcx, [rsp + 0x28]
call fcn.1400089c0
nop
lea rcx, [rsp + 0x60]
call fcn.140003d50
nop
mov rax, rsi
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14010f620
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret