joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002e80
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.140003f90
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.140003f90
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 0x140002ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140003020
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002f3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002fc5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002f20
mov rcx, rbx
call fcn.140003940
mov rdi, rax
test rax, rax
je 0x140003042
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003a80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003027
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002fbe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002fd0
add dword [0x1400090a4], 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 [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002fbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002e80
nop dword [rax]
xor esi, esi
jmp 0x140002f48
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002e80
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002e80
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400035b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000360c
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 0x140003603
test rsi, rsi
je 0x140003603
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400035e8
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 0x140003940
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400039c0
Capabilities:
Parse pe header

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

Function at 0x140003a80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006570]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003a9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003aa8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002d50
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.140008e00
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.140008e00
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 0x140002dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e0a4]
mov rbx, rcx
test esi, esi
jle 0x140002ef0
mov rax, qword [0x14000e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002e0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002e95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002df0
mov rcx, rbx
call fcn.140003810
mov rdi, rax
test rax, rax
je 0x140002f12
mov rax, qword [0x14000e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003950
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002ef7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002e8e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002ea0
add dword [0x14000e0a4], 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 [0x14000e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002d50
nop dword [rax]
xor esi, esi
jmp 0x140002e18
mov rax, qword [0x14000e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002d50
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002d50
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003480
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x1400034dc
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 0x1400034d3
test rsi, rsi
je 0x1400034d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400034b8
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 0x140003810
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140003890
Capabilities:
Parse pe header

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

Function at 0x140003950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000b8c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000396f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003978
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002db0
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.140004a10
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.140004a10
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 0x140002e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140002f50
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002e6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002ef5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002e50
mov rcx, rbx
call fcn.140003870
mov rdi, rax
test rax, rax
je 0x140002f72
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400039b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002f57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002eee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002f00
add dword [0x1400090a4], 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 [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002eee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002db0
nop dword [rax]
xor esi, esi
jmp 0x140002e78
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002db0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002db0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400034e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000353c
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 0x140003533
test rsi, rsi
je 0x140003533
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003518
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 0x140003870
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400038f0
Capabilities:
Parse pe header

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

Function at 0x1400039b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006610]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400039cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400039d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1407b0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407b01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407b0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b006f
add dl, dl
jne 0x1407b0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b00f6
xor eax, eax
add dl, dl
jne 0x1407b00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b01ad
add dl, dl
jne 0x1407b00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407b00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407b007e
mov eax, 1
add dl, dl
jne 0x1407b0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b00fb
sub eax, ebx
mov ebx, 1
jne 0x1407b014c
mov ecx, 1
add dl, dl
jne 0x1407b012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407b0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b015d
cmp eax, 0x7d00
jae 0x1407b019b
cmp eax, 0x500
jb 0x1407b0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b007e
cmp eax, 0x7f
ja 0x1407b019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407b01d2
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 0x1407b007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400045a0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400045d0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400045cf
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400045d5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400045cf
mov eax, 0
jmp 0x1400045cf

Function at 0x140004c50
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004c00
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000ee30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140569bd0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000ee9f
mov rcx, r9
call fcn.14000ed00
test eax, eax
je 0x14000ee9f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000ee9d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000ee94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000ee9f
add rdx, 0x28
cmp rdx, r9
jne 0x14000ee80
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140026020
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x14002611d
xchg rdx, rbx
mov qword [rsp + 0x10], rdx
xchg rbx, rdx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov rbx, rdx
mov rdi, rcx
mov esi, r8d
sub rdi, rdx
xchg rcx, r15
mov rbp, r15
xchg r15, rcx
neg rdi
add rdi, 0xffffffffffffff10
neg rdi
dec rsi
shr rsi, 1
shr rsi, 1
shr rsi, 2
inc rsi
nop dword [rax]
xchg rbx, rdx
movups xmm0, xmmword [rdx]
xchg rbx, rdx
xchg rbp, r8
mov rdx, r8
xchg rbp, r8
xchg rbx, rsi
mov rcx, rsi
xchg rbx, rsi
call fcn.1400267c0
mov ecx, 0x3f7430e2
xor ecx, 0x1caab1ca
xor ecx, 0x35ea6bea
add ecx, 0xc0ae3cb
add ecx, 0x133f948d
xor ecx, 0x357f630a
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400260c8
nop
add rdi, 0x5b9d0a0b
sub rdi, 0x5b9d0a1b
xchg rdi, rbp
movups xmmword [rdi + 0xf0], xmm0
xchg rbp, rdi
sub rsi, 1
jne 0x140026078
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
nop
mov rsi, qword [rsp]
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]

Function at 0x140026130
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
nop
mov qword [rsp - 8], rdi
sub rsp, 8
sub rsp, 0x20
mov edi, r8d
xchg r10, rdx
mov rbx, r10
xchg r10, rdx
lea r9, [rcx + 0xf0]
xchg r12, rsi
mov r12, rcx
xchg rsi, r12
test r8d, r8d
je 0x140026204
dec rdi
shr rdi, 4
inc rdi
nop dword [rax]
nop word [rax + rax]
xchg r11, rax
mov r11, rbx
xchg r11, rax
sub r9, rbx
mov edx, 0x410d0485
xor edx, 0x10d78135
xor edx, 0x22accf2d
xor edx, 0x9246633
xor edx, 0x9d339b8
xor edx, 0x57039472
xor edx, 0x24828174
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400261c1
xchg rbp, rdx
mov rbp, rsi
xchg rbp, rdx
xchg r13, rcx
mov r13, rbx
xchg rcx, r13
call fcn.1400262a0
xchg rbx, r9
mov rbx, r9
xchg r9, rbx
sub rbx, 0xfffffffffffffff0
sub rdi, 1
jne 0x140026189
xchg rdi, r9
movups xmm0, xmmword [rdi]
xchg r9, rdi
xchg r14, rbx
mov r14, qword [rsp + 0x30]
xchg r14, rbx
xchg rsi, rbp
mov rsi, qword [rsp + 0x38]
xchg rsi, rbp
xchg rsi, rbp
movups xmmword [rbp + 0xf0], xmm0
xchg rsi, rbp
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
push rbx
push rdx
push rbx
push rax
push rax
xchg qword [rsp + 0x28], rdi
pop rax
pop rax
pop rbx
pop rdx
pop rbx
add rsp, 8
ret
Function at 0x140027970
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
nop
mov qword [rsp - 8], rdi
sub rsp, 8
sub rsp, 0x10
xchg rbx, rdx
mov rdx, rbx
xchg rdx, rbx
xchg rcx, r10
mov rcx, r10
xchg rcx, r10
test r8b, 0xf
je 0x1400279bb
xor al, al
xchg rbx, r15
mov r15, qword [rsp + 0x20]
xchg r15, rbx
add rsp, 0x10
nop
add rsp, 8
xchg qword [rsp - 8], rdi
ret
xor edx, edx
test r8d, r8d
je 0x140027a70
movdqa xmm2, xmmword [rsp]
nop
movdqu xmm1, xmmword [rdx + rbx]
test edx, edx
jne 0x1400279e8
xchg r10, r15
movdqu xmm2, xmmword [r15 + 0x200]
xchg r15, r10
movdqa xmm0, xmm1
lea rax, [r10 + 0x1c0]
pxor xmm0, xmmword [r10 + 0x1d0]
mov ecx, 0x337ef2f1
add ecx, 0x21f072a0
sub ecx, 0x15edb224
sub ecx, 0x652475a
add ecx, 0x44300bbb
xor ecx, 0xb058319
sub ecx, 0xb4cfd35
xor ecx, 0x6b0df7af
nop dword [rax + rax]
aesdec xmm0, xmmword [rax]
lea rax, [rax - 0x10]
sub rcx, 1
jne 0x140027a30
aesdeclast xmm0, xmmword [r10 + 0x1e0]
pxor xmm0, xmm2
movdqa xmm2, xmm1
xchg rbx, rdx
movups xmmword [rbx + r9], xmm0
xchg rbx, rdx
neg edx
add edx, 0xfffffff0
neg edx
cmp edx, r8d
jb 0x1400279cc
xchg r13, rbx
mov r13, qword [rsp + 0x20]
xchg rbx, r13
mov al, 0x5e
add al, 0x11
xor al, 0x63
xor al, 0x3c
xor al, 0xe
sub al, 0x3d
add rsp, 0x10
push rcx
push rbx
push rdx
push rdx
push rax
xchg qword [rsp + 0x28], rdi
add rsp, 0x30
ret
Function at 0x140028900
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xchg rbx, rdi
mov qword [rsp + 8], rdi
xchg rdi, rbx
xchg rsi, rbx
mov qword [rsp + 0x10], rbx
xchg rbx, rsi
nop
sub rsp, 8
mov qword [rsp], rdi
sub rsp, 0x20
cmp byte [r8 + 0x19], 0
xchg r8, r11
mov rbx, r11
xchg r11, r8
xchg rdx, r15
mov rdi, r15
xchg r15, rdx
xchg rsi, rcx
mov rcx, rsi
xchg rsi, rcx
jne 0x1400289a3
nop
mov r8, qword [rbx + 0x10]
xchg rsi, rdi
mov rdx, rsi
xchg rdi, rsi
xchg rcx, r14
mov r14, rsi
xchg rcx, r14
call fcn.140028900
xchg r13, rcx
mov r13, rbx
xchg r13, rcx
mov edx, 0x7b4e7f6b
xor edx, 0x6d930008
xor edx, 0x7ebb4fa0
xor edx, 0x647221c2
add edx, 0x69a69617
sub edx, 0x75baa6e8
mov rbx, qword [rbx]
call fcn.1401fcba8
cmp byte [rbx + 0x19], 0
je 0x14002894a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
push rdx
xchg qword [rsp + 8], rdi
add rsp, 0x10
ret

Function at 0x1400298e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
nop
sub rsp, 8
mov qword [rsp], rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140029960
mov rdx, qword [rdi + 0x28]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140029949
xchg r8, r13
mov r13, qword [rcx - 8]
xchg r8, r13
nop
add rdx, 0x37b8f25c
sub rdx, 0x37b8f235
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029a0d
mov rcx, r8
call fcn.1401fcba8
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], rbx
xchg r12, rbx
mov qword [rdi + 0x28], r12
xchg rbx, r12
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], rbx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400299c8
nop dword [rax + rax]
xchg r14, rbx
mov r14, qword [rcx]
xchg rbx, r14
mov edx, 0x1fb55db1
add edx, 0x588eef9d
sub edx, 0x781f2dc4
xor edx, 0x38f6e5c
add edx, 0x50849d73
sub edx, 0x49fbfd4a
add edx, 0x2d71e919
xor edx, 0x37a4fb00
call fcn.1401fcba8
mov rcx, rbx
test rbx, rbx
jne 0x14002997f
mov rcx, qword [rdi + 8]
mov edx, 0x7b461e70
sub edx, 0x4fdc44d7
sub edx, 0x13a631b
sub edx, 0x140e0eee
add edx, 0x12858520
sub edx, 0x28a6ec98
xchg r8, rbx
mov r8, qword [rsp + 0x30]
xchg r8, rbx
add rsp, 0x20
nop
add rsp, 8
xchg qword [rsp - 8], rdi
jmp fcn.1401fcba8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3