joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14031f6e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x140372f09], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x14031f768
lea rdx, [0x14034c1da]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14031f7d0
mov rbx, qword [0x140372dc0]
jmp 0x14031f725
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14031f720
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14030e890
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x140372dc0], rax
mov ebx, dword [rax]
mov qword [0x140372dc0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x140372dc0], rdx
call fcn.14031e810
cmp eax, ebx
jne 0x14031f838
mov byte [0x140372f09], 1
jmp 0x14031f6fc
cmp byte [0x140372f08], 0
jne 0x14031f713
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x140373868], rax
call rbx
mov qword [0x140373860], rax
call rbx
mov qword [0x140373858], rax
call rbx
mov qword [0x140373850], rax
call rbx
mov qword [0x140373848], rax
call rbx
mov qword [0x140373840], rax
call rbx
mov qword [0x140373838], rax
call rbx
mov byte [0x140372f08], 1
mov qword [0x140373830], rax
jmp 0x14031f713
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140328ef0
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 fcn.14033a670
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14033a670
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x140329bc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140373d28]
test eax, eax
je 0x140329c5a
lea rax, [0x140373d00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140373d30]
mov qword [rbp - 8], rax
jmp 0x140329c3e
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 0x140329c32
cmp qword [rbp - 0x10], 0
je 0x140329c32
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 0x140329bf8
lea rax, [0x140373d00]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140329c5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140329d60
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 0x140329d88
mov eax, 0
jmp 0x140329dd6
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 0x140329db1
mov eax, 0
jmp 0x140329dd6
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 0x140329dd1
mov eax, 0
jmp 0x140329dd6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140329ddc
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 0x140329e5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140329e51
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 0x140329e51
mov rax, qword [rbp - 8]
jmp 0x140329e6f
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 0x140329e24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013230
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 0x14001128f
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x140011990
push rbp
push rdi
sub rsp, 0x7b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x156
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x788], rax
lea rcx, [0x1400240a5]
call fcn.140011398
lea rdx, [rbp + 0x2e0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400119e9
xor eax, eax
jmp 0x140011b7f
mov edx, 0x100
lea rcx, [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rdx, [rbp + 0x130]
lea rcx, [0x14001aee0]
call fcn.1400111a9
lea rcx, [0x14001aef8]
call fcn.1400111a9
lea rdx, [rbp + 0x10]
lea rcx, [0x14001af08]
call fcn.1400110a0
lea rcx, [rbp + 0x10]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x498], rax
cmp qword [rbp + 0x498], 0
je 0x140011aeb
mov dword [rbp + 0x4d4], 0
jmp 0x140011a63
mov eax, dword [rbp + 0x4d4]
inc eax
mov dword [rbp + 0x4d4], eax
movsxd rax, dword [rbp + 0x4d4]
mov rcx, qword [rbp + 0x498]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x4f8], rax
cmp qword [rbp + 0x4f8], 0
jne 0x140011a8c
jmp 0x140011add
mov rax, qword [rbp + 0x498]
movsx rax, word [rax + 0x12]
mov r8, rax
mov rdx, qword [rbp + 0x4f8]
lea rcx, [rbp + 0x4b4]
call fcn.1400111c7
mov ecx, dword [rbp + 0x4b4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rbp + 0x518], rax
mov r8, qword [rbp + 0x518]
lea rdx, [rbp + 0x10]
lea rcx, [0x14001af10]
call fcn.1400111a9
jmp 0x140011a55
lea rcx, [0x14001af2c]
call fcn.1400111a9
jmp 0x140011af7
lea rcx, [0x14001af30]
call fcn.1400111a9
lea rcx, [0x14001af40]
call fcn.1400111a9
lea rdx, [rbp + 0x250]
lea rcx, [0x14001af08]
call fcn.1400110a0
lea rcx, [rbp + 0x250]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x2ac], eax
mov r8d, 2
mov edx, 4
lea rcx, [rbp + 0x2ac]
call qword [sym.imp.WS2_32.dll_gethostbyaddr]
mov qword [rbp + 0x538], rax
cmp qword [rbp + 0x538], 0
je 0x140011b71
mov rax, qword [rbp + 0x538]
mov r8, qword [rax]
lea rdx, [rbp + 0x250]
lea rcx, str.ip_s
call fcn.1400111a9
jmp 0x140011b7d
lea rcx, [0x14001af70]
call fcn.1400111a9
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ae70]
call fcn.14001132f
mov rax, rdi
mov rcx, qword [rbp + 0x788]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x798]
pop rdi
pop rbp
ret
Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014570
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014590
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400145a3
xor al, al
jmp 0x140014611
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 0x1400145cd
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400145e1
xor al, al
jmp 0x140014611
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145f3
xor al, al
jmp 0x140014611
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001460f
xor al, al
jmp 0x140014611
mov al, 1
add rsp, 0x38
ret
Function at 0x140002fd0
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.14003dba0
mov rdx, rax
mov rcx, qword [rdi + 0x10]
test byte [rax + 8], 0xf
jne 0x140003000
mov byte [rcx + 8], 0
jmp 0x14000300d
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.140011a50
mov rbx, rax
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.140011480
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 0x1400068c0
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 0x140006923
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 0x140006910
mov r9, rbx
mov r8, r15
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.1400072d0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14000695e
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 0x140006b01
movabs rax, 0x492492492492492
cmp qword [rbp + 0x10], rax
jne 0x14000697c
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, 0x38
call fcn.1400c1bc8
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 0x1400069d2
cvtsi2ss xmm0, rcx
jmp 0x1400069e7
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 0x1400069fa
cvtsi2ss xmm2, rdi
jmp 0x140006a12
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 0x140006aa9
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1400dd950]
comiss xmm0, xmm1
jb 0x140006a50
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140006a50
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 0x140006a82
cmp rdi, 0x200
jae 0x140006a7f
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x140006a82
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.140007090
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1400072d0
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 0x140006ae2
mov qword [rcx + rax*8], rsi
jmp 0x140006af4
cmp r9, rdx
jne 0x140006aed
mov qword [rcx + rax*8], rsi
jmp 0x140006af9
cmp qword [rcx + rax*8 + 8], r8
jne 0x140006af9
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 0x140007090
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 0x1400070ca
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.140005630
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 0x140007290
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 0x140007184
mov r9, qword [rsp + 0x30]
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r8
jb 0x140007170
mov r12, qword [rbp + 0x30]
and r12, rdx
shl r12, 4
add r12, qword [r14]
mov r15, qword [r12]
cmp r15, rsi
jne 0x1400071a9
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x140007266
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x1400071f6
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400071f6
mov r8, qword [r14]
cmp r8, rbx
je 0x1400071ef
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 0x140007257
cmp r15, r14
je 0x140007232
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 0x14000722d
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400072a9
cmp r15, r14
jne 0x140007210
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 0x140007150
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 0x140007257
Function at 0x1400073a0
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 0x1400073f3
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 0x1400073e0
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 0x140007427
cmp rax, r8
jne 0x14000741d
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007432
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007432
cmp rax, r8
jne 0x140007432
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, 0x38
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.1400c1aa0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140010ad0
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 0x140010b01
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 [0x1401929d8]
or rax, rbx
bsr rcx, rax
mov r8, rsi
mov qword [rsp + 0x78], rdi
inc ecx
shl rbx, cl
lea rcx, [0x1401929e8]
lea rdx, [rbx + rbx]
call fcn.140005630
lea r10, [rbx - 1]
mov qword [0x140192a08], rbx
mov rbx, qword [0x1401929d8]
mov qword [0x140192a00], r10
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rsi
je 0x140010cf5
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 0x140010bc4
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 0x140010bb0
mov r12, qword [0x1401929e8]
and rcx, r10
shl rcx, 4
add r12, rcx
mov r15, qword [r12]
cmp r15, rsi
jne 0x140010bec
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x140010ca2
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x140010c39
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140010c39
mov r8, qword [r14]
cmp r8, rbx
je 0x140010c32
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 0x140010c98
cmp r15, r14
je 0x140010c73
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 0x140010c6e
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140010cb6
cmp r15, r14
jne 0x140010c51
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 0x140010cdc
mov r10, qword [0x140192a00]
jmp 0x140010b80
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 0x140010c98
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 0x140022540
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 0x1400225a0
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x1400225a0
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 0x1400225a3
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400225de
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x1400225cf
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x1400225cf
mov rcx, r11
call fcn.140022160
add r10, 0x10
sub rbx, 1
jne 0x1400225b1
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140022640
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140022609
test al, al
je 0x140022637
mov byte [r10 + 9], 0xb
jmp 0x140022637
test al, al
je 0x14002261f
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x14002261f
mov rcx, r11
call fcn.140022160
test byte [r10 + 8], 0x40
je 0x140022637
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140022637
mov rcx, r11
call fcn.140022160
add r10, 0x18
cmp r10, rsi
jb 0x1400225f0
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140022677
mov rcx, rdi
call fcn.1400220d0
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 0x140022681
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret