joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140174a84
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, str.FlsSetValue
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1402221d0]
call fcn.140174804
mov rsi, rax
test rax, rax
je 0x140174ad0
mov rcx, rax
call fcn.14017329c
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x140174adb
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140174f9c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140174d70
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140174d70
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140174d70
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140174d70
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140174d70
cmp dword [rcx + 0x84], 0xe
jbe 0x140174d70
cmp dword [rcx + 0xf8], esi
je 0x140174d70
mov ecx, r14d
call fcn.140174eb8
mov ecx, 2
call fcn.14018b850
nop
cmp byte [0x14026fd40], 0
jne 0x140174e3a
mov r15d, 1
mov eax, r15d
xchg dword [0x14026fd30], eax
test ebx, ebx
jne 0x140174de3
mov rdi, qword [0x14026abe0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14026fd38]
cmp rcx, rax
je 0x140174dda
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x140197870]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402703f8]
jmp 0x140174def
cmp ebx, r15d
jne 0x140174df5
lea rcx, [0x140270410]
call fcn.14018abe0
nop
test ebx, ebx
jne 0x140174e0c
lea rdx, [0x140197c50]
lea rcx, [0x140197c30]
call fcn.14018a5c4
lea rdx, [0x140197e10]
lea rcx, [0x140197c58]
call fcn.14018a5c4
movzx eax, byte [0x14026fd40]
test esi, esi
cmove eax, r15d
mov byte [0x14026fd40], al
jmp 0x140174e3a
mov ecx, 2
call fcn.14018b8a4
test esi, esi
jne 0x140174e51
mov ecx, r14d
call fcn.140174e6c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140174d00

Function at 0x14018da34
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14018da11
call fcn.140174cc4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14018b220
or eax, 0xffffffff
jmp 0x14018da2e
sub dword [rcx + 0x10], 1
jns 0x14018da20
add rsp, 0x28
jmp fcn.14018e180
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14018d9f0
Function at 0x14018e180
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14018e020
call fcn.140174cc4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14018b220
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14018e008
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14018e008
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14018e052
lock or dword [rax + 0x14], 0x10
jmp 0x14018e008
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14018e06f
mov rcx, qword [rbp + 0x10]
call fcn.1401938a0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140184c74
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401886e8
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14018e0c6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14018e008
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14018e132
mov rcx, qword [rbp + 0x10]
call fcn.140184c74
cmp eax, 0xffffffff
je 0x14018e119
mov rcx, qword [rbp + 0x10]
call fcn.140184c74
cmp eax, 0xfffffffe
je 0x14018e119
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140184c74
movsxd rdi, eax
lea rsi, [0x14026fea0]
mov rcx, rbx
sar rdi, 6
call fcn.140184c74
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14018e120
lea rax, [0x14026aed0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14018e132
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14018e168
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14018e164
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14018e164
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14018e00b
jmp 0x14018dfd8
Function at 0x14018ed94
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.14018c240
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14018ede7
test rbx, rbx
je 0x14018edd8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14018ede7
mov edi, 4
jmp 0x14018ee90
call fcn.14018c048
test al, al
jne 0x14018ee04
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14018ee90
test bpl, bpl
je 0x14018ee67
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14018ed6c]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14018ee90
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14018ee61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14018ee90
mov edi, dword [rsp + 0x44]
jmp 0x14018ee59
call fcn.14018c16c
test al, al
jne 0x14018ee78
bts esi, 0x15
xor ecx, ecx
jmp 0x14018ee80
call fcn.14018c0a4
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.14018bf34
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14002a960]
mov dword [rax], 1
mov rax, qword [0x14002a970]
mov dword [rax], 1
mov rax, qword [0x14002a980]
mov dword [rax], 1
mov rax, qword [0x14002a900]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400035a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400310a8]
test rcx, rcx
je 0x1400035db
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140003600
mov rcx, qword [0x1400310a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400420e0], 0
jne 0x140003618
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400310a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400035ce
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x1400260f0]
mov qword [rsp + 0x20], 0
lea rdi, [0x140042100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400036e4
test al, 0x10
je 0x1400035e4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x1400035e4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140003690
jmp 0x1400035e4
Function at 0x14001b840
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.14001deb0
sub rsp, rax
mov eax, dword [0x1400310a0]
mov rsi, rcx
test eax, eax
je 0x14001b8e0
xor ebx, ebx
lea rdi, [0x1400400e0]
test eax, eax
jg 0x14001b87c
jmp 0x14001b890
add rbx, 1
cmp dword [0x1400310a0], ebx
jle 0x14001b890
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14001b870
jmp 0x14001b8c7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14001b8a5
cmp word [rsi + 2], 0x3a
je 0x14001b8c7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001b930
movsxd rbx, dword [0x1400310a0]
cmp ebx, 0x3ff
jle 0x14001b948
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.14001b1c0
test al, al
je 0x14001b96a
movsxd rbx, dword [0x1400310a0]
mov rcx, rdi
lea rdi, [0x1400400e0]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x1400310a0]
add eax, 1
mov dword [0x1400310a0], eax
jmp 0x14001b861
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14001b8b4
xor eax, eax
jmp 0x14001b8cc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x1400310a0], 1
mov rdx, rax
lea rax, [0x1400400e0]
mov qword [rax + rbx*8], rdx
jmp 0x14001b8c7
mov rcx, rbx
call fcn.1400020b0
nop
nop word cs:[rax + rax]
nop
Function at 0x14001cb90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140023ae0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140023ae0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14001d862
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140044228]
test eax, eax
je 0x14001d8fa
lea rax, [0x140044200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140044230]
mov qword [rbp - 8], rax
jmp 0x14001d8de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14001d8d2
cmp qword [rbp - 0x10], 0
je 0x14001d8d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14001d898
lea rax, [0x140044200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001d8fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14001da00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14001da28
mov eax, 0
jmp 0x14001da76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14001da51
mov eax, 0
jmp 0x14001da76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14001da71
mov eax, 0
jmp 0x14001da76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14001da7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001dafa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14001daf1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14001daf1
mov rax, qword [rbp - 8]
jmp 0x14001db0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14001dac4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001135c
Capabilities:
Terminate process

Disassembly:
jmp 0x140017040
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011447
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400183d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400183f0
xor al, al
jmp 0x140018471
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018403
xor al, al
jmp 0x140018471
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001842d
xor al, al
jmp 0x140018471
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018441
xor al, al
jmp 0x140018471
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018453
xor al, al
jmp 0x140018471
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001846f
xor al, al
jmp 0x140018471
mov al, 1
add rsp, 0x38
ret
Function at 0x1400114ce
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
jmp 0x140013cb0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rcx, [0x1400290d7]
call fcn.1400115f5
nop
mov r8d, dword [rbp + 0x1a0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140013cfa
xor al, al
jmp 0x140013ede
mov rcx, qword [rbp + 0x1a8]
call fcn.140011118
lea rax, [rax + rax + 2]
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140013d4a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140013ede
mov rcx, qword [rbp + 0x1a8]
call fcn.140011208
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x28]
mov r8, rax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140013da2
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140013ede
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140013de4
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140013ede
lea rdx, str.LoadLibraryW
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140013e30
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140013ede
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x88]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140013e98
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
jmp 0x140013ede
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov al, 1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140011582
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140013f80
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x778]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x720], rax
lea rcx, [0x1400290d7]
call fcn.1400115f5
nop
mov edx, dword [rbp + 0x750]
mov ecx, 8
call fcn.1400112d5
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140013fef
xor al, al
jmp 0x1400140a8
mov dword [rbp + 0x30], 0x438
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400113e3
test eax, eax
je 0x14001409b
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x488]
call fcn.1400111fe
nop
mov rcx, qword [rbp + 0x758]
call fcn.140011208
mov qword [rbp + 0x718], rax
lea rcx, [rbp + 0x488]
call fcn.140011208
mov rcx, qword [rbp + 0x718]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140014079
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rbp + 0x704], 1
lea rcx, [rbp + 0x488]
call fcn.140011564
movzx eax, byte [rbp + 0x704]
jmp 0x1400140a8
lea rcx, [rbp + 0x488]
call fcn.140011564
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400110eb
test eax, eax
jne 0x14001400b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ef50]
call fcn.140011523
mov rax, rdi
mov rcx, qword [rbp + 0x720]
xor rcx, rbp
call fcn.1400112ee
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret
Function at 0x1400115e6
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140013b20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x460], rax
lea rcx, [0x1400290d7]
call fcn.1400115f5
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400112d5
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x140013c29
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400113b6
test eax, eax
je 0x140013c1e
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x2a8]
call fcn.1400111fe
nop
mov rcx, qword [rbp + 0x490]
call fcn.140011208
mov qword [rbp + 0x458], rax
lea rcx, [rbp + 0x2a8]
call fcn.140011208
mov rcx, qword [rbp + 0x458]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140013c00
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x2a8]
call fcn.140011564
nop
jmp 0x140013c1e
lea rcx, [rbp + 0x2a8]
call fcn.140011564
nop
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011569
test eax, eax
jne 0x140013ba4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ee60]
call fcn.140011523
mov eax, edi
mov rcx, qword [rbp + 0x460]
xor rcx, rbp
call fcn.1400112ee
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x140016190
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011622
movzx eax, al
test eax, eax
jne 0x1400161b0
mov ecx, 7
call fcn.14001152d
nop
mov byte [rsp + 0x20], 0
call fcn.14001155f
mov byte [rsp + 0x21], al
cmp dword [0x140023b78], 1
jne 0x1400161d4
mov ecx, 7
call fcn.14001152d
nop
jmp 0x14001622c
cmp dword [0x140023b78], 0
jne 0x140016227
mov dword [0x140023b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.1400112cb
test eax, eax
je 0x140016208
mov eax, 0xff
jmp 0x140016331
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.14001154b
mov dword [0x140023b78], 2
jmp 0x14001622c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011519
call fcn.14001146f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140016289
mov rcx, qword [rsp + 0x30]
call fcn.140011258
movzx eax, al
test eax, eax
je 0x140016289
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002a020]
nop
call fcn.1400114b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400162bd
mov rcx, qword [rsp + 0x38]
call fcn.140011258
movzx eax, al
test eax, eax
je 0x1400162bd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115cd
nop
call fcn.1400163e0
mov dword [rsp + 0x28], eax
call fcn.140011447
movzx eax, al
test eax, eax
jne 0x1400162dc
mov ecx, dword [rsp + 0x28]
call fcn.140011082
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400162eb
call fcn.1400115e1
nop
xor edx, edx
mov cl, 1
call fcn.140011230
mov eax, dword [rsp + 0x28]
jmp 0x140016331
add rsp, 0x68
ret