joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001e44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001e90
xor al, al
add rsp, 0x28
ret
Function at 0x140003000
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.140009180
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140009180
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140003070
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14005b0e4]
mov r12, rcx
test ebx, ebx
jle 0x1400031a0
mov rax, qword [0x14005b0e8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1400030bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140003143
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1400030a0
mov rcx, r12
call fcn.140003a10
mov rsi, rax
test rax, rax
je 0x1400031c2
mov rax, qword [0x14005b0e8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.140003b40
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14005b0e8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400031a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000313c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003150
add dword [0x14005b0e4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14005b0e8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000313c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140003000
nop dword [rax]
xor ebx, ebx
jmp 0x1400030c7
mov rax, qword [0x14005b0e8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140003000
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140003000
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003680
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14005b140]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005b120]
test rbx, rbx
je 0x1400036d4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400036cb
test r12, r12
je 0x1400036cb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400036b0
lea rcx, [0x14005b140]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003a10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140056700]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003a30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003a38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003a30
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140003a85
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003a7c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003a30
add rax, 0x28
cmp rax, r9
jne 0x140003a68
xor eax, eax
ret

Function at 0x140003a90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140056700]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140003ab0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003ab8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003ab0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140003b40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140056700]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140003b60
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140003b68
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140dd2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140dd21df
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 0x140dd2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd206f
add dl, dl
jne 0x140dd2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd20f6
xor eax, eax
add dl, dl
jne 0x140dd20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd21ad
add dl, dl
jne 0x140dd20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140dd20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140dd207e
mov eax, 1
add dl, dl
jne 0x140dd2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd20fb
sub eax, ebx
mov ebx, 1
jne 0x140dd214c
mov ecx, 1
add dl, dl
jne 0x140dd212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dd213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140dd2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dd2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd215d
cmp eax, 0x7d00
jae 0x140dd219b
cmp eax, 0x500
jb 0x140dd2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd207e
cmp eax, 0x7f
ja 0x140dd219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140dd21d2
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 0x140dd207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007af8
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
lea rcx, [0x14001d010]
call fcn.140007b2f
mov ecx, eax
add rsp, 0x28
jmp fcn.14001a9f8

Function at 0x140007b13
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140007b2f
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14001a9f0

Function at 0x140007b2f
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x14000ca5f
dec eax
ret
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx], 0
je 0x14000cad6
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x14000cb1d
cmp dword [rsp + 0x2c], 0
je 0x14000cafe
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14000cb0d
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400260d8]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400260d8], rsi
jne 0x14000cab1
mov byte [0x1400260d0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14000cb03
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14000cb1d
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x14000cb03
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x14000cb03
mov edi, dword [rsi + 0x18]
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x140007cb6
Capabilities:
Encrypt data using aes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r15, rcx
mov byte [rdx + 0xf0], 0xe
call fcn.140007e61
mov ebp, eax
mov dword [rsi], eax
lea rcx, [r15 + 4]
call fcn.140007e61
mov edi, eax
mov dword [rsi + 4], eax
lea rcx, [r15 + 8]
call fcn.140007e61
mov ebx, eax
mov dword [rsi + 8], eax
lea rcx, [r15 + 0xc]
call fcn.140007e61
mov r14d, eax
mov dword [rsi + 0xc], eax
lea rcx, [r15 + 0x10]
call fcn.140007e61
mov dword [rsi + 0x10], eax
lea rcx, [r15 + 0x14]
call fcn.140007e61
mov dword [rsi + 0x14], eax
lea rcx, [r15 + 0x18]
call fcn.140007e61
mov dword [rsi + 0x18], eax
add r15, 0x1c
mov rcx, r15
call fcn.140007e61
mov dword [rsi + 0x1c], eax
xor ecx, ecx
mov edx, 0xff
lea r8, [0x14001e528]
lea r9, [0x14001e928]
lea r10, [0x14001ed28]
lea r11, [0x14001f128]
mov r12d, eax
shr r12d, 0x10
and r12d, edx
movzx r12d, byte [r8 + r12*4 + 3]
shl r12d, 0x18
xor r12d, ebp
mov r13d, eax
shr r13d, 8
and r13d, edx
movzx ebp, byte [r9 + r13*4 + 2]
shl ebp, 0x10
mov r13d, eax
and r13d, edx
movzx r13d, byte [r10 + r13*4 + 1]
shl r13d, 8
xor r13d, ebp
xor r13d, r12d
mov r12d, eax
shr r12d, 0x18
movzx ebp, byte [r11 + r12*4]
xor ebp, r13d
lea r15, [0x14001f528]
xor ebp, dword [rcx + r15]
mov dword [rsi + rcx*8 + 0x20], ebp
xor edi, ebp
mov dword [rsi + rcx*8 + 0x24], edi
xor ebx, edi
mov dword [rsi + rcx*8 + 0x28], ebx
xor r14d, ebx
mov dword [rsi + rcx*8 + 0x2c], r14d
cmp rcx, 0x18
je 0x140007e50
mov r12d, r14d
shr r12d, 0x18
movzx r12d, byte [r8 + r12*4 + 3]
shl r12d, 0x18
xor r12d, dword [rsi + rcx*8 + 0x10]
mov r13d, r14d
shr r13d, 0x10
and r13d, edx
movzx r13d, byte [r9 + r13*4 + 2]
shl r13d, 0x10
mov r15d, r14d
shr r15d, 8
and r15d, edx
movzx r15d, byte [r10 + r15*4 + 1]
shl r15d, 8
xor r15d, r13d
mov r13d, r14d
and r13d, edx
movzx r13d, byte [r11 + r13*4]
xor r13d, r15d
xor r13d, r12d
mov dword [rsi + rcx*8 + 0x30], r13d
xor r13d, dword [rsi + rcx*8 + 0x14]
mov dword [rsi + rcx*8 + 0x34], r13d
xor r13d, dword [rsi + rcx*8 + 0x18]
mov dword [rsi + rcx*8 + 0x38], r13d
xor eax, r13d
mov dword [rsi + rcx*8 + 0x3c], eax
add rcx, 4
jmp 0x140007d5d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140009612
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140007b2f
mov ecx, eax
add rsp, 0x28
jmp fcn.14001a9f8
Function at 0x14000b126
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, ecx
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rdi, qword [rdi]
movzx edx, word [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
call fcn.14000b206
cmp eax, 0x1edab0ed
jne 0x14000b14e
mov rbx, qword [rdi + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov eax, dword [rax + rbx + 0x88]
test rax, rax
je 0x14000b1e4
mov r15d, dword [rax + rbx + 0x18]
mov ecx, dword [rax + rbx + 0x1c]
add rcx, rbx
mov qword [rsp + 0x20], rcx
mov r12d, dword [rax + rbx + 0x20]
add r12, rbx
mov r13d, dword [rax + rbx + 0x24]
add r13, rbx
xor edi, edi
xor r14d, r14d
cmp r14, r15
je 0x14000b1e6
mov rbp, r14
mov ecx, dword [r12 + r14*4]
add rcx, rbx
mov rax, rcx
mov rdx, rax
inc rax
cmp byte [rdx], 0
jne 0x14000b1b1
lea r14, [rbp + 1]
sub rdx, rcx
call fcn.14000b206
cmp eax, esi
jne 0x14000b19f
movzx eax, word [r13 + rbp*2]
cmp r15, rax
jbe 0x14000b202
mov rcx, qword [rsp + 0x20]
mov edi, dword [rcx + rax*4]
add rdi, rbx
jmp 0x14000b1e6
xor edi, edi
movzx eax, word [rdi + 4]
add rdi, 0x12
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2

Function at 0x14000b206
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x14000b242
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x14000b221
inc r8
jmp 0x14000b20e
lea r10d, [r9 - 0x20]
cmp r9b, 0x61
movzx r9d, r9b
movzx r10d, r10b
cmovb r10d, r9d
imul r9d, eax, 0x21
movzx eax, r10b
add eax, r9d
jmp 0x14000b21c
ret
Function at 0x14000ca5f
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x14000ca5f
dec eax
ret
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx], 0
je 0x14000cad6
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x14000cb1d
cmp dword [rsp + 0x2c], 0
je 0x14000cafe
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14000cb0d
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400260d8]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400260d8], rsi
jne 0x14000cab1
mov byte [0x1400260d0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14000cb03
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14000cb1d
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x14000cb03
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x14000cb03
mov edi, dword [rsi + 0x18]
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x14000d866
Capabilities:
Query environment variable

Disassembly:
mov r8d, 0x11
jmp fcn.14000d532

Function at 0x14000d871
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14000d89d
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.14000baca
ud2

Function at 0x14000de93
Capabilities:
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
lea rcx, [0x14001d0e0]
call fcn.140009612
cmp rax, 2
jb 0x14000dec2
mov rcx, rax
cmp qword [rax + 8], 0
je 0x14000dec2
add rcx, 0x10
jmp 0x14000df65
lea rbx, [0x14001d0e0]
mov rcx, rbx
call fcn.140009612
cmp rax, 1
je 0x14000df48
mov rsi, rax
test rax, rax
jne 0x14000deff
mov ecx, 0x20
call fcn.14000ca30
mov rsi, rax
mov qword [rax], rbx
and qword [rax + 8], 0
mov rcx, rbx
mov rdx, rax
call fcn.140007b13
test rdi, rdi
je 0x14000df1a
mov rax, qword [rdi]
and qword [rdi], 0
test rax, rax
je 0x14000df1a
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
jmp 0x14000df51
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14000df4c
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14000df51
xor ecx, ecx
jmp 0x14000df65
call fcn.14000d871
mov qword [rsi + 8], 1
lea rcx, [rsi + 0x10]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdx
mov rax, rcx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000eb78
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14000ec11
mov rdi, rax
movsxd r12, dword [rsp + 0x2c]
lea rbx, [rsp + 0x30]
mov qword [rbx], 8
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14000ebf6
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.msvcrt.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14000e652
mov rcx, rbx
mov rdx, r14
call fcn.14000edfe
add r13, 8
jmp 0x14000ebc6
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x14000ec1f
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140014f6a
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
je 0x14001502e
lea rcx, [0x140020d9a]
call sub.OLEAUT32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysFreeString
mov rcx, r14
call sub.OLEAUT32.dll_SysFreeString
test ebp, ebp
js 0x14001502e
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.140012db9
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x14001503d
mov qword [rdi], 2
mov rcx, rsi
call fcn.140012d3d
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14001b600
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 fcn.14001c490
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.14001c490
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 0x14001b670
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140026164]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14001b800
mov rax, qword [0x140026168]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001b6bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14001b745
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14001b6a0
mov rcx, rdi
call fcn.14001c1d0
test rax, rax
mov r12, rax
je 0x14001b852
mov rax, qword [0x140026168]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14001c310
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140026168]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001b835
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001b73e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14001b7b0
add dword [0x140026164], 1
cmp ebx, 8
jae 0x14001b771
test bl, 4
jne 0x14001b810
test ebx, ebx
je 0x14001b766
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14001b824
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14001b766
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001b78a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140026168]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001b73e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14001b600
xor esi, esi
jmp 0x14001b6c7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14001b766
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14001b766
mov rax, qword [0x140026168]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14001b600
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14001b600
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14001be20
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1400261c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400261a0]
test rbx, rbx
je 0x14001be74
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 0x14001be6b
test rsi, rsi
je 0x14001be6b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001be50
lea rcx, [0x1400261c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14001c1d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140021ae0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001c23f
mov rcx, r9
call fcn.14001c0a0
test eax, eax
je 0x14001c23f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001c23d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14001c234
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001c23f
add rdx, 0x28
cmp rdx, r9
jne 0x14001c220
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140002260
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140029744], 0
lea rdi, [0x140029740]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002338
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002290
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000236e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002350
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400023af
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002393
cmp byte [r8], r9b
jne 0x140002393
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002380
not eax
pop rdi
ret