joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e1d4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140222820]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e24f
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.1400040e8
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e37f
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e356
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e37f
mov al, 1
jmp 0x14000e381
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001af40
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140010c3c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010c6f
xor r8d, r8d
mov cl, r8b
movabs rax, 0x51533f1509c71599
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010c48
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x140010c74
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010ca7
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010c80
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010cac
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
mov rdx, rcx
je 0x140010cdf
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 7
jb 0x140010cb8
mov byte [rdx + 7], 0
mov rax, rdx
ret

Function at 0x140010ce4
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d17
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010cf0
mov byte [rdx + 9], 0
mov rax, rdx
ret

Function at 0x140010d1c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d4f
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d28
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x140002110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000220b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002213
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000224a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002220
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002275
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000229b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002280
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a450
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a495
xor al, al
jmp 0x14000a4e2
cmp word [rbx], 0
je 0x14000a4ad
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a4a0
cmp word [rsp + 0x30], 0
je 0x14000a4db
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a503
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a4c0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b510
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000d770
int3
Function at 0x14000ab90
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001c7a0
sub rsp, rax
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002ad10]
lea rsi, [0x14002fd40]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac03
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a510
test al, al
je 0x14000acef
lea rcx, [rsp + 0x20]
call fcn.14001115c
movsxd r11, dword [0x14002ad10]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002ad10], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac44
mov r10, rsi
nop
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac34
add rax, 2
test ecx, ecx
jne 0x14000ac20
test edx, edx
je 0x14000ac67
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac10
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac50
cmp rax, 2
jne 0x14000ac6b
cmp word [rdi + 2], 0x3a
jne 0x14000ac6b
mov al, 1
jmp 0x14000acce
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ac98
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ac98
mov bl, 1
jmp 0x14000ac9c
test bl, bl
je 0x14000acc3
cmp dword [0x14002ad10], 0x400
jge 0x14000acc3
mov rcx, rdi
call fcn.14001115c
movsxd rdx, dword [0x14002ad10]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002ad10], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b510
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000a9e0
int3
Function at 0x14000ae10
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002ad18]
test rcx, rcx
je 0x14000ae4b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae3e
mov rcx, qword [0x14002ad18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002ad18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140039d70], 0
je 0x14000af3e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140025930]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14002d540]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af1f
test al, 0x10
je 0x14000af1f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aec5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000bde4
Capabilities:
Parse pe header

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

Function at 0x14000d764
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000d5f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d5f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d5f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d5f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d5f7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d5f7
cmp dword [rcx + 0xf8], 0
je 0x14000d5f7
mov ecx, ebx
call fcn.14000d698
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000d488
cmp dword [rbp + 0x20], 0
je 0x14000d644
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000d64c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000d590
Function at 0x14001c6e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c708
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c708
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4d1510
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d1f12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d1faa
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d1f8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d1f82
cmp qword [rbp - 0x10], 0
je 0x2fc4d1f82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d1f48
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d1fab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d20b0
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d21aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d21a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d21a1
mov rax, qword [rbp - 8]
jmp 0x2fc4d21bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d2174
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001000
Capabilities:
Acquire debug privileges

Disassembly:
mov eax, 0x58
call fcn.140002880
sub rsp, rax
mov rax, qword [0x140014010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001082
lea r8, [rsp + 0x3c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x140001082
mov rcx, qword [rsp + 0x30]
xor eax, eax
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001092
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400028e0
add rsp, 0x58
ret

Function at 0x1400011e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x270
call fcn.140002880
sub rsp, rax
mov rax, qword [0x140014010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov edx, ecx
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001225
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000124d
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x140001270
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400028e0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x140001244
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.140001d84
mov rcx, rbx
test eax, eax
je 0x1400012a5
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x140001281
jmp 0x140001244
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
jmp 0x14000124f
Function at 0x140001750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x28
call fcn.140002880
sub rsp, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400019c0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x4b0
call fcn.140002880
sub rsp, rax
mov rax, qword [0x140014010]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rdi, rdx
mov ebx, ecx
call fcn.1400010b0
mov esi, eax
call section..text
cmp ebx, 1
jne 0x140001a30
call fcn.1400017f0
lea ecx, [rbx + 6]
call fcn.1400018e0
lea r8d, [rbx + 0x7f]
lea rdx, [rsp + 0x20]
lea rcx, str.PROMPT
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140001b1e
jmp 0x140001af7
cmp ebx, 3
jne 0x140001b2d
mov rcx, qword [rdi + 8]
call fcn.14000239c
mov ebx, eax
test eax, eax
je 0x140001b3a
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0xa0]
mov edx, 0x400
call fcn.140001bb0
lea rcx, [rsp + 0xa0]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140001a70
cmp rax, 1
jb 0x140001b53
lea rcx, [rsp + 0xa0]
call fcn.140001750
test eax, eax
je 0x140001b6c
lea rcx, [rsp + 0xa0]
mov edx, 0x5c
call fcn.140001c14
test rax, rax
je 0x140001b85
call fcn.140001920
lea rdx, [rsp + 0xa0]
mov ecx, ebx
call fcn.1400012c0
mov ecx, esi
mov ebx, eax
call fcn.1400018e0
mov eax, ebx
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1400028e0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 4
call fcn.1400018e0
lea rcx, str._n_This_is_a_console_application._Kindly_Run_it_from_the_CMD_Prompt_
call fcn.1400023c0
lea rcx, str._n_n_Press_any_key_to_exit...._n
call fcn.1400023c0
call fcn.1400025dc
mov ecx, esi
call fcn.1400018e0
xor ecx, ecx
call fcn.140002390
int3
call fcn.1400017f0
xor ecx, ecx
call fcn.140002390
int3
call fcn.1400017f0
lea rcx, str._n_n_Error:_Invalid_Process_ID._n_n
call fcn.140001780
xor ecx, ecx
call fcn.140002390
int3
call fcn.1400017f0
lea rcx, str._n_n_Error:_DLL_file_path_is_empty._n_n
call fcn.140001780
xor ecx, ecx
call fcn.140002390
int3
call fcn.1400017f0
lea rcx, str._n_n_Error:_Specified_DLL_file_does_not_exist._Make_sure_you_have_entered_full_file_path._n_n
call fcn.140001780
xor ecx, ecx
call fcn.140002390
int3
call fcn.1400017f0
lea rcx, str._n_n_Error:_Specify_the_Full_Path_of_DLL_else_injection_will_fail._n_n
call fcn.140001780
xor ecx, ecx
call fcn.140002390
int3

Function at 0x140002390
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400021f8
Function at 0x180009270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x180009306
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x180190810]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003fac0
test rdi, rdi
je 0x180009386
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x18000939f
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x180009497
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x180009518
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x1800094a4
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x180009360
add r8, rcx
cmp r9, 8
jae 0x1800094ad
jmp 0x180009518
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003fac0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x180009518
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x180009518
mov r8, rcx
cmp r9, 8
jb 0x180009518
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1800094b0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret