joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011456
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x140019dd0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6c8]
mov rax, qword [0x14002e248]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x1400341d6]
call fcn.140011857
lea rcx, [rbp + 8]
call fcn.140011843
nop
mov dword [rbp + 0x64], 0
mov qword [rbp + 0x88], 0
mov dword [rbp + 0xa4], 0
lea rax, [rbp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x270
rep stosb byte [rdi], al
mov qword [rbp + 0x358], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x690]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x690]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 8]
call fcn.1400110d2
xor edx, edx
lea rcx, [rbp + 8]
call fcn.14001112c
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x48]
mov rdx, rax
mov rcx, qword [rbp + 0x690]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140019edb
mov eax, dword [rbp + 0x64]
cmp rax, qword [rbp + 0x48]
je 0x140019ef7
mov byte [rbp + 0x5b4], 0
lea rcx, [rbp + 8]
call fcn.1400111a9
movzx eax, byte [rbp + 0x5b4]
jmp 0x14001a06e
lea rcx, [rbp + 8]
call fcn.140011195
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140019f2d
mov byte [rbp + 0x5d4], 0
lea rcx, [rbp + 8]
call fcn.1400111a9
movzx eax, byte [rbp + 0x5d4]
jmp 0x14001a06e
lea rcx, [rbp + 8]
call fcn.140011609
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14001112c
sub rax, qword [rbp + 0x88]
mov qword [rbp + 0x358], rax
lea r9, [rbp + 0xa4]
mov r8, qword [rbp + 0x358]
mov rdx, qword [rbp + 0x88]
mov ecx, 0x3e8
call fcn.14001163b
movzx eax, al
test eax, eax
jne 0x140019f92
mov byte [rbp + 0x5f4], 0
lea rcx, [rbp + 8]
call fcn.1400111a9
movzx eax, byte [rbp + 0x5f4]
jmp 0x14001a06e
mov r8, qword [rbp + 0x6a8]
mov edx, dword [rbp + 0x6a0]
lea rcx, [rbp + 0xd0]
call fcn.14001125d
movzx eax, al
test eax, eax
jne 0x140019fce
mov byte [rbp + 0x614], 0
lea rcx, [rbp + 8]
call fcn.1400111a9
movzx eax, byte [rbp + 0x614]
jmp 0x14001a06e
lea rcx, [rbp + 8]
call fcn.140011609
dec rax
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14001112c
sub rax, qword [rbp + 0x88]
mov ecx, dword [rbp + 0xa4]
add rax, rcx
cmp rax, 0x270
jae 0x14001a017
mov byte [rbp + 0x634], 0
lea rcx, [rbp + 8]
call fcn.1400111a9
movzx eax, byte [rbp + 0x634]
jmp 0x14001a06e
mov eax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov r8d, 0x270
lea rdx, [rbp + 0xd0]
mov rcx, rax
call fcn.14001141a
lea rcx, [rbp + 8]
call fcn.1400110d7
mov rdx, rax
mov rcx, qword [rbp + 0x698]
call fcn.140011253
mov byte [rbp + 0x654], 1
lea rcx, [rbp + 8]
call fcn.1400111a9
movzx eax, byte [rbp + 0x654]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400295c8]
call fcn.1400116f9
mov rax, rdi
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.140011415
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x1400114ba
Capabilities:
Terminate process

Disassembly:
jmp 0x14001dd50
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]
add rsp, 0x28
ret

Function at 0x1400115be
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001f0e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001f100
xor al, al
jmp 0x14001f181
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001f113
xor al, al
jmp 0x14001f181
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 0x14001f13d
xor al, al
jmp 0x14001f181
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001f151
xor al, al
jmp 0x14001f181
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001f163
xor al, al
jmp 0x14001f181
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001f17f
xor al, al
jmp 0x14001f181
mov al, 1
add rsp, 0x38
ret

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

Disassembly:
jmp 0x140015e10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400340e3]
call fcn.140011857
mov rcx, qword [rbp + 0xf0]
call fcn.1400112da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140015e55
mov dword [rbp + 0xc0], 1
jmp 0x140015e5f
mov dword [rbp + 0xc0], 0
movzx eax, byte [rbp + 0xc0]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x14001163b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001c370
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x140034426]
call fcn.140011857
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
mov r8d, 0xa
mov rdx, qword [rbp + 0x160]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14001c3fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetShellcode:_FindResource_failed_with_GLE__u
mov ecx, 3
call fcn.1400113c0
xor al, al
jmp 0x14001c509
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 8], 0
jne 0x14001c436
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetShellcode:_LoadResource_failed_with_GLE__u
mov ecx, 3
call fcn.1400113c0
xor al, al
jmp 0x14001c509
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001c46c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetShellcode:_LockResource_failed_with_GLE__u
mov ecx, 3
call fcn.1400113c0
xor al, al
jmp 0x14001c509
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jne 0x14001c49f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetShellcode:_SizeofResource_returned_0_and_GLE__u
mov ecx, 3
call fcn.1400113c0
xor al, al
jmp 0x14001c509
mov eax, dword [rbp + 0x64]
cmp rax, qword [rbp + 0x170]
jbe 0x14001c4c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.GetShellcode:_SizeofResource_returned_0_and_GLE__u
mov ecx, 3
call fcn.1400113c0
xor al, al
jmp 0x14001c509
mov eax, dword [rbp + 0x64]
mov r8d, eax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x168]
call fcn.14001141a
mov rax, qword [rbp + 0x178]
mov ecx, dword [rbp + 0x64]
mov dword [rax], ecx
mov r8d, dword [rbp + 0x64]
lea rdx, str.GetShellcode:__u_bytes_of_shellcode_written_over_DLL_entrypoint
xor ecx, ecx
call fcn.1400113c0
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400116ea
Capabilities:
Delete file

Disassembly:
jmp 0x1400155a0
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400340e3]
call fcn.140011857
lea rcx, str.C:jockerblaEventAggregationPH.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, str.C:WindowsSystem32EventAggregation.dll.bak
lea rcx, [rbp + 0xe8]
call fcn.1400112d0
nop
lea rcx, [rbp + 0xe8]
call fcn.14001160e
movzx eax, al
test eax, eax
jne 0x1400155fb
mov dword [rbp + 0x1b4], 1
jmp 0x140015605
mov dword [rbp + 0x1b4], 0
movzx eax, byte [rbp + 0x1b4]
mov byte [rbp + 0xc4], al
lea rcx, [rbp + 0xe8]
call fcn.140011749
movzx eax, byte [rbp + 0xc4]
test eax, eax
je 0x14001563e
lea rdx, str.No_cleanup_necessary.__Backup_does_not_exist.
xor ecx, ecx
call fcn.1400113c0
xor al, al
jmp 0x1400156f4
lea rcx, str.C:WindowsSystem32EventAggregation.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, str.C:WindowsSystem32EventAggregation.dll
lea rcx, [rbp + 0x148]
call fcn.1400112d0
nop
lea rdx, str.C:WindowsSystem32EventAggregation.dll.bak
lea rcx, [rbp + 0x188]
call fcn.1400112d0
nop
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x188]
call fcn.14001135c
movzx eax, al
test eax, eax
jne 0x140015699
mov dword [rbp + 0x1b4], 1
jmp 0x1400156a3
mov dword [rbp + 0x1b4], 0
movzx eax, byte [rbp + 0x1b4]
mov byte [rbp + 0x124], al
lea rcx, [rbp + 0x188]
call fcn.140011749
nop
lea rcx, [rbp + 0x148]
call fcn.140011749
movzx eax, byte [rbp + 0x124]
test eax, eax
je 0x1400156f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.InstallSymlink:_MoveFileExW_failed_with_GLE:__u
mov ecx, 3
call fcn.1400113c0
xor al, al
jmp 0x1400156f4
mov al, 1
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x1400033a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx]
mov rcx, qword [rbx + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003d9d0
mov rdx, rax
mov rcx, qword [rbx + 0x10]
test byte [rax + 8], 0xf
jne 0x1400033e7
mov byte [rcx + 8], 0
jmp 0x1400033f4
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140012190
mov r10, rax
mov r13, rax
shr r13, 0x38
mov rcx, rax
shr rcx, 0x30
movzx r12d, cl
mov rcx, rax
shr rcx, 0x28
movzx r14d, cl
mov rdx, rax
shr rdx, 0x20
movzx ebp, dl
mov rdx, rax
shr rdx, 0x18
movzx esi, dl
shr rax, 0x10
movzx edi, al
mov rax, r10
shr rax, 8
movzx ebx, al
movzx r15d, r10b
mov edx, 0xfffffffe
mov rcx, qword [rsp + 0x50]
call fcn.140011bc0
nop
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
xor r15, rbx
imul r15, rax
xor r15, rdi
imul r15, rax
xor r15, rsi
imul r15, rax
xor r15, rbp
imul r15, rax
xor r15, r14
imul r15, rax
xor r15, r12
imul r15, rax
xor r15, r13
imul rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140007810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r14
sub rsp, 0x68
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r14, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x14000784b
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x90], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x60], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x58], rdi
shl rbx, cl
mov qword [rsp + 0x40], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.140005d20
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140007a0f
mov qword [rsp + 0x50], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], r13
movabs r10, 0x100000001b3
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140007904
mov r9, qword [rsp + 0x30]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x1400078f0
mov r13, qword [r14 + 0x30]
and r13, rax
shl r13, 4
add r13, qword [r15]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140007928
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1400079eb
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140007973
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007973
mov r8, qword [rbx]
cmp r8, rdi
je 0x14000796d
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x1400079e1
mov r14, rbx
cmp r12, rbx
je 0x1400079b7
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x38]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x1400079b2
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140007a2e
cmp r12, rbx
jne 0x140007990
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x1400078d0
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1400079dc
Function at 0x140007b30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140007b83
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x140007b70
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x140007bb7
cmp rax, r8
jne 0x140007bad
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007bc2
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007bc2
cmp rax, r8
jne 0x140007bc2
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, Ordinal_60
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.140116d60
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140011210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140011241
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 + 0x60], rbp
mov rbp, qword [0x1401aa698]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x78], rdi
shl rbx, cl
lea rcx, [0x1401aa6a8]
lea rdx, [rbx + rbx]
call fcn.140005d20
mov rdi, qword [0x1401aa698]
lea r10, [rbx - 1]
mov qword [0x1401aa6c0], r10
mov qword [0x1401aa6c8], rbx
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140011434
mov qword [rsp + 0x48], r12
movabs r11, 0x100000001b3
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
test r8, r8
je 0x140011304
mov r9, qword [rsp + 0x20]
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r11
cmp rdx, r8
jb 0x1400112f0
mov r13, qword [0x1401aa6a8]
and rax, r10
shl rax, 4
add r13, rax
mov r12, qword [r13]
cmp r12, rbp
jne 0x14001132b
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1400113e6
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140011376
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140011376
mov r8, qword [rbx]
cmp r8, rdi
je 0x140011370
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x1400113dc
mov r14, rbx
cmp r12, rbx
je 0x1400113b7
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov r15, qword [rsp + 0x28]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x1400113b2
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400113fa
cmp r12, rbx
jne 0x140011390
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
movabs r11, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
je 0x140011420
mov r10, qword [0x1401aa6c0]
jmp 0x1400112c0
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1400113dc
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret
Function at 0x140022950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x1400229b0
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x1400229b0
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x1400229b3
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400229ee
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x1400229df
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x1400229df
mov rcx, r11
call fcn.140022570
add r10, 0x10
sub rbx, 1
jne 0x1400229c1
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140022a50
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140022a19
test al, al
je 0x140022a47
mov byte [r10 + 9], ntohs
jmp 0x140022a47
test al, al
je 0x140022a2f
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x140022a2f
mov rcx, r11
call fcn.140022570
test byte [r10 + 8], 0x40
je 0x140022a47
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140022a47
mov rcx, r11
call fcn.140022570
add r10, 0x18
cmp r10, rsi
jb 0x140022a00
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140022a87
mov rcx, rdi
call fcn.1400224e0
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x140022a91
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x14002dc70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x14012d3f0]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x14002dcdf
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x14002dcd0
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x14002dcf6
mov r12d, ebp
jmp 0x14002dcff
cmp al, 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x14002de59
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x14002de59
movsd xmm2, qword [0x1401416f8]
lea r13, [0x14012d3f0]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x14002dd5b
test edi, edi
jne 0x14002ddb0
mov edi, ebp
inc rdx
jmp 0x14002dd40
test byte [r8 + r13 + 1], 0x10
je 0x14002ddb0
test r10d, r10d
jne 0x14002dd73
cmp r8b, 0x30
jne 0x14002dd73
inc r14d
jmp 0x14002dda4
inc r10d
cmp r10d, 0x1e
jg 0x14002dda1
test byte [rcx + r13 + 1], 2
je 0x14002dd89
add ecx, 0xffffffd0
jmp 0x14002dd8f
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x14002dda4
inc r9d
test edi, edi
je 0x14002ddab
dec r9d
inc rdx
jmp 0x14002dd40
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x14002de59
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x14002de3f
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x14002dde7
lea rdx, [r11 + 2]
jmp 0x14002ddf1
cmp al, 0x2b
jne 0x14002ddef
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x14012d3f0]
test byte [r8 + r11 + 1], 2
je 0x14002de59
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x14002de10
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x14002de4b
xorps xmm1, xmmword [0x140141df0]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x14002de5c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret