joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078090
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400780c5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 0x10]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x20]
lea rdx, [rdi + rdi]
call fcn.140002ad0
lea rax, [rdi - 1]
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x40], rax
mov rax, qword [rsi + 0x10]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140078234
mov qword [rsp + 0x20], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x40]
shl r11, 4
add r11, qword [rsi + 0x28]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400781a9
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140078223
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400781e6
mov r10, qword [rdx]
cmp r10, rax
je 0x1400781e0
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140078223
cmp r9, rdx
je 0x1400781ff
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140078240
cmp r9, rdx
jne 0x1400781f0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140078130
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140078223
Function at 0x140078300
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
call fcn.1400793c0
mov qword [0x140490bf8], rax
test rax, rax
je 0x1400784bc
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400783b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400783b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x82de5711
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400783b2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140078390
cmp r8d, 0xcbf87222
je 0x1400783bc
test r9d, r9d
jne 0x140078370
mov rax, qword [rax]
jmp 0x140078340
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x140490c08]
mov rcx, qword [0x140490bf8]
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140078477
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140078477
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7ddc109b
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140078472
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140078450
cmp r8d, 0x463a3478
je 0x14007847c
test r9d, r9d
jne 0x140078430
mov rax, qword [rax]
jmp 0x140078400
mov ecx, dword [rbx + 0x24]
lea r8, [0x140490c08]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov r9d, 2
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor edx, edx
mov rcx, qword [0x140490bf8]
add rax, r10
call rax
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov byte [0x140490b79], 1
add rsp, 0x28
ret
Function at 0x1400793c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140283040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov ebx, ecx
xor esi, esi
mov qword [rbp - 1], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rsi
mov ecx, 0x10
call fcn.14007b840
mov qword [rax + 8], rsi
mov qword [rbp - 1], rax
lea rcx, [rbp - 1]
mov qword [rax], rcx
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], si
mov dword [rbp - 9], ebx
movabs rdx, 0x2247bce4c113955f
mov qword [rbp - 0x29], rdx
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x19], rax
movabs rcx, 0xe05dec6114dc5330
mov qword [rbp - 0x29], rcx
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], rdx
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x29], rcx
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [rbp - 0x19]
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x19], xmm0
lea rax, [rbp - 0x19]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140079490
cmp rdx, 7
ja 0x1400794bf
mov qword [rbp + 0x17], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx + 7], si
jmp 0x1400794cc
lea r9, [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.14007a040
mov qword [rbp + 0x27], rsi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140079566
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140079566
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x80206d35
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140079561
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140079540
cmp r8d, 0xe6fe5c0d
je 0x14007956b
test r9d, r9d
jne 0x140079520
mov rax, qword [rax]
jmp 0x1400794f0
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rbp - 9]
lea rcx, [0x140079080]
call r8
mov rbx, qword [rbp + 0x27]
lea rcx, [rbp - 1]
call fcn.140029680
mov rcx, qword [rbp - 1]
mov qword [rbp - 1], rsi
mov edx, 0x10
call fcn.14007bac4
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14007b820
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14007b264
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 0x14007b29e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007b2a3
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 0x14007b2ec
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140080890]
cmp byte [rcx + rax], 0
je 0x14007b2ec
dec r8
sub rdx, 1
jne 0x14007b2d2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14007c538
Capabilities:
Parse pe header

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

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140007008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140007008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140007008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140007008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140011140
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011830
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1400230a1]
call fcn.1400113b1
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400111cc
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x1400118a0
mov eax, dword [rbp + 4]
jmp 0x140011925
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011253
cmp eax, 1
jne 0x140011917
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400118e6
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x140011917
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011366
cmp eax, 1
jne 0x140011917
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140011915
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x140011917
jmp 0x1400118e6
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac00]
call fcn.140011343
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x140011226
Capabilities:
Terminate process

Disassembly:
jmp 0x140013110
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400112a3
Capabilities:
Allocate or change rwx memory
Set global application hook

Disassembly:
jmp 0x1400119b0
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x258], rax
lea rcx, [0x1400230a1]
call fcn.1400113b1
nop
lea rcx, str.RobloxPlayerBeta.exe
call fcn.140011140
mov dword [rbp + 4], eax
mov r8d, dword [rbp + 4]
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
lea rdx, str.Roblox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0x48], rax
lea rcx, str.Wintrust.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x68], rax
lea rdx, str.WinVerifyTrust
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0xa4], 0
mov byte [rbp + 0xc4], 0x31
mov byte [rbp + 0xc5], 0xc0
mov byte [rbp + 0xc6], 0xc3
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, 3
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8, [rbp + 0xc4]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xa4]
mov r8d, 3
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
lea rdx, [rbp + 4]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [rbp + 0x104], eax
mov r8d, 1
xor edx, edx
lea rcx, str.Rebel.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rbp + 0x128], rax
lea rdx, str.callback
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x148], rax
mov r9d, dword [rbp + 0x104]
mov r8, qword [rbp + 0x128]
mov rdx, qword [rbp + 0x148]
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp + 0x168], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [rbp + 0x104]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x140011b9d
mov byte [rbp + 0x254], 1
jmp 0x140011ba4
mov byte [rbp + 0x254], 0
movzx eax, byte [rbp + 0x254]
mov byte [rbp + 0x184], al
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad70]
call fcn.140011343
mov eax, edi
mov rcx, qword [rbp + 0x258]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret
Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014460
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014480
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014493
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144bd
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144d1
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144e3
xor al, al
jmp 0x140014501
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144ff
xor al, al
jmp 0x140014501
mov al, 1
add rsp, 0x38
ret
Function at 0x140012340
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113d9
movzx eax, al
test eax, eax
jne 0x140012360
mov ecx, 7
call fcn.14001134d
nop
mov byte [rsp + 0x20], 0
call fcn.140011361
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012384
mov ecx, 7
call fcn.14001134d
nop
jmp 0x1400123dc
cmp dword [0x14001d868], 0
jne 0x1400123d7
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111c7
test eax, eax
je 0x1400123b8
mov eax, 0xff
jmp 0x1400124e1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011357
mov dword [0x14001d868], 2
jmp 0x1400123dc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011339
call fcn.1400112d0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012439
mov rcx, qword [rsp + 0x30]
call fcn.140011177
movzx eax, al
test eax, eax
je 0x140012439
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.140011302
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001246d
mov rcx, qword [rsp + 0x38]
call fcn.140011177
movzx eax, al
test eax, eax
je 0x14001246d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011393
nop
call fcn.140012590
mov dword [rsp + 0x28], eax
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x14001248c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001249b
call fcn.1400113a2
nop
xor edx, edx
mov cl, 1
call fcn.140011168
mov eax, dword [rsp + 0x28]
jmp 0x1400124e1
add rsp, 0x68
ret
Function at 0x140008690
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x14000889a
mov r8, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [r8 + 0xff]
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140008754
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140008710
mov ecx, dword [r10]
jmp 0x140008837
cmp ecx, 0x4e0
jb 0x140008837
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140008770
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400087c0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x1400086f0
mov r8, qword [rdi + 8]
or esi, eax
lea ecx, [r8 + 0xff]
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x1400086e0
xor edx, edx
mov eax, ebp
div r15d
mov ecx, eax
mov r8d, edx
xor edx, edx
mov eax, esi
div r15d
cmp eax, ecx
jb 0x1400088ba
cmp r8d, r14d
jne 0x1400086c0
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret