joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a3128
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rbp, rcx
cmp edx, 1
jne 0x1800a32c6
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800a31d0
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x1800a31d0
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0xbe34534b
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x1800a31cb
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800a31a0
cmp edi, 0xb1904275
je 0x1800a31d5
test r10d, r10d
jne 0x1800a3183
mov rax, qword [rax]
jmp 0x1800a315e
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r8
call rax
mov rax, qword [0x1800c4aa0]
test rax, rax
jne 0x1800a32ab
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800a3286
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x1800a3286
mov r14d, dword [r9 + 0x20]
dec r11d
mov esi, 0x6819423f
lea rcx, [r14 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov bl, byte [r10]
inc r10
test bl, bl
je 0x1800a3281
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r10]
cmova edx, ecx
inc r10
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x1800a3256
cmp esi, 0x813fb7e7
je 0x1800a328b
test r11d, r11d
jne 0x1800a3239
mov rax, qword [rax]
jmp 0x1800a3214
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1800c4aa0], rax
and qword [rsp + 0x28], 0
lea r8, [0x1800a3114]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14124b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14124b1df
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 0x14124b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14124b06f
add dl, dl
jne 0x14124b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14124b0f6
xor eax, eax
add dl, dl
jne 0x14124b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14124b1ad
add dl, dl
jne 0x14124b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14124b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14124b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14124b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14124b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14124b07e
mov eax, 1
add dl, dl
jne 0x14124b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14124b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14124b0fb
sub eax, ebx
mov ebx, 1
jne 0x14124b14c
mov ecx, 1
add dl, dl
jne 0x14124b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14124b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14124b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14124b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14124b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14124b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14124b15d
cmp eax, 0x7d00
jae 0x14124b19b
cmp eax, 0x500
jb 0x14124b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14124b07e
cmp eax, 0x7f
ja 0x14124b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14124b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14124b1d2
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 0x14124b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140013770
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea r8, [rsp + 0x38]
mov rbx, rcx
lea rdx, str.__9lu
call fcn.140002740
cmp eax, 1
je 0x140013797
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call fcn.140037694
cmp eax, 9
jne 0x14001378f
mov eax, dword [rsp + 0x38]
cmp eax, 0x10000
ja 0x14001378f
mov qword [rsp + 0x30], rdi
mov edi, dword [0x14006cb44]
cmp eax, edi
jbe 0x1400137f6
add edi, edi
cmp edi, eax
cmovb edi, eax
lea ecx, [rdi + 1]
call fcn.140002330
mov edx, ecx
mov rcx, qword [0x14006cb60]
call fcn.140036ebc
mov qword [0x14006cb60], rax
mov rcx, rax
test rax, rax
je 0x140013828
mov eax, dword [rsp + 0x38]
mov dword [0x14006cb44], edi
jmp 0x1400137fd
mov rcx, qword [0x14006cb60]
test rcx, rcx
je 0x140013828
mov r8d, eax
mov r9, rbx
mov edx, 1
call fcn.140042118
mov ecx, dword [rsp + 0x38]
cmp rax, rcx
jne 0x140013828
mov rcx, rbx
call fcn.140037694
cmp eax, 0xa
je 0x140013835
xor eax, eax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov eax, dword [rsp + 0x38]
or rdx, 0xffffffffffffffff
mov rcx, qword [0x14006cb60]
mov byte [rax + rcx], 0
nop dword [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140013850
call fcn.14001db60
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x14001de20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, 1
call fcn.140036650
cmp byte [rbx], 0
mov rsi, rax
mov rdi, rbx
je 0x14001de82
nop word [rax + rax]
lea rdx, [0x1400620cc]
mov rcx, rdi
call fcn.140041760
mov r9, rsi
mov r8, rax
mov edx, 1
mov rcx, rdi
call fcn.140042ca4
add rdi, rax
cmp byte [rdi], 0xd
jne 0x14001de7d
inc rdi
cmp byte [rdi], 0
jne 0x14001de50
mov rdi, qword [0x14006af58]
test rdi, rdi
je 0x14001ded2
cmp byte [rbx], 0
je 0x14001ded2
nop dword [rax]
nop word [rax + rax]
lea rdx, [0x1400620cc]
mov rcx, rbx
call fcn.140041760
mov r9, rdi
mov r8, rax
mov edx, 1
mov rcx, rbx
call fcn.140042ca4
add rbx, rax
cmp byte [rbx], 0xd
jne 0x14001decd
inc rbx
cmp byte [rbx], 0
jne 0x14001dea0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001def0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, 2
call fcn.140036650
cmp byte [rbx], 0
mov rsi, rax
mov rdi, rbx
je 0x14001df52
nop word [rax + rax]
lea rdx, [0x1400620cc]
mov rcx, rdi
call fcn.140041760
mov r9, rsi
mov r8, rax
mov edx, 1
mov rcx, rdi
call fcn.140042ca4
add rdi, rax
cmp byte [rdi], 0xd
jne 0x14001df4d
inc rdi
cmp byte [rdi], 0
jne 0x14001df20
mov rdi, qword [0x14006af58]
test rdi, rdi
je 0x14001dfa2
cmp byte [rbx], 0
je 0x14001dfa2
nop dword [rax]
nop word [rax + rax]
lea rdx, [0x1400620cc]
mov rcx, rbx
call fcn.140041760
mov r9, rdi
mov r8, rax
mov edx, 1
mov rcx, rbx
call fcn.140042ca4
add rbx, rax
cmp byte [rbx], 0xd
jne 0x14001df9d
inc rbx
cmp byte [rbx], 0
jne 0x14001df70
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ea40
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14006d1f4], 0
jne 0x14001eae3
lea rax, [0x14006d1d0]
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [0x14006d1c0], rax
xor ecx, ecx
mov dword [0x14006d1c8], 0
mov dword [0x14006d1cc], 0x20
mov byte [0x14006d1d0], 0
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [0x14006d1cc]
lea rbx, [0x14006d1c0]
mov edi, eax
mov edx, eax
cmp rdi, rcx
jbe 0x14001eaa9
mov rcx, rbx
call fcn.140025620
mov rdx, qword [0x14006d1c0]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [0x14006d1c0]
dec eax
mov rdi, qword [rsp + 0x30]
mov dword [0x14006d1f4], 1
mov byte [rax + rcx], 0
mov dword [0x14006d1c8], eax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rax, [0x14006d1c0]
add rsp, 0x20
pop rbx
ret
Function at 0x1400315b0
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
lea r15, [0x14006fee0]
mov dword [rax + 0x20], r12d
mov ebp, r8d
mov dword [rax - 0x38], r12d
mov rsi, rdx
mov r14, rcx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], r12
lea r9, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r8d, 0x4000
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400316f2
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400316f2
mov r8d, 0x4000
mov qword [rsp + 0x20], r12
cmp eax, r8d
lea r9, [rsp + 0x88]
mov rdx, r15
mov rcx, r14
cmovbe r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400316f2
mov ecx, dword [rsp + 0x88]
test ecx, ecx
je 0x1400316f2
mov rax, r15
mov edx, ecx
cmp byte [rax], 1
jae 0x140031669
mov byte [rax], 0x3f
inc rax
sub rcx, 1
jne 0x140031661
cmp rdx, 0x4001
jae 0x140031709
mov byte [rdx + r15], r12b
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x140031687
mov edi, dword [rsi + 8]
mov edx, dword [rsi + 0xc]
add rdi, rbx
cmp rdx, rdi
ja 0x1400316b0
nop
add rdx, rdx
cmp rdx, rdi
jbe 0x1400316a0
mov rcx, rsi
call fcn.140025620
mov ecx, dword [rsi + 8]
lea r8, [rbx + 1]
add rcx, qword [rsi]
mov rdx, r15
call fcn.140034af0
mov dword [rsi + 8], edi
cmp ebp, 1
jne 0x1400316d4
mov rcx, r15
call fcn.14001de20
jmp 0x1400316e1
cmp ebp, 2
jne 0x1400316e1
mov rcx, r15
call fcn.14001def0
mov eax, dword [rsp + 0x88]
sub dword [rsp + 0x30], eax
jne 0x1400315e2
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140033cdc
int3

Function at 0x140031950
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14006af60], 0
jle 0x1400319af
mov edx, dword [0x14006af34]
xor edi, edi
test edx, edx
jle 0x1400319af
mov ebx, edi
mov rax, qword [0x14006cc28]
mov rcx, qword [rbx + rax + 0xb0]
test rcx, rcx
je 0x1400319a2
call fcn.140031ac0
movd xmm1, dword [0x14006af60]
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
ja 0x1400319bd
mov edx, dword [0x14006af34]
inc edi
add rbx, 0xe8
cmp edi, edx
jl 0x140031971
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [0x14006cc28]
movsxd rcx, edi
add rdx, 0xb0
imul rbx, rcx, 0xe8
lea rcx, [0x140031eb0]
add rdx, rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [0x14006cc28]
mov rdx, qword [rbx + rcx + 0xb0]
mov ecx, dword [rbx + rcx + 0xc0]
call fcn.140031b70
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x140031a10
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
call fcn.140035fcc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x140063250]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x140063208]
comisd xmm0, xmm1
jbe 0x140031ab0
mov eax, dword [0x14006af34]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
test eax, eax
jle 0x140031aab
mov rdx, qword [0x14006cc28]
mov qword [rsp + 0x20], rdi
mov edi, ebx
nop dword [rax + rax]
cmp qword [rdi + rdx + 0xb0], 0
je 0x140031a99
movsxd rax, ebx
imul rcx, rax, 0xe8
add rcx, 0xb0
add rdx, rcx
lea rcx, [0x140031eb0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x14006af34]
mov rdx, qword [0x14006cc28]
inc ebx
add rdi, 0xe8
cmp ebx, eax
jl 0x140031a60
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140031b70
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov esi, ecx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140031c29
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140031c20
mov qword [rsp + 0x170], rbx
cmp dword [rsp + 0x40], esi
jne 0x140031c05
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140031c05
mov ecx, dword [rsp + 0x28]
mov rdx, rax
call fcn.140031b70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140031bd0
mov rbx, qword [rsp + 0x170]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xfffffffe
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140033bb0
lea r11, [rsp + 0x160]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140031cc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov edi, edx
mov esi, ecx
test edx, edx
jne 0x140031cee
xor eax, eax
jmp 0x140031de9
cmp ecx, edx
jne 0x140031cfc
mov eax, 1
jmp 0x140031de9
xor edx, edx
mov qword [rsp + 0x1a8], rbx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140031d59
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140031d50
mov r8d, dword [rsp + 0x28]
cmp r8d, edi
je 0x140031d60
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x140031d33
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140031de1
movaps xmmword [rsp + 0x180], xmm6
xor edx, edx
movaps xmmword [rsp + 0x170], xmm7
mov ecx, 0x400
movaps xmmword [rsp + 0x160], xmm8
xorps xmm8, xmm8
movaps xmm7, xmm8
movaps xmm6, xmm8
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x4c]
call fcn.140046960
test eax, eax
jne 0x140031e0a
mov edx, dword [rsp + 0x40]
mov ecx, esi
call fcn.140031cc0
cmp eax, 2
jne 0x140031e0a
mov eax, 1
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
movaps xmm8, xmmword [rsp + 0x160]
mov rbx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140033bb0
mov rsi, qword [rsp + 0x1b0]
add rsp, 0x190
pop rdi
ret
lea rdx, str.smss.exe
lea rcx, [rsp + 0x4c]
call fcn.140046960
mov r8d, dword [rsp + 0x40]
test eax, eax
jne 0x140031e30
cmp r8d, 4
jne 0x140031e30
lea eax, [r8 - 2]
jmp 0x140031dc8
test rdi, rdi
je 0x140031e9d
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140031e69
mov rcx, rdi
call fcn.140031c60
mov rcx, rbx
movaps xmm7, xmm0
call fcn.140031c60
mov rcx, rbx
movaps xmm6, xmm0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
ucomisd xmm7, xmm8
jp 0x140031e7b
je 0x140031e9d
ucomisd xmm6, xmm8
jp 0x140031e84
je 0x140031e9d
comisd xmm6, xmm7
ja 0x140031e9d
mov edx, dword [rsp + 0x40]
mov ecx, esi
call fcn.140031cc0
and eax, 1
jmp 0x140031dc8
xor eax, eax
jmp 0x140031dc8
Function at 0x140032e50
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
mov rbx, rcx
call fcn.140032d10
test eax, eax
jne 0x140032edf
lea edx, [rax + 0x5c]
mov rcx, rdi
call fcn.140034910
test rax, rax
je 0x140032e87
sub eax, edi
mov rcx, rdi
mov edx, eax
call fcn.14001db60
jmp 0x140032e8e
mov rax, qword [0x140074060]
mov rcx, rax
call fcn.140025c60
test rax, rax
je 0x140032ecc
cmp byte [rax + 9], 0
je 0x140032ecc
xor ecx, ecx
mov word [rbx + 8], 0
mov byte [rbx + 0xa], 0
mov dword [rbx + 0x18], ecx
mov qword [rbx + 0x10], rcx
cmp qword [rax + 0x20], rcx
jne 0x140032edf
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400326f0
xor ecx, ecx
mov word [rbx + 8], 0
mov byte [rbx + 0xa], 0
mov dword [rbx + 0x18], ecx
mov qword [rbx + 0x10], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140034248
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400342d9
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400342d9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400342d9
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400342bd
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400342b7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400342bf
add rdx, 0x28
jmp 0x14003429c
xor edx, edx
test rdx, rdx
jne 0x1400342c8
xor al, al
jmp 0x1400342df
test dword [rdx + 0x24], 0x80000000
je 0x1400342d5
xor al, al
jmp 0x1400342df
mov al, 1
jmp 0x1400342df
xor al, al
jmp 0x1400342df
add rsp, 0x18
ret

Function at 0x140036330
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 0x1400361bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400361bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400361bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400361bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400361bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400361bb
cmp dword [rcx + 0xf8], 0
je 0x1400361bb
mov ecx, ebx
call fcn.14003625c
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.140036038
cmp dword [rbp + 0x20], 0
je 0x140036208
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140036210
int3
xor r8d, r8d
xor edx, edx
jmp 0x140036154
Function at 0x14004e550
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004e570
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140043e28
or eax, 0xffffffff
jmp 0x14004e572
xor eax, eax
add rsp, 0x28
ret
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140013540
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]
add rsp, 0x28
ret

Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014880
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400148a0
xor al, al
jmp 0x140014921
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400148b3
xor al, al
jmp 0x140014921
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 0x1400148dd
xor al, al
jmp 0x140014921
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400148f1
xor al, al
jmp 0x140014921
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014903
xor al, al
jmp 0x140014921
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001491f
xor al, al
jmp 0x140014921
mov al, 1
add rsp, 0x38
ret
Function at 0x140004a20
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x290
movdqa xmmword [rsp + 0x2f0], xmm6
movdqa xmmword [rsp + 0x300], xmm7
movdqa xmmword [rsp + 0x310], xmm8
movdqa xmmword [rsp + 0x320], xmm9
movdqa xmmword [rsp + 0x330], xmm10
movdqa xmmword [rsp + 0x340], xmm11
movdqa xmmword [rsp + 0x350], xmm12
movdqa xmmword [rsp + 0x360], xmm13
movdqa xmmword [rsp + 0x370], xmm14
movdqa xmmword [rsp + 0x380], xmm15
mov eax, dword [0x1409a947c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x290]
mov qword [rdx + 8], r8
call fcn.1400e4110
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x1409a947c]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x30
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140004bb0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x140004bcc
cmp rcx, r8
jl 0x140004bbf
mov qword [rdx + 0x80], rcx
test dword [0x1409a0fb0], 1
je 0x140004bfb
cmp byte [rsp + 0xd0], 0
je 0x140004bfb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140004720
mov rsp, r8
jmp rax