joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b68ec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800b6926
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800b692b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800b6974
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800d8a90]
cmp byte [rcx + rax], 0
je 0x1800b6974
dec r8
sub rdx, 1
jne 0x1800b695a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001604
Capabilities:
Parse pe header

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

Function at 0x140002444
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000258c

Function at 0x1400036f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003718
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140003718
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140008824
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 0x140008854
xor eax, eax
jmp 0x140008917
mov rbp, rbx
cmp word [rax], si
je 0x140008879
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008860
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000885c
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.140008744
movsxd r14, eax
test eax, eax
jne 0x1400088b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000884d
mov rcx, r14
call fcn.14000716c
mov rdi, rax
test rax, rax
jne 0x1400088d0
xor ecx, ecx
call fcn.1400056a8
jmp 0x1400088ac
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.140008744
test eax, eax
jne 0x140008901
mov rcx, rdi
call fcn.1400056a8
jmp 0x14000890b
xor ecx, ecx
call fcn.1400056a8
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 0x14000d324
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.140004b54
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000d3ae
cmp byte [rbp - 0x21], r15b
je 0x14000d3a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000d3e4
call fcn.140003b8c
test eax, eax
jne 0x14000d3d0
cmp byte [rbp - 0x21], r15b
je 0x14000d3c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000d3e4
cmp byte [rbp - 0x21], r15b
je 0x14000d3e1
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.140007bf4
test eax, eax
jne 0x14000d484
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140004b54
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000d423
cmp byte [rbp - 0x21], r15b
je 0x14000d458
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000d458
call fcn.140003b8c
test eax, eax
jne 0x14000d444
cmp byte [rbp - 0x21], r15b
je 0x14000d43d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000d458
cmp byte [rbp - 0x21], r15b
je 0x14000d455
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.140007bf4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000d484
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000d487
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000d495
mov rcx, rdi
call fcn.1400056a8
cmp byte [rbp + 0x3f], r15b
je 0x14000d4a4
mov rcx, qword [rbp + 0x27]
call fcn.1400056a8
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 0x14001a0fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x40
push rsi
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rbx + 0x3c]
mov rax, rsi
shl rax, 0x36
shr rax, 0x36
mov rsi, qword [rbx + rax + 0x88]
shl rsi, 0x20
shr rsi, 0x20
add rsi, rbx
push rsi
mov esi, dword [rsi + 0x20]
add rsi, rbx
xor rcx, rcx
dec ecx
inc ecx
lodsd eax, dword [rsi]
add rax, rbx
xor edx, edx
cmp byte [rax], 0
je 0x14001a150
ror edx, 7
push rcx
movsx ecx, byte [rax]
add edx, ecx
pop rcx
inc rax
jmp 0x14001a13c
cmp edx, edi
jne 0x14001a134
pop rsi
mov edx, dword [rsi + 0x24]
add rdx, rbx
movsx ecx, word [rdx + rcx*2]
mov edx, dword [rsi + 0x1c]
add rdx, rbx
mov eax, dword [rdx + rcx*4]
add rax, rbx
pop rsi
add rsp, 0x40
ret
Function at 0x140001410
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x140005cb0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 8], 0
lea r9, [rbp - 8]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.shell32.dll_SHGetKnownFolderPath]
mov rcx, qword [rbp - 8]
test eax, eax
je 0x140005cfd
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140005d2c
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140017300
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret

Function at 0x14000bc20
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14000bc92
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x14000bc58
add rdi, rbx
sub rsi, rbx
je 0x14000bc92
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x14000bc50
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x14000bc50
and ebp, 0x7fffffff
jmp 0x14000bc94
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140014c20
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140014cc0
jmp 0x140014caf
jae 0x140014d7f
cmp r8, 0x201
jae 0x140014cc0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140014d17
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x140014cef
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140037d60
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140014d40
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140014deb
mov r8d, r13d
cmp r12, r8
jne 0x140014ca0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140014e1f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140014caf
jmp 0x140014cc0
cmp r14, r8
jb 0x140014e39
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140017300
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140014dd4
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140005c30
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x140014dbf
jmp 0x140014dd4
lea rcx, str.internal_error:_entered_unreachable_codex
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140038bc0
jmp 0x140014e4e
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140038f70
ud2
Function at 0x14001ac10
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.140036f70
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x1400216d0]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call fcn.1400214a0
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x14001ae00
test r15, r15
je 0x14001adcc
cmp r15, 0x1000
ja 0x14001ae22
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x14001ada0
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x14001ad30
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x14001adc0
add r12, rax
cmp r12, r15
je 0x14001ad90
jbe 0x14001ace0
jmp 0x14001ae0e
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x14001ac8e
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.14000f230
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.14000f230
jmp 0x14001adcc
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.140038fe0
jmp 0x14001ae36
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.140038f70
ud2
Function at 0x14001f480
Capabilities:
Move file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.140027ae0
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x14001f4f6
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x48]
mov r8b, 1
call fcn.140029570
mov rax, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
cmp rax, rbx
jne 0x14001f507
mov rax, rdx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rdx
lea rcx, [rbp - 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.140027ae0
mov rax, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
cmp rax, rbx
je 0x14001f558
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x48]
mov r8b, 1
call fcn.140029570
mov rdi, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x58]
cmp rdi, rbx
jne 0x14001f581
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rsi
test rdx, rdx
je 0x14001f4f9
add rdx, rdx
mov r8d, 2
mov rsi, rax
call fcn.140005c30
mov rax, rsi
jmp 0x14001f4f9
mov rcx, qword [rbp - 0x18]
mov rbx, rcx
mov rdx, rsi
mov r8d, 1
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
mov rdx, qword [rbp - 0x10]
je 0x14001f5db
test rdi, rdi
je 0x14001f5be
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rsi, rdx
mov rdx, rdi
call fcn.140005c30
mov rdx, rsi
test rdx, rdx
je 0x14001f5d4
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.140005c30
xor eax, eax
jmp 0x14001f4f9
mov r14, rdx
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14001f60b
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140005c30
mov rax, rsi
mov rcx, rbx
mov rdx, r14
test rdx, rdx
jne 0x14001f568
jmp 0x14001f4f9
Function at 0x14001fda0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14003dc20]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14001fdd8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14001fe2f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14001fe3c
xor edx, edx
xor eax, eax
jmp 0x14001fe66
cmp eax, 0x103
je 0x14001fe70
test eax, eax
js 0x14001fe4f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14001fe66
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x14003dc80]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140017080
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14000f820
mov ecx, 7
int 0x29
ud2

Function at 0x14001fec0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14003dc20]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14001fef8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14001ff56
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14001ff83
test eax, eax
js 0x14001ff62
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14001ff79
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x14003dc80]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140017080
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14000f820
mov ecx, 7
int 0x29
ud2
Function at 0x140020ad0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x5c], ecx
mov r15d, 8
mov sil, 1
xorps xmm6, xmm6
lea r14, [rbp + 0x20]
mov r12, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]

Function at 0x1400214a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
invalid
lea rbp, [rsp + 0x60]
and al, 0x60
mov eax, 0xffffffff
invalid
invalid
dec dword [rcx + 0x39]
cmp eax, eax
cmovae r8, rax
cmovae eax, eax
mov dword [rbp - 0xc], 0
hlt
add byte [rax], al
add byte [rax], al
add byte [rdi], cl
push rdi
ror byte [rdi], 0x29
sub dword [rbp - 0x30], eax
ror byte [rax - 0x39], 1
loopne 0x1400214cb
add byte [rax], al
add byte [rax], al
lea rax, [rbp - 0xc]
hlt
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x18], eax
lea rax, [0x1400216d0]
add eax, 0x1f3
Function at 0x140035740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400357ca
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400357c0
cmp r11, r10
ja 0x140035846
cmp r10, rdx
ja 0x140035858
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400357c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400357a0
jmp 0x140035827
ja 0x1400357ca
mov r11, r10
cmp rax, r8
jne 0x140035767
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14003582b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140035800
mov r8, r10
sub ecx, r9d
jns 0x14003581e
jmp 0x14003582d
cmp r10, rdx
je 0x14003583a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003582d
xor al, 1
cmp r8, rdx
jne 0x1400357e0
jmp 0x14003582d
xor eax, eax
jmp 0x14003582d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140038a80
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140038fe0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140038f70
int3

Function at 0x1400374a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400374ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400374ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400374ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400374ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400374ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400374f0
xor al, al
add rsp, 0x28
ret
Function at 0x18000a760
Capabilities:
Terminate thread

Disassembly:
push rdi
mov eax, 0x30
call fcn.180050b10
nop
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, rcx
lea rax, vtable.CAnimationTaskImpl.1.0
mov qword [rcx], rax
lea rax, vtable.CAnimationTaskImpl.0
mov qword [rcx + 8], rax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_IsWindow]
nop
test eax, eax
je 0x18000a7b5
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x18000a7db
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test eax, eax
je 0x18000a7db
xor edx, edx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
xor esi, esi
mov ebx, esi
cmp qword [rdi + 0x108], rbx
jbe 0x18000a865
nop dword [rax + rax]
mov r8, qword [rdi + 0x100]
mov rax, qword [rdi + 0xe8]
mov rcx, rsi
test rax, rax
je 0x18000a811
mov rdx, qword [rax]
test rdx, rdx
je 0x18000a811
mov rcx, qword [rdx]
add r8, rbx
mov rax, rsi
test rcx, rcx
je 0x18000a827
mov rdx, qword [rcx]
test rdx, rdx
je 0x18000a827
mov rax, qword [rdx]
test rax, rax
mov rdx, rsi
je 0x18000a832
mov rdx, qword [rax]
mov rcx, r8
shr rcx, 1
mov rax, qword [rdx + 0x10]
dec rax
and rcx, rax
mov rax, qword [rdx + 8]
and r8d, 1
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + r8*8]
mov rax, qword [rcx]
call qword [rax + 0x30]
nop
inc rbx
cmp rbx, qword [rdi + 0x108]
jb 0x18000a7f0
lea rcx, [rdi + 0xe8]
call fcn.18000c970
nop
lea rcx, [rdi + 0xe8]
call fcn.18000c970
nop
mov edx, 0x10
mov rcx, qword [rdi + 0xe8]
call fcn.180050640
nop
mov qword [rdi + 0xe8], rsi
lea rax, vtable.layered_window_impl.0
mov qword [rdi + 0x70], rax
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.USER32.dll_IsWindow]
nop
test eax, eax
je 0x18000a8bd
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
mov rcx, qword [rdi + 0xc0]
test rcx, rcx
je 0x18000a8db
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
test eax, eax
je 0x18000a8db
mov qword [rdi + 0xc0], rsi
mov rcx, qword [rdi + 0x98]
test rcx, rcx
je 0x18000a8ed
call fcn.180051c34
nop
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x18000a905
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
test eax, eax
je 0x18000a905
mov qword [rdi + 0x60], rsi
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x18000a919
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rdi + 0x50], rsi
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x18000a928
call fcn.180051c34
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret