joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eabb0
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401b6838]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rax
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x40], 0xffffffffffffffff
lea r8, [rsp + 0x58]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_LookupPrivilegeValueA]
test eax, eax
je 0x1400eac8a
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
lea edx, [rdi + 0x20]
call qword [sym.imp.ADVAPI32.DLL_OpenProcessToken]
test eax, eax
je 0x1400eac8a
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.DLL_AdjustTokenPrivileges]
test eax, eax
je 0x1400eac8a
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_InitiateSystemShutdownA]
test eax, eax
jne 0x1400eacae
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x45b
je 0x1400eacae
lea r9, str.Shutdown_request_failed.
mov r8d, eax
mov edx, 1
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedError::ISDI2_ERROR_TYPE__unsigned_long_int__wchar_t_const____ptr64____ptr64
mov dword [rsp + 0x54], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.DLL_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x1400eace2
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012e910
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400edf00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov rax, qword [0x1401b6838]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x70], rdi
lea rdx, [rsp + 0x70]
call fcn.1400ebb50
nop
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x30], eax
mov r12d, dword [rsi]
cmp eax, r12d
je 0x1400edf7d
lea r8, [rsi + 0x20c]
lea rax, [rbx + 0x234]
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400edf74
add rax, 2
test ecx, ecx
jne 0x1400edf60
test edx, edx
jne 0x1400edf7d
mov r14b, 1
jmp 0x1400edf80
xor r14b, r14b
mov dword [rsp + 0x50], r12d
lea rcx, [rbx + 0x4a8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
call fcn.1400ed360
cmp byte [rsp + 0x68], 0
je 0x1400ee06b
mov ecx, 0x18
call fcn.14012ec10
mov r9, rax
test rax, rax
je 0x1400edfce
mov eax, dword [rsi]
mov dword [r9], eax
mov qword [r9 + 8], rbx
lea rax, [0x1400edd40]
mov qword [r9 + 0x10], rax
jmp 0x1400edfd1
mov r9, rdi
mov qword [rsp + 0x50], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x1400ed320]
xor edx, edx
xor ecx, ecx
call fcn.1400ff02c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ee10f
lea rdi, [rbx + 0x4e8]
mov r13, qword [rdi]
movabs rax, 0x7ffffffffffffff
cmp qword [rdi + 8], rax
je 0x1400ee0fc
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0
mov ecx, 0x20
call fcn.140015200
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rax + 0x10], xmm1
inc qword [rdi + 8]
mov rcx, qword [r13 + 8]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov qword [r13 + 8], rax
mov qword [rcx], rax
cmp dword [rsp + 0x48], 0
jne 0x1400ee109
cmp dword [rsp + 0x30], r12d
jne 0x1400ee087
inc qword [rbx + 0x4a0]
lea rcx, [rsp + 0x70]
call fcn.140031d60
xor eax, eax
jmp 0x1400ee0d7
test r14b, r14b
je 0x1400ee0ab
lea rcx, [rsp + 0x70]
call fcn.140031d60
cmp byte [rsp + 0x68], 0
je 0x1400ee0a4
mov eax, 2
jmp 0x1400ee0d7
mov eax, 1
jmp 0x1400ee0d7
mov rdx, rsi
mov rcx, rbx
call fcn.1400ed7e0
test al, al
je 0x1400ee0c8
lea rcx, [rsp + 0x70]
call fcn.140031d60
xor eax, eax
jmp 0x1400ee0d7
lea rcx, [rsp + 0x70]
call fcn.140031d60
mov eax, 3
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012e910
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
lea rcx, str.list_T__too_long
call fcn.140130180
nop
call fcn.1400feee0
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call fcn.1401305cc
int3
Function at 0x14011db28
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14011d84e
call fcn.1400fed70
mov dword [rax], 0x16
call fcn.1400fec1c
jmp 0x14011d999
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14011d999
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14011d999
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14011d87d
lock or dword [rcx + 0x14], 0x10
jmp 0x14011d999
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14011d891
call fcn.14011db30
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14011d8a1
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14011d8a4
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1401138b0
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140120b08
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14011d987
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14011d935
mov rcx, rbx
call fcn.1401138b0
cmp eax, 0xffffffff
je 0x14011d920
mov rcx, rbx
call fcn.1401138b0
cmp eax, 0xfffffffe
je 0x14011d920
mov rcx, rbx
call fcn.1401138b0
movsxd rdi, eax
lea r14, [0x1401c5360]
mov rcx, rbx
sar rdi, 6
call fcn.1401138b0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14011d927
lea rdx, [0x1401b5fa0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14011d935
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14011d959
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14011d959
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14011d959
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14011d977
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14011d982
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14011d99e
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14011d818
Function at 0x1401110d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401110dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401110ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401110d5
lea eax, [rcx + 1]
jmp 0x1401110fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14011110e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401110f4
sub eax, 3
jb 0x14011112e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14011117d
sar eax, 1
movsxd rbp, eax
jb 0x140111164
jmp 0x14011113c
add ebx, ebx
jne 0x14011113a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140111164
inc ecx
add ebx, ebx
jne 0x14011114a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140111164
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14011115d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14011114c
add ecx, 2
jmp 0x140111169
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140111092
jmp 0x1401110dd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x81200
mov dl, 0x16
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401111cd
cmp rsi, rcx
jae 0x1401111d5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401111b4
cmp al, 0x8f
ja 0x1401111b4
cmp byte [rsi - 2], 0xf
je 0x1401111ba
sub al, 0xe8
cmp al, 1
ja 0x14011119e
cmp rsi, rcx
jae 0x1401111d5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401111a4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401111d5
lodsb al, byte [rsi]
jmp 0x1401111b4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x10c000]
mov eax, dword [rdi]
or eax, eax
je 0x140111232
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x111000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401111e2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14011122c
mov qword [rbx], rax
add rbx, 8
jmp 0x140111202
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14011126c
cmp al, 0xef
ja 0x14011125e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14011123e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14011124d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1401112eb], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401112eb
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401112db
sub rsp, 0xffffffffffffff80
jmp 0x14007da0c
Function at 0x1400024e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rdx, qword [0x14008cd70]
mov rbx, qword [rax + 0x20]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
test rdx, rdx
je 0x140002539
mov eax, dword [0x14008cd78]
test eax, eax
je 0x140002523
mov ecx, eax
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14004f7d8
call qword [0x14005f120]
mov ecx, eax
call qword [0x14005f168]
cmp qword [0x14008cd80], 0
je 0x1400025da
movzx eax, word [0x14008cda8]
mov word [rbx + 0x60], ax
movzx eax, word [0x14008cda8]
mov word [rbx + 0x62], ax
mov rax, qword [0x14008cda0]
mov qword [rbx + 0x68], rax
movzx eax, word [0x14008cdc8]
mov word [rsi + 0x58], ax
movzx eax, word [0x14008cdc8]
mov word [rsi + 0x5a], ax
mov rax, qword [0x14008cdc0]
mov qword [rsi + 0x60], rax
movzx eax, word [0x14008cda8]
mov word [rsi + 0x48], ax
movzx eax, word [0x14008cda8]
mov word [rsi + 0x4a], ax
mov rax, qword [0x14008cda0]
mov qword [rsi + 0x50], rax
mov eax, dword [0x14008cd88]
mov rdx, qword [0x14008cd80]
test eax, eax
je 0x1400025c4
mov ecx, eax
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14004f7d8
call qword [0x14005f120]
mov ecx, eax
call qword [0x14005f168]
cmp qword [0x14008cd90], 0
je 0x140002635
movzx eax, word [0x14008cdb8]
mov word [rbx + 0x70], ax
movzx eax, word [0x14008cdb8]
mov word [rbx + 0x72], ax
mov rax, qword [0x14008cdb0]
mov qword [rbx + 0x78], rax
mov eax, dword [0x14008cd98]
mov rdx, qword [0x14008cd90]
test eax, eax
je 0x14000261f
mov ecx, eax
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14004f7d8
call qword [0x14005f120]
mov ecx, eax
call qword [0x14005f168]
mov rdx, qword [0x14008cdd0]
mov rbx, 0xffffffffffffffff
test rdx, rdx
je 0x14000267d
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140002650
add eax, eax
je 0x140002667
mov ecx, eax
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14004f7d8
call qword [0x14005f120]
mov ecx, eax
call qword [0x14005f168]
mov rdx, qword [0x14008cdd8]
test rdx, rdx
je 0x1400026bd
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140002690
add eax, eax
je 0x1400026a7
mov ecx, eax
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14004f7d8
call qword [0x14005f120]
mov ecx, eax
call qword [0x14005f168]
mov rdx, qword [0x14008cde0]
test rdx, rdx
je 0x1400026fd
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400026d0
add ebx, ebx
je 0x1400026e7
mov ecx, ebx
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.14004f7d8
call qword [0x14005f120]
mov ecx, eax
call qword [0x14005f168]
mov rcx, qword [0x14008cdf0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002714
call qword [0x14005f138]
mov rbx, qword [rsp + 0x30]
lea rdi, [0x14008cd70]
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov ecx, 0x90
rep stosb byte [rdi], al
add rsp, 0x20
pop rdi
ret
Function at 0x140004460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x400
xor r10d, r10d
mov r11, rdx
mov r8d, r10d
mov rbx, rcx
mov eax, 0x5caa9975
mov edi, 0xff000000
nop dword [rax]
nop word [rax + rax]
test r8b, 1
mov ecx, r8d
mov edx, 0xedb88320
cmovne edx, r10d
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, r10d
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, r10d
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, r10d
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, r10d
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, r10d
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, r10d
shr ecx, 1
xor edx, ecx
mov ecx, 0x12b88320
test dl, 1
cmovne ecx, edi
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4], ecx
inc r8
cmp r8, 0x100
jb 0x140004490
test r11, r11
je 0x140004563
nop dword [rax]
movzx r8d, byte [r10 + rbx]
test r9d, r9d
je 0x140004547
lea ecx, [r8 - 0x62]
cmp cl, 0x18
ja 0x140004547
add r8b, 0xe0
movzx edx, al
inc r10
movzx ecx, r8b
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [rsp + rdx*4]
xor eax, ecx
cmp r10, r11
jb 0x140004530
mov rbx, qword [rsp + 0x410]
add rsp, 0x400
pop rdi
ret
Function at 0x140004580
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x430
mov rax, qword gs:[0x60]
mov r12d, ecx
mov rdx, qword [rax + 0x18]
mov r15, qword [rdx + 0x10]
mov rdi, qword [r15 + 0x30]
test rdi, rdi
je 0x14000474d
xor r13d, r13d
mov dword [rsp + 0x468], 0xff000000
nop
movups xmm0, xmmword [r15 + 0x58]
movsxd rax, dword [rdi + 0x3c]
mov r15, qword [r15]
movups xmmword [rsp + 0x20], xmm0
mov ebx, dword [rax + rdi + 0x88]
test ebx, ebx
je 0x140004740
movzx edx, word [rsp + 0x20]
mov r9d, 1
mov rcx, qword [rsp + 0x28]
call fcn.140004460
mov r11d, dword [rdi + rbx + 0x20]
lea rbp, [rdi + rbx]
mov esi, dword [rbp + 0x18]
add r11, rdi
mov r14d, eax
mov ebx, r13d
test esi, esi
je 0x140004740
nop dword [rax]
nop word [rax + rax]
mov r10d, dword [r11]
lea r11, [r11 + 4]
add r10, rdi
mov r8, r10
cmp byte [r10], r13b
je 0x14000464a
inc r8
cmp byte [r8], r13b
jne 0x140004642
sub r8, r10
mov eax, 0x5caa9975
mov r9, r13
nop word [rax + rax]
test r9b, 1
mov ecx, r9d
mov edx, 0xedb88320
cmovne edx, r13d
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, r13d
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, r13d
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, r13d
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, r13d
shr ecx, 1
xor edx, ecx
mov ecx, 0xedb88320
test dl, 1
cmovne ecx, r13d
shr edx, 1
xor ecx, edx
mov edx, 0xedb88320
test cl, 1
cmovne edx, r13d
shr ecx, 1
xor edx, ecx
mov ecx, 0x12b88320
test dl, 1
cmovne ecx, dword [rsp + 0x468]
shr edx, 1
xor ecx, edx
mov dword [rsp + r9*4 + 0x30], ecx
inc r9
cmp r9, 0x100
jb 0x140004660
mov r9, r13
test r8, r8
je 0x14000472e
nop word [rax + rax]
movzx edx, byte [r9 + r10]
inc r9
movzx ecx, al
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [rsp + rdx*4 + 0x30]
xor eax, ecx
cmp r9, r8
jb 0x140004710
xor eax, r14d
cmp eax, r12d
je 0x140004770
inc ebx
cmp ebx, esi
jb 0x140004630
mov rdi, qword [r15 + 0x30]
test rdi, rdi
jne 0x1400045d0
xor eax, eax
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, dword [rbp + 0x24]
lea eax, [rbx + rbx]
mov ecx, dword [rbp + 0x1c]
add rax, rdi
add rcx, rdi
movzx r8d, word [rdx + rax]
mov eax, dword [rcx + r8*4]
add rax, rdi
jmp 0x14000474f
Function at 0x14000a8f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140079008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
mov r9, qword [rcx + 0x70]
mov rbx, rcx
mov r8d, dword [rax + 0x17c]
not r8d
and r8d, 1
call qword [r9 + 0x690]
mov edx, 1
mov rcx, rbx
call fcn.14000fca0
test eax, eax
jne 0x14000aae2
cmp dword [rbx + 0xe8], 0x16
je 0x14000a999
cmp qword [rbx], 0
je 0x14000a981
mov rax, qword [rbx + 0x160]
mov dl, 1
mov dword [rbx + 0x168], 0x15
mov rcx, rbx
mov qword [rbx + 0x170], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x160]
mov byte [rax + 1], 0xa
call fcn.14000f210
mov eax, 0xffff8900
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x40
pop rbx
ret
mov rdx, qword [rbx + 0xd8]
cmp byte [rdx], 0x14
jne 0x14000aaa3
mov rax, qword [rbx]
mov ecx, dword [rax + 0x17c]
and ecx, 2
mov eax, ecx
or rax, 4
shl rax, 2
cmp qword [rbx + 0x120], rax
jne 0x14000aaa3
or rcx, 1
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rax, [rsp + 0x28]
lea r9, [rdx + rcx*4]
sub r9, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x28]
add rax, r8
inc r8
movzx ecx, byte [r9 + rax]
movzx edx, byte [rax]
movzx eax, byte [rsp + 0x20]
xor dl, cl
or dl, al
mov byte [rsp + 0x20], dl
cmp r8, 0xc
jb 0x14000a9f0
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x14000aaa3
mov eax, dword [rsp + 0x30]
movsd xmm0, qword [rsp + 0x28]
mov qword [rbx + 0x1b8], 0xc
movsd qword [rbx + 0x1cc], xmm0
mov dword [rbx + 0x1d4], eax
mov rax, qword [rbx + 0x70]
mov rcx, qword [rbx]
cmp dword [rax + 0xb14], 0
je 0x14000aa7a
mov eax, dword [rcx + 0x17c]
test al, 1
jne 0x14000aa71
mov dword [rbx + 8], 0xa
mov eax, dword [rcx + 0x17c]
test al, 1
je 0x14000aa7d
mov dword [rbx + 8], 0xf
jmp 0x14000aa7d
inc dword [rbx + 8]
test byte [rcx + 0x17c], 2
je 0x14000aa8e
mov rcx, rbx
call fcn.14000ee90
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x40
pop rbx
ret
cmp qword [rbx], 0
je 0x14000aadd
mov rax, qword [rbx + 0x160]
mov dl, 1
mov dword [rbx + 0x168], 0x15
mov rcx, rbx
mov qword [rbx + 0x170], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x160]
mov byte [rax + 1], 0x32
call fcn.14000f210
mov eax, 0xffff8180
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x40
pop rbx
ret
Function at 0x14000bc10
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x140079008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, qword [rcx + 0x70]
xorps xmm1, xmm1
xorps xmm0, xmm0
mov qword [rsp + 0x20], r9
xor eax, eax
mov dword [rbp - 0x68], 0x67452301
mov esi, 0x40
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x78], eax
mov edi, esi
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x6c], eax
add r14, 0x6b0
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x70], esi
mov r12, r8
movups xmmword [rbp - 0x28], xmm0
mov r13, rdx
mov r15, rcx
movups xmmword [rsp + 0x30], xmm1
mov dword [rbp - 0x64], 0xefcdab89
movups xmmword [rsp + 0x40], xmm1
mov dword [rbp - 0x60], 0x98badcfe
movups xmmword [rsp + 0x50], xmm1
mov dword [rbp - 0x5c], 0x10325476
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140016da0
mov ebx, eax
test eax, eax
jne 0x14000bdad
add r14, rsi
sub rdi, rsi
cmp rdi, rsi
jae 0x14000bcb1
test rdi, rdi
je 0x14000bce6
mov r8, rdi
lea rcx, [rbp - 0x58]
mov rdx, r14
call fcn.14004e150
mov r14, qword [rsp + 0x20]
lea rcx, [rbp - 0x70]
mov r8, r14
mov rdx, r12
call fcn.140017790
mov ebx, eax
test eax, eax
jne 0x14000bdad
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.140017870
mov ebx, eax
test eax, eax
jne 0x14000bdad
mov rdi, qword [r15 + 0x70]
add rdi, 0x6b0
mov dword [rsp + 0x38], 0x67452301
mov dword [rsp + 0x3c], 0xefcdab89
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
mov dword [rsp + 0x48], 0xc3d2e1f0
mov dword [rsp + 0x30], esi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140022110
mov ebx, eax
test eax, eax
jne 0x14000bdad
add rdi, 0x40
sub rsi, 0x40
cmp rsi, 0x40
jae 0x14000bd51
test rsi, rsi
je 0x14000bd87
mov r8, rsi
lea rcx, [rsp + 0x4c]
mov rdx, rdi
call fcn.14004e150
mov r8, r14
lea rcx, [rsp + 0x30]
mov rdx, r12
call fcn.1400234a0
mov ebx, eax
test eax, eax
jne 0x14000bdad
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140023580
mov ebx, eax
mov rax, qword [fcn.14004d760]
lea rcx, [rbp - 0x70]
xor edx, edx
lea r8d, [rdx + 0x58]
call rax
mov rax, qword [fcn.14004d760]
lea rcx, [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 0x5c]
call rax
test ebx, ebx
je 0x14000be13
cmp qword [r15], 0
je 0x14000be13
mov rax, qword [r15 + 0x160]
mov dl, 1
mov dword [r15 + 0x168], 0x15
mov rcx, r15
mov qword [r15 + 0x170], 2
mov byte [rax], 2
mov rax, qword [r15 + 0x160]
mov byte [rax + 1], 0x50
call fcn.14000f210
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004c9e0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret