joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f42a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x1400f5c40]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.1400f4030
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x1400f42ad
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x1400f5c40]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.1400f4030
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x1400f4380
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x1400f43a0
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, dh
movzx edi, ah
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, bh
shr eax, 0x10
movzx ebp, ch
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, bh
movzx edi, ch
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
movzx esi, dh
mov edx, dword [r15 + 0xc]
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 1]
mov eax, dword [r15]
xor r8d, dword [r14 + rbp*8 + 1]
xor eax, r10d
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor ecx, r12d
xor ebx, r11d
xor edx, r8d
sub r13d, 1
jne 0x1400f43a0
lea r14, [r14 + 0x800]
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi]
movzx r11d, byte [r14 + rdi]
movzx r12d, byte [r14 + rbp]
movzx esi, dl
movzx edi, dh
movzx ebp, ah
movzx r8d, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl edi, 8
shl ebp, 8
xor r10d, edi
xor r11d, ebp
shr edx, 0x10
movzx esi, bh
movzx edi, ch
shr eax, 0x10
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
shl esi, 8
shl edi, 8
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x10
shl ebp, 0x10
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, bh
movzx ebp, ch
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x18
shl ebp, 0x18
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, dh
movzx edi, ah
mov edx, dword [r15 + 0x1c]
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
mov eax, dword [r15 + 0x10]
shl esi, 0x18
shl edi, 0x18
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
lea r14, [r14 - 0x800]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x180027040
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x180068c58]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x180069bd8]
lea r9, [0x18006aee0]
mov dword [rsp + 0x28], eax
lea r8, str.C:_nvlddm_log_nvlddm_s__d__d.log
mov eax, dword [0x18006aeb0]
lea rcx, [0x18006af00]
mov edx, 0x80
mov dword [rsp + 0x20], eax
call fcn.180027500
mov r8d, 0x20
lea rdx, [0x180055fd4]
lea rcx, [0x18006af00]
call fcn.1800377e4
mov rsi, rax
test rax, rax
je 0x18002714f
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x198], rdi
lea rcx, str.C:_nvlddm_log_nvlddm.log
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180027133
mov qword [rsp + 0x190], rbx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180027111
inc ebx
cmp ebx, 0x200
ja 0x180027111
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1800270f5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x200
mov rbx, qword [rsp + 0x190]
ja 0x180027133
mov qword [0x180069bd0], rsi
jmp 0x180027147
mov rcx, rsi
call fcn.180037344
lea rcx, [0x18006af00]
call fcn.180037964
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18002ca10
add rsp, 0x180
pop rsi
ret

Function at 0x180027270
Capabilities:
Enumerate files on windows

Disassembly:
movups xmm0, xmmword [rcx]
movups xmmword [0x18006ae80], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [0x18006ae90], xmm1
movups xmm0, xmmword [rcx + 0x20]
mov ecx, dword [0x18006ae74]
movups xmmword [0x18006aea0], xmm0
test ecx, ecx
je 0x180027308
sub ecx, 1
je 0x1800272f4
sub ecx, 1
je 0x1800272e0
sub ecx, 1
je 0x1800272cc
cmp ecx, 1
je 0x1800272b8
xor eax, eax
mov dword [0x18006ae70], eax
jmp 0x18002731a
mov eax, dword [0x18006ae90]
mov dword [0x18006ae70], eax
mov eax, dword [0x18006aea8]
jmp 0x18002731a
mov eax, dword [0x18006ae8c]
mov dword [0x18006ae70], eax
mov eax, dword [0x18006aea4]
jmp 0x18002731a
mov eax, dword [0x18006ae88]
mov dword [0x18006ae70], eax
mov eax, dword [0x18006aea0]
jmp 0x18002731a
mov eax, dword [0x18006ae84]
mov dword [0x18006ae70], eax
mov eax, dword [0x18006ae9c]
jmp 0x18002731a
mov eax, dword [0x18006ae80]
mov dword [0x18006ae70], eax
mov eax, dword [0x18006ae98]
cmp byte [0x18006aeac], 0
mov dword [0x18006ae6c], eax
je 0x180027337
cmp qword [0x180069bd0], 0
je fcn.180027040
ret
Function at 0x180027c30
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x180068c58]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
lea r8, [rsp + 0x38]
mov rdx, rcx
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x180027dcf
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180027dc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x180027dc2
xor edx, edx
mov qword [rsp + 0x290], rsi
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x180027d90
mov ecx, esi
call fcn.180031160
mov rdi, rax
test rax, rax
je 0x180027dba
mov r9, rax
mov qword [rsp + 0x288], rbp
mov r8d, esi
lea rcx, [rsp + 0x50]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x180027d54
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x40], ebx
lea rdx, [0x18005624c]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x180027d7e
mov rax, qword [rsp + 0x30]
mov ecx, 3
mov esi, dword [rax + 8]
mov ebp, dword [rax + 0xc]
mov ebx, esi
shl rbx, 0x20
or rbx, rbp
call fcn.1800092f0
test al, al
je 0x180027d7e
movzx eax, bp
lea rcx, str.Version:__hu___hu___hu___hu_n
movzx r8d, si
shr ebp, 0x10
shr esi, 0x10
mov r9d, ebp
mov edx, esi
mov dword [rsp + 0x20], eax
call fcn.180026d30
jmp 0x180027d7e
mov ecx, 3
call fcn.1800092f0
test al, al
je 0x180027d7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.UMFileUtil_GetModuleVersion
lea rcx, str._s:_GetFileVersionInfo_failed_with_error_code:__u_n
call fcn.180026d30
mov rcx, rdi
call fcn.180031144
mov rbp, qword [rsp + 0x288]
jmp 0x180027dba
mov ecx, 3
call fcn.1800092f0
test al, al
je 0x180027dba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.UMFileUtil_GetModuleVersion
lea rcx, str._s:_GetFileVersionInfoSize_failed_with_error_code:__u_n
call fcn.180026d30
mov rsi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x180027dfc
mov ecx, 3
call fcn.1800092f0
test al, al
je 0x180027dfc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rdi
lea rdx, str.UMFileUtil_GetModuleVersion
mov r9d, eax
lea rcx, str._s:_GetModuleHandleEx_error_for_module__ls:__u_n
call fcn.180026d30
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18002ca10
mov rbx, qword [rsp + 0x298]
add rsp, 0x270
pop rdi
ret
Function at 0x18002bdd0
Capabilities:
Reference the vmware io port

Disassembly:
mov eax, 0x5658
mov dword [rcx], 0x564d5868
mov word [rcx + 0x18], ax
jmp 0x18002be30
push rbx
push rsi
push rdi
mov rax, rcx
push rax
mov rdi, qword [rax + 0x28]
mov rsi, qword [rax + 0x20]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rax]
in eax, dx
xchg qword [rsp], rax
mov qword [rax + 0x28], rdi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 8], rbx
pop qword [rax]
pop rdi
pop rsi
pop rbx
ret

Function at 0x18002c270
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x5f0
mov rax, qword [0x180068c58]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rdx, str.CoreDump_CoreDump
lea rcx, str._s:_faking_exception_to_get_context_n
call fcn.180026d30
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcafebabe
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x18003e9dc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18003e9fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180039ebc
or eax, 0xffffffff
jmp 0x18003e9fe
xor eax, eax
add rsp, 0x28
ret
Function at 0x18004a630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test rcx, rcx
je 0x18004a71a
test rdx, rdx
je 0x18004a71a
mov dword [rdx], 0x74
mov dword [rdx + 4], 1
mov eax, dword [rcx + 0x58]
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], 1
mov eax, dword [rcx + 0x5c]
mov dword [rdx + 0x10], eax
mov dword [rdx + 0x14], 1
mov dword [rdx + 0x18], 0x20
mov dword [rdx + 0x1c], 1
mov dword [rdx + 0x20], 0x20
mov eax, dword [rcx + 0x64]
mov dword [rdx + 0x24], eax
mov eax, dword [rcx + 0x68]
mov dword [rdx + 0x28], eax
mov eax, dword [rcx + 0x6c]
mov dword [rdx + 0x2c], eax
mov eax, dword [rcx + 0x74]
mov dword [rdx + 0x30], eax
mov eax, dword [rcx + 0x78]
mov dword [rdx + 0x34], eax
mov eax, dword [rcx + 0x7c]
mov dword [rdx + 0x38], eax
mov eax, dword [rcx + 0x80]
mov dword [rdx + 0x3c], eax
mov eax, dword [rcx + 0x84]
mov dword [rdx + 0x40], eax
mov eax, dword [rcx + 0x88]
mov dword [rdx + 0x44], eax
mov eax, dword [rcx + 0x8c]
btr eax, 0x14
mov dword [rdx + 0x48], eax
mov eax, dword [rcx + 0x90]
mov dword [rdx + 0x4c], eax
movzx eax, word [rcx + 0x94]
mov word [rdx + 0x50], ax
movzx eax, word [rcx + 0x98]
mov word [rdx + 0x52], ax
mov eax, dword [rcx + 0xa0]
mov dword [rdx + 0x54], eax
mov eax, dword [rcx + 0x70]
mov dword [rdx + 0x58], eax
movzx eax, word [rcx + 0xa4]
mov word [rdx + 0x5c], ax
movzx eax, word [rcx + 0xa8]
mov word [rdx + 0x5e], ax
mov eax, dword [rcx + 0x9c]
or eax, 4
mov dword [rdx + 0x60], eax
ret
Function at 0x140007a08
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.1400011b8
lea ecx, [rbx + 0x70]
mov rsi, rax
mov dword [rax + 0xc], ebx
call fcn.1400011b8
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.1400011b8
lea rdx, [0x140038c50]
mov rcx, r12
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140007a7f
mov rcx, r14
call fcn.1400011e4
mov rcx, rsi
call fcn.140007740
xor eax, eax
jmp 0x140007bbd
lea r13, [0x140038c7c]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov rbp, qword [r14 + 8]
test rbp, rbp
je 0x140007a9d
and qword [r14 + 8], 0
jmp 0x140007ab5
mov rcx, qword [r14]
lea rdx, [0x140038c50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r13
test rbp, rbp
je 0x140007ba0
mov rcx, rbp
call fcn.14000f160
cmp eax, 4
jl 0x140007a8d
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140007a8d
lea rbx, [rcx + rbp]
lea rcx, [rbx - 3]
lea rdx, [0x140029e60]
call fcn.140015170
test eax, eax
je 0x140007b01
lea rdx, [0x140029e64]
lea rcx, [rbx - 3]
call fcn.140015170
test eax, eax
jne 0x140007a8d
mov edx, 0x3b
mov rcx, rbp
call fcn.14000bb58
test rax, rax
jne 0x140007a8d
mov rcx, r12
call fcn.14000f160
mov rcx, rbp
mov rdi, rax
call fcn.14000f160
mov rbx, rax
lea ecx, [rax + rdi]
movsxd rcx, ecx
call fcn.1400011b8
lea ecx, [rdi - 1]
mov rdx, r12
movsxd r8, ecx
mov r15, rax
mov rcx, rax
call fcn.14000b490
lea ecx, [rbx + 1]
mov rdx, rbp
movsxd r8, ecx
movsxd rcx, edi
dec rcx
add rcx, r15
call fcn.14000b490
add byte [rbx + 0x4e8b0856], cl
or al, 0x8d
add dword [rbx], edi
invalid
jge 0x140007b8e
add ecx, ecx
cmp ecx, eax
jl 0x140007b70
movsxd rdx, ecx
mov dword [rsi + 0xc], ecx
mov rcx, qword [rsi]
shl rdx, 3
call fcn.1400011ec
mov edx, dword [rsi + 8]
mov qword [rsi], rax
mov rax, qword [rsi]
movsxd rcx, edx
mov qword [rax + rcx*8], r15
inc dword [rsi + 8]
jmp 0x140007a8d
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r14 + 8]
call fcn.1400011e4
mov rcx, r14
call fcn.1400011e4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001000
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x50], rdi
xor ebx, ebx
mov r14d, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
mov qword [rsp + 0x50], rax
cmp rax, rdi
je 0x1400010d6
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400010d6
mov ecx, esi
call fcn.140002948
mov r14, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x5c], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x5c]
mov r8d, esi
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400010d6
mov dword [rsp + 0x40], ebx
cmp ebx, esi
jae 0x1400010d6
mov eax, ebx
movzx ecx, byte [rax + r14]
imul ecx, ebx
imul eax, ecx, 0x7f7f7f80
mov ecx, esi
sub ecx, eax
xor edi, ecx
mov dword [rsp + 0x58], edi
inc ebx
jmp 0x1400010b0
lea rdx, [r15 - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400010e9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400010f6
mov rcx, r14
call fcn.140002940
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002920
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140001ec0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rcx
mov rsi, rdx
lea rcx, str.Injecting__s.._n
call fcn.140001130
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov r8d, 1
mov rcx, rsi
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x40], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140001f80
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140001f77
mov ecx, r14d
call fcn.140002948
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001fba
mov rcx, rbx
call fcn.140002940
mov ebp, 0x8123
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, str.Unable_to_load_find__s_n
call fcn.140001130
mov rcx, rbp
call fcn.140002940
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002920
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rbx
mov rcx, r15
call fcn.140001190
test al, al
jne 0x140001fe6
mov rdx, rsi
lea rcx, str.Failed_to_inject__s_n
call fcn.140001130
mov rcx, rbx
jmp 0x140001f92
mov rcx, rbx
call fcn.140002940
mov rdx, rsi
lea rcx, str._s_successfully_injected__n
call fcn.140001130
mov eax, 1
jmp 0x140001f99
Function at 0x140021596
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14002e440
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x140073040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14007c0fb]
call fcn.140021ba9
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.140021582
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14002e4f8
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140021744
test eax, eax
je 0x14002e4ed
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call fcn.140021154
test eax, eax
jne 0x14002e4dc
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x14002e4ed
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140021a78
test eax, eax
jne 0x14002e4c0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14006a2b0]
call fcn.140021a1e
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400215af
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x14002169a
Capabilities:
Terminate process

Disassembly:
jmp 0x140061930
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14002184d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400607b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400607d0
xor al, al
jmp 0x140060851
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400607e3
xor al, al
jmp 0x140060851
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14006080d
xor al, al
jmp 0x140060851
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140060821
xor al, al
jmp 0x140060851
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140060833
xor al, al
jmp 0x140060851
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14006084f
xor al, al
jmp 0x140060851
mov al, 1
add rsp, 0x38
ret
Function at 0x14005fab0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140021bf9
movzx eax, al
test eax, eax
jne 0x14005fad0
mov ecx, 7
call fcn.140021a3c
nop
mov byte [rsp + 0x20], 0
call fcn.140021a6e
mov byte [rsp + 0x21], al
cmp dword [0x140073548], 1
jne 0x14005faf4
mov ecx, 7
call fcn.140021a3c
nop
jmp 0x14005fb4c
cmp dword [0x140073548], 0
jne 0x14005fb47
mov dword [0x140073548], 1
lea rdx, [0x140069780]
lea rcx, [0x140069450]
call fcn.140021578
test eax, eax
je 0x14005fb28
mov eax, 0xff
jmp 0x14005fc51
lea rdx, [0x140069340]
lea rcx, [section..rdata]
call fcn.140021a5a
mov dword [0x140073548], 2
jmp 0x14005fb4c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140021a14
call fcn.1400218bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14005fba9
mov rcx, qword [rsp + 0x30]
call fcn.14002148d
movzx eax, al
test eax, eax
je 0x14005fba9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14007d020]
nop
call fcn.140021942
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14005fbdd
mov rcx, qword [rsp + 0x38]
call fcn.14002148d
movzx eax, al
test eax, eax
je 0x14005fbdd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140021b63
nop
call fcn.14005fcc0
mov dword [rsp + 0x28], eax
call fcn.14002184d
movzx eax, al
test eax, eax
jne 0x14005fbfc
mov ecx, dword [rsp + 0x28]
call fcn.1400210f5
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14005fc0b
call fcn.140021b81
nop
xor edx, edx
mov cl, 1
call fcn.140021447
mov eax, dword [rsp + 0x28]
jmp 0x14005fc51
add rsp, 0x68
ret