joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e8d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400214c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000e92b
cmp word [rdx], r13w
jne 0x14000e92b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000e930
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000ea55
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000ea76
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000e969
mov rdx, r9
mov word [rbx], cx
jmp 0x14000e990
cmp r9, r8
jae 0x14000e9a0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000e94a
jmp 0x14000ea55
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000ea4a
cmp dword [rsp + 0x80], esi
je 0x14000ea4a
lea r8, [0x1400214c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000ea22
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000e9f2
mov word [rbx], r13w
jmp 0x14000ea52
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000e9ff
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000ea52
cmp word [rsp + 0x70], r13w
jne 0x14000ea2f
cmp rbx, r14
je 0x14000e9ec
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140011788
cmp word [rsp + 0x70], r13w
je 0x14000ea55
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400214c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000ea4f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000ea55
Function at 0x140010240
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000b578
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400102ca
cmp byte [rbp - 0x21], r15b
je 0x1400102c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140010300
call fcn.14000d9a0
test eax, eax
jne 0x1400102ec
cmp byte [rbp - 0x21], r15b
je 0x1400102e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140010300
cmp byte [rbp - 0x21], r15b
je 0x1400102fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000ab58
test eax, eax
jne 0x1400103a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b578
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001033f
cmp byte [rbp - 0x21], r15b
je 0x140010374
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140010374
call fcn.14000d9a0
test eax, eax
jne 0x140010360
cmp byte [rbp - 0x21], r15b
je 0x140010359
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140010374
cmp byte [rbp - 0x21], r15b
je 0x140010371
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000ab58
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400103a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400103a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400103b1
mov rcx, rdi
call fcn.14000a358
cmp byte [rbp + 0x3f], r15b
je 0x1400103c0
mov rcx, qword [rbp + 0x27]
call fcn.14000a358
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140013190
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400131b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400131b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003b70
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003ba4
cmp word [rcx], 0x5a4d
jne 0x140003ba4
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003ba4
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003ba4
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003ab0
test eax, eax
jne 0x140003bc0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003b20
test rax, rax
je 0x140003bb5
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004366
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004270
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.140004210
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 0x1400046c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140491538]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140491534]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004712
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000470a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400047f9
inc ebx
add rax, 0x28
jmp 0x1400046ea
mov rcx, r12
call fcn.140004ef1
mov rbp, rax
test rax, rax
jne 0x140004731
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004660
movsxd rbx, ebx
mov rax, qword [0x140491538]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004f9f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140491538]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004793
mov rax, qword [0x140491538]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004660
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400047f3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400047f3
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 [0x140491538]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400047f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004660
inc dword [0x140491534]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004c20
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1404915a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140491580]
test rbx, rbx
je 0x140004c6c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004c66
test eax, eax
jne 0x140004c66
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004c3e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004e20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004e43
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004e43
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004e44
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004e7e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004e75
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004e80
inc r8d
add rax, 0x28
jmp 0x140004e5c
xor eax, eax
ret

Function at 0x140004ef1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14048d630]
mov r8, rcx
mov rcx, r9
call fcn.140004e20
test eax, eax
je 0x140004f1d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004e44
xor eax, eax
add rsp, 0x28
ret
Function at 0x141460058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414601df
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 0x141460089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14146006f
add dl, dl
jne 0x141460096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414600f6
xor eax, eax
add dl, dl
jne 0x1414600a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414601ad
add dl, dl
jne 0x1414600b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414600c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414600d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414600dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414600ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14146007e
mov eax, 1
add dl, dl
jne 0x141460106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141460113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414600fb
sub eax, ebx
mov ebx, 1
jne 0x14146014c
mov ecx, 1
add dl, dl
jne 0x14146012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14146013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141460123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141460168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141460175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14146015d
cmp eax, 0x7d00
jae 0x14146019b
cmp eax, 0x500
jb 0x141460196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146007e
cmp eax, 0x7f
ja 0x14146019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14146007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414601d2
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 0x14146007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400015d4
Capabilities:
Enumerate processes
Patch process command line

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov r12, rdx
mov r15d, r9d
xor edx, edx
mov r13, r8
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001628
xor eax, eax
jmp 0x140001804
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x130
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32First]
xor ebx, ebx
jmp 0x1400017ce
lea rdx, str.chrome.exe
lea rcx, [rbp - 0x64]
call qword [0x14001ecb0]
test eax, eax
jne 0x1400017c0
cmp dword [rbp - 0x70], r15d
jne 0x1400017c0
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x430
call fcn.140010190
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, str.ntdll.dll
mov rsi, rax
call qword [0x14001ecb8]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400017b7
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0xa0]
mov dword [rbp + 0xa0], ebx
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x40]
mov rcx, rsi
mov r9d, 0x30
xor edx, edx
call rax
test eax, eax
js 0x1400017b7
cmp dword [rbp + 0xa0], 0x30
jne 0x1400017b7
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400017b7
lea rax, [rbp + 0xa8]
mov qword [rbp + 0xa8], rbx
mov r9d, 0x430
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400017b7
cmp qword [rbp + 0xa8], 0x430
jb 0x1400017b7
mov rdx, qword [rbp + 0xd0]
lea r8, [rsp + 0x30]
add rdx, 0x70
mov qword [rsp + 0x20], rbx
mov r9d, 0x10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400017b7
movzx ecx, word [rsp + 0x32]
call fcn.140006a24
mov rdi, rax
test rax, rax
je 0x14000179b
movzx r9d, word [rsp + 0x32]
mov r8, rax
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400017af
lea rdx, str.__utility_sub_typenetwork.mojom.NetworkService
mov rcx, rdi
call fcn.140003fbc
test rax, rax
jne 0x1400017d8
mov rcx, rdi
call fcn.140006a10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001645
jmp 0x1400017f9
mov rcx, rsi
call fcn.140001478
mov eax, dword [rsp + 0x78]
mov rcx, rdi
mov dword [r12], eax
mov qword [r13], rsi
call fcn.140006a10
mov ebx, 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140002f70
mov rbx, qword [rsp + 0x630]
add rsp, 0x5f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001830
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, rcx
mov esi, 0x2000
mov ecx, esi
mov r12, r9
mov r15, r8
call fcn.140006a24
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14000192d
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 3
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x14000192d
mov eax, dword [rsp + 0x48]
mov esi, ebx
test rax, 0xfffffffffffffff8
jbe 0x14000192d
mov r14, rdi
mov rdx, qword [r14]
lea r8, [rsp + 0x50]
mov r9d, 0x82
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
test eax, eax
je 0x1400018e1
lea rdx, str.chrome.dll
lea rcx, [rsp + 0x50]
call qword [0x14001ecb0]
test eax, eax
je 0x1400018f9
mov ecx, dword [rsp + 0x48]
inc esi
shr rcx, 3
add r14, 8
movsxd rax, esi
cmp rax, rcx
jb 0x1400018b0
jmp 0x14000192d
movsxd rdx, esi
lea r8, [rsp + 0x30]
mov r9d, 0x18
mov rcx, rbp
mov rdx, qword [rdi + rdx*8]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x14000192d
mov rax, qword [rsp + 0x30]
mov ebx, 1
mov qword [r15], rax
mov eax, dword [rsp + 0x38]
mov dword [r12], eax
mov rcx, rdi
call fcn.140006a10
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002f70
add rsp, 0x170
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000195c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [rbp + 0x7f]
mov r12, rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x61], r9
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x11]
xor ebx, ebx
mov rdi, qword [rbp - 0x19]
mov qword [rbp - 0x59], r15
jmp 0x140001a4f
mov r9d, 0x30
lea r8, [rbp - 0x51]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140001a58
cmp dword [rbp - 0x31], 0x1000
jne 0x140001a4b
test byte [rbp - 0x2d], 0x44
je 0x140001a4b
mov rcx, qword [rbp - 0x39]
call fcn.140002f98
mov r9, qword [rbp - 0x39]
mov r14, rax
mov rdx, qword [rbp - 0x51]
lea rax, [rbp + 0xf]
mov r8, r14
mov qword [rsp + 0x20], rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001a43
mov r15, qword [rbp - 0x61]
mov rdx, rbx
mov rax, qword [rdx + r14]
cmp rax, qword [r13]
jne 0x140001a2f
mov rax, qword [rsi]
mov rcx, qword [rbp - 0x51]
add rcx, rdx
mov qword [r15 + rax*8], rcx
inc qword [rsi]
mov rax, qword [rbp + 0xf]
inc rdx
add rax, 0xfffffffffffffff8
cmp rdx, rax
jbe 0x140001a14
mov r15, qword [rbp - 0x59]
mov rcx, r14
call fcn.140002f90
add rdi, qword [rbp - 0x39]
cmp rdi, r15
jb 0x1400019b1
cmp qword [rsi], rbx
seta bl
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140002f70
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002c18
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov esi, ecx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002cb1
jmp 0x140002c9f
mov r8d, dword [rsp + 0x28]
cmp dword [rsp + 0x40], esi
je 0x140002c78
cmp r8d, esi
jne 0x140002c9f
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002c96
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002c68
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140002f70
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140002ce0
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, r8
and qword [rax - 0x18], rdi
mov rbx, rdx
and qword [rax - 0x20], rdi
xor r9d, r9d
and qword [rdx], rdi
mov rbp, rcx
and dword [r8], edi
xor edx, edx
mov qword [rax - 0x28], r8
lea r8d, [rdi + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x140002d6a
mov edx, dword [rsi]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx], rax
test rax, rax
je 0x140002d6a
and qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
and qword [rsp + 0x28], rdi
mov r9, rax
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbp
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov edi, eax
test eax, eax
jne 0x140002d6a
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400039e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003a2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003a2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003a2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140003a2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003a30
xor al, al
add rsp, 0x28
ret
Function at 0x140007448
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400074b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400074b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400074b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400074b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400074b7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400074b7
cmp dword [rcx + 0xf8], 0
je 0x1400074b7
mov ecx, ebx
call fcn.140007568
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140007344
nop
cmp dword [rbp + 0x20], 0
je 0x140007505
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007510
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007448

Function at 0x14000764c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007448
Function at 0x14000a7c4
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000a7f4
xor eax, eax
jmp 0x14000a8b7
mov rbp, rbx
cmp word [rax], si
je 0x14000a819
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000a800
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000a7fc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000a6e4
movsxd r14, eax
test eax, eax
jne 0x14000a857
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000a7ed
mov rcx, r14
call fcn.1400085a8
mov rdi, rax
test rax, rax
jne 0x14000a870
xor ecx, ecx
call fcn.14000856c
jmp 0x14000a84c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000a6e4
test eax, eax
jne 0x14000a8a1
mov rcx, rdi
call fcn.14000856c
jmp 0x14000a8ab
xor ecx, ecx
call fcn.14000856c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000ff40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000ff68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000ff68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret