joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401298a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.1401d9480
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x140129933
movzx eax, byte [rcx]
test al, al
je 0x140129933
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.1400ee0e0
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x1401298d0
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14013b920
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.1401d9480
sub rsp, rax
movsxd rbx, dword [rsp + 0x80]
lea r14d, [rax - 0x20]
xor esi, esi
mov r15, r9
cmp dword [rsp + 0x88], 2
mov edi, edx
mov r13, rcx
je 0x14013b9cc
test r8, r8
je 0x14013b9a0
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.1400fc6c0
cmp dword [rsp + 0x30], 0xffffffff
je 0x14013b9a0
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [r9 + 0x10]
lea r8d, [r9 + 0x66]
call fcn.1400daeb0
xor eax, eax
jmp 0x14013bbb3
test r15, r15
je 0x14013b980
cmp edi, 0x40a
je 0x14013b9c5
cmp edi, 0x43f
je 0x14013b9c5
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x14013b9c8
mov eax, r14d
cmp ebx, eax
jne 0x14013b980
mov r8d, 0x46
mov qword [rsp + 0x60], rbp
lea rdx, str.cryptoececx_meth.c
lea ecx, [r8 + 2]
call fcn.1400e3be0
mov rbp, rax
test rax, rax
jne 0x14013ba0e
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1400daeb0
xor eax, eax
jmp 0x14013bbae
cmp dword [rsp + 0x88], esi
jne 0x14013ba2a
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.1401d9d70
jmp 0x14013bb9c
cmp edi, 0x40a
je 0x14013ba4c
cmp edi, 0x43f
je 0x14013ba4c
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x14013ba4f
mov rcx, r14
mov r8d, 0x50
lea rdx, str.cryptoececx_meth.c
call fcn.140117490
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x14013ba87
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1400daeb0
jmp 0x14013bade
cmp dword [rsp + 0x88], 2
jne 0x14013bb20
cmp edi, 0x40a
je 0x14013bab6
cmp edi, 0x43f
je 0x14013bab6
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1400e73d0
test eax, eax
jg 0x14013bafa
mov r8d, 0x57
lea rdx, str.cryptoececx_meth.c
mov rcx, rbx
call fcn.140117470
mov qword [rbp + 0x40], rsi
mov r8d, 0x79
lea rdx, str.cryptoececx_meth.c
mov rcx, rbp
call fcn.1400e38f0
xor eax, eax
jmp 0x14013bbae
cmp edi, 0x40a
jne 0x14013bb0f
and byte [rbx], 0xf8
and byte [rbx + 0x1f], 0x3f
or byte [rbx + 0x1f], 0x40
jmp 0x14013bb51
cmp edi, 0x40b
jne 0x14013bb51
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
jmp 0x14013bb51
cmp edi, 0x40a
je 0x14013bb40
cmp edi, 0x43f
je 0x14013bb40
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x14013bb43
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1401d9d70
mov ecx, edi
sub ecx, 0x40a
je 0x14013bb91
sub ecx, 1
je 0x14013bb84
sub ecx, 0x34
je 0x14013bb77
cmp ecx, 1
jne 0x14013bb9c
mov rdx, rbx
mov rcx, rbp
call fcn.140172870
jmp 0x14013bb9c
mov rdx, rbx
mov rcx, rbp
call fcn.140167720
jmp 0x14013bb9c
mov rdx, rbx
mov rcx, rbp
call fcn.14016f780
jmp 0x14013bb9c
mov rdx, rbx
mov rcx, rbp
call fcn.140167ce0
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1400d0e40
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
Function at 0x140144380
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, gethostname
call fcn.1401d9480
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14014445c
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x14014445c
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x140144412
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x1401443e6
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1401443e6
cmp cl, 0xbb
jne 0x1401443ec
inc eax
cmp eax, ebx
jl 0x1401443d0
sub ebx, eax
test eax, eax
jne 0x140144416
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1400daeb0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x140144445
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1400daeb0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1401d9d70
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
xor r8d, r8d
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1400daeb0
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1401860a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
mov eax, 0xb0
call fcn.1401d9480
sub rsp, rax
mov rax, qword [0x1402feed0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rax, qword [rbp + 0x7f]
mov r14, r8
mov dword [rbp - 0x11], 0x61707865
mov rsi, rdx
mov dword [rbp - 0xd], 0x3320646e
mov rdi, rcx
mov dword [rbp - 9], 0x79622d32
mov dword [rbp - 5], 0x6b206574
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm1
movups xmmword [rbp + 0x1f], xmm0
test r8, r8
je 0x140186234
mov qword [rsp + 0xd8], rbx
nop dword [rax + rax]
mov ebx, 0x40
lea rdx, [rbp - 0x11]
cmp r14, rbx
lea rcx, [rbp - 0x51]
cmovb rbx, r14
call fcn.140186260
xor eax, eax
test rbx, rbx
je 0x14018621a
cmp rbx, 0x20
jb 0x1401861e5
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x140186168
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x1401861e5
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x140186179
cmp rdx, rsi
jae 0x1401861e5
lea rcx, [rbp - 0x51]
mov rdx, rsi
sub rdx, rcx
mov r9, rbx
lea rcx, [rbp - 0x51]
and r9, 0xffffffffffffffe0
mov r8, rdi
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x51]
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x51]
lea rcx, [r8 + rax]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x41]
movdqu xmmword [rbp + rcx - 0x51], xmm1
lea rcx, [rdx + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x41]
lea rcx, [r8 + rax]
add rax, 0x20
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x41], xmm1
cmp rax, r9
jb 0x1401861a0
cmp rax, rbx
jae 0x14018621a
lea rcx, [rbp - 0x51]
mov r8, rsi
sub r8, rcx
mov r9, rdi
lea rcx, [rbp - 0x51]
sub r9, rcx
nop
lea rdx, [rbp - 0x51]
add rdx, rax
inc rax
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
cmp rax, rbx
jb 0x140186200
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x140186120
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401d8f10
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret
Function at 0x14018cbf0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0xf0
call fcn.1401d9480
sub rsp, rax
mov r14, r9
mov r15, r9
shr r14, 3
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp r8, r9
jb 0x14018ccef
mov qword [rsp + 0x110], rbx
xor edx, edx
test r14, r14
je 0x14018cca0
nop word [rax + rax]
movzx eax, byte [rsi + 6]
movzx ecx, byte [rsi + 7]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 5]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 4]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 3]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 2]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi + 1]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsi]
shl rcx, 8
add rsi, 8
or rcx, rax
xor qword [rdi + rdx*8], rcx
inc rdx
cmp rdx, r14
jb 0x14018cc40
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14018c820
lea r8, [rbx + 1]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.14018c820
add rbx, 2
cmp rbx, 0x18
jb 0x14018ccb0
sub rbp, r15
cmp rbp, r15
jae 0x14018cc30
mov rbx, qword [rsp + 0x110]
lea r11, [rsp + 0xf0]
mov rax, rbp
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401cbcc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xd8
call fcn.1401d9480
sub rsp, rax
mov rax, qword [0x1402feed0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, qword [rdx + 8]
xor esi, esi
mov r15, qword [rdx + 0x10]
mov rax, r12
sub rax, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rdi, r8
mov r13, rdx
mov ebp, esi
cmp r15, r8
jb 0x1401cbeae
cmp r8, 0x40
ja 0x1401cbeae
lea rax, [rsp + 0x40]
mov qword [rsp + 0x118], rbx
neg rax
mov qword [rsp + 0xd0], r14
and eax, 0x3f
lea r14, [rsp + 0x40]
add r14, rax
lea rax, [r8 + 0x100]
cmp r15, rax
jbe 0x1401cbd5a
mov rbp, r15
sub rbp, r8
sub rbp, 0x100
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rbx, rsi
call fcn.1401da3e0
mov r9, rsi
cmp rbp, r15
jae 0x1401cbe17
mov r13, qword [r13 + 0x20]
mov r11, qword [rsp + 0x28]
lea r10, [r12 + r13]
neg r10
nop dword [rax + rax]
mov rax, rbp
mov rdx, rbp
xor rax, r11
add rdx, r13
lea r8, [rax - 1]
not rax
shr rax, 0x3f
lea rcx, [r10 + rdx]
xor rcx, r12
shr r8, 0x3f
and r8, rax
mov rax, rbp
xor rax, r12
neg r8
or rcx, rax
mov rax, r8
xor rcx, rbp
or rax, rsi
shr rcx, 0x3f
and r8, r9
neg rcx
or rbx, r8
mov rsi, rcx
inc rbp
and rsi, rax
movzx eax, byte [rdx]
and al, sil
or byte [r9 + r14], al
inc r9
mov rcx, r9
mov rax, rdi
sub rcx, rdi
xor rax, r9
xor rcx, rdi
or rcx, rax
xor rcx, r9
shr rcx, 0x3f
neg rcx
and r9, rcx
cmp rbp, r15
jb 0x1401cbd90
xor esi, esi
test rdi, rdi
je 0x1401cbe97
mov r9, qword [rsp + 0x30]
mov rax, rbx
and rax, 0xffffffffffffffdf
movzx r8d, byte [rax + r14]
mov rax, rbx
or rax, 0x20
movzx edx, byte [rax + r14]
mov eax, ebx
and eax, 0x20
inc rbx
lea ecx, [rax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
neg cl
movzx eax, cl
mov dword [rsp + 0x28], eax
not eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
and cl, dl
and al, r8b
or al, cl
mov rcx, rbx
sub rcx, rdi
mov byte [r9 + rsi], al
xor rcx, rdi
mov rax, rdi
xor rax, rbx
inc rsi
or rcx, rax
xor rcx, rbx
shr rcx, 0x3f
neg rcx
and rbx, rcx
cmp rsi, rdi
jb 0x1401cbe21
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1401cbeb0
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401d8f10
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401db608
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401db3dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401db3dc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401db3dc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401db3dc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401db3dc
cmp dword [rcx + 0x84], 0xe
jbe 0x1401db3dc
cmp dword [rcx + 0xf8], esi
je 0x1401db3dc
mov ecx, r14d
call fcn.1401db524
mov ecx, 2
call fcn.1401f0824
nop
cmp byte [0x140306560], 0
jne 0x1401db4a6
mov r15d, 1
mov eax, r15d
xchg dword [0x140306550], eax
test ebx, ebx
jne 0x1401db44f
mov rdi, qword [0x1402feed0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140306558]
cmp rcx, rax
je 0x1401db446
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004640]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140306910]
jmp 0x1401db45b
cmp ebx, r15d
jne 0x1401db461
lea rcx, [0x140306928]
call fcn.1401f0478
nop
test ebx, ebx
jne 0x1401db478
lea rdx, [0x140207bf8]
lea rcx, [0x140207bd8]
call fcn.1401efeb8
lea rdx, [0x140207c08]
lea rcx, [0x140207c00]
call fcn.1401efeb8
movzx eax, byte [0x140306560]
test esi, esi
cmove eax, r15d
mov byte [0x140306560], al
jmp 0x1401db4a6
mov ecx, 2
call fcn.1401f0878
test esi, esi
jne 0x1401db4bd
mov ecx, r14d
call fcn.1401db4d8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401db36c

Function at 0x1401e9034
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401e9054
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401e1730
or eax, 0xffffffff
jmp 0x1401e9056
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401e905c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401e907c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401e1730
or eax, 0xffffffff
jmp 0x1401e907e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401f40e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401f3f80
call fcn.1401e17a0
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401e0a40
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401f3f68
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401f3f68
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401f3fb2
lock or dword [rax + 0x14], 0x10
jmp 0x1401f3f68
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401f3fcf
mov rcx, qword [rbp + 0x10]
call fcn.1401fbccc
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401ecad0
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401e95b4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401f4026
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401f3f68
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401f4092
mov rcx, qword [rbp + 0x10]
call fcn.1401ecad0
cmp eax, 0xffffffff
je 0x1401f4079
mov rcx, qword [rbp + 0x10]
call fcn.1401ecad0
cmp eax, 0xfffffffe
je 0x1401f4079
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401ecad0
movsxd rdi, eax
lea rsi, [0x140306d00]
mov rcx, rbx
sar rdi, 6
call fcn.1401ecad0
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401f4080
lea rax, [0x1402ff1e0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401f4092
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401f40c8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401f40c4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401f40c4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401f3f6b
jmp 0x1401f3f38

Function at 0x1401f412c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401f4109
call fcn.1401e17a0
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401e0a40
or eax, 0xffffffff
jmp 0x1401f4126
sub dword [rcx + 0x10], 1
jns 0x1401f4118
add rsp, 0x28
jmp fcn.1401f40e0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401f40e8
Function at 0x1400010af
Capabilities:
Enumerate threads

Disassembly:
jmp 0x140002370
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x20]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140019640]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x20], eax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x1c
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x48
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14000244a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x44], eax
jne 0x140002437
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x108]
call fcn.1400012e9
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x14000241b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x108]
call fcn.14000150a
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400130e0]
call fcn.14000155f
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14000130c
add rsp, 0xf0
pop rdi
ret

Function at 0x1400011f9
Capabilities:
Read file on windows

Disassembly:
jmp 0x140006370
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdx, [0x1400147c0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400063a5
xor eax, eax
jmp 0x140006435
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_ftell]
cdqe
mov qword [rsp + 0x28], rax
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400063eb
xor eax, eax
jmp 0x140006435
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov r9, qword [rsp + 0x20]
mov rax, qword [rsp + 0x58]
mov r8, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x140001389
Capabilities:
Terminate process

Disassembly:
jmp 0x14000b0f0
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 0x140001483
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000c440
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000c460
xor al, al
jmp 0x14000c4e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000c473
xor al, al
jmp 0x14000c4e1
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 0x14000c49d
xor al, al
jmp 0x14000c4e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14000c4b1
xor al, al
jmp 0x14000c4e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14000c4c3
xor al, al
jmp 0x14000c4e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14000c4df
xor al, al
jmp 0x14000c4e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140002370
Capabilities:
Enumerate threads

Disassembly:
jmp 0x140002370
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x20]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140019640]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x20], eax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 0x1c
lea rax, [rsp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x48
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x14000244a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x44], eax
jne 0x140002437
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x108]
call fcn.1400012e9
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x14000241b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x108]
call fcn.14000150a
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400130e0]
call fcn.14000155f
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14000130c
add rsp, 0xf0
pop rdi
ret

Function at 0x140006370
Capabilities:
Read file on windows

Disassembly:
jmp 0x140006370
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdx, [0x1400147c0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400063a5
xor eax, eax
jmp 0x140006435
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_ftell]
cdqe
mov qword [rsp + 0x28], rax
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400063eb
xor eax, eax
jmp 0x140006435
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov r9, qword [rsp + 0x20]
mov rax, qword [rsp + 0x58]
mov r8, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret