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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400bf098]
test ecx, ecx
je 0x14005c4ff
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005c518
cmp byte [rax + 8], 0
je 0x14005c518
add rax, 9
jmp 0x14005c5c0
lea rcx, [0x1400bf080]
call fcn.140052070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005c4f0
mov ecx, dword [0x1400bf098]
test ecx, ecx
je 0x14005c5a1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005c5be
mov rdi, rax
test rax, rax
jne 0x14005c57e
mov rax, qword [0x1400ef4a8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140001d90
test rax, rax
je 0x14005c5d7
mov rdi, rax
lea rax, [0x1400bf080]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x1400bf098]
test ecx, ecx
je 0x14005c5c7
dec ecx
mov rdx, rdi
call fcn.1400bca84
xor ecx, ecx
test rsi, rsi
je 0x14005c594
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x14005c5c0
lea rcx, [0x1400bf080]
call fcn.140052070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005c533
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1400bf080]
call fcn.140052070
mov ecx, eax
jmp 0x14005c576
mov ecx, 8
mov edx, 0x10
call fcn.14008a630
ud2

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1400bf0b8]
test ecx, ecx
je 0x14005c61f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005c638
cmp byte [rax + 8], 0
je 0x14005c638
add rax, 9
jmp 0x14005c6e0
lea rcx, [0x1400bf0a0]
call fcn.140052070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005c610
mov ecx, dword [0x1400bf0b8]
test ecx, ecx
je 0x14005c6c1
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005c6de
mov rdi, rax
test rax, rax
jne 0x14005c69e
mov rax, qword [0x1400ef4a8]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140001d90
test rax, rax
je 0x14005c6f7
mov rdi, rax
lea rax, [0x1400bf0a0]
mov qword [rdi], rax
mov byte [rdi + 8], 0
mov ecx, dword [0x1400bf0b8]
test ecx, ecx
je 0x14005c6e7
dec ecx
mov rdx, rdi
call fcn.1400bca84
xor ecx, ecx
test rsi, rsi
je 0x14005c6b4
cmp byte [rsi], 0
mov byte [rsi], 0
movzx eax, byte [rsi + 1]
cmove eax, ecx
mov ecx, eax
lea rax, [rdi + 9]
mov byte [rdi + 8], 1
mov byte [rdi + 9], cl
jmp 0x14005c6e0
lea rcx, [0x1400bf0a0]
call fcn.140052070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005c653
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1400bf0a0]
call fcn.140052070
mov ecx, eax
jmp 0x14005c696
mov ecx, 8
mov edx, 0x10
call fcn.14008a630
ud2
Function at 0x14005c8b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1400bf0f8]
test ecx, ecx
je 0x14005c9c6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005c8e2
mov rdi, rax
cmp qword [rax + 8], 0
jne 0x14005c9c0
mov ecx, dword [0x1400bf0f8]
test ecx, ecx
je 0x14005c9e8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005ca05
mov rdi, rax
test rax, rax
jne 0x14005c96c
mov qword [rsp + 0x28], 0
lea rax, [0x1400bf0e0]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1400ef4a8]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140001d90
test rax, rax
je 0x14005ca24
mov rdi, rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov ecx, dword [0x1400bf0f8]
test ecx, ecx
je 0x14005ca11
dec ecx
mov rdx, rdi
call fcn.1400bca84
test rsi, rsi
je 0x14005c986
mov rax, qword [rsi]
mov qword [rsi], 0
test rax, rax
je 0x14005c988
mov rax, qword [rsi + 8]
jmp 0x14005c988
xor eax, eax
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov qword [rdi + 8], 1
mov qword [rdi + 0x10], rax
test rdx, rdx
je 0x14005c9c0
test rcx, rcx
je 0x14005c9c0
lock dec qword [rcx]
jne 0x14005c9c0
lea rcx, [rsp + 0x28]
call fcn.14000ff70
add rdi, 0x10
jmp 0x14005ca07
lea rcx, [0x1400bf0e0]
call fcn.140052070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005c8d4
jmp 0x14005c8e2
lea rcx, [0x1400bf0e0]
call fcn.140052070
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005c901
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1400bf0e0]
call fcn.140052070
mov ecx, eax
jmp 0x14005c964
mov ecx, 8
mov edx, 0x18
call fcn.14008a630
ud2
Function at 0x1400a3910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400a398a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400a3980
cmp r11, r10
ja 0x1400a3a23
cmp r10, rdx
ja 0x1400a3a37
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400a3982
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400a3960
jmp 0x1400a39f7
ja 0x1400a398a
mov r11, r10
cmp rax, r8
jne 0x1400a3932
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400a39fb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400a39d0
mov r8, r10
sub ecx, r9d
jns 0x1400a39ee
jmp 0x1400a39fd
cmp r10, rdx
je 0x1400a3a09
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400a39fd
xor al, 1
cmp r8, rdx
jne 0x1400a39b0
jmp 0x1400a39fd
xor eax, eax
jmp 0x1400a39fd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400e0a21]
lea r8, [0x1400e2d90]
mov edx, 0x2b
call fcn.1400998d0
ud2
lea r8, [0x1400e2da8]
mov rcx, r11
mov rdx, r10
call fcn.1400a0010
ud2
lea r8, [0x1400e2da8]
mov rcx, r10
call fcn.14009ff90
ud2
Function at 0x1400bd870
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400be630
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400be630
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400bd8e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401012b4]
mov rbx, rcx
test esi, esi
jle 0x1400bda10
mov rax, qword [0x1401012b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400bd92b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400bd9b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400bd910
mov rcx, rbx
call fcn.1400be350
mov rdi, rax
test rax, rax
je 0x1400bda32
mov rax, qword [0x1401012b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400be490
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401012b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400bda17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400bd9ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400bd9c0
add dword [0x1401012b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401012b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400bd9ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400bd870
nop dword [rax]
xor esi, esi
jmp 0x1400bd938
mov rax, qword [0x1401012b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400bd870
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400bd870
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400bdfc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140101320]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140101300]
test rbx, rbx
je 0x1400be01c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400be013
test eax, eax
jne 0x1400be013
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400bdff8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400be350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400ef3f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400be370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400be378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400be370
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400be3cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400be3c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400be370
add rax, 0x28
cmp rax, r9
jne 0x1400be3b0
xor eax, eax
ret

Function at 0x1400be3d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400ef3f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400be3ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400be3f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400be3ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400be490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400ef3f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400be4af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400be4b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140005078
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140005634
add rsp, 0x28
jmp 0x140005078
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x14000a5f8], rbx
je 0x1400050c2
cmp rax, rbx
jne 0x1400050d7
mov edi, 1
mov eax, dword [0x14000a600]
cmp eax, 1
jne 0x1400050e4
lea ecx, [rax + 0x1e]
call fcn.14009b000
jmp 0x140005151
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400050ab
mov eax, dword [0x14000a600]
test eax, eax
jne 0x140005147
mov dword [0x14000a600], 1
lea r14, [0x1400063e0]
lea rbx, [0x1400063c8]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x140005139
test eax, eax
jne 0x14000513d
cmp qword [rbx], 0
je 0x14000512e
mov rax, qword [rbx]
mov rcx, qword [0x1400063a8]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000510f
test eax, eax
je 0x140005151
mov eax, 0xff
jmp 0x1400052a4
mov dword [0x140009fc4], 1
mov eax, dword [0x14000a600]
cmp eax, 1
jne 0x140005179
lea rdx, [0x1400063c0]
lea rcx, [0x1400063b0]
call sub.msvcrt.dll__initterm
mov dword [0x14000a600], 2
test edi, edi
jne 0x140005186
xor eax, eax
xchg qword [0x14000a5f8], rax
cmp qword [0x14000a608], 0
je 0x1400051ba
lea rcx, [0x14000a608]
call fcn.1400055a0
test eax, eax
je 0x1400051ba
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000a608]
mov r9, qword [0x1400063a8]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x140005246
test cl, cl
je 0x1400051dd
test edi, edi
jne 0x140005246
dec cl
cmp cl, 0x1f
ja 0x1400051f0
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x1400051dd
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140004c84
mov dword [0x140009fc0], eax
cmp dword [0x140009fe0], 0
jne 0x14000522f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140009fc4], 0
jne 0x140005244
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140009fc0]
jmp 0x1400052a4
cmp cl, 0x22
jne 0x140005258
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14000526a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x1400051cd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x141ef75e3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r10, rcx
movzx ecx, r9w
sar dx, 0xec
mov r11, rsi
pop rcx
je 0x141f301b7
push rbx
movzx edi, byte [r10]
sub qword [rsp], 0xffffffff972c899b
sub word [rsp + 2], bx
add r10, 1
shr rbx, 1
shl rbx, 0x47
xor dil, bpl
call fcn.141f2f648
push qword [rsp + 8]
popfq
push 0x6592578a
lea rsp, [rsp + 0x18]
jmp fcn.141f0fc06

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140396904
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1403dd2a8]
test rax, rax
je 0x14039694e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14039694e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14039694e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14039694e
cmp dword [rcx + 0x84], 0xe
jbe 0x14039694e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140396950
xor al, al
add rsp, 0x28
ret

Function at 0x1403afba4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1403af9a0
Function at 0x140001590
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x1400015b9
mov eax, 6
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r8d, edi
xor edx, edx
mov ecx, 0x42a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400015df
lea eax, [rdi + 1]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbp
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x58], rsi
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400015f0
lea rbp, [rax*2 + 2]
mov dword [rsp + 0x20], 4
mov r8, rbp
mov r9d, 0x1000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x140001630
lea eax, [rsi + 2]
jmp 0x1400016ed
mov r9, rbp
mov qword [rsp + 0x20], 0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001659
mov eax, 3
jmp 0x1400016ed
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001682
mov eax, 4
jmp 0x1400016ed
mov qword [rsp + 0x30], 0
mov r9, rax
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x1400016b6
lea eax, [rbx + 5]
jmp 0x1400016ed
mov edx, 0xc8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140001750
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rdi, rdx
mov edx, ecx
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400017d2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400017c9
nop
lea rax, [rsp + 0x50]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400017b4
add rax, 2
test ecx, ecx
jne 0x1400017a0
test edx, edx
je 0x1400017e5
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140001790
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
mov rbx, qword [rsp + 0x470]
mov eax, 1
add rsp, 0x460
pop rdi
ret
Function at 0x140001800
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x40
xor edx, edx
mov ebp, ecx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000182d
lea eax, [rsi + 3]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x14000185f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 3
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
nop dword [rax]
cmp dword [rsp + 0x2c], ebp
jne 0x1400018b3
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1400018b3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbx - 1]
cmp eax, 0x7e
ja 0x1400018e7
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140001870
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400018d2

Function at 0x140001900
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140001990
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x34], rcx
mov r9d, 0x10
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140001990
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret