joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000de30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov ebp, edx
mov rbx, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea rsi, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.1400101d0
mov rcx, rsi
call fcn.14000d350
test eax, eax
je 0x14000dea5
xor edi, edi
lea rsi, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.1400101d0
lea rdx, str..status
mov rcx, rbx
mov r8, rsi
call fcn.14000d450
test eax, eax
jne 0x14000dec3
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140019600
mov eax, edi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call int.14000e380
test eax, eax
je 0x14000dea5
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14000dea5
mov rbx, rax
lea rsi, [rsp + 0x250]
mov rcx, rsi
mov r8d, ebp
call fcn.14000df70
mov rcx, rsi
call fcn.140017470
mov rdi, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rsi
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne al
cmp dword [rsp + 0x3c], edi
sete cl
and cl, al
movzx edi, cl
jmp 0x14000dea5

Function at 0x14000dff0
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, 0x102
test edx, edx
je 0x14000e100
mov r15d, edx
mov rbx, rcx
xor ebp, ebp
lea r12, [rsp + 0x54]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
lea r13, [rsp + 0x28]
nop dword [rax + rax]
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14000e0a0
mov rdi, rax
mov dword [rsp + 0x28], 0x238
mov rcx, rax
mov rdx, r13
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000e0c0
nop dword [rax]
mov rcx, rbx
mov rdx, r12
call fcn.140015998
test eax, eax
je 0x14000e0d0
mov rcx, rdi
mov rdx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000e070
mov esi, 0x490
jmp 0x14000e0d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x490
jne 0x14000e0e3
jmp 0x14000e0fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14000e0d2
xor esi, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x490
je 0x14000e0fe
mov ecx, 0x3e8
call r14
add ebp, 1
cmp ebp, r15d
jne 0x14000e040
mov esi, 0x102
jmp 0x14000e100
xor esi, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140019600
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140002810
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov esi, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9, qword [rbx + 0x98]
mov rcx, qword [rbx + 0xa0]
mov eax, eax
mov qword [rsp + 0x30], 0
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x18]
cmp dword [rax], 0
je 0x140002891
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx + 0x18]
cmp dword [rax], 0
jne 0x140002880
mov rax, qword [rbx + 0x18]
mov dword [rax + 4], esi
mov rax, qword [rbx + 0x18]
mov dword [rax], 1
mov rax, qword [rbx + 0x18]
cmp dword [rax], 2
je 0x1400028c1
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx + 0x18]
cmp dword [rax], 2
jne 0x1400028b0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov dword [rax], 0
add rsp, 0x40
pop rdi
ret

Function at 0x140014760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
mov r14, r8
mov rdi, rdx
mov qword [r8], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400147ac
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14001487a
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.140046740
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x140014856
lea rax, vtable.Gdiplus::Bitmap.0
lea rdx, [rsp + 0x50]
mov rcx, rbp
mov qword [rbx], rax
mov qword [rsp + 0x50], 0
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov dword [rbx + 0x10], eax
mov qword [rbx + 8], rcx
jmp 0x140014858
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140014b30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x1400a8650]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x50], bx
je 0x140014bae
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140014ba4
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000cea0
mov dword [rsp + 0x30], 1
mov r8d, 0xd
lea rdx, str.FLiNGTrainer
mov rcx, rdi
call fcn.140008360
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400466a0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140019f90
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, edx
cmp ebx, 0xff
jge 0x140019fd6
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r8, [0x1400b22d0]
movzx edx, ax
shr edx, 0xf
and dl, 1
je 0x140019fcf
cmp byte [rbx + r8], 0
jne 0x140019fcf
mov byte [rbx + r8], 1
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
mov byte [rbx + r8], dl
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001af20
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400a8650]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001afda
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14001afcf
mov rcx, qword [rsp + 0x30]
xor eax, eax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x38]
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400466a0
add rsp, 0x60
pop rbx
ret

Function at 0x14001d6b0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x28], rdx
xor ecx, ecx
mov qword [rsp + 0x24], rax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
je 0x14001d70e
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x14001d714
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 0x1000
cmp dword [rsp + 0x48], ecx
cmova ecx, dword [rsp + 0x48]
mov eax, ecx
mov qword [rbx], rax
add rsp, 0x50
pop rbx
ret

Function at 0x14001e1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x28]
mov r9, rcx
test rax, rax
je 0x14001e243
mov rcx, qword [rax + 0x80]
test rcx, rcx
jne 0x14001e24a
cmp qword [0x1400b2418], 8
lea r8, [0x1400b2400]
lea rdx, [0x1400b25c0]
cmovae r8, qword [0x1400b2400]
cmp qword [0x1400b25d8], 8
cmovae rdx, qword [0x1400b25c0]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
add rsp, 0x38
ret
cmp rdx, 0x10
jne 0x14001e260
mov rdx, qword [rax + 0x48]
mov rcx, r9
add rsp, 0x38
jmp fcn.14001e280
test rdx, rdx
jne 0x14001e254
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
add rsp, 0x38
ret
Function at 0x14001e280
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, r8
mov rbp, rcx
cmp rdx, 0x7fffffff
jb 0x14001e2b2
lea rbx, [rdx - 0x10000000]
jmp 0x14001e2b4
xor ebx, ebx
lea r14, [rdx + 0x7fffffff]
xor edx, edx
mov rax, rbx
div qword [rcx]
mov rcx, qword [rcx + 0x28]
mov r9d, 0x3000
mov rcx, qword [rcx + 0x80]
sub rbx, rdx
mov dword [rsp + 0x20], 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
cmp rax, r14
jae 0x14001e32f
cmp rbx, r14
jae 0x14001e32f
lea rcx, [rdi + rsi]
cmp rcx, rbx
jae 0x14001e365
mov rcx, qword [rbp + 0x28]
add rbx, qword [rbp]
mov r9d, 0x3000
mov rcx, qword [rcx + 0x80]
mov r8, rsi
mov rdx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
cmp rax, r14
jb 0x14001e2f0
test rdi, rdi
je 0x14001e365
mov ecx, 0x1e7
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001e361
mov rcx, qword [rcx + 0x80]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x14001e368
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14001e590
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
mov rax, qword [rcx + 0x28]
mov rbx, rdx
mov rsi, rcx
test rax, rax
je 0x14001e5ec
mov rcx, qword [rax + 0x80]
test rcx, rcx
jne 0x14001e5f9
cmp qword [0x1400b2418], 8
lea r8, [0x1400b2400]
lea rdx, [0x1400b25c0]
cmovae r8, qword [0x1400b2400]
cmp qword [0x1400b25d8], 8
cmovae rdx, qword [0x1400b25c0]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x800
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x20], 0x40
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor dil, dil
mov rbp, rax
test rax, rax
je 0x14001e6f6
cmp qword [rbx + 0x18], 8
mov r9, qword [rbx + 0x10]
jb 0x14001e63c
mov rbx, qword [rbx]
mov rcx, qword [rsi + 0x28]
lea r9, [r9*2 + 2]
mov r8, rbx
mov rcx, qword [rcx + 0x80]
mov rdx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001e6d4
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400921a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x30], 0
mov rcx, qword [rcx + 0x80]
mov r9, rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x14001e6d4
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x14001e6f6
mov rcx, qword [rcx + 0x80]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
movzx eax, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140020240
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400a8650]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x10], 0
jne 0x1400202a2
cmp qword [rcx + 0x18], 8
jb 0x140020299
mov rcx, qword [rcx]
call fcn.140046688
xor esi, esi
xor eax, eax
jmp 0x14002043b
xor esi, esi
mov r14d, esi
mov r15d, esi
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x34]
call fcn.1400487c0
mov qword [rbp + 0x1d8], 7
mov qword [rbp + 0x1d0], rsi
mov word [rbp + 0x1c0], si
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140020307
cmp qword [rbx + 0x18], 8
jb 0x140020300
mov rcx, qword [rbx]
call fcn.140046688
xor eax, eax
jmp 0x14002043b
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140091f90]
mov rcx, rbx
call fcn.140015790
cmp rax, 0xffffffffffffffff
jne 0x140020338
lea r8d, [rax + 5]
lea rdx, str..exe
mov rcx, rbx
call fcn.140008360
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14002041f
nop
mov rcx, rbx
call fcn.14000cff0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call fcn.140048144
test eax, eax
jne 0x140020409
xor eax, eax
mov qword [rbp + 0x174], rax
mov qword [rbp + 0x17c], rax
mov qword [rbp + 0x184], rax
mov qword [rbp + 0x18c], rax
mov qword [rbp + 0x194], rax
mov qword [rbp + 0x19c], rax
mov qword [rbp + 0x1a4], rax
mov qword [rbp + 0x1ac], rax
mov dword [rbp + 0x1b4], eax
mov dword [rbp + 0x170], 0x48
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400203f0
mov r8d, 0x48
lea rdx, [rbp + 0x170]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x1a8]
test r14d, r14d
je 0x140020401
cmp rax, r15
jb 0x140020409
mov r14d, dword [rsp + 0x38]
mov r15, rax
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140020350
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbx + 0x18], 8
jb 0x140020438
mov rcx, qword [rbx]
call fcn.140046688
mov eax, r14d
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400466a0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140020480
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400a8650]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
xor r8d, r8d
lea rdx, [0x14008fc58]
lea rcx, [rsp + 0x48]
call fcn.14000cea0
nop
test r14d, r14d
je 0x1400205d8
mov ebx, r12d
nop dword [rax]
mov edx, r14d
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002053d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x1400205d8
inc ebx
cmp ebx, 0x64
jl 0x140020510
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400205cf
mov rcx, r15
call fcn.14000cff0
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.140048144
test eax, eax
je 0x14002057f
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x140020553
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x40], rax
cmp word [rbp + 0x1a0], 0
jne 0x1400205a8
mov r8, r12
jmp 0x1400205be
lea rax, [rbp + 0x1a0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400205b3
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x48]
call fcn.14000cea0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rax, qword [rsp + 0x38]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
lea rcx, [rsi + 0x18]
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.14000cae0
nop
cmp qword [rsp + 0x60], 8
jb 0x14002062a
mov rcx, qword [rsp + 0x48]
call fcn.140046688
mov rax, rsi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400466a0
add rsp, 0x4c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140020a30
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1400a8650]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0x28]
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x140020b28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14000eb80
nop
mov r8, rax
lea rdx, [0x1400b2600]
lea rcx, [rsp + 0x48]
call fcn.14001bf50
lea r8, [0x1400b2400]
cmp qword [0x1400b2418], 8
cmovae r8, qword [0x1400b2400]
cmp qword [rax + 0x18], 8
jb 0x140020adc
mov rax, qword [rax]
xor r9d, r9d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp qword [rsp + 0x60], 8
jb 0x140020afc
mov rcx, qword [rsp + 0x48]
call fcn.140046688
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
cmp qword [rsp + 0x80], 8
jb 0x140020b24
mov rcx, qword [rsp + 0x68]
call fcn.140046688
xor al, al
jmp 0x140020b48
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400466a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x140048138
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140047fa0

Function at 0x1400482b8
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400482d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400482d2
xor eax, eax
test eax, eax
je 0x1400482e2
mov ecx, eax
call fcn.14004babc
or eax, 0xffffffff
jmp 0x1400482e4
xor eax, eax
add rsp, 0x28
ret

Function at 0x14004ef74
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14004ef87
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x20]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14005ae54
lea rdx, [0x1400a52e0]
lea rcx, [rsp + 0x20]
call fcn.140048aa8
int3
Function at 0x1400699c4
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400b1ef4]
xor edx, edx
jmp fcn.14004ef74

Function at 0x14006a368
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400b1ef4]
jmp fcn.14004ef74

Function at 0x14006a488
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 0x40]
jmp 0x140078064
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r13, r9
mov r12, r8
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov qword [rax + 8], rcx
call fcn.14005abac
nop
mov edi, dword [rbx + 4]
mov esi, dword [rbx + 4]
dec esi
mov eax, dword [rbx]
cmp esi, eax
jl 0x14007803e
lea ebp, [rsi + 1]
movsxd r15, esi
movsxd rcx, dword [rbx + 8]
and rcx, r15
mov rax, qword [rbx + 0x20]
mov r14, qword [rax + rcx*8]
test r14, r14
je 0x140078034
mov rdx, r12
mov rcx, r14
call qword [rsp + 0x78]
test al, al
je 0x140078034
mov rdx, r12
mov rcx, r14
call r13
test al, al
je 0x140078034
cmp ebp, edi
jne 0x140078024
dec edi
jmp 0x140078034
movsxd rcx, dword [rbx + 8]
and rcx, r15
mov rax, qword [rbx + 0x20]
and qword [rax + rcx*8], 0
dec esi
dec ebp
mov eax, dword [rbx]
cmp esi, eax
jge 0x140077fea
xchg dword [rbx + 4], edi
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14005abf4
add rcx, 0xb0
jmp 0x140077fa0

Function at 0x140077e68
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r9, qword [rdx + 0x1a8]
mov r8, rcx
mov r9, qword [r9 + 8]
lea rdx, [0x140077f24]
add rcx, 0x40
jmp fcn.140062608

Function at 0x140077efc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r9, qword [rdx + 0x1a8]
mov r8, rcx
mov r9, qword [r9 + 8]
lea rdx, [0x140077f34]
add rcx, 0x40
jmp fcn.140062608