joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ab60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005ab6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005ab7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005ab65
lea eax, [rcx + 1]
jmp 0x14005ab8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005ab9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005ab84
sub eax, 3
jb 0x14005abbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005ac0d
sar eax, 1
movsxd rbp, eax
jb 0x14005abf4
jmp 0x14005abcc
add ebx, ebx
jne 0x14005abca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005abf4
inc ecx
add ebx, ebx
jne 0x14005abda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005abf4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005abed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005abdc
add ecx, 2
jmp 0x14005abf9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005ab22
jmp 0x14005ab6d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x36a00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005ac5d
cmp rsi, rcx
jae 0x14005ac65
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005ac44
cmp al, 0x8f
ja 0x14005ac44
cmp byte [rsi - 2], 0xf
je 0x14005ac4a
sub al, 0xe8
cmp al, 1
ja 0x14005ac2e
cmp rsi, rcx
jae 0x14005ac65
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005ac34
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005ac65
lodsb al, byte [rsi]
jmp 0x14005ac44
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x57000]
mov eax, dword [rdi]
or eax, eax
je 0x14005acc2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5b3e8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005ac72
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14005acbc
mov qword [rbx], rax
add rbx, 8
jmp 0x14005ac92
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14005acfc
cmp al, 0xef
ja 0x14005acee
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005acce
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005acdd
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14005ad7b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14005ad7b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14005ad6b
sub rsp, 0xffffffffffffff80
jmp 0x140016df0
Function at 0x1407db210
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407db397
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 0x1407db241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407db227
add dl, dl
jne 0x1407db24e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407db2ae
xor eax, eax
add dl, dl
jne 0x1407db25d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407db365
add dl, dl
jne 0x1407db26e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407db27b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407db288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407db295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407db2a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407db236
mov eax, 1
add dl, dl
jne 0x1407db2be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407db2cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407db2b3
sub eax, ebx
mov ebx, 1
jne 0x1407db304
mov ecx, 1
add dl, dl
jne 0x1407db2e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407db2f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407db2db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407db236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407db320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407db32d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407db315
cmp eax, 0x7d00
jae 0x1407db353
cmp eax, 0x500
jb 0x1407db34e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407db236
cmp eax, 0x7f
ja 0x1407db356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407db236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407db38a
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 0x1407db236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001410
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140001260
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000ac20
add rsp, 0x250
pop rbx
ret
Function at 0x14000a110
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6e], 0
mov rdx, rcx
je 0x14000a136
xor eax, eax
mov r8d, 0x27bb
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x36
jb 0x14000a121
mov byte [rdx + 0x6e], 0
mov rax, rdx
ret

Function at 0x14000a140
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x68], 0
mov rdx, rcx
je 0x14000a166
xor eax, eax
mov r8d, 0x27bb
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x33
jb 0x14000a151
mov byte [rdx + 0x68], 0
mov rax, rdx
ret

Function at 0x14000a170
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6a], 0
mov rdx, rcx
je 0x14000a196
xor eax, eax
mov r8d, 0x27bb
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x34
jb 0x14000a181
mov byte [rdx + 0x6a], 0
mov rax, rdx
ret

Function at 0x14000a1a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x64], 0
mov rdx, rcx
je 0x14000a1c6
xor eax, eax
mov r8d, 0x27bb
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x31
jb 0x14000a1b1
mov byte [rdx + 0x64], 0
mov rax, rdx
ret

Function at 0x14000a1d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x72], 0
mov rdx, rcx
je 0x14000a1f6
xor eax, eax
mov r8d, 0x27bb
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x38
jb 0x14000a1e1
mov byte [rdx + 0x72], 0
mov rax, rdx
ret

Function at 0x14000a200
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
mov rdx, rcx
je 0x14000a226
xor eax, eax
mov r8d, 0x27bb
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x35
jb 0x14000a211
mov byte [rdx + 0x6c], 0
mov rax, rdx
ret

Function at 0x14000b594
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b5de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b5de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b5de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b5de
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b5de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b5e0
xor al, al
add rsp, 0x28
ret
Function at 0x1400a76c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x1400a76fc
je 0x1400a76fb
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x140166010]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x1400a76e0
ret
int3

Function at 0x1400a8cb8
Capabilities:
Parse pe header

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

Function at 0x1400a91d0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400a9248
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400a9248
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400a9248
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400a923c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400a925a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400a922a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400a924a

Function at 0x1400b7ea8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400b7edf
call fcn.1400bb1d4
mov dword [rax], 0x16
call fcn.1400bcb6c
xor eax, eax
jmp 0x1400b7f6d
mov rdx, r9
mov rcx, r8
call fcn.1400b7f90
mov rbx, rax
test rax, rax
je 0x1400b7f6a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b8000]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400b7f57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400bb214
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b7f3e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b7f4d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14007c220
jmp 0x1400b7f6a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b7f67
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b80d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400b821c
Function at 0x1400011c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 4]
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov esi, 0x20
mov eax, dword [rsi + rbx]
mov r12d, 0x30
test al, 1
jne 0x140001259
or eax, 1
mov dword [rsi + rbx], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov r9d, r12d
add r9, rbx
mov dword [r9 + 0x1384], 0xffffffff
mov dword [r9 + 4], eax
lea ecx, [rbp + 1]
lea r8, [r9 + 8]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140001230
mov dword [r9], 0x270
mov eax, dword [rsi + rbx]
mov ecx, 0x10
test al, 2
jne 0x140001278
or eax, 2
mov dword [rsi + rbx], eax
mov qword [rbx + rcx], rbp
mov qword [rbx + rcx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rbx + rcx]
mov eax, r12d
add rbx, rax
lea r12, str.0123456789ABCDEF
nop word [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x1400012e5
mov rcx, rbx
call fcn.140014f60
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.140014f60
mov eax, eax
or rsi, rax
jmp 0x1400012f5
inc rdx
lea rcx, [rsp + 0x28]
call fcn.140014db0
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000132a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14000131f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001332
mov rcx, rdi
call fcn.1400145f0
test r14, r14
jne 0x1400012b0
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140013e30
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 0xffffffec
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rbx
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r9d, 2
mov r8b, 0xd2
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n__1__Perm_Spoof_n__2__check_serials_n_n__
call fcn.1400143e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rsp + 0x20]
sub ecx, 1
je 0x140013f1d
cmp ecx, 1
je 0x140013ef3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Invalid_choice.
call fcn.1400143e0
mov rcx, rax
lea rdx, [0x1400145b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140013e30
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015100
add rsp, 0x30
pop rbx
ret
call fcn.140001360
lea rcx, [0x140017444]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140013e30
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015100
add rsp, 0x30
pop rbx
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Please_wait_while_we_spoof_your_pc...
call fcn.1400143e0
mov rcx, rax
lea rdx, [0x1400145b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400017b0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015100
add rsp, 0x30
pop rbx
ret
Function at 0x140013f60
Capabilities:
Execute command
Set console window title

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
mov edx, 0xffffffec
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r9d, 2
mov r8b, 0xd2
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x20
call fcn.140015120
mov rcx, rax
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [0x14001abe0]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [str.Free_ZeroGravity_Perm]
movups xmmword [rax], xmm1
mov eax, dword [0x1400174d0]
mov dword [rcx + 0x10], eax
movzx eax, byte [0x1400174d4]
mov byte [rcx + 0x14], al
mov byte [rcx + 0x15], 0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [0x140017444]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140013e30
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140014060
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001405b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001405b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015308
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140015100
add rsp, 0x50
pop rbx
ret
Function at 0x140014f60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140014fc1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140014f80
mov ecx, dword [r9]
jmp 0x1400150ab
cmp ecx, 0x4e0
jb 0x1400150ab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140014fe0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140015030
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140015c28
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002702
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002702
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_TerminateProcess
jne 0x140002702
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002702
cmp dword [rcx + 0x84], 0xe
jbe 0x140002702
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002704
xor al, al
add rsp, 0x28
ret
Function at 0x140058ac0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140058acd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140058add
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140058ac5
lea eax, [rcx + 1]
jmp 0x140058aeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140058afe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140058ae4
sub eax, 3
jb 0x140058b1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140058b6d
sar eax, 1
movsxd rbp, eax
jb 0x140058b54
jmp 0x140058b2c
add ebx, ebx
jne 0x140058b2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140058b54
inc ecx
add ebx, ebx
jne 0x140058b3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140058b54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140058b4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140058b3c
add ecx, 2
jmp 0x140058b59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140058a82
jmp 0x140058acd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2d000
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140058bbd
cmp rsi, rcx
jae 0x140058bc5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140058ba4
cmp al, 0x8f
ja 0x140058ba4
cmp byte [rsi - 2], 0xf
je 0x140058baa
sub al, 0xe8
cmp al, 1
ja 0x140058b8e
cmp rsi, rcx
jae 0x140058bc5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140058b94
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140058bc5
lodsb al, byte [rsi]
jmp 0x140058ba4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x56000]
mov eax, dword [rdi]
or eax, eax
je 0x140058c22
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x58b30]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140058bd2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140058c1c
mov qword [rbx], rax
add rbx, 8
jmp 0x140058bf2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140058c5c
cmp al, 0xef
ja 0x140058c4e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140058c2e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140058c3d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140058cb0
sub rsp, 0xffffffffffffff80
jmp 0x140013ff0