joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180272af0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180572380]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x180272b73
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x180272b95
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800d1620
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.18022cd00
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov edx, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x180272bf4
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180272c04
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180272c16
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x180272b78
Function at 0x2fc4cb010
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cba12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cbaaa
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cba8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cba82
cmp qword [rbp - 0x10], 0
je 0x2fc4cba82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cba48
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cbaab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cbbb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cbbd8
mov eax, 0
jmp 0x2fc4cbc26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cbc01
mov eax, 0
jmp 0x2fc4cbc26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cbc21
mov eax, 0
jmp 0x2fc4cbc26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cbc2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cbcaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbca1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cbca1
mov rax, qword [rbp - 8]
jmp 0x2fc4cbcbf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cbc74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140020140]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001f588]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001f588]
call fcn.140011838
lea rcx, [0x140020140]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
push rsp
inc dword [rbx]
add esp, dword [rax - 1]
add eax, dword [rdx]
inc qword [rdx]
add edi, dword [rsi]
inc dword [rdx]
add dword [rbx], ebp
inc dword [rbx]
add al, byte [rbp - 1]
add eax, dword [rdx]
xor bh, bh
add eax, dword [rdx]
cmp edi, edi
add eax, dword [rdx]
push rdi
inc dword [rbx]
add bh, byte [rdx - 1]
add al, byte [rcx]
xchg esi, eax
inc dword [rdx]
add bl, byte [rbp - 0x4efdfd01]
inc dword [rdx]
add al, byte [rcx]
mov esi, 0xc20103ff
add al, byte [rcx]
mov esi, 0xc20103ff
inc dword [rbx]
add ebp, eax
inc dword [rdx]
add dword [rdi - 0x6bfdfd01], esp
xchg esp, eax
xchg esp, eax
inc dword [rdi]
add edx, ecx
dec dword [rdi]
add esp, edx
call qword [rax]
add esi, edx
inc dword [rdi]
add eax, ecx
enter 0x1ff, 1
mov ebx, 0xb40102ff
invalid
enter 0x1ff, 1
mov ebx, 0xb40102ff
invalid
mov ah, 0xff
add al, byte [rcx]
mov bl, 0xff
add al, byte [rcx]
mov edx, 0xba0102ff
inc dword [rbx]
add dword [rdi + rdi*8 - 0x4bfcfa], edi
inc dword [rdx]
add dword [rbx - 0x45fefd01], esi
inc dword [rdx]
add dword [rdx - 0x43fefc01], edi
inc dword [rsi]
add esi, dword [rdi + rdi*8 - 0x6bfdfe]
add al, byte [rdx]
xchg esp, eax
inc dword [rdx]
add ah, byte [rcx - 0x44fefd01]
mov ebx, 0xbf0103ff
add al, byte [rdx]
xchg esp, eax
inc dword [rdx]
add ah, byte [rcx - 0x44fefd01]
mov ebx, 0xbf0103ff
invalid
invalid
add ebp, eax
add eax, dword [rcx]
mov edi, 0xc50105ff
inc dword [0x144039b72]
inc dword [rbx]
add dword [rdi - 0x40fefc01], edi
inc dword [rdx]
add ebx, eax
inc dword [rdx]
add ch, byte [rbx - 0x6cfdfd01]
inc dword [rdx]
add dword [rax - 0x46fefe01], edi
inc dword [rdx]
add bh, byte [rbx - 0x3afefc01]
inc dword [rbx]
add ebp, eax
inc dword [rbx]
add dword [rsi - 0x3ffefb01], edi
inc dword [rdx]
add ecx, eax
inc dword [rcx]
add dword [rdi + rdi*8 - 0x42fefd], edi
add dword [rcx], eax
mov ebp, 0xba0101ff
inc dword [rcx]
add dword [rcx - 0x49fefe01], esi
inc dword [rdx]
add dh, byte [rcx - 0x45fdfc01]
inc dword [rsi]
add ecx, dword [rsi - 0x4cfdfb01]
inc dword [rdx]
add eax, ecx
inc dword [rdx]
add ecx, eax
inc dword [rdx + rax]
ret 0x2ff
Function at 0x14060d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14060d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14060d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060d06f
add dl, dl
jne 0x14060d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060d0f6
xor eax, eax
add dl, dl
jne 0x14060d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060d1ad
add dl, dl
jne 0x14060d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14060d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14060d07e
mov eax, 1
add dl, dl
jne 0x14060d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060d0fb
sub eax, ebx
mov ebx, 1
jne 0x14060d14c
mov ecx, 1
add dl, dl
jne 0x14060d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14060d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14060d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060d15d
cmp eax, 0x7d00
jae 0x14060d19b
cmp eax, 0x500
jb 0x14060d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060d07e
cmp eax, 0x7f
ja 0x14060d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14060d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14060d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14060d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400037f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
movsxd rdx, dword [rdx]
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003e4c0
mov rdx, rax
mov rcx, qword [rdi + 0x10]
test byte [rax + 8], 0xf
jne 0x140003820
mov byte [rcx + 8], 0
jmp 0x14000382d
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rdi + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rdi
call fcn.140012370
mov rbx, rax
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.140011da0
nop
movzx r8d, bl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs r9, 0x100000001b3
imul r8, r9
mov rcx, rbx
shr rcx, 8
movzx edx, cl
xor r8, rdx
imul r8, r9
mov rax, rbx
shr rax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x18
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x20
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x28
movzx eax, al
xor rax, r8
imul rax, r9
mov rcx, rbx
shr rcx, 0x30
movzx edx, cl
xor rax, rdx
imul rax, r9
shr rbx, 0x38
xor rax, rbx
imul rax, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400071a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x20], xmm0
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov r8, qword [r8 + 8]
test r8, r8
je 0x140007203
movabs r9, 0x100000001b3
mov rcx, qword [rsp + 0x20]
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rdx
cmp rdx, r8
jb 0x1400071f0
mov r9, rbx
mov r8, r15
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140007bb0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14000723e
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x30], xmm1
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1400073e1
movabs rax, 0x492492492492492
cmp qword [rbp + 0x10], rax
jne 0x14000725c
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r13, [rbp + 8]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], 0
mov ecx, gethostname
call fcn.1400f6498
mov rsi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r15]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x30], xmm1
mov rcx, qword [rbp + 0x10]
movss xmm3, dword [rbp]
add rcx, 1
xorps xmm0, xmm0
js 0x1400072b2
cvtsi2ss xmm0, rcx
jmp 0x1400072c7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [rbp + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x1400072da
cvtsi2ss xmm2, rdi
jmp 0x1400072f2
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
jbe 0x140007389
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x140120068]
comiss xmm0, xmm1
jb 0x140007330
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140007330
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x140007362
cmp rdi, 0x200
jae 0x14000735f
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x140007362
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.140007970
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140007bb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x1400073c2
mov qword [rcx + rax*8], rsi
jmp 0x1400073d4
cmp r9, rdx
jne 0x1400073cd
mov qword [rcx + rax*8], rsi
jmp 0x1400073d9
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400073d9
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
sub rsp, 0x78
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x40], rcx
mov rbp, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1400079aa
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 + 0xa0], rsi
mov rsi, qword [rbp + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rdi
mov r8, rsi
inc ecx
mov qword [rsp + 0x58], r14
shl rbx, cl
lea r14, [rbp + 0x18]
mov rcx, r14
mov qword [rsp + 0x20], r14
lea rdx, [rbx + rbx]
call fcn.140005f00
lea rax, [rbx - 1]
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x30], rax
mov rbx, qword [rbp + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rsi
je 0x140007b70
mov qword [rsp + 0x68], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x60], r13
movabs r10, 0x100000001b3
mov qword [rsp + 0x50], r15
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor ecx, ecx
mov rdi, qword [rdi]
mov rdx, rax
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140007a64
mov r9, qword [rsp + 0x30]
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r8
jb 0x140007a50
mov r12, qword [rbp + 0x30]
and r12, rdx
shl r12, 4
add r12, qword [r14]
mov r15, qword [r12]
cmp r15, rsi
jne 0x140007a89
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x140007b46
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x140007ad6
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007ad6
mov r8, qword [r14]
cmp r8, rbx
je 0x140007acf
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + 8], rbx
jmp 0x140007b37
cmp r15, r14
je 0x140007b12
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
nop
mov r14, qword [r14 + 8]
cmp rbp, qword [r14 + 0x18]
jne 0x140007b0d
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140007b89
cmp r15, r14
jne 0x140007af0
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rbx
mov qword [r14 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12], rbx
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
mov rbp, qword [rsp + 0x40]
mov rbx, rdi
movabs rax, 0xcbf29ce484222325
cmp rdi, rsi
jne 0x140007a30
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x58]
add rsp, 0x78
pop rbp
pop rbx
ret
mov r8, qword [r14]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140007b37
Function at 0x140007c80
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 0x140007cd3
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 0x140007cc0
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 0x140007d07
cmp rax, r8
jne 0x140007cfd
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007d12
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007d12
cmp rax, r8
jne 0x140007d12
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, gethostname
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.1400f6370
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400113f0
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 0x140011421
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 + 0x70], rsi
mov rsi, qword [0x14013bb08]
or rax, rbx
bsr rcx, rax
mov r8, rsi
mov qword [rsp + 0x78], rdi
inc ecx
shl rbx, cl
lea rcx, [0x14013bb18]
lea rdx, [rbx + rbx]
call fcn.140005f00
lea r10, [rbx - 1]
mov qword [0x14013bb38], rbx
mov rbx, qword [0x14013bb08]
mov qword [0x14013bb30], r10
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rsi
je 0x140011615
mov qword [rsp + 0x60], rbp
movabs r11, 0x100000001b3
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rdi, qword [rdi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
mov rcx, rax
test r8, r8
je 0x1400114e4
mov r9, qword [rsp + 0x20]
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r8
jb 0x1400114d0
mov r12, qword [0x14013bb18]
and rcx, r10
shl rcx, 4
add r12, rcx
mov r15, qword [r12]
cmp r15, rsi
jne 0x14001150c
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x1400115c2
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x140011559
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140011559
mov r8, qword [r14]
cmp r8, rbx
je 0x140011552
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + 8], rbx
jmp 0x1400115b8
cmp r15, r14
je 0x140011593
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov rbp, qword [rsp + 0x28]
mov r13, qword [rsp + 0x20]
mov r14, qword [r14 + 8]
cmp rbp, qword [r14 + 0x18]
jne 0x14001158e
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400115d6
cmp r15, r14
jne 0x140011571
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rbx
mov qword [r14 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12], rbx
movabs r11, 0x100000001b3
mov rbx, rdi
cmp rdi, rsi
je 0x1400115fc
mov r10, qword [0x14013bb30]
jmp 0x1400114a0
mov r8, qword [r14]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x1400115b8
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret
Function at 0x140022e60
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 0x140022ec0
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x140022ec0
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 0x140022ec3
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140022efe
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140022eef
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140022eef
mov rcx, r11
call fcn.140022a80
add r10, 0x10
sub rbx, 1
jne 0x140022ed1
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140022f60
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140022f29
test al, al
je 0x140022f57
mov byte [r10 + 9], ntohl
jmp 0x140022f57
test al, al
je 0x140022f3f
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x140022f3f
mov rcx, r11
call fcn.140022a80
test byte [r10 + 8], 0x40
je 0x140022f57
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140022f57
mov rcx, r11
call fcn.140022a80
add r10, 0x18
cmp r10, rsi
jb 0x140022f10
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140022f97
mov rcx, rdi
call fcn.1400229f0
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 0x140022fa1
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret