joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408bc0
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rcx
mov r13, rdx
mov rsi, r8
mov rdi, r9
call sym.pop_pthread_mem
test rax, rax
mov rbx, rax
je 0x408d48
test rbp, rbp
je 0x408bfb
mov rax, qword [rax + 0x1d8]
mov qword [rbp], rax
mov r12, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbx + 8], rdi
mov rdi, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rsi
xor esi, esi
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0x44], 1
mov qword [rbx + 0x28], 0xffffffffffffffff
mov r14, r12
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call rdi
test rax, rax
mov qword [rbx + 0x30], rax
jne 0x408c70
test rsi, rsi
je 0x408c60
mov ecx, 0x14
call r14
cmp esi, 4
je 0x408c70
add rsi, 1
jmp 0x408c2f
xor ecx, ecx
call r12
jmp 0x408c59
lea rsi, [rbx + 0x68]
mov qword [rbx + 0x38], 0xffffffffffffffff
mov rcx, rsi
call sym.replace_spin_keys.constprop.10
cmp qword [rbx + 0x30], 0
mov dword [rbx], 0xbab1f00d
mov dword [rbx + 0xc0], 0
mov dword [rbx + 0xb8], 0
je 0x408d2d
xor edx, edx
test r13, r13
je 0x408ccd
mov eax, dword [r13]
mov edx, dword [r13 + 0x10]
test al, 8
mov dword [rbx + 0x44], eax
jne 0x408e00
mov eax, dword [r13 + 0x18]
mov dword [rbx + 0xc0], eax
xor ecx, ecx
mov dword [rsp + 0x20], 4
mov r9, rbx
mov qword [rsp + 0x28], 0
lea r8, [sym.pthread_create_wrapper]
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rdi, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x408d60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x408d0c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x38]
call sym.pthread_mutex_destroy
mov rcx, rsi
call sym.replace_spin_keys.constprop.10
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x28], 0
test rbp, rbp
je 0x408d3a
mov qword [rbp], 0
cmp qword [rbx + 0x1d0], 0
je 0x408df0
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, dword [rbx + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jl 0x408d90
add edx, 0xd
cmp eax, 0xffffffff
jl 0x408d90
cmp eax, 0xe
mov edx, 0xf
jle 0x408e20
nop word cs:[rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [rbx + 0x44], 4
jne 0x408dd0
mov qword [rbx + 0x28], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rdi
mov qword [rbx + 0x28], 0
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x408db6
mov rcx, rbx
call sym.push_pthread_mem.part.2
jmp 0x408d48
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [rbx + 0xc0], eax
jmp 0x408ccd
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x408d90
Function at 0x40b430
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001ca40
Capabilities:
Get session information
Get session user name
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400cd200]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
lea r8d, [rbp + 7]
lea rdx, str.UNKNOWN
call fcn.14000b2e0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
jne 0x14001cab7
lea rcx, str.Error_retrieving_session_id_for_generating_log_name.
jmp 0x14001cb6b
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov r8d, 5
mov edx, eax
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x14001cb64
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x14001cb64
mov eax, dword [rsp + 0x48]
cmp eax, 2
jbe 0x14001cb4a
mov edx, eax
shr rdx, 1
dec rdx
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14001cb35
mov rsi, rdi
cmp rax, 8
jb 0x14001cb0e
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1400589a0
mov word [rbx + rsi], bp
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x14001cb71
mov rcx, rdi
call fcn.140014130
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x14001cb71
lea rcx, str.WTSQuerySessionInformation_failed_to_retrieve_the_size_of_the_current_user_name_for_the_log_name.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
jmp 0x14001cb71
lea rcx, str.WTSQuerySessionInformation_failed_to_retrieve_current_user_name_for_the_log_name.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400563a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140027db0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140d49e22
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 8]
je 0x140d6dd61
mov r8d, 0x140fa08a
bts r8d, 0x81
sub r8w, r8w
push r9
shr r8w, 0x2d
movzx r9d, r8w
lea r9, [0x140d566a0]
mov r8d, 0x141a5e81
movzx r8d, byte [rax + r8*4 - 0x50697a04]
push 0x21075025
rol qword [rsp], 0x1d
xor r8d, edx
sal dword [rsp + 4], 0x15
ror dword [rsp + 2], 0x15
sal byte [rsp + 4], 0x42
and r8d, 0xff
shl byte [rsp + 3], 0xa3
mov r8d, dword [r9 + r8*4]
shr edx, 8
xor edx, r8d
neg dword [rsp + 2]
shr qword [rsp], 0x3c
inc rax
xor edx, 0x7f205313
sub qword [rsp], 0xffffffffca388512
inc word [rsp + 6]
dec rbx
lea rsp, [rsp + 8]
jne 0x140d49e4e
call fcn.140d6dd4d
jmp 0x140d2e1ce
Function at 0x140025150
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002515d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002516d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140025155
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140025185
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140025172
sub eax, 3
jb 0x14002519f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400251d6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400251c6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400251c4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400251b3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140025112
jmp 0x14002515d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3a00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140025222
cmp rsi, rcx
jae 0x14002522a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140025209
cmp al, 0x8f
ja 0x140025209
cmp byte [rsi - 2], 0xf
je 0x14002520f
sub al, 0xe8
cmp al, 1
ja 0x1400251f3
cmp rsi, rcx
jae 0x14002522a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400251f9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14002522a
lodsb al, byte [rsi]
jmp 0x140025209
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x23000]
mov eax, dword [rdi]
or eax, eax
je 0x140025287
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2d344]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140025237
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140025281
mov qword [rbx], rax
add rbx, 8
jmp 0x140025257
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400252c1
cmp al, 0xef
ja 0x1400252b3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140025293
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400252a2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140025315
sub rsp, 0xffffffffffffff80
jmp 0x140003eec
Function at 0x2c63e1391
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
lea rdi, sym.5.dll_rawstring
mov edx, 0x800
mov r8d, 0x2b
mov rcx, rdi
call sym.5.dll_router
mov r8d, 0x3c
call sym.5.dll_router
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
xor edx, edx
mov rsi, rax
mov r8d, 0x800
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
or eax, 0xffffffff
test rbx, rbx
je 0x2c63e1421
lea rax, [rsp + 0x38]
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov r9d, 0x800
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, eax
mov eax, 0xfffffffe
test edx, edx
je 0x2c63e1421
call rbx
mov eax, 1
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret

Function at 0x2c63e1429
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x2c63e145b
xor eax, eax
xor edx, edx
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x20], edx
lea r8, [sym.5.dll_ThreadFunction]
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x2c63e1610
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.2c63e2230
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]
Function at 0x2c63e1680
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2c63e7064]
mov rbx, rcx
test esi, esi
jle 0x2c63e17b0
mov rax, qword [0x2c63e7068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2c63e16cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2c63e1755
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2c63e16b0
mov rcx, rbx
call fcn.2c63e1ef0
mov rdi, rax
test rax, rax
je 0x2c63e17d2
mov rax, qword [0x2c63e7068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2c63e2030
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2c63e7068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2c63e17b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x2c63e174e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x2c63e1760
add dword [0x2c63e7064], 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 [0x2c63e7068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2c63e174e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2c63e1610
nop dword [rax]
xor esi, esi
jmp 0x2c63e16d8
mov rax, qword [0x2c63e7068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2c63e1610
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2c63e1610
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x2c63e1b60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2c63e70a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2c63e7080]
test rbx, rbx
je 0x2c63e1bbc
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 0x2c63e1bb3
test eax, eax
jne 0x2c63e1bb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2c63e1b98
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 0x2c63e1ef0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2c63e4200]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2c63e1f10
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2c63e1f18
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2c63e1f10
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2c63e1f6d
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 0x2c63e1f64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2c63e1f10
add rax, 0x28
cmp rax, r9
jne 0x2c63e1f50
xor eax, eax
ret

Function at 0x2c63e1f70
Capabilities:
Parse pe header

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

Function at 0x2c63e2030
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2c63e4200]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2c63e204f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2c63e2058
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001530
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1400015b9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x1400015b9
nop dword [rax]
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rbx
test eax, eax
je 0x1400015dd
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140001590
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14004b290
add rsp, 0x160
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400015c4

Function at 0x1400015f0
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000162b
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbp
xor edx, edx
mov r9d, 0x3000
mov qword [rsp + 0x58], r14
mov r8d, 0x104
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, 0xffffffffffffffff
mov r14, rax
mov r9, rbx
inc r9
cmp byte [rdi + r9], 0
jne 0x140001661
xor ebp, ebp
inc r9
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rsi
test eax, eax
je 0x1400016d4
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbp, rax
test rax, rax
jne 0x1400016de
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1400016b6
inc rdx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140001719
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400016f0
lea rdx, [rbx + 1]
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140001740
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x48]
mov rbx, r8
mov dword [rsp + 0x50], 0x100
mov rdi, rcx
mov qword [rsp + 0x20], rax
xor esi, esi
lea rdx, [0x14005c0c8]
cmp qword [0x14005c0e0], 0xf
mov r9d, 0x20019
mov rcx, 0xffffffff80000001
cmova rdx, qword [0x14005c0c8]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400017c7
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], sil
jmp 0x140001911
cmp qword [rbx + 0x18], 0xf
jbe 0x1400017d1
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r9d, 2
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
test ebx, ebx
jne 0x1400017b7
mov qword [rsp + 0x198], rbp
lea rax, [rsp + 0x60]
mov qword [rdi + 0x18], rsi
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x140001833
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x14000192f
cmp rbx, 0xf
ja 0x14000187a
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x60]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x140001909
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x1400018af
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004b2b0
test rax, rax
je 0x1400018db
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400018ea
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x1400018ea
cmp rcx, 0x1000
jb 0x1400018e2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001935
jmp 0x140001894
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b2b0
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x60]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbp, qword [rsp + 0x198]
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14004b290
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret
call fcn.140001450
int3
call fcn.1400012d0
int3