joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008a10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400ef040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebx, dword [0x1400eff0c]
cmp dword [0x1400f0188], 0
jne 0x140008a94
cmp dword [0x1400f018c], 0
jne 0x140008a94
movups xmm0, xmmword [0x1400f0154]
movaps xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x60], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov r8d, 0x26
lea rdx, str.You_are_a_unique_star_in_the_universe.
lea rcx, [rsp + 0x60]
call fcn.1400ddce0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.140008120
xor edi, edi
test ebx, ebx
je 0x140008ad2
mov rcx, qword [0x1400f0180]
mov dword [rsp + 0x40], 0x5a0049
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rcx
mov eax, dword [0x1400f017c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400f0178]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov rax, qword [0x1400f0180]
mov qword [rsp + 0x28], rax
mov eax, dword [0x1400f017c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1400f0178]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1400f0170]
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008b34
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008b57
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140008ba8
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400f0188]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x1400f0190]
mov rcx, qword [0x1400f0168]
call qword [sym.imp.USER32.dll_GetWindowRect]
inc dword [0x1400efe1c]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400f04dc], ecx
jle 0x140008c1b
lea rcx, [0x1400f04dc]
call fcn.1400deee4
cmp dword [0x1400f04dc], 0xffffffff
jne 0x140008c1b
mov dword [0x1400f1104], ebx
lea rcx, [0x1400f04dc]
call fcn.1400dee78
mov eax, dword [0x1400f1104]
add eax, 0x3e8
cmp ebx, eax
jl 0x140008c42
mov dword [0x1400f1104], ebx
mov eax, dword [0x1400efe1c]
mov dword [0x1400f01a0], eax
mov dword [0x1400efe1c], edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400dee50
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x140008de0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400ef040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140008e32
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [0x1400f0188]
mov qword [rsp + 0x70], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x1400f0168]
lea rdx, [0x1400f0190]
call qword [sym.imp.USER32.dll_GetWindowRect]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400f0168]
jne 0x140009014
cmp dword [0x1400f01a4], 0
jne 0x140008ed1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008ed1
cmp dword [0x1400f11ac], 0
jne 0x140008ede
cmp dword [0x1400f052c], 0
je 0x140008ec2
mov eax, dword [0x1400f018c]
sub eax, dword [0x1400f0194]
mov ecx, dword [0x1400f0188]
sub ecx, dword [0x1400f0190]
mov dword [0x1400efe2c], eax
xor eax, eax
mov dword [0x1400f052c], eax
mov dword [0x1400efe28], ecx
mov dword [0x1400f11ac], 1
jmp 0x14000901f
cmp dword [0x1400f11ac], 0
je 0x140008fbb
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008fbb
mov eax, dword [0x1400f019c]
mov r9d, dword [0x1400f0198]
mov r8d, dword [0x1400f018c]
mov edx, dword [0x1400f0188]
sub eax, dword [0x1400f0194]
sub r9d, dword [0x1400f0190]
sub r8d, dword [0x1400efe2c]
sub edx, dword [0x1400efe28]
mov rcx, qword [0x1400f0168]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov dword [0x1400f01a4], 1
mov dword [0x1400f01ac], 1
call qword [sym.imp.USER32.dll_MoveWindow]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword gs:[0x58]
mov rbx, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400f0558], ecx
jle 0x140008f9f
lea rcx, [0x1400f0558]
call fcn.1400deee4
cmp dword [0x1400f0558], 0xffffffff
jne 0x140008f9f
lea rcx, [0x1400f0558]
mov dword [0x1400f047c], ebx
call fcn.1400dee78
mov eax, ebx
sub eax, dword [0x1400f047c]
cmp eax, 0x64
jl 0x140008fb4
mov dword [0x1400f047c], ebx
jmp 0x14000901f
mov eax, 1
jmp 0x140009021
xor eax, eax
mov dword [0x1400f052c], 1
cmp dword [0x1400f01a8], eax
mov dword [0x1400f11ac], eax
mov dword [0x1400f01a4], eax
mov dword [0x1400f01ac], eax
jne 0x140008fff
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140008ff8
mov ecx, 1
jmp 0x140009019
mov ecx, 3
jmp 0x140009019
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x50
call fcn.14004a9b0
jmp 0x14000901f
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400dee50
add rsp, 0x78
ret
Function at 0x14001d5a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rbx, rcx
mov rcx, qword [0x1400f0050]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x14001d7d8
lea r9, [0x1400f0040]
cmp qword [0x1400f0058], 0xf
cmova r9, qword [0x1400f0040]
mov qword [rsp + 0x30], 1
lea rax, [0x1400e2014]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x37]
call fcn.1400de310
mov rdx, rbx
lea rcx, [rbp + 0x37]
call fcn.140049590
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x27], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..cfg
lea rcx, [rbp + 0x17]
call fcn.14004a070
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14001d6e0
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d6db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d76b
call fcn.1400dee70
movdqa xmm0, xmmword [0x1400e7b00]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14001d730
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d76b
call fcn.1400dee70
movdqa xmm0, xmmword [0x1400e7b00]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0xf
jbe 0x14001d777
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d772
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d772
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dee70
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14001d7ad
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001d7a8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001d7d1
mov rcx, r8
call fcn.1400dee70
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001700
int3
Function at 0x140048430
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140048458
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14004847e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140048480
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400484d9
test ecx, ecx
jle 0x1400484b9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400484d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400484d9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140048500
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140048522
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140048538
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140048554
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140048556
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140048592
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004862e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400485cd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14004860e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14004862e
cmp rbx, rax
ja 0x1400485e0
test rbx, rbx
je 0x14004862e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140048a90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ef040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140048abd
xor eax, eax
jmp 0x140048c29
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140048af7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140048af7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140048c29
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140048c1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140048b3a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140048b65
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140048c21
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140048bd4
sub eax, 1
je 0x140048bd4
cmp eax, 2
jne 0x140048c1c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140048c21
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140048c02
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140048c1c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140048c21
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400dee50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140049c20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400ef040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140049cf3
cmp byte [rcx + 0x71], 0
je 0x140049cf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140049cef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140049cb4
sub eax, 1
je 0x140049cb8
cmp eax, 2
jne 0x140049cef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dee50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140049ce6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140049cef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140049c9c
xor al, al
jmp 0x140049c9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dee50
add rsp, 0x60
pop rbx
ret
Function at 0x1400dfb54
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140017c70
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 0x140011460
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018fc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018fe0
xor al, al
jmp 0x140019061
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018ff3
xor al, al
jmp 0x140019061
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 0x14001901d
xor al, al
jmp 0x140019061
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019031
xor al, al
jmp 0x140019061
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019043
xor al, al
jmp 0x140019061
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001905f
xor al, al
jmp 0x140019061
mov al, 1
add rsp, 0x38
ret
Function at 0x140016dc0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001164f
movzx eax, al
test eax, eax
jne 0x140016de0
mov ecx, 7
call fcn.140011537
nop
mov byte [rsp + 0x20], 0
call fcn.140011573
mov byte [rsp + 0x21], al
cmp dword [0x140024b78], 1
jne 0x140016e04
mov ecx, 7
call fcn.140011537
nop
jmp 0x140016e5c
cmp dword [0x140024b78], 0
jne 0x140016e57
mov dword [0x140024b78], 1
lea rdx, [0x14001f660]
lea rcx, [0x14001f330]
call fcn.1400112f8
test eax, eax
je 0x140016e38
mov eax, 0xff
jmp 0x140016f61
lea rdx, [0x14001f220]
lea rcx, [section..rdata]
call fcn.14001155f
mov dword [0x140024b78], 2
jmp 0x140016e5c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011523
call fcn.140011488
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140016eb9
mov rcx, qword [rsp + 0x30]
call fcn.140011267
movzx eax, al
test eax, eax
je 0x140016eb9
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 [0x14002b020]
nop
call fcn.1400114ce
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140016eed
mov rcx, qword [rsp + 0x38]
call fcn.140011267
movzx eax, al
test eax, eax
je 0x140016eed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115f5
nop
call fcn.140017010
mov dword [rsp + 0x28], eax
call fcn.140011460
movzx eax, al
test eax, eax
jne 0x140016f0c
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140016f1b
call fcn.140011604
nop
xor edx, edx
mov cl, 1
call fcn.14001123f
mov eax, dword [rsp + 0x28]
jmp 0x140016f61
add rsp, 0x68
ret
Function at 0x140001410
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp], dl
add dl, dl
mov byte [rsp + 0x80], r9b
mov byte [rsp + 0x88], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x78], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp + 1], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x78], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp]
add al, al
movzx ecx, byte [rsp + 0x78]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x88]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
movzx esi, byte [rsp + 0x80]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp + 1]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140001440
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret