joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
clc
jno 0x14003f6ef
lodsb al, byte [rsi]
lodsb al, byte [rsi]
and dword [rdi], ecx
ret
xchg ecx, eax
sub ecx, ecx
invalid
fistp dword [0x10ad9673c]
or dword [0x1994b5986], 0x7a519c7d
invalid
pop r9
jge 0x14003f65c
push rcx
jp 0x14003f707
pushfq
mov al, 0xa0
pop rax
test byte [rdx + 0x7d], bh
jp 0x14003f747
jp 0x14003f747
invalid
xchg cl, dh
sub dword [0x19845ab72], esi
neg byte [rbx + rax]
ret
xor al, 0xbe
stc
stosb byte [rdi], al
or dword [rsi + rsi*4], ebx
sbb al, 0xb6
lodsd eax, dword [rsi]
retf 0x3172
add eax, 0xcf3cea4d
pop rbp
loop 0x14003f75a
invalid
adc r11d, edi
scasd eax, dword [rdi]
out 0xa, al
or dl, byte [rdi + 0xb]
pop rdx
iretd
test al, 0xd4
mov cl, 0xa2
invalid
movabs byte [0x8e3bd6d741f72d4], al
insb byte [rdi], dx
ffree st(1)
sti
pop rbx
push rbp
mov ch, 0x4c
sbb al, cl
mov ah, 0xf8
nop
hlt
Function at 0x180014240
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor ecx, ecx
mov rax, r8
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov dword [rbx + 0x50], 0x67452301
mov dword [rbx + 0x54], 0xefcdab89
mov dword [rbx + 0x58], 0x98badcfe
mov dword [rbx + 0x5c], 0x10325476
cmp qword [rax + 0x18], 0x10
mov r8, qword [r8 + 0x10]
mov rdi, rdx
mov dword [rsp + 0x20], ecx
jb 0x18001428a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1800157f0
mov rdx, rdi
mov rcx, rbx
call fcn.18001ce40
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x1800182c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1800523d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [r11 - 0x48], rdx
mov qword [r11 - 0x40], r8
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rcx, qword [r8 + 0x18]
cmp rcx, 0x10
jb 0x180018311
mov rax, qword [r8]
jmp 0x180018314
mov rax, r8
movzx r14d, byte [rax]
cmp rcx, 0x10
jb 0x180018323
mov rax, qword [r8]
jmp 0x180018326
mov rax, r8
movzx ebp, byte [rax + 1]
mov qword [rsp + 0x40], select
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x28], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.18000d920
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180020cd0
test bpl, bpl
je 0x1800183a3
mov r8d, r15d
cmp dword [rbx + 0x10], r15d
jbe 0x1800183a3
movzx r9d, bpl
nop dword [rax]
cmp qword [rbx + 0x18], 0x10
jb 0x18001837c
mov rcx, qword [rbx]
jmp 0x18001837f
mov rcx, rbx
mov eax, r8d
xor byte [rax + rcx], r14b
movzx eax, r14b
imul eax, eax
lea eax, [rax + rax*2]
add eax, 0xa
cdq
idiv r9d
mov r14d, edx
inc r8d
cmp r8d, dword [rbx + 0x10]
jb 0x180018370
cmp qword [rsi + 0x18], 0x10
jb 0x1800183b2
mov rcx, qword [rsi]
call fcn.180038426
mov qword [rsi + 0x18], select
mov qword [rsi + 0x10], r15
mov byte [rsi], 0
cmp qword [rdi + 0x18], 0x10
jb 0x1800183d0
mov rcx, qword [rdi]
call fcn.180038426
mov qword [rdi + 0x18], select
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180038e10
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001bbd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [0x1800523d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r8
mov r10, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x20], 0
mov rcx, qword [r8 + 0x18]
cmp rcx, 0x10
jb 0x18001bc1b
mov rax, qword [r8]
jmp 0x18001bc1e
mov rax, rbx
movzx edx, byte [rax]
cmp rcx, 0x10
jb 0x18001bc2c
mov rax, qword [r8]
jmp 0x18001bc2f
mov rax, rbx
movzx ecx, byte [rax + 1]
test cl, cl
je 0x18001bc70
xor r8d, r8d
cmp dword [r10 + 0x10], r8d
jbe 0x18001bc70
movzx r9d, cl
cmp qword [r10 + 0x18], 0x10
jb 0x18001bc50
mov rcx, qword [r10]
jmp 0x18001bc53
mov rcx, r10
xor byte [r8 + rcx], dl
movzx eax, dl
imul eax, eax
lea eax, [rax + rax*2]
add eax, 0xa
cdq
idiv r9d
inc r8d
cmp r8d, dword [r10 + 0x10]
jb 0x18001bc44
mov qword [rsp + 0x40], select
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r10
lea rcx, [rsp + 0x28]
call fcn.18000d920
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18002ff00
nop
cmp qword [rbx + 0x18], 0x10
jb 0x18001bcb8
mov rcx, qword [rbx]
call fcn.180038426
mov qword [rbx + 0x18], select
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180038e10
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x180e7c9f0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180e7c9fa
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x180e7ca23
pop rbp
sub rbp, 0x33
sub rbp, 0xe7c9f0
cmp edx, 1
je 0x180e7ca66
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x180e7ca76
mov rax, 0xe7c9f0
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0x45c012d9
xor byte [rax], dl
inc rax
dec rcx
jne 0x180e7ca95
jmp 0x180e7caac
xchg ecx, eax
push rax
xor byte [rdx + 0x50], dl
in eax, 0xd9
fstpnce st(1), st(0)
xchg ecx, eax
pop rax
sbb cl, dl
fcomp st(1)
fst dword [rcx + 0x1e9130d8]
sbb esi, ebx
fstpnce st(1), st(0)
fst dword [rcx - 0x260ee4e2]
fstpnce st(1), st(0)
xchg ecx, eax
cmp edx, dword cs:[rcx + 0x585218d8]
invalid
Function at 0x180baa058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180baa1df
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 0x180baa089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180baa06f
add dl, dl
jne 0x180baa096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180baa0f6
xor eax, eax
add dl, dl
jne 0x180baa0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180baa1ad
add dl, dl
jne 0x180baa0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180baa0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180baa0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180baa0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180baa0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180baa07e
mov eax, 1
add dl, dl
jne 0x180baa106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180baa113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180baa0fb
sub eax, ebx
mov ebx, 1
jne 0x180baa14c
mov ecx, 1
add dl, dl
jne 0x180baa12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180baa13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180baa123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180baa07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180baa168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180baa175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180baa15d
cmp eax, 0x7d00
jae 0x180baa19b
cmp eax, 0x500
jb 0x180baa196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180baa07e
cmp eax, 0x7f
ja 0x180baa19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180baa07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180baa1d2
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 0x180baa07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000cdc4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000cb08
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000ce1a
mov ecx, 1
call fcn.14000cb08
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sbb ebx, 0x81fb304e
push rdi
jl 0x1400253bc
pop rsp
add eax, 0xa48858b5
add esi, dword [rdi + 0x3d7c4d82]
invalid
mov dh, 0x82
add dword [rbp + 0x31b0f223], edi
mov dh, 0xcb
invalid
Function at 0x140002fc4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140003048
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140005310]
cmp byte [rcx + rax], 0
je 0x140003048
dec r8
sub rdx, 1
jne 0x14000302e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140003a58
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x10088
call fcn.1400ca6b0
sub rsp, rax
mov rax, qword [0x140103108]
xor rax, rsp
mov qword [rsp + 0x10070], rax
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.1400c5200
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x1400a488d
lea rcx, [rsp + 0x70]
call fcn.1400d58ac
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.1400ca680
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.1400ca680
add rsp, 0x10088
ret

Function at 0x1400a4970
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140103108]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x1400e3768]
call fcn.1400a4810
xor edi, edi
mov qword [0x14010ac08], rax
lea rdx, [0x1400e3768]
mov word [rsp + 0x20], di
lea rcx, [rsp + 0x20]
lea r8d, [rdi + 0x28]
call fcn.1400c5200
lea rdx, [0x1400e3770]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, str.PYTHONHOME
call fcn.1400a4810
mov cl, 1
mov qword [0x14010ac10], rax
call fcn.1400c6460
lea r8d, [rdi + 0x28]
mov word [rsp + 0x20], di
lea rdx, str.PYTHONHOME
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c5200
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov cl, 1
call fcn.1400c6460
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov rax, qword [sym.imp.python310.dll__Py_path_config]
mov dword [rax + 0x30], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ca680
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x1400a4da0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140103108]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, rdx
mov rsi, rcx
call fcn.1400b6690
lea rdx, str.environ
mov rcx, rax
call qword [sym.imp.python310.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python310.dll_PyUnicode_FromString]
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.1400c5200
lea rcx, [rsp + 0x20]
test rbp, rbp
je 0x1400a4e61
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, rbp
call sub.python310.dll_PyUnicode_FromWideChar
mov r8, rax
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.python310.dll_PyObject_SetItem]
test eax, eax
je 0x1400a4e4f
mov ecx, 1
call qword [sym.imp.python310.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python310.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x1400a4e7e
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400a4e7e
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python310.dll_PyObject_DelItem]
test eax, eax
je 0x1400a4e7e
call fcn.1400a4440
sub qword [rdi], 1
jne 0x1400a4e8e
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x1400a4e9e
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ca680
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c52b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, rcx
mov eax, 0xffffffff
test edx, edx
je 0x1400c5374
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor eax, edx
mov edx, eax
and dl, 1
neg dl
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
sub r9, 1
jne 0x1400c52d0
not eax
ret
Function at 0x1400cb100
Capabilities:
Parse pe header

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

Function at 0x1400d515c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400d4f4c
Function at 0x1400da7e4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400da86b
mov rsi, rbx
cmp word [rax], bp
je 0x1400da82a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400da814
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400da810
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400d613c
mov rdi, rax
test rax, rax
je 0x1400da858
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400cb420
mov rbp, rdi
xor ecx, ecx
call fcn.1400d6af0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400045a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140035d00]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x30]
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x14000469f
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, eax
test eax, eax
jne 0x140004676
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140003444
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1400045a0
mov ebx, eax
test eax, eax
setne byte [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000465d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rsp + 0x20], 0
je 0x140004666
jmp 0x140004676
jmp 0x1400045f6
cmp ebx, 0x103
je 0x140004686
cmp ebx, 0x3f2
jne 0x140004694
mov rdx, qword [rsi]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140012430
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007050
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.14000d7e4
mov rbx, rax
mov rax, qword [rax + 0x78]
test rax, rax
je 0x140007087
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140007087
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
mov rbx, qword [rbx + 0xa0]
je 0x1400070b7
test rbx, rbx
je 0x1400070b7
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1400070b7
mov rax, qword [rbx]
or rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0x2d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000dbb4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x140035d00]
xor rax, rsp
mov qword [rsp + 0x120], rax
test rcx, rcx
mov rbx, rdx
mov rdi, rcx
jne 0x14000dbe9
call fcn.140004ac4
int3
test rdx, rdx
jne 0x14000dbf4
call fcn.140004ac4
int3
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x20], 0
mov esi, eax
call fcn.140013020
mov r8d, 0x100
cmp esi, r8d
ja 0x14000dc45
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x14000dc45
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000dc51
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140012430
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000f5d8
Capabilities:
Set thread local storage value

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 r12
push r13
push r14
sub rsp, 0x20
mov esi, 1
mov r14, r8
mov rdi, rdx
cmp dword [rdx + 0x10], esi
mov r12, rcx
mov ebp, esi
jle 0x14000f665
lea ebx, [rsi + 7]
lea r13d, [rsi + 0xf]
test r14, r14
je 0x14000f631
mov rax, qword [r12 + 0x10]
cmp qword [rax + r13 + 8], r14
je 0x14000f631
mov rax, qword [rdi + 0x18]
cmp qword [rbx + rax], 0
je 0x14000f651
xor esi, esi
jmp 0x14000f651
mov rax, qword [rdi + 0x18]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x14000f648
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rdi + 0x18]
and qword [rbx + rax], 0
add ebp, 1
add r13, 0x10
add rbx, 8
cmp ebp, dword [rdi + 0x10]
jl 0x14000f611
test esi, esi
je 0x14000f6ac
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r12 + 0x18]
mov rdx, rdi
call fcn.14000f0f8
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r11, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r11]
mov ecx, dword [r12]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret