joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100333e0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1003340b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1003340b
mov ecx, eax
call fcn.10033d10
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x10033420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
mov ebx, edx
jne 0x10033466
call fcn.10033ce0
mov dword [rax], 0
call fcn.10033cb0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
mov qword [rsp + 0x20], 0
call fcn.10035c00
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret
test edx, 0xfffffff9
jne 0x1003342d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10033497
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.10033d10
call fcn.10033cb0
mov ebx, dword [rax]
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret
test al, 0x10
jne 0x100334cb
test al, 1
je 0x100334cb
test bl, 2
je 0x100334cb
call fcn.10033ce0
mov dword [rax], 5
call fcn.10033cb0
mov dword [rax], 0xd
call fcn.10033cb0
mov ebx, dword [rax]
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x10039ff7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100b4680]
jne 0x100317aa
rol rcx, 0x10
test cx, 0xffff
jne 0x100317a6
repz ret
ror rcx, 0x10
jmp 0x10039f50
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100bab60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x100bac58]
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 0x10039fd5
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, [0x100bab60]
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 0x10039ff7
mov rax, qword [rsp + 0x88]
mov qword [0x100bac58], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100babf8], rax
mov rax, qword [0x100bac58]
mov qword [0x100baad0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100babe0], rax
mov dword [0x100baac0], 0xc0000409
mov dword [0x100baac4], 1
mov rax, qword [0x100b4680]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100b4688]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x100bab58], eax
mov ecx, 1
call fcn.10044b00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1009e080]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x100bab58], 0
jne 0x1003a07e
mov ecx, 1
call fcn.10044b00
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 0x10044860
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.10037530
xor ebx, ebx
cmp qword [0x100bb550], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x10044991
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x100448c3
xor eax, eax
jmp 0x10044a71
lea rdx, [0x1009ecf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x100448bc
mov rcx, rax
call fcn.100374c0
lea rdx, [0x1009ece0]
mov rcx, rbp
mov qword [0x100bb550], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100374c0
lea rdx, [0x1009ecc8]
mov rcx, rbp
mov qword [0x100bb558], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100374c0
lea rcx, [rsp + 0x30]
mov qword [0x100bb560], rax
call fcn.10034be0
test eax, eax
je 0x10044947
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.10035b60
cmp dword [rsp + 0x30], 2
jne 0x10044991
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100374c0
test rax, rax
mov qword [0x100bb570], rax
je 0x10044991
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.100374c0
mov qword [0x100bb568], rax
mov rcx, qword [0x100bb568]
cmp rcx, rsi
je 0x10044a23
cmp qword [0x100bb570], rsi
je 0x10044a23
call fcn.10037590
call rax
test rax, rax
mov rbp, rax
je 0x100449ee
mov rcx, qword [0x100bb570]
call fcn.10037590
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x100449ee
test byte [rsp + 0x48], 1
jne 0x10044a23
lea rcx, [rsp + 0x34]
call fcn.10034c30
test eax, eax
je 0x10044a10
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.10035b60
cmp dword [rsp + 0x34], 4
jb 0x10044a1d
bts edi, 0x15
jmp 0x10044a57
bts edi, 0x12
jmp 0x10044a57
mov rcx, qword [0x100bb558]
cmp rcx, rsi
je 0x10044a57
call fcn.10037590
call rax
test rax, rax
mov rbx, rax
je 0x10044a57
mov rcx, qword [0x100bb560]
cmp rcx, rsi
je 0x10044a57
call fcn.10037590
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x100bb550]
call fcn.10037590
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14003b9f0
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
lea rdx, [0x1400d33b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov dword [rbp - 0x50], 0x5000
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r8, qword [0x140156048]
lea rdx, str.main
mov rcx, rax
call r8
mov qword [rbp - 0x50], 0
lea rcx, [rbp - 0x50]
call fcn.1400d3630
mov rsi, rax
mov rax, qword [rax + 0x28]
mov qword [rbp - 8], rax
mov qword [rbp], rsi
lea rax, [rbp - 8]
mov qword [rbp + 8], rax
mov eax, dword [0x1401561f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x70]
test eax, eax
je 0x14003bac6
cmp eax, 1
je 0x14003bae9
lock dec qword [rsi]
jne 0x14003ba9c
mov rcx, rbp
call fcn.1400d50d0
lea rax, [0x14014cf00]
mov qword [rsp + 0x20], rax
lea rcx, [0x14014cea3]
lea r9, [0x14014cab8]
lea r8, [rbp + 0x18]
mov edx, 0x46
call fcn.1400def70
ud2
mov byte [rbp + 0x1f], 1
call fcn.1400d4f70
mov eax, dword [0x1401561f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x70], 1
mov eax, dword [0x1401561f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x68], 0
jne 0x14003bb7e
mov eax, dword [0x1401561f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x68], rsi
mov rcx, qword [rbp - 8]
mov qword [rax + 0x60], rcx
lea rcx, [0x14003bcd0]
call fcn.140001000
mov eax, dword [0x140156104]
cmp eax, 3
je 0x14003bb72
mov byte [rbp], 1
mov rax, rbp
mov qword [rbp - 0x50], rax
lea rax, str.std_src_rt.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140156104]
lea r9, [0x14014d658]
lea r8, [rbp - 0x50]
xor edx, edx
call fcn.1400e3410
xor eax, eax
add rsp, 0xb8
pop rsi
pop rbp
ret
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rsi
mov dword [rbp + 0x10], 0
mov byte [rbp + 0x14], 0
lea rax, str.fatal_runtime_error:_thread::set_current_should_only_be_called_once_per_thread_n
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rax, [rbp + 0x18]
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x50]
call fcn.1400d3740
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400d38d0
mov ecx, 7
int 0x29
ud2
Function at 0x140074e70
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xab8
movdqa xmmword [rsp + 0xaa0], xmm7
movaps xmmword [rsp + 0xa90], xmm6
mov qword [rsp + 0x248], rcx
mov qword [rsp + 0x488], r8
mov qword [rsp + 0x490], r9
mov qword [rsp + 0x210], 0
mov qword [rsp + 0x218], 8
mov qword [rsp + 0x220], 0
mov qword [rsp + 0x228], 0
mov qword [rsp + 0x230], 8
mov qword [rsp + 0x238], 0
mov eax, dword [rdx + 0x88]
mov dword [rsp + 0x1b0], eax
movzx eax, byte [rdx + 0x8d]
mov byte [rsp + 0x190], al
movzx eax, byte [rdx + 0x8e]
mov byte [rsp + 0x188], al
mov qword [rsp + 0x198], rdx
movzx eax, byte [rdx + 0x8c]
mov byte [rsp + 0x1a8], al
lea rsi, [rsp + 0x538]
xor ecx, ecx
xorps xmm6, xmm6
lea r13, [rsp + 0x130]
lea rdi, [rsp + 0x60]
xor eax, eax
jmp 0x140074f9b
Function at 0x140082d10
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140082d52
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140082d5a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140082d6b
jmp 0x140082d82
xor r10d, r10d
jmp 0x140082e0d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140082d82
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140082d99
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140082db9
add r11, r8
jmp 0x140082ee9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140082e82
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140082e30
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140082e9f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140082eb0
jmp 0x140082ecb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x140082ecb
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x140082ee5
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14008aad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r12, r8
mov rdi, rdx
mov rbx, rcx
cmp r9, 8
jb 0x14008ab4a
shr r9, 3
mov r14, r9
shl r14, 7
lea rdx, [rbx + r14]
imul r15, r9, 0xe0
lea r8, [rbx + r15]
mov rcx, rbx
mov rsi, r12
mov r12, r9
call fcn.14008aad0
mov rbx, rax
lea rdx, [rdi + r14]
lea r8, [rdi + r15]
mov rcx, rdi
mov r9, r12
call fcn.14008aad0
mov rdi, rax
add r14, rsi
add r15, rsi
mov rcx, rsi
mov rdx, r14
mov r8, r15
mov r9, r12
call fcn.14008aad0
mov r12, rax
mov qword [rsp + 0x38], rdi
mov rbp, qword [rbx + 8]
mov rsi, qword [rbx + 0x10]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov r13, rsi
sub r13, r8
mov qword [rsp + 0x48], r8
cmovb r8, rsi
mov rcx, rbp
mov qword [rsp + 0x50], rdx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r13, rax
movzx r15d, byte [rbx + 0x18]
movzx ecx, byte [rdi + 0x18]
mov eax, r15d
mov byte [rsp + 0x2f], cl
sub al, cl
xor r14d, r14d
cmp al, 0xff
sete r14b
xor eax, eax
test r13, r13
sets al
cmovne r14d, eax
mov rdx, qword [r12 + 8]
mov r13, qword [r12 + 0x10]
mov rdi, r12
mov r12, rsi
sub r12, r13
cmovae rsi, r13
mov rcx, rbp
mov qword [rsp + 0x30], rdx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
mov qword [rsp + 0x40], rdi
movzx ebp, byte [rdi + 0x18]
sub r15b, bpl
xor eax, eax
cmp r15b, 0xff
sete al
xor ecx, ecx
test r12, r12
sets cl
cmovne eax, ecx
cmp r14b, al
jne 0x14008ac50
mov rax, qword [rsp + 0x48]
mov rsi, rax
sub rsi, r13
cmovb r13, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
movzx ecx, byte [rsp + 0x2f]
sub cl, bpl
xor eax, eax
cmp cl, 0xff
sete al
xor ecx, ecx
test rsi, rsi
sets cl
cmovne eax, ecx
xor r14b, al
mov rbx, qword [rsp + 0x38]
cmovne rbx, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400aa9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov r14, rdx
mov rsi, rcx
mov rcx, qword [rdx]
mov r13, qword [rdx + 0x10]
lea r12, [rcx + 0xa0]
mov rbx, qword [rcx + 0xa0]
cmp rbx, r13
jne 0x1400aaa4b
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x58], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [r12]
Function at 0x1400b57b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
sub rbx, rdx
movabs rax, 0x7ffffffffffffffc
cmp rbx, rax
ja 0x1400b59a5
mov rdi, rdx
mov rsi, rcx
cmp r8, rdx
je 0x1400b589d
mov eax, 4
xor ecx, ecx
xor edx, edx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
mov dword [rsi + 0x10], edx
xor ecx, ecx

Function at 0x1400be0c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
movzx eax, byte [rax + 0x24]
cmp al, 2
je 0x1400be0e7
test al, 1
je 0x1400be464
movzx eax, byte [rdi + 0x30]
test eax, eax
je 0x1400be168
cmp eax, 1
jne 0x1400be2c8
movzx eax, byte [0x140156100]
movzx eax, byte [0x140156100]
mov edx, 0x238
movzx eax, byte [0x140156100]
mov edx, 0x18e0
xor ecx, ecx
call fcn.1400d9a20
test rax, rax
je 0x1400be49a
xor ecx, ecx
lea rdx, [0x140107890]
movdqa xmm0, xmmword [0x1400e55c0]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
fcmovnbe st(0), st(4)
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x18e0
jne 0x1400be300
mov qword [rsp + 0x30], 0x31c
lea rcx, str.assertion_failed:_self.flags__.unicode__
lea r8, str.C:UsersAarne.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_syntax_0.8.5_srchir_translate.rs
mov edx, 0x28
call fcn.1400decd0

Function at 0x1400c36b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
cmp r9, 8
jb 0x1400c372b
mov rbx, r9
shr rbx, 3
and r9, 0xfffffffffffffff8
lea rdx, [rcx + r9]
mov r14, rbx
shl r14, 4
sub r14, rbx
sub r14, rbx
lea r8, [rcx + r14]
mov r15, r9
mov r9, rbx
call fcn.1400c36b0
mov r12, rax
lea rdx, [rdi + r15]
lea r8, [rdi + r14]
mov rcx, rdi
mov r9, rbx
call fcn.1400c36b0
mov rdi, rax
add r15, rsi
add r14, rsi
mov rcx, rsi
mov rdx, r15
mov r8, r14
mov r9, rbx
call fcn.1400c36b0
mov rsi, rax
mov rcx, r12
movzx r11d, byte [rcx]
movzx ebx, byte [rcx + 1]
movzx edx, byte [rdi]
movzx r8d, byte [rdi + 1]
xor r9d, r9d
cmp bl, r8b
setb r9b
xor eax, eax
cmp r11b, dl
setb al
cmove eax, r9d
movzx r9d, byte [rsi]
movzx r10d, byte [rsi + 1]
xor ebp, ebp
cmp bl, r10b
setb bpl
xor ebx, ebx
cmp r11b, r9b
setb bl
cmove ebx, ebp
cmp al, bl
jne 0x1400c3792
xor ecx, ecx
cmp r8b, r10b
setb cl
xor r8d, r8d
cmp dl, r9b
setb r8b
cmove r8d, ecx
xor al, r8b
cmovne rdi, rsi
mov rcx, rdi
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400c4a20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
mov r10, rdx
mov qword [rsp + 0x50], rcx
movabs rax, 0x3fffffffffffffff
add rax, rdx
mov rcx, rax
or rcx, rdx
shr rcx, 0x20
je 0x1400c4a87
xor edx, edx
div r10
mov qword [rsp + 0x58], rax
mov rax, r10
cmp r10, 0x1001
jae 0x1400c4a9d
shr rax, 1
mov rcx, r10
sub rcx, rax
cmp rcx, 0x40
mov eax, 0x40
add byte [rax], al
add byte [rax + 0xf], cl
ror dword [rax - 0x77], 0x44
and al, 0x48
jmp 0x1400c4ac6
xor edx, edx
div r10d
mov qword [rsp + 0x58], rax
mov rax, r10
cmp r10, 0x1001
jb 0x1400c4a6a
or rax, 1
bsr rcx, rax
xor ecx, 0xffffffc0
add ecx, 0x41
shr ecx, 1
mov eax, 1
shl rax, cl
mov rdx, r10
shr rdx, cl
add rdx, rax
shr rdx, 1
mov qword [rsp + 0x48], rdx
mov rax, qword [rsp + 0x50]
lea rcx, [rax + 8]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x70], ecx
add rax, 0xfffffffffffffff8
clc
mov qword [rsp + 0x60], rax
mov r12d, 1
mov esp, 1
xor ebp, ebp
movabs rsi, 0x1ffffffffffffffe
xor r14d, r14d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x80], r10
nop word cs:[rax + rax]
Function at 0x1400c8450
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, 0x21
jae 0x1400c876f
mov r13, qword [rsp + 0x148]
mov ebp, dword [rsp + 0x140]
lea rax, [rsi - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r14

Function at 0x1400d0160
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400d0185
cmp rax, rcx
je 0x1400d018b
cmp rdx, 4
jae 0x1400d018f
xor eax, eax
xor r8d, r8d
jmp 0x1400d0220
pop rbp
jmp fcn.140034fa0
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400e5580]
movdqa xmm3, xmmword [0x1400e5590]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400d01b0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400d0237
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400d0220
pop rbp
ret
Function at 0x1400d8a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
cmp byte [rcx - 0x80], al
stc
add dword [rsi + 7], esi
movzx r8d, byte [rdx + 0x3a]
test r8b, 1
jne 0x1400d8a8e
movzx eax, byte [rdx + 0x10]
lea r10d, [rax - 5]
Function at 0x1400de0c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400de10a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400de10a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400de10a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400de10a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400de10a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400de10c
xor al, al
add rsp, 0x28
ret
Function at 0x1400e0f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
movdqa xmmword [rsp + 0x140], xmm8
movdqa xmmword [rsp + 0x130], xmm7
movdqa xmmword [rsp + 0x120], xmm6
mov r9, qword [rcx]
mov qword [rsp + 0x108], rcx
mov r14, qword [rcx + 8]
movzx ecx, byte [r9 + 0x2b8]
mov rax, qword [r14 + 0xf8]
mov qword [rsp + 0x100], rax
movdqu xmm0, xmmword [r14 + 0xe8]
movdqa xmmword [rsp + 0xf0], xmm0
mov qword [r14 + 0xe8], 0
mov dword [rsp + 0x6c], edx
mov r10d, edx
and r10d, 0x7ffffff
mov rax, r10
shr rax, cl
mov qword [r14 + 0xf0], 1
mov qword [r14 + 0xf8], 0
mov rdx, qword [r14 + 0x58]
cmp rax, rdx
jae 0x1400e2360
movzx edi, byte [r9 + 0x80]
cmp dil, 2
sete byte [rsp + 0x48]
mov rcx, qword [r14 + 0x50]
shl eax, 4
mov qword [r14 + 0x90], 0
mov qword [r14 + 0xc8], 0
mov rdx, qword [rcx + rax + 8]
test rdx, rdx
je 0x1400e22d8
mov rsi, qword [r9 + 0x2b0]
movzx r11d, byte [rsi + 0x184]
mov byte [rsp + 0x58], r11b
mov rbx, qword [rcx + rax]
lea rcx, [rbx + 0x10]
test byte [rcx], 2
je 0x1400e1083
cmp rdx, 0xc
jbe 0x1400e23a7
mov eax, dword [rbx + 0x19]
test eax, eax
je 0x1400e1083
mov eax, eax
lea rax, [rax*4 + 0xd]
jmp 0x1400e1088
mov eax, 9
mov dword [rsp + 0x3c], r8d
cmp rdx, rax
jb 0x1400e236f
mov byte [rsp + 0xa8], dil
mov qword [rsp + 0x110], r10
xor r15d, r15d
sub rdx, rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x40], rcx
je 0x1400e11ac
add rax, rcx
mov r9, qword [r14 + 0x88]
mov r13, qword [r14 + 0x80]
mov rbp, qword [r14 + 0x68]
mov r10, qword [r14 + 0x70]
xor edi, edi
jmp 0x1400e1116
xor edi, edi