joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400156d0
Capabilities:
Read file on windows

Disassembly:
push r15
mov eax, 0x1058
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14001e2a0
sub rsp, rax
mov rdi, qword [0x14004add0]
mov rax, qword [rdi]
mov qword [rsp + 0x1048], rax
xor eax, eax
lea rdi, [rsp + 0x20]
mov rbp, rdx
mov r13, rcx
movabs rdx, 0x400000000
mov rcx, rdi
call fcn.14001c800
test rbp, rbp
je 0x1400157f0
lea r12, [rsp + 0x40]
mov r15d, 0x2401
nop
mov rcx, r12
mov r9, rbp
mov r8d, 0x1000
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, rbp
mov rsi, rax
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x140015849
mov rdx, r12
test rsi, rsi
je 0x1400157e0
nop word cs:[rax + rax]
nop dword [rax]
lea rcx, [rdx + rsi]
mov rbx, rdx
nop word [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xd
ja 0x140015800
bt r15, rax
jae 0x140015800
mov r14, rbx
mov rcx, rdi
sub r14, rdx
mov r8, r14
call fcn.14001c8d0
test eax, eax
jne 0x14001581c
sub rsi, r14
je 0x1400157e0
lea rcx, [rbx + rsi]
mov rdx, rbx
jmp 0x1400157bf
bt r15, rax
jae 0x1400157c6
add rdx, 1
cmp rcx, rdx
je 0x1400157e0
movzx eax, byte [rdx]
cmp al, 0xd
jbe 0x1400157b0
mov rax, rdx
sub rax, rbx
sub rsi, rax
jne 0x140015770
nop word cs:[rax + rax]
nop dword [rax]
mov rcx, rbp
call sub.msvcrt.dll_feof
test eax, eax
je 0x140015730
mov rcx, rdi
call fcn.14001c9e0
mov qword [r13], rax
xor eax, eax
jmp 0x140015821
add rbx, 1
cmp rcx, rbx
jne 0x140015780
mov r8, rsi
mov rcx, rdi
call fcn.14001c8d0
test eax, eax
je 0x1400157e0
mov eax, 0xf
mov rdi, qword [0x14004add0]
mov rdx, qword [rsp + 0x1048]
sub rdx, qword [rdi]
jne 0x140015860
add rsp, 0x1058
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call fcn.14001c820
mov qword [r13], 0
mov eax, 0x16
jmp 0x140015821
call fcn.14001e3f0
nop
nop word cs:[rax + rax]

Function at 0x140015870
Capabilities:
Read file on windows

Disassembly:
push r14
mov eax, 0x1050
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14001e2a0
sub rsp, rax
mov r14, qword [0x14004add0]
mov rax, qword [r14]
mov qword [rsp + 0x1048], rax
xor eax, eax
mov r12, rcx
mov r13, rdx
mov rsi, r8
test r8, r8
je 0x140015960
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x40]
movabs rdx, 0x400000000
mov rcx, rbp
call fcn.14001c800
jmp 0x1400158fb
test rbx, rbx
je 0x1400158eb
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.14001c8d0
test eax, eax
jne 0x140015998
mov rcx, rsi
call sub.msvcrt.dll_feof
test eax, eax
jne 0x140015978
mov rcx, rdi
mov r9, rsi
mov r8d, 0x1000
mov edx, 1
call sub.msvcrt.dll_fread
mov rcx, rsi
mov rbx, rax
call sub.msvcrt.dll_ferror
test eax, eax
je 0x1400158d0
mov rcx, rbp
call fcn.14001c820
mov qword [r13], 0
mov eax, 0x16
mov qword [r12], 0
mov rdx, qword [rsp + 0x1048]
sub rdx, qword [r14]
jne 0x14001599f
add rsp, 0x1050
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov qword [rdx], 0
xor eax, eax
mov qword [rcx], 0
jmp 0x14001593d
mov rcx, rbp
call fcn.14001ca00
mov rcx, rbp
mov qword [r13], rax
call fcn.14001c9e0
mov qword [r12], rax
xor eax, eax
jmp 0x14001593d
mov eax, 0xf
jmp 0x14001593d
call fcn.14001e3f0
nop
nop word cs:[rax + rax]
Function at 0x140018c30
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140018c5f
cmp byte [rdx], 0x2d
jne 0x140018c70
cmp byte [rdx + 1], 0
jne 0x140018c70
mov ecx, 1
call qword [fcn.1400287d0]
mov qword [0x140050a40], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rdi, [0x1400491e0]
mov rcx, rbx
mov rdx, rdi
call fcn.14001c6d0
mov rcx, rax
test rax, rax
je 0x140018cd0
call sub.msvcrt.dll_fclose
mov ecx, 2
mov rsi, qword [fcn.1400287d0]
call rsi
mov rdx, rdi
mov rcx, rbx
mov r8, rax
call sub.msvcrt.dll_freopen
test rax, rax
je 0x140018c5f
mov ecx, 2
call rsi
mov qword [0x140050a40], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov r8, rbx
lea rdx, str.Warning:_Failed_to_open__s
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.14000e740
Function at 0x14001b2d0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, qword [0x14004add0]
xor r12d, r12d
mov rbp, rdx
mov rsi, rcx
mov rdx, qword [rdi]
mov qword [rsp + 0x38], rdx
mov rdx, rcx
mov ecx, 0x7b
call sub.msvcrt.dll_fputc
mov r15, qword [sym.imp.libcurl_4.dll_curl_easy_header]
nop dword [rax]
mov rcx, qword [rbp + 0x20]
mov r9, r12
mov r8d, 0xffffffff
mov edx, 1
call qword [sym.imp.libcurl_4.dll_curl_easy_nextheader]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001b490
mov rdi, qword [rax + 0x10]
cmp rdi, 1
jbe 0x14001b410
mov rbx, qword [rax + 0x18]
test rbx, rbx
jne 0x14001b310
mov r13, qword [rax]
mov rdx, r13
test r12, r12
je 0x14001b37a
mov edx, 1
mov r9, rsi
mov r8d, 2
lea rcx, [0x14004a03a]
call sub.msvcrt.dll_fwrite
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax]
mov r8d, 1
mov rcx, rsi
lea r14, [rsp + 0x30]
call fcn.14001b120
mov rdx, rsi
mov ecx, 0x3a
call sub.msvcrt.dll_fputc
mov rdx, rsi
mov ecx, 0x5b
mov r12, qword [rsp + 0x30]
call sub.msvcrt.dll_fputc
jmp 0x14001b3e1
mov rdx, rsi
mov ecx, 0x2c
call sub.msvcrt.dll_fputc
mov rcx, qword [rbp + 0x20]
mov r8, rbx
mov rdx, r13
mov qword [rsp + 0x28], r14
mov r9d, 1
mov dword [rsp + 0x20], 0xffffffff
call r15
test eax, eax
jne 0x14001b3fe
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov rcx, rsi
add rbx, 1
mov rdx, qword [rax + 8]
call fcn.14001b120
cmp rdi, rbx
jne 0x14001b3b0
mov rdx, rsi
mov ecx, 0x5d
call sub.msvcrt.dll_fputc
jmp 0x14001b310
test r12, r12
je 0x14001b434
mov r9, rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x14004a03a]
call sub.msvcrt.dll_fwrite
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax]
mov r8d, 1
mov rcx, rsi
call fcn.14001b120
mov rdx, rsi
mov ecx, 0x3a
call sub.msvcrt.dll_fputc
mov rdx, rsi
mov ecx, 0x5b
call sub.msvcrt.dll_fputc
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov rcx, rsi
mov rdx, qword [rax + 8]
call fcn.14001b120
mov rdx, rsi
mov ecx, 0x5d
call sub.msvcrt.dll_fputc
mov r12, qword [rsp + 0x30]
jmp 0x14001b310
mov r9, rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x14004a03d]
call sub.msvcrt.dll_fwrite
mov rdi, qword [0x14004add0]
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
jne 0x14001b4cc
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001e3f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001ca30
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x14004add0]
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
xor eax, eax
xor eax, eax
test edx, edx
lea r8, [rsp + 0x24]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdx, qword [rsp + 0x28]
sub rdx, qword [rbx]
jne 0x14001ca71
add rsp, 0x30
pop rbx
ret
call fcn.14001e3f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14001cfc0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.msvcrt.dll__read]
cdqe
add rsp, 0x28
ret

Function at 0x14001d4a0
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.1400287d0
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.1400287d0
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 0x14001d510
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140050ad4]
mov rbx, rcx
test esi, esi
jle 0x14001d640
mov rax, qword [0x140050ad8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001d55b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001d5e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001d540
mov rcx, rbx
call fcn.14001dfc0
mov rdi, rax
test rax, rax
je 0x14001d662
mov rax, qword [0x140050ad8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14001e100
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140050ad8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001d647
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14001d5de
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14001d5f0
add dword [0x140050ad4], 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 [0x140050ad8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001d5de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14001d4a0
nop dword [rax]
xor esi, esi
jmp 0x14001d568
mov rax, qword [0x140050ad8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14001d4a0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14001d4a0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14001dc00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140050b40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140050b20]
test rbx, rbx
je 0x14001dc64
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14001dc5b
test eax, eax
jne 0x14001dc5b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001dc40
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 0x14001dfc0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x14001e040
Capabilities:
Parse pe header

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

Function at 0x14001e100
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14004acd0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001e11f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14001e128
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14001e3f0
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size
Get file size
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14001e420
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001e440
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size
Get file size

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov ebp, ecx
mov rsi, rdx
cmp ecx, 0xffffffff
je 0x14001e670
test rdx, rdx
js 0x14001e670
call sub.msvcrt.dll__get_osfhandle
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e6a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x14001e6a0
mov ecx, ebp
call sub.msvcrt.dll__telli64
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x14001e670
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001e6a0
cmp qword [rsp + 0x68], rsi
jb 0x14001e530
xor r9d, r9d
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x74]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x14001e4e9
cmp dword [rsp + 0x70], 0xffffffff
jne 0x14001e685
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14001e670
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov ecx, ebp
call sub.msvcrt.dll__lseeki64
cmp rax, 0xffffffffffffffff
je 0x14001e670
xor eax, eax
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14001e670
mov edx, 2
mov ecx, 0x33
call sub.msvcrt.dll_calloc
mov edx, 2
mov ecx, 0x106
mov rbx, rax
call sub.msvcrt.dll_calloc
mov r12, rax
test rbx, rbx
je 0x14001e6a0
test rax, rax
je 0x14001e6a0
mov edx, 0x32
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r14, qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r15, qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov r13, rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x40], rax
jmp 0x14001e5c7
mov r8d, 0x32
mov rdx, rbx
mov rcx, r13
call r15
test eax, eax
je 0x14001e658
mov dword [rsp + 0x38], 0
mov rdx, r12
mov rcx, rbx
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0
mov r8d, 0x105
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call r14
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x8c], eax
jne 0x14001e5b0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rcx, r12
call sub.msvcrt.dll_free
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rcx, rbx
mov r12d, eax
call sub.msvcrt.dll_free
test r12d, r12d
je 0x14001e692
mov rax, rsi
sub rax, qword [rsp + 0x68]
cmp qword [rsp + 0x60], rax
jae 0x14001e4c1
jmp 0x14001e692
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rcx, rbx
xor ebx, ebx
call sub.msvcrt.dll_free
jmp 0x14001e614
call sub.msvcrt.dll__errno
mov dword [rax], 0x16
mov eax, 0xffffffff
jmp 0x14001e515
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x83
jne 0x14001e670
call sub.msvcrt.dll__errno
mov dword [rax], 0x1b
jmp 0x14001e67b
call sub.msvcrt.dll__errno
mov dword [rax], 9
jmp 0x14001e67b
Function at 0x14001c50c
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push rbp
push r15
mov rax, 0x8c
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14001c520
sub rsp, 0x28
call fcn.14003f590
mov rdx, qword [rsp + 0x4a8]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14003f600
add rsp, 0x10
mov dword [0x1400f6001], 0x4000096
mov dword [0x1400f6001], 0x400009a
push qword [rsp + 0x4a0]
push 0x18
pop rcx
pop rdx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x468], rax
mov dword [0x1400f6001], 0x400009b
cmp qword [rsp + 0x468], 0
je 0x14001c712
mov dword [0x1400f6001], 0x400009c
lea rbp, [rsp + 0x30]
mov dword [rbp], 0x438
mov dword [0x1400f6001], 0x400009d
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32FirstW
mov qword [rsp + 0x470], rax
mov dword [0x1400f6001], 0x400009e
cmp qword [rsp + 0x470], 0
je 0x14001c6fb
mov dword [0x1400f6001], 0x400009f
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 1
push 1
push qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.14003f170
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
lea rbp, [rsp + 0x68]
lea rax, [rbp + 0x30]
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003dca0
add rsp, 0x20
push rax
call fcn.14003f3a0
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14003ca50
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140021d5c
add rsp, 0x28
pop rax
and rax, rax
je 0x14001c6b9
mov dword [0x1400f6001], 0x40000a0
lea rbp, [rsp + 0x30]
push qword [rbp + 0x18]
pop rax
mov qword [rsp + 0x478], rax
mov dword [0x1400f6001], 0x40000a1
jmp 0x14001c6fb
mov dword [0x1400f6001], 0x40000a2
mov dword [0x1400f6001], 0x40000a3
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x470]
pop rcx
pop rdx
call sub.KERNEL32.dll_Module32NextW
mov qword [rsp + 0x470], rax
mov dword [0x1400f6001], 0x40000a4
jmp 0x14001c5db
mov dword [0x1400f6001], 0x40000a5
push qword [rsp + 0x468]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400f6001], 0x40000a6
mov dword [0x1400f6001], 0x40000a8
mov rax, qword [rsp + 0x478]
jmp 0x14001c73d
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14003f670
add rsp, 0x28
pop rax
add rsp, 0x488
pop r15
pop rbp
ret
Function at 0x14001da42
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r15
mov rax, 0xa
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14001da51
sub rsp, 0x28
call fcn.14003f590
mov dword [0x1400f6001], 0x400007f
mov dword [0x1400f6001], 0x4000081
mov qword [rsp + 0x70], 0
mov dword [0x1400f6001], 0x4000083
lea rax, [rsp + 0x40]
mov rax, rax
push rax
pop rcx
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [0x1400f6001], 0x4000084
lea rbp, [rsp + 0x40]
movsx r15, word [rbp]
cmp r15, 9
jne 0x14001dbb9
mov dword [0x1400f6001], 0x4000085
movabs rax, str.IsWow64Process
push rax
movabs rax, str.kernel32.dll
push rax
pop rcx
pop rdx
call fcn.14001d8e1
mov qword [rsp + 0x28], rax
mov dword [0x1400f6001], 0x4000086
cmp qword [rsp + 0x28], 0
je 0x14001dbaf
mov dword [0x1400f6001], 0x4000087
push qword [rsp + 0x90]
push 0
push 0x400
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_OpenProcess
mov qword [rsp + 0x38], rax
mov dword [0x1400f6001], 0x4000088
cmp qword [rsp + 0x38], 0
je 0x14001dba5
mov dword [0x1400f6001], 0x4000089
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x38]
pop rcx
pop rdx
pop r8
call fcn.1400265cc
mov dword [0x1400f6001], 0x400008a
push qword [rsp + 0x38]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400f6001], 0x400008b
mov r15, qword [rsp + 0x30]
and r15, r15
jne 0x14001db9b
mov dword [0x1400f6001], 0x400008c
mov qword [rsp + 0x70], 1
mov dword [0x1400f6001], 0x400008d
mov dword [0x1400f6001], 0x400008e
mov dword [0x1400f6001], 0x400008f
mov dword [0x1400f6001], 0x4000090
mov dword [0x1400f6001], 0x4000092
mov rax, qword [rsp + 0x70]
jmp 0x14001dbe1
add rsp, 0x78
pop r15
pop rbp
ret
Function at 0x14001de97
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push r15
mov rax, 8
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14001dea1
sub rsp, 0x28
call fcn.14003f590
mov dword [0x1400f6001], 0x171
mov dword [0x1400f6001], 0x172
mov byte [rsp + 0x28], 0
mov dword [0x1400f6001], 0x174
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push 0x28
sub rsp, 0x20
call sub.KERNEL32.dll_GetCurrentProcess
add rsp, 0x20
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_OpenProcessToken
and rax, rax
je 0x14001e036
mov dword [0x1400f6001], 0x175
lea rax, [rsp + 0x38]
mov dword [0x1400f6001], 0x177
lea rax, [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.SeDebugPrivilege
push rax
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_LookupPrivilegeValueW
and rax, rax
je 0x14001e018
mov dword [0x1400f6001], 0x178
lea rax, [rsp + 0x40]
mov dword [0x1400f6001], 0x17b
lea rbp, [rsp + 0x40]
mov dword [rbp], 1
mov dword [0x1400f6001], 0x17c
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 4], eax
mov dword [0x1400f6001], 0x17d
lea rbp, [rsp + 0x38]
movsxd rax, dword [rbp + 4]
push rax
lea rbp, [rsp + 0x48]
push rbp
pop rbp
pop rax
mov dword [rbp + 8], eax
mov dword [0x1400f6001], 0x17e
push rbp
pop rbp
mov dword [rbp + 0xc], 2
mov dword [0x1400f6001], 0x180
lea rax, [rsp + 0x60]
mov rax, rax
push rax
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0x10
lea rax, [rsp + 0x58]
mov rax, rax
push rax
push 0
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
add rsp, 0x30
mov rax, rax
push rax
pop rax
mov byte [rsp + 0x28], al
mov dword [0x1400f6001], 0x181
mov dword [0x1400f6001], 0x182
push qword [rsp + 0x30]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov dword [0x1400f6001], 0x183
mov dword [0x1400f6001], 0x184
movsx rax, byte [rsp + 0x28]
movsx rax, al
jmp 0x14001e063
add rsp, 0x68
pop r15
pop rbp
ret

Function at 0x14001efec
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.14003f590
mov dword [0x1400f6001], 0x100002b
mov dword [0x1400f6001], 0x100002c
push qword [rsp + 0x40]
pop rcx
call sub.USER32.DLL_GetAsyncKeyState
mov r15, rax
and r15, 0x8000
and r15, r15
je 0x14001f040
mov dword [0x1400f6001], 0x100002d
mov rax, 1
jmp 0x14001f057
mov dword [0x1400f6001], 0x100002e
mov dword [0x1400f6001], 0x100002f
xor rax, rax
add rsp, 0x30
pop r15
ret
Function at 0x14001f325
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.14003f590
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14003f600
add rsp, 0x10
mov dword [0x1400f6001], 0x3b7
mov dword [0x1400f6001], 0x3b9
push 5
sub rsp, 8
sub rsp, 0x20
call sub.USER32.DLL_GetDesktopWindow
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
call sub.USER32.DLL_GetWindow
mov qword [rsp + 0x30], rax
mov dword [0x1400f6001], 0x3ba
cmp qword [rsp + 0x30], 0
je 0x14001f54d
mov dword [0x1400f6001], 0x3bb
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push qword [rsp + 0x50]
pop rcx
sub rsp, 0x20
call sub.USER32.DLL_GetWindowTextLengthW
add rsp, 0x28
mov r15, rax
add r15, 2
mov rax, r15
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003d520
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.14003f230
mov dword [0x1400f6001], 0x3bc
push qword [rsp + 0x38]
pop rcx
call fcn.14003cae0
mov rax, rax
push rax
push qword [rsp + 0x40]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.USER32.DLL_GetWindowTextW
mov dword [0x1400f6001], 0x3bd
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x50]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003d670
add rsp, 0x28
call fcn.14003f4c0
push rcx
sub rsp, 0x20
call fcn.14003f170
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.14003f170
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003d670
add rsp, 0x20
push rax
call fcn.14003f3a0
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.14003f3a0
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003c950
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140021d5c
add rsp, 0x28
pop rax
and rax, rax
je 0x14001f515
mov dword [0x1400f6001], 0x3be
mov rax, 1
jmp 0x14001f569
mov dword [0x1400f6001], 0x3bf
mov dword [0x1400f6001], 0x3c0
push 2
push qword [rsp + 0x38]
pop rcx
pop rdx
call sub.USER32.DLL_GetWindow
mov qword [rsp + 0x30], rax
mov dword [0x1400f6001], 0x3c1
jmp 0x14001f38c
mov dword [0x1400f6001], 0x3c2
xor rax, rax
jmp 0x14001f569
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14003f670
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.14003f670
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret