joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cd390
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x1801e6160]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800cd3fa
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800cd423
mov eax, 0xa
jmp 0x1800cd554
cmp dword [rsp + 0x68], 0
je 0x1800cd48e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800cd48c
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x1800cd4da
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800cd4be
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800cd4da
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800cdd50
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x1800cddb1
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x1800cddb1
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x1800cddd9
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x1801e6150]
mov qword [rsp + 0x20], rax
jmp 0x1800cde04
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800cde3e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x1800cde24
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x1800cde26
jmp 0x1800cddf7
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x1800cde3c
mov rax, qword [rsp + 0x20]
jmp 0x1800cdfb0
jmp 0x1800cddf7
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x1800cdea7
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1800cdb50
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800cde7a
jmp 0x1800cdea7
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800cdea5
jmp 0x1800cdea7
jmp 0x1800cde4b
cmp qword [rsp + 0x20], 0
jne 0x1800cdf18
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x1800cdf18
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1800cdc30
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1800cdeeb
jmp 0x1800cdf18
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800cdf16
jmp 0x1800cdf18
jmp 0x1800cdebc
cmp qword [rsp + 0x20], 0
je 0x1800cdfab
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x1800cdf4b
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x1801e6150]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x1801e6150], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1800ce750
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800ce7a9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800ce7a9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800ce7a9
xor eax, eax
jmp 0x1800ce7f0
mov dword [rsp], 1
jmp 0x1800ce7ba
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800ce7eb
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800ce7e9
xor eax, eax
jmp 0x1800ce7f0
jmp 0x1800ce7b2
mov eax, 1
add rsp, 0x18
ret
Function at 0x1800cf7f0
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 0x1800cf82a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800cf82f
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 0x1800cf878
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1800cf878
dec r8
sub rdx, 1
jne 0x1800cf85e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800d17d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov eax, gethostname
movaps xmmword [rsp + 0x30], xmm7
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm8
mov rbx, rcx
movsd xmm8, qword [0x1801099d8]
cvtsi2sd xmm6, rax
test rax, rax
jns 0x1800d1809
addsd xmm6, xmm8
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_log2]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm6, qword [0x1801896d8]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm7, xmm7
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x1800d1943
mov qword [rsp + 0x60], rbp
movabs rbp, 0x38eb3ffff6d3
mov qword [rsp + 0x68], rsi
movabs rsi, 0xb5026f5aa96619e9
mov qword [rsp + 0x70], rdi
mov edi, eax
mov eax, dword [rbx]
cmp eax, 0x138
jne 0x1800d18bc
lea r8, [rbx + 0x10]
mov r9d, eax
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1800d1880
jmp 0x1800d18cb
cmp eax, 0x270
jb 0x1800d18cb
mov rcx, rbx
call fcn.1800d2bb0
mov eax, dword [rbx]
xorps xmm1, xmm1
mov rcx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rax, rcx
shr rax, 0x1d
and rax, qword [rbx + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rbp
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, rcx
shr rax, 0x2b
xor rax, rcx
cvtsi2sd xmm1, rax
jns 0x1800d191d
addsd xmm1, xmm8
mulsd xmm1, xmm6
mulsd xmm6, xmm8
addsd xmm7, xmm1
sub rdi, 1
jne 0x1800d1865
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x20]
divsd xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
Function at 0x1800d2bb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
lea r9, [rcx + 0x9c8]
movabs rbx, 0xb5026f5aa96619e9
mov r11d, 0x9c
nop
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 + 0x4d8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1800d2bd0
lea r9, [r10 + 0xea8]
mov r11d, 0x9b
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 - 0xea8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1800d2c20
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], r11d
ret
Function at 0x1800d3750
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rbx, rdx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rax, [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1800d37ff
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_opening_Steam_key_n
jmp 0x1800d38c7
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1800d38b5
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jb 0x1800d38b5
shr ecx, 1
je 0x1800d3873
lea rax, [rsp + 0xc0]
lea edx, [rbx + 0x5c]
nop
cmp word [rax], 0x2f
jne 0x1800d3869
mov word [rax], dx
add rax, 2
sub rcx, 1
jne 0x1800d3860
lea rax, [rsp + 0x40]
mov edx, 0x800
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2d0]
call fcn.1800d35e0
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.1800d3240
jmp 0x1800d38cf
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.1800d38f0
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1800d0330
add rsp, 0xae0
pop rbx
ret
Function at 0x1800d39d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18019d440]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x180109c30]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x180109c34]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x180109c18]
mov word [rsp + 0x6c], ax
mov eax, Ordinal_50
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x180109c28]
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0xc0000000
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x6a], ax
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1800d3ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1800d3a88
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x1800d3af7
inc ax
mov word [rsp + 0x6a], ax
jmp 0x1800d3aa3
cmp eax, 0xe7
jne 0x1800d3af7
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1800d3af7
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1800d3a68
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800d0330
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x1800d3ad9

Function at 0x1800d3b00
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1800d3b20
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x1800d3b16
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800d3b16
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbp
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1800d3bab
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jb 0x1800d3bc0
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov r8d, edi
mov dword [rsp + 0x68], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1800d3b94
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.1800d3940
mov rbp, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], bpl
xor al, al
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800d3bd0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test r8, r8
jne 0x1800d3be6
mov al, 1
add rsp, 0x30
pop rdi
ret
test rcx, rcx
jne 0x1800d3bf3
xor al, al
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800d3beb
test rdx, rdx
je 0x1800d3beb
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1800d3c2a
cmp dword [rsp + 0x50], edi
jne 0x1800d3c2a
mov ebx, eax
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14108c5fb
Capabilities:
Encode data using xor

Disassembly:
rcr dword [rdx + 0x37], 0x1f
pop rbx
adc al, 0x43
je 0x14108c653
invalid
add bh, bh
je 0x14108c622
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x30]
call fcn.141582291
sbb byte [rbp + 0x24648d48], bl
xor al, ch
xchg dword [rdi + rcx*2], ebx
stosd dword [rdi], eax
mul eax
je 0x14108c5fa
add al, al
mov edx, 0xd1a7627
invalid
outsd dx, dword [rsi]
cmp eax, 0x470f9d93
loopne 0x14108c5d5
invalid
loop 0x14108c673
rol dword [rdi + 0x316ffd7d], 0x32
xchg esp, eax
invalid
cmpsb byte [rsi], byte [rdi]
pop rbp
insd dword [rdi], dx
invalid

Function at 0x1411e37ee
Capabilities:
Encode data using xor

Disassembly:
invalid
mov qword [rsp], 0x40ffe88b
call fcn.1415ce618
jns 0x1411e3789
mov bl, 0x29
cmc
imul eax, edi, 0x32df256b
outsd dx, dword [rsi]
adc bh, byte [rdx]
out dx, eax
or eax, 0x49cbc585
ja 0x1411e385b
xlatb
push rbx
invalid
push rbp
xchg dword [rax - 0x34], esi
lodsb al, byte [rsi]
test byte [rsi + rdx*2 + 0x3c], bh
cmpsd dword [rsi], dword [rdi]
invalid
xor al, 0x6d
lodsb al, byte [rsi]
push r11
jno 0x1411e38cb
fadd dword [rsi + rdi]
push rdi
rcl ch, 0xab
mov edi, 0xc51ac46a
pushfq
xor ebp, 0x348faa9c
je 0x1411e38e5
insd dword [rdi], dx
fistp word [rdi + rbp*4 + 0x3c]
jle 0x1411e3801
jl 0x1411e3821
push rsi
invalid
cmp bl, ah
xlatb
out 0xf, al
cmpsd dword [rsi], dword [rdi]
mov eax, cs
movabs dword [0xc82cce32fb450f9f], eax
js 0x1411e3877
xor ecx, dword [rsi]
jmp 0xe171c539
invalid

Function at 0x14152e263
Capabilities:
Encode data using base64

Disassembly:
mov r10d, dword [rbx + rbp*8 - 0x2dd60c28]
mov qword [rsp + r9 - 0xbd21], r9
movsx eax, byte [rsp + r9*2 - 0x17a41]
push rbp
lea rbx, [rbx + r9*8 - 0x5e904]
xor r10d, edi
shl byte [rsp + r9*4 - 0x2f480], 0xa2
lea r11, [rbp + rdx*8 - 0x6afc61f5]
ror r10d, 3
call fcn.141523f10
mov eax, 0xbbb8ceb2
movsx r14d, al
mov rsp, rsi
mov r15d, r14d
pop rbx
push r15
mov r8d, r15d
movsx r12d, byte [rsp + 1]
mov r13, qword [rsp + 8]
lea r9, [r15 + r14*2 - 0x245e677b]
mov r12, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x18], 0xffffffffb78ec399
movzx ebp, r9b
mov r15, qword [rsp + rbp - 0x73]
mov rsi, qword [rsp + rbp*2 - 0x106]
mov r11d, 0x6e3f179e
mov qword [rsp + rbp*2 - 0x106], 0x1137ad08
pop r10
mov r11, qword [rsp + rbp - 0x6b]
call fcn.1415f29bb
sal cl, 1
inc rdx
neg r9d
not r11
push rbx
push rdi
xor dword [rsp + rcx + 8], r9d
mov rbx, qword [rsp + rcx + 8]
and word [rsp + rcx*4 + 3], dx
dec edx
lea rsi, [rsi + rcx*4 - 4]
jne 0x141560cdb
ror r10d, 1
xchg byte [rsp + rdx*8 - 0x377], dl
bswap r10d
jmp 0x1415d87f8
jo 0x1415ed496
mov dword [rcx + rsi], r9d
xor dx, dx
cmovno bp, r11w
sal dx, 0x24
pop r9
pop rbp
je fcn.1415aa8e8
dec eax
mov esi, eax
mov qword [rsp + rdx - 0x21], rbp
xor dword [rsp + rdx*8 - 0x108], r10d
movzx ecx, sil
jmp 0x14154e1fd

Function at 0x141545849
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
std
inc dword [rdx + 0x31]
invalid
invalid
test byte [rdx + rdi*8], cl
cmpsd dword [rsi], dword [rdi]
invalid
Function at 0x14155fa5b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + rcx*2 - 0x4d5a0a00], r10
neg ebp
pop r9
lea ebp, [rbp + rcx - 0x756b2519]
inc rcx
sar r9b, 1
call fcn.1415863c8
adc eax, ebx
and ecx, ecx
sub sil, 0x8a
mov dword [rbp + rsi - 0x8432], eax
movzx ebx, dil
xadd ebx, edi
sub bx, di
lea r8, [rsi + r8 - 0x8436]
jnp 0x1415ab41c
call fcn.1415c7b55
Function at 0x14158efbf
Capabilities:
Execute anti-debugging instructions

Disassembly:
sar bpl, 0x86
xor dil, cl
xor rbp, rbp
mov qword [rsp + rbp*4 + 0x20], rbx
jb 0x14157ff65
mov qword [rsp + rbp*2 + 0x18], rsi
lea rbx, [rbp + rbp*4 - 0x76c2ebda]
dec rbp
mov qword [rsp + rbp*2 + 0x12], rdi
mov qword [rsp + rbp + 1], rbp
lea rbp, [rdx*2 - 0x5b4f3ad0]
mov rbp, r8
call fcn.14154d537
mov r8d, 0x4887e188
movsx eax, r8w
lea r9, [r8 + r9 - 0x4887e184]
sar r8, 0x2f
ror al, 0x42
xor ecx, ebp
dec ecx
rol ecx, 1
sal rax, 0x98
inc ecx
rol r8w, 0xa1
sal r8w, 0x27
bswap ecx
push rbp
xor dword [rsp + r8], ecx
or al, 0xa6
pop rbp
inc ax
rol ax, 1
neg r8d
movsxd rcx, ecx
adc r11, rcx
and al, ah
cmovle r8d, eax
mov rax, qword [rbx + r8*2 - 0x44000200]
sal r8, 0x85
mov r8, qword [rbx + 8]
push 0x6284cc31
shl byte [rsp + 5], 2
adc rbx, 0xc
shl dword [rsp + 2], 0x58
or word [rsp + 5], 0x9929
xor r10d, r10d
test r8, r8
lea rsp, [rsp + 8]
je 0x14155d9fc
mov esi, 0xad123b8e
ror rsi, 0x41
call fcn.141526883
mov edi, 0xb034c230
mov r10d, dword [r9]
lea r8, [rdi - 0x61e47048]
lea r9, [r8 + r9 - 0x4e5051e4]
movzx edx, r8w
inc edi
xor r10d, ebp
lea r10d, [r10 + rdi - 0xc94711e]
bswap r10d
push rdx
rol r10d, 1
xadd rdx, r8
xadd r8d, edx
bswap r10d
lea rax, [rdx + rdx - 0x2363ddcc]
movsx esi, dil
mov qword [rsp + r8 - 0x4e50f5b8], rbp
xor dword [rsp + rdx - 0x51e8], r10d
movsx ecx, al
push rcx
mov rbp, qword [rsp + rdx - 0x51e0]
dec rdx
movsxd r10, r10d
add r11, r10
call fcn.1415f795b

Function at 0x14159a216
Capabilities:
Parse pe header

Disassembly:
jmp 0x1415b6cd5
ror r10b, 1
movzx esi, cx
neg r10b
jmp 0x141551101
mov qword [rsp], 0xfffffffff02c159d
shr rdi, cl
movzx r10d, byte [r8 + rdi]
not qword [rsp + rdi]
xor r10b, r11b
neg dword [rsp + rdi*2 + 4]
inc r10b
sar edx, cl
jne 0x141577951
cmp ebx, 3
jne 0x1415f5199
push 0xffffffff97a41687
mov r8d, 0x83b0a92d
mov r8, rax
push 0xffffffffc03a389e
lea rsp, [rsp + 0x10]
jmp 0x1416019a9
add r10b, 0x26
or cl, 0xab
xor r11b, r10b
dec word [rsp + rdi]
or byte [rsp + rdi], sil
lea r10, [rsp + r10 + 8]
lea rax, [rcx + rdi + 0x7fa767b5]
sar dx, 0xee
shl rdx, 0xe9
mov rcx, qword [r10 + rdi]
lea rdi, [rdx*8 - 0x5644264d]
movsx ebx, ax
lea rbp, [rbp + rdx - 8]
xor dil, dil
rol di, 0x86
mov qword [rdi + rbp + 0x5644bfca], rcx
pop rax
je fcn.141595ac9
push 0xffffffff982cb734
call fcn.141537a7d
call fcn.1415ea327