joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140123560
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.1401c3ba0
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 0x14012360c
test r8, r8
je 0x1401235e0
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.1400e47b0
cmp dword [rsp + 0x30], 0xffffffff
je 0x1401235e0
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [r9 + 0x10]
lea r8d, [r9 + 0x66]
call fcn.1400c31c0
xor eax, eax
jmp 0x1401237f3
test r15, r15
je 0x1401235c0
cmp edi, 0x40a
je 0x140123605
cmp edi, 0x43f
je 0x140123605
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x140123608
mov eax, r14d
cmp ebx, eax
jne 0x1401235c0
mov r8d, 0x46
mov qword [rsp + 0x60], rbp
lea rdx, str.cryptoececx_meth.c
lea ecx, [r8 + 2]
call fcn.1400cc0c0
mov rbp, rax
test rax, rax
jne 0x14012364e
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1400c31c0
xor eax, eax
jmp 0x1401237ee
cmp dword [rsp + 0x88], esi
jne 0x14012366a
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.1401c4490
jmp 0x1401237dc
cmp edi, 0x40a
je 0x14012368c
cmp edi, 0x43f
je 0x14012368c
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x14012368f
mov rcx, r14
mov r8d, 0x50
lea rdx, str.cryptoececx_meth.c
call fcn.1400ffd00
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1401236c7
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1400c31c0
jmp 0x14012371e
cmp dword [rsp + 0x88], 2
jne 0x140123760
cmp edi, 0x40a
je 0x1401236f6
cmp edi, 0x43f
je 0x1401236f6
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1400cf820
test eax, eax
jg 0x14012373a
mov r8d, 0x57
lea rdx, str.cryptoececx_meth.c
mov rcx, rbx
call fcn.1400ffce0
mov qword [rbp + 0x40], rsi
mov r8d, 0x79
lea rdx, str.cryptoececx_meth.c
mov rcx, rbp
call fcn.1400cbdd0
xor eax, eax
jmp 0x1401237ee
cmp edi, 0x40a
jne 0x14012374f
and byte [rbx], 0xf8
and byte [rbx + 0x1f], 0x3f
or byte [rbx + 0x1f], 0x40
jmp 0x140123791
cmp edi, 0x40b
jne 0x140123791
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
jmp 0x140123791
cmp edi, 0x40a
je 0x140123780
cmp edi, 0x43f
je 0x140123780
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x140123783
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1401c4490
mov ecx, edi
sub ecx, 0x40a
je 0x1401237d1
sub ecx, 1
je 0x1401237c4
sub ecx, 0x34
je 0x1401237b7
cmp ecx, 1
jne 0x1401237dc
mov rdx, rbx
mov rcx, rbp
call fcn.14015a270
jmp 0x1401237dc
mov rdx, rbx
mov rcx, rbp
call fcn.14014f1c0
jmp 0x1401237dc
mov rdx, rbx
mov rcx, rbp
call fcn.140157220
jmp 0x1401237dc
mov rdx, rbx
mov rcx, rbp
call fcn.14014f780
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1400b90a0
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 0x14012bf50
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, gethostname
call fcn.1401c3ba0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14012c02c
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x14012c02c
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x14012bfe2
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x14012bfb6
nop dword [rax + rax]
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x14012bfb6
cmp cl, 0xbb
jne 0x14012bfbc
inc eax
cmp eax, ebx
jl 0x14012bfa0
sub ebx, eax
test eax, eax
jne 0x14012bfe6
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1400c31c0
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 0x14012c015
mov edx, 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1400c31c0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.1401c4490
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.1400c31c0
or eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x14016dbb0
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.1401c3ba0
sub rsp, rax
mov rax, qword [0x1402bdf00]
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 0x14016dd44
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.14016dd70
xor eax, eax
test rbx, rbx
je 0x14016dd2a
cmp rbx, 0x20
jb 0x14016dcf5
lea rdx, [rdi - 1]
add rdx, rbx
lea rcx, [rbp + rbx - 0x52]
cmp rdi, rcx
ja 0x14016dc78
lea rcx, [rbp - 0x51]
cmp rdx, rcx
jae 0x14016dcf5
lea rcx, [rsi - 1]
add rcx, rbx
cmp rdi, rcx
ja 0x14016dc89
cmp rdx, rsi
jae 0x14016dcf5
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 0x14016dcb0
cmp rax, rbx
jae 0x14016dd2a
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 0x14016dd10
inc dword [rbp + 0x1f]
add rdi, rbx
add rsi, rbx
sub r14, rbx
jne 0x14016dc30
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c3630
mov rsi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret
Function at 0x140174700
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.1401c3ba0
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 0x1401747ff
mov qword [rsp + 0x110], rbx
xor edx, edx
test r14, r14
je 0x1401747b0
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 0x140174750
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140174330
lea r8, [rbx + 1]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.140174330
add rbx, 2
cmp rbx, 0x18
jb 0x1401747c0
sub rbp, r15
cmp rbp, r15
jae 0x140174740
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 0x1401c5d28
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 0x1401c5afc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c5afc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c5afc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c5afc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c5afc
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c5afc
cmp dword [rcx + 0xf8], esi
je 0x1401c5afc
mov ecx, r14d
call fcn.1401c5c44
mov ecx, 2
call fcn.1401dab34
nop
cmp byte [0x1402c0830], 0
jne 0x1401c5bc6
mov r15d, 1
mov eax, r15d
xchg dword [0x1402c0820], eax
test ebx, ebx
jne 0x1401c5b6f
mov rdi, qword [0x1402bdf00]
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 [0x1402c0828]
cmp rcx, rax
je 0x1401c5b66
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004250]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1402c0be0]
jmp 0x1401c5b7b
cmp ebx, r15d
jne 0x1401c5b81
lea rcx, [0x1402c0bf8]
call fcn.1401da788
nop
test ebx, ebx
jne 0x1401c5b98
lea rdx, [0x1401f2c08]
lea rcx, [0x1401f2be8]
call fcn.1401da1c8
lea rdx, [0x1401f2c18]
lea rcx, [0x1401f2c10]
call fcn.1401da1c8
movzx eax, byte [0x1402c0830]
test esi, esi
cmove eax, r15d
mov byte [0x1402c0830], al
jmp 0x1401c5bc6
mov ecx, 2
call fcn.1401dab88
test esi, esi
jne 0x1401c5bdd
mov ecx, r14d
call fcn.1401c5bf8
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 0x1401c5a8c

Function at 0x1401d2744
Capabilities:
Delete file

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

Function at 0x1401d276c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401d278c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401cbce0
or eax, 0xffffffff
jmp 0x1401d278e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401de084
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 0x1401ddf24
call fcn.1401cbd50
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401cb160
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 0x1401ddf0c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401ddf0c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401ddf56
lock or dword [rax + 0x14], 0x10
jmp 0x1401ddf0c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401ddf73
mov rcx, qword [rbp + 0x10]
call fcn.1401e5e20
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401d6c78
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401d2cc4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401ddfca
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 0x1401ddf0c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401de036
mov rcx, qword [rbp + 0x10]
call fcn.1401d6c78
cmp eax, 0xffffffff
je 0x1401de01d
mov rcx, qword [rbp + 0x10]
call fcn.1401d6c78
cmp eax, 0xfffffffe
je 0x1401de01d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401d6c78
movsxd rdi, eax
lea rsi, [0x1402c0fd0]
mov rcx, rbx
sar rdi, 6
call fcn.1401d6c78
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401de024
lea rax, [0x1402be210]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401de036
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401de06c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401de068
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401de068
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 0x1401ddf0f
jmp 0x1401ddedc

Function at 0x1401de280
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401de25d
call fcn.1401cbd50
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401cb160
or eax, 0xffffffff
jmp 0x1401de27a
sub dword [rcx + 0x10], 1
jns 0x1401de26c
add rsp, 0x28
jmp fcn.1401de084
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401de23c
Function at 0x14032b270
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14032b27d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14032b28d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14032b275
lea eax, [rcx + 1]
jmp 0x14032b29b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14032b2ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14032b294
sub eax, 3
jb 0x14032b2ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14032b31d
sar eax, 1
movsxd rbp, eax
jb 0x14032b304
jmp 0x14032b2dc
add ebx, ebx
jne 0x14032b2da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14032b304
inc ecx
add ebx, ebx
jne 0x14032b2ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14032b304
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14032b2fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14032b2ec
add ecx, 2
jmp 0x14032b309
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14032b232
jmp 0x14032b27d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x328000]
mov eax, dword [rdi]
or eax, eax
je 0x14032b379
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x32b1e4]
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 0x14032b329
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 0x14032b373
mov qword [rbx], rax
add rbx, 8
jmp 0x14032b349
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 + 0x23f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14032b3d1
sub rsp, 0xffffffffffffff80
jmp 0x1400544b8
Function at 0x140001710
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.140007590
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.140007590
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 0x140001780
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000c0a4]
mov rbx, rcx
test esi, esi
jle 0x1400018b0
mov rax, qword [0x14000c0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400017cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001855
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017b0
mov rcx, rbx
call fcn.1400021f0
mov rdi, rax
test rax, rax
je 0x1400018d2
mov rax, qword [0x14000c0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002330
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000184e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001860
add dword [0x14000c0a4], 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 [0x14000c0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000184e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001710
nop dword [rax]
xor esi, esi
jmp 0x1400017d8
mov rax, qword [0x14000c0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001710
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001710
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000c100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x140001ebc
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 rsi, rsi
je 0x140001eb3
test eax, eax
jne 0x140001eb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001e98
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 0x1400021f0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140002270
Capabilities:
Parse pe header

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

Function at 0x140002330
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009760]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000234f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002358
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140007cd0
Capabilities:
Create thread
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x150], ecx
mov qword [rbp + 0x158], rdx
call fcn.140001500
mov qword [rbp + 0x138], 0
mov dword [rbp - 0x40], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x120], rax
cmp qword [rbp + 0x120], 0xffffffffffffffff
jne 0x140007d2e
mov eax, 0xffffffff
jmp 0x140007ee7
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x120]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
mov dword [rbp + 0x12c], eax
jmp 0x140007eaf
mov eax, dword [rbp - 0x38]
mov r8d, eax
mov edx, 0
mov ecx, 0x2000000
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x130], rax
cmp qword [rbp + 0x130], 0
je 0x140007e96
lea rax, [rbp - 0x40]
add rax, 0x2c
mov rdx, rax
lea rax, str.hunting_in__s_n
mov rcx, rax
call fcn.140007c70
jmp 0x140007e53
mov rax, qword [rbp + 0xf0]
mov rdx, rax
mov rax, qword [rbp + 0x108]
add rax, rdx
mov qword [rbp + 0x138], rax
mov eax, dword [rbp + 0x100]
cmp eax, 0x40
jne 0x140007e53
mov rax, qword [rbp + 0xf0]
mov rdx, rax
lea rax, str.rwx_memory_successfully_found_at_0x_x_:__n
mov rcx, rax
call fcn.140007c70
mov rdx, qword [rbp + 0xf0]
mov rax, qword [rbp + 0x130]
mov qword [rsp + 0x20], 0
mov r9d, 0x13a
lea r8, [0x1400080c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov rax, qword [rbp + 0xf0]
mov rdx, rax
mov rax, qword [rbp + 0x130]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
jmp 0x140007e8b
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp + 0x138]
mov rax, qword [rbp + 0x130]
mov r9d, 0x30
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call rax
test rax, rax
setne al
test al, al
jne 0x140007d99
mov qword [rbp + 0x138], 0
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x120]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
mov dword [rbp + 0x12c], eax
cmp dword [rbp + 0x12c], 0
jne 0x140007d4c
mov rax, qword [rbp + 0x120]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x130]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x1c0
pop rbp
ret