joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400011f0
Capabilities:
Connect pipe
Print debug messages
Read pipe
Write pipe

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x178
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.140004c80
call fcn.140001000
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], 0
mov r8d, 0x104
mov qword [rsp + 0x20], rbx
mov rbx, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rbx
call fcn.140007600
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rdi, [0x140023d60]
xor edx, edx
mov rcx, rdi
mov r8d, 0x104
call fcn.140004c80
lea rax, [rsp + 0x50]
mov r8, rbx
lea r9, str.DEBUG:_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
mov rcx, rdi
call fcn.1400010d0
lea rcx, [0x140023c00]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400012c0
test rax, rax
je 0x1400012fe
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400012d0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x28], rax
mov r9, rdi
mov r8d, ebx
mov dword [rsp + 0x20], ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003c30
add rsp, 0x178
pop rdi
pop rbx
ret
Function at 0x140001320
Capabilities:
Connect pipe
Print debug messages
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rsp + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
lea rsi, [rsp + 0x2a8]
mov edi, eax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
mov r8d, edi
mov qword [rsp + 0x20], rax
mov r9d, 0x400
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call fcn.140004c80
call fcn.140001000
mov rcx, qword [rsp + 0x2a0]
lea rdx, [rsp + 0x160]
mov qword [rsp + 0x30], rsi
mov r8d, 0x104
mov qword [rsp + 0x28], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov rcx, qword [rax]
call fcn.140007600
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.140004c80
mov rax, qword [rsp + 0x40]
lea r9, str.Error__d__0x_x_____s:__s
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x160]
mov r8, rbx
mov qword [rsp + 0x30], rax
mov edx, 0x104
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call fcn.1400010d0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rdi, [0x140023d60]
xor edx, edx
mov rcx, rdi
mov r8d, 0x104
call fcn.140004c80
lea rax, [rsp + 0x50]
mov r8, rbx
lea r9, str.DEBUG:_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
mov rcx, rdi
call fcn.1400010d0
lea rcx, [0x140023c00]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140001473
test rax, rax
je 0x1400014af
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001481
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x28], rax
mov r9, rdi
mov r8d, ebx
mov dword [rsp + 0x20], ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CallNamedPipeA]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140003c30
add rsp, 0x280
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003080
Capabilities:
Connect pipe
Create pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x8260
call fcn.140014ed0
sub rsp, rax
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rsp + 0x8250], rax
xor r12d, r12d
mov r15, rdx
mov r14d, r12d
mov rbx, rcx
call fcn.140007b9c
cmp dword [rax], 4
jne 0x140003277
mov r9, rbx
lea r8, str..PIPE_s
mov edx, 0x1ff
lea rcx, [rsp + 0x50]
call fcn.140001010
mov r8, r15
lea rdx, [rsp + 0x50]
lea rcx, str.Loader:_Starting_pipe__s__DLL_to_inject__s_._n
call fcn.1400011f0
nop dword [rax + rax]
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x50]
mov edx, 3
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0x4000
mov r9d, 0xff
mov dword [rsp + 0x20], 0x4000
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rcx, rax
xor edx, edx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140003153
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x140003100
xor edx, edx
mov dword [rsp + 0x40], r12d
mov r8d, 0x4000
mov dword [rsp + 0x44], r12d
lea rcx, [rsp + 0x250]
call fcn.140004c80
xor edx, edx
lea rcx, [rsp + 0x4250]
mov r8d, 0x4000
call fcn.140004c80
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov r8d, 0x4000
lea rdx, [rsp + 0x250]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rdx, [rsp + 0x250]
lea rcx, [0x14001f408]
call fcn.1400011f0
mov r8d, 8
lea rdx, str.PROCESS:
lea rcx, [rsp + 0x250]
call fcn.140007e20
test eax, eax
jne 0x14000324b
lea edx, [rax + 0x2c]
lea rcx, [rsp + 0x250]
lea esi, [rax - 1]
call fcn.140004b6c
lea rcx, [rsp + 0x25a]
mov rdi, rax
test rax, rax
je 0x140003214
mov byte [rax], r12b
call fcn.140007ea8
lea rcx, [rdi + 1]
mov ebx, eax
call fcn.140007ea8
mov esi, eax
jmp 0x14000321b
call fcn.140007ea8
mov ebx, eax
test ebx, ebx
je 0x14000324b
test esi, esi
je 0x14000324b
cmp ebx, r14d
je 0x14000324b
mov r8d, esi
lea rcx, str.About_to_call_InjectDll_on_process__d__thread_5_d._n
mov edx, ebx
call fcn.1400011f0
mov r8, r15
mov edx, esi
mov ecx, ebx
call fcn.140002c30
test eax, eax
cmovne r14d, ebx
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], r12
xor r8d, r8d
lea rdx, [rsp + 0x4250]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003100
xor eax, eax
mov rcx, qword [rsp + 0x8250]
xor rcx, rsp
call fcn.140003c30
lea r11, [rsp + 0x8260]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140008aa4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008808

Function at 0x14000c0f0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000c0cd
call fcn.140009794
mov dword [rax], 0x16
call fcn.140009674
or eax, 0xffffffff
jmp 0x14000c0ea
sub dword [rcx + 0x10], 1
jns 0x14000c0dc
add rsp, 0x28
jmp 0x1400122ac
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000c0ac
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 0x14001214c
call fcn.140009794
mov dword [rax], 0x16
call fcn.140009674
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 0x140012134
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140012134
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001217e
lock or dword [rax + 0x14], 0x10
jmp 0x140012134
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001219b
mov rcx, qword [rbp + 0x10]
call fcn.14001401c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000a020
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140013250
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400121f2
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 0x140012134
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001225e
mov rcx, qword [rbp + 0x10]
call fcn.14000a020
cmp eax, 0xffffffff
je 0x140012245
mov rcx, qword [rbp + 0x10]
call fcn.14000a020
cmp eax, 0xfffffffe
je 0x140012245
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000a020
movsxd rdi, eax
lea rsi, [0x1400233a0]
mov rcx, rbx
sar rdi, 6
call fcn.14000a020
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001224c
lea rax, [0x1400222d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001225e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140012294
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140012290
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140012290
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 0x140012137
jmp 0x140012104
Function at 0x140002690
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, 0x2a
mov r8d, 0x17
mov edx, 0x402
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
xor eax, eax
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140002765
cmp dword [rsp + 0x38], 0x402
jne 0x140002765
cmp qword [rsp + 0x40], 0x17
jne 0x140002765
cmp qword [rsp + 0x48], 0x2a
jne 0x140002765
mov rsi, qword [sym.imp.KERNEL32.dll_GetTickCount]
call rsi
mov ecx, 0x28a
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call rsi
sub eax, 0x258
sub eax, ebx
cmp eax, 0x12b
ja 0x140002765
mov r12, qword [str.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA]
movsxd rbp, dword [r12 + 4]
lea rsi, [r12 + 0x18]
mov rcx, rbp
call sub.msvcrt.dll_malloc
mov rcx, rbp
lea r8, [r12 + 8]
mov edx, ebp
mov rdi, rax
mov rbx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, rax
call fcn.140001485
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_free
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x140002a40
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.140003890
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.140003890
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 0x140002ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a034]
mov rbx, rcx
test esi, esi
jle 0x140002be0
mov rax, qword [0x14000a038]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002afb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002b85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002ae0
mov rcx, rbx
call fcn.140003500
mov rdi, rax
test rax, rax
je 0x140002c02
mov rax, qword [0x14000a038]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003640
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a038]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002be7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002b7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002b90
add dword [0x14000a034], 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 [0x14000a038]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002b7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002a40
nop dword [rax]
xor esi, esi
jmp 0x140002b08
mov rax, qword [0x14000a038]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002a40
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002a40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003170
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a080]
test rbx, rbx
je 0x1400031cc
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 eax, eax
jne 0x1400031c3
test rsi, rsi
je 0x1400031c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400031a8
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 0x140003500
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140003580
Capabilities:
Parse pe header

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

Function at 0x140003640
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400053b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000365f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003668
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14001ac90
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9d, 0x40
lea r8, str.NexusAim
lea rdx, str.Thank_you.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
lea r8, [0x1400068f0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 0x64
mov dword [rsp + 0x28], 1
mov r8d, edx
mov dword [rsp + 0x20], 0x2ee
mov r9d, 0x5dc
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r9d, 2
mov r8b, 0xf0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call fcn.14001a0e0
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x14001b1c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14001b1e1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001b20e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001b210
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14001b269
test ecx, ecx
jle 0x14001b249
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14001b269
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001b269
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
and byte [rax - 0x75], cl
ror byte [rax - 0x75], 1
and al, 0x50
Function at 0x14001b290
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001b2b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14001b2c1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001b2e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001b2e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001b322
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001b3be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001b35d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14001b39e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14001b3be
cmp rbx, rax
ja 0x14001b370
test rbx, rbx
je 0x14001b3be
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
leave
add byte [rax - 0x75], cl
add byte [rdi], cl
mov esi, 0xf8830804
invalid
Function at 0x14001b7f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001b81d
xor eax, eax
jmp 0x14001b989
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001b857
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14001b857
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14001b989
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001b97c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001b89a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14001b8c5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14001b981
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001b934
sub eax, 1
je 0x14001b934
cmp eax, 2
jne 0x14001b97c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14001b981
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14001b962
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14001b97c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14001b981
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001cf80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001bd10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001bde3
cmp byte [rcx + 0x71], 0
je 0x14001bde3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001bddf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001bda4
sub eax, 1
je 0x14001bda8
cmp eax, 2
jne 0x14001bddf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001cf80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001bdd6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001bddf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001bd8c
xor al, al
jmp 0x14001bd8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001cf80
add rsp, 0x60
pop rbx
ret

Function at 0x14001da38
Capabilities:
Parse pe header

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