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

Disassembly:
cmp rcx, qword [0x1800b37f0]
jne 0x18003aaea
rol rcx, 0x10
test cx, 0xffff
jne 0x18003aae6
repz ret
ror rcx, 0x10
jmp 0x180041db0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800c5410]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1800c5508]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180041e35
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1800c5410]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180041e57
mov rax, qword [rsp + 0x88]
mov qword [0x1800c5508], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800c54a8], rax
mov rax, qword [0x1800c5508]
mov qword [0x1800c5380], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800c5490], rax
mov dword [0x1800c5370], 0xc0000409
mov dword [0x1800c5374], 1
mov rax, qword [0x1800b37f0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800b37f8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800c5408], eax
mov ecx, 1
call fcn.18004f4f8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18007af80]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800c5408], 0
jne 0x180041ede
mov ecx, 1
call fcn.18004f4f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180051cd0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800b37f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18004269c
xor ebx, ebx
cmp qword [0x1800c63a8], rbx
mov rdi, rax
jne 0x180051de3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180051eba
lea rdx, [0x18007d920]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180051eba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800c63a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800c63b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x18007d8d8]
mov rcx, rsi
mov qword [0x1800c63b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1800c63c8], rax
test rax, rax
je 0x180051dda
lea rdx, [0x18007d8c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1800c63c0], rax
jmp 0x180051dea
mov rax, qword [0x1800c63c0]
jmp 0x180051df1
mov rax, qword [0x1800c63c0]
mov r11, qword [0x1800c63c8]
cmp rax, rdi
je 0x180051e58
cmp r11, rdi
je 0x180051e58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1800c63c8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180051e58
test rax, rax
je 0x180051e58
call rsi
test rax, rax
je 0x180051e52
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180051e52
test byte [rsp + 0x40], 1
jne 0x180051e58
bts ebp, 0x15
jmp 0x180051e98
mov rcx, qword [0x1800c63b0]
cmp rcx, rdi
je 0x180051e98
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180051e98
call rax
mov rbx, rax
test rax, rax
je 0x180051e98
mov rcx, qword [0x1800c63b8]
cmp rcx, rdi
je 0x180051e98
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180051e98
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800c63a8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180051eba
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180051ebc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003aad0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180056bc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x1800b37f0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp dword [0x1800c6684], 0
jne 0x180056d64
lea rcx, [0x1800c6400]
mov edi, 1
mov dword [0x1800c6400], 0x114
mov dword [0x1800c6684], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor r11d, r11d
cmp dword [0x1800c6410], 2
sete r11b
mov dword [0x1800b4bcc], r11d
test r11d, r11d
je 0x180056d48
lea rcx, [0x1800c6520]
mov qword [rsp + 0x160], rbx
mov dword [0x1800c6520], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProductInfo
mov rcx, rbx
mov qword [0x1800c63f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800c6640]
mov qword [0x1800c6670], rax
mov rax, qword [0x1800c63f8]
test rax, rax
je 0x180056c9c
call rax
jmp 0x180056ca2
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1800c6524]
cmp eax, 6
jae 0x180056cbb
cmp eax, 5
jne 0x180056cd2
cmp dword [0x1800c6528], 2
jb 0x180056cd2
mov eax, dword [0x1800c63f0]
cmp word [0x1800c6640], 9
cmove eax, edi
mov dword [0x1800c63f0], eax
lea rcx, str.Ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180056d00
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1800c6678], rax
jmp 0x180056d07
mov rbx, qword [0x1800c6678]
test rbx, rbx
je 0x180056d40
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x110
call fcn.18003d9a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call rbx
mov ecx, dword [0x1800c640c]
test eax, eax
cmove ecx, dword [rsp + 0x2c]
mov dword [0x1800c640c], ecx
mov rbx, qword [rsp + 0x160]
lea rdx, [0x1800c6408]
lea rcx, [0x1800c6404]
call fcn.180056a80
call fcn.1800567c0
mov eax, edi
jmp 0x180056d69
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18003aad0
add rsp, 0x150
pop rdi
ret
Function at 0x180058e30
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x20
call fcn.18003dc90
sub rsp, rax
mov rbx, r8
call fcn.180058840
test eax, eax
js 0x18005906e
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x180058eb9
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x180058e70
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x18005906c
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x180000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
add r10, 0x10
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7e760]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
mov r9d, dword [rdi + rdx*4 + 0x7f360]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x7fb60]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x7ff60]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
xor r9d, dword [rdi + rcx*4 + 0x7f760]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7e760]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
mov r8d, dword [rdi + rdx*4 + 0x7f360]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x7fb60]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x7f760]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x7ff60]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7e760]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
mov r8d, dword [rdi + rdx*4 + 0x7f360]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x7fb60]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x7f760]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x7ff60]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x7e760]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
mov r8d, dword [rdi + rdx*4 + 0x7fb60]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x7f760]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x7e760]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x7f360]
movzx ecx, byte [rdi + rax*4 + 0x7e760]
xor r8d, dword [rdi + rcx*4 + 0x7ff60]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x180058ee0
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x18005a670
Capabilities:
Access the windows event log

Disassembly:
mov ebx, dword [rbp - 0x20]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.18003dc90
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x1800b37f0]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x18005a6f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x18005a6f0
lea rbx, [rbp + 0x268]
call fcn.18003c1e0
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.1800684e0
jmp 0x18005a8b8
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.18005a3c0
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18005a719
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18003dc90
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x18005a740
lea rbx, str.no_stack_
jmp 0x18005a813
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18005a789
mov rdx, rsi
test rdi, rdi
je 0x18005a789
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x18005a770
mov rdx, rsi
test rdi, rdi
je 0x18005a813
mov r10d, 0x53
lea r9, [0x180000000]
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x18005a7e2.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x18005a7e2.47
cdqe
movzx eax, byte [r9 + rax + 0x5a8f0]
mov ecx, dword [r9 + rax*4 + 0x5a8d8]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x18005a7c0
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x18005a7e2.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x18005a7e2.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x18005a7e2.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x18005a7b0
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.18003d250
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x18005a89f
call fcn.18005a540
test eax, eax
jle 0x18005a89f
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x18005a8b8
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.18003aad0
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18005a940
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.18003dc90
sub rsp, rax
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
call fcn.18005a670
add rsp, 0x28
jmp fcn.180041cc0
Function at 0x1800682e0
Capabilities:
Encode data using base64

Disassembly:
mov rax, r8
mov r8d, edx
mov rdx, rcx
mov rcx, rax
jmp 0x180069730
mov eax, 8
call fcn.18003dc90
sub rsp, rax
xor r11d, r11d
mov r9, rcx
test r8d, r8d
jle 0x18006983d
mov qword [rsp], rbx
lea r10, [rdx + 1]
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax + rax]
movzx ecx, byte [r10 - 1]
cmp r8d, 3
jl 0x1800697bf
movzx eax, byte [r10]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov edx, ecx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
mov eax, ecx
shr rax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 2], al
movzx eax, byte [rdx + rbx]
mov byte [r9 + 3], al
jmp 0x180069814
shl ecx, 0x10
cmp r8d, 2
jne 0x1800697d1
movzx eax, byte [r10]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
cmp r8d, 1
jne 0x180069800
lea eax, [r8 + 0x3c]
jmp 0x18006980b
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
sub r8d, 3
add r9, 4
add r11d, 4
add r10, 3
test r8d, r8d
jg 0x180069760
mov rbx, qword [rsp]
mov byte [r9], 0
mov eax, r11d
add rsp, 8
ret
mov byte [rcx], r11b
mov eax, r11d
add rsp, 8
ret

Function at 0x180069730
Capabilities:
Encode data using base64

Disassembly:
mov rax, r8
mov r8d, edx
mov rdx, rcx
mov rcx, rax
jmp 0x180069730
mov eax, 8
call fcn.18003dc90
sub rsp, rax
xor r11d, r11d
mov r9, rcx
test r8d, r8d
jle 0x18006983d
mov qword [rsp], rbx
lea r10, [rdx + 1]
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop dword [rax + rax]
movzx ecx, byte [r10 - 1]
cmp r8d, 3
jl 0x1800697bf
movzx eax, byte [r10]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov edx, ecx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
mov eax, ecx
shr rax, 6
and eax, 0x3f
and edx, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 2], al
movzx eax, byte [rdx + rbx]
mov byte [r9 + 3], al
jmp 0x180069814
shl ecx, 0x10
cmp r8d, 2
jne 0x1800697d1
movzx eax, byte [r10]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
cmp r8d, 1
jne 0x180069800
lea eax, [r8 + 0x3c]
jmp 0x18006980b
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
sub r8d, 3
add r9, 4
add r11d, 4
add r10, 3
test r8d, r8d
jg 0x180069760
mov rbx, qword [rsp]
mov byte [r9], 0
mov eax, r11d
add rsp, 8
ret
mov byte [rcx], r11b
mov eax, r11d
add rsp, 8
ret
Function at 0x18006c5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.18003dc90
sub rsp, rax
mov rax, qword [0x1800b37f0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x18006c76c
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x18006c708
lea r8d, [rbx + 1]
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.180069c90
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x18006c6a2
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x18006c76c
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18003aad0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001130
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov ecx, 0xfffffff5
mov ebp, 0xf
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bp
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140001000
lea r14d, [rbp - 4]
lea rdi, [0x140000000]
nop dword [rax]
mov ebx, 0x60
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140001236
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r14w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea eax, [rbx - 0x60]
cmp eax, 5
ja case.default.0x1400011d8
lea eax, [rbx - 0x60]
movsxd rcx, eax
mov eax, dword [rdi + rcx*4 + 0x12ac]
add rax, rdi
jmp rax
lea rdx, [0x1400032d0]
jmp 0x14000120e
lea rdx, [0x1400032e0]
jmp 0x14000120e
lea rdx, [0x1400032f0]
jmp 0x14000120e
lea rdx, [0x140003308]
jmp 0x14000120e
lea rdx, [0x140003320]
jmp 0x14000120e
lea rdx, [0x140003338]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012d0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bp
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140001000
inc ebx
cmp ebx, 0x69
jle 0x140001195
mov ecx, 0x6d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14000129a
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r14w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140003350]
call fcn.1400012d0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bp
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140001000
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001190

Function at 0x140001dfc
Capabilities:
Parse pe header

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

Disassembly:
mov rdx, qword [0x140004390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000226d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002264
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002210
add rax, 0x28
cmp rax, r9
jne 0x140002250
xor eax, eax
ret

Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004390]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000228f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000228f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002330
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004390]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000234f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002358
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002790
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov eax, dword [0x140003260]
mov edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
add rsp, 0x30
pop rbp
ret

Function at 0x1400027d0
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
add rsp, 0x40
pop rbp
ret