joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057310
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140099080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x21], rcx
xor r15d, r15d
mov dword [rbp - 0x79], r15d
mov byte [rbp - 0x19], 0x64
mov dword [rbp - 0x15], 1
mov byte [rbp - 0x11], 0x6b
mov dword [rbp - 0xd], 2
mov byte [rbp - 9], 0x79
mov dword [rbp - 5], 6
mov byte [rbp - 1], 0x70
mov dword [rbp + 3], 3
mov byte [rbp + 7], 0x6d
mov dword [rbp + 0xb], 4
mov byte [rbp + 0xf], 0x74
mov dword [rbp + 0x13], 7
mov byte [rbp + 0x17], 0x78
mov dword [rbp + 0x1b], 8
mov byte [rbp + 0x1f], 0x69
mov dword [rbp + 0x23], 9
lea r14, [rbp - 0x19]
lea rdi, [rbp + 0x27]
mov dword [rbp - 0x69], r15d
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r15
mov ecx, 0x18
call fcn.1400734f4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x51], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x31], 8
mov dword [rbp - 0x69], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rbp - 0x51]
call fcn.14003bce0
nop
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x69]
call fcn.140056780
nop
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov dword [rbp - 0x79], 1
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140057455
movabs rcx, 0x3fffffffffffffff
cmp rax, rcx
ja 0x140057554
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140004b40
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140057467
mov rdi, qword [rsi]
mov rcx, rdi
mov rsi, rdi
jmp 0x14005746d
mov rdi, rsi
mov rcx, rsi
lea r14, [rcx + rax]
cmp rsi, r14
je 0x140057520
movabs rsi, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov r8, qword [rbp - 0x61]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdi]
mov eax, ecx
xor rax, rsi
imul rax, r12
mov rdx, qword [rbp - 0x39]
and rdx, rax
add rdx, rdx
mov r9, qword [rbp - 0x51]
mov rax, qword [r9 + rdx*8 + 8]
cmp rax, r8
je 0x1400574e0
mov rdx, qword [r9 + rdx*8]
cmp cl, byte [rax + 0x10]
je 0x1400574e3
nop dword [rax]
cmp rax, rdx
je 0x1400574e0
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x1400574d0
jmp 0x1400574e3
mov rax, r15
mov rcx, r8
test rax, rax
cmovne rcx, rax
cmp rcx, r8
je 0x140057518
lea r8, [rcx + 0x14]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14005750c
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140057514
mov rcx, rbx
call fcn.14001ab20
mov r8, qword [rbp - 0x61]
inc rdi
cmp rdi, r14
jne 0x1400574a0
lea rcx, [rbp - 0x69]
call fcn.140056dd0
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400736b0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000b470
int3
Function at 0x1400584b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0xf
mov r9, qword [rdx + 0x10]
jbe 0x1400584be
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x1400584f4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r8]
inc r8
xor rax, rcx
imul rax, r10
cmp r8, r9
jb 0x1400584e0
ret
Function at 0x14005cc50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 0xf
mov rbx, rdx
mov r11, qword [r8 + 0x10]
mov rdx, r8
mov rdi, rcx
jbe 0x14005cc71
mov rdx, qword [r8]
xor r10d, r10d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14005cca4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
inc r10
xor r9, rax
imul r9, rcx
cmp r10, r11
jb 0x14005cc90
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140026e00
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14005cccb
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140062670
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140099080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rdx
mov rdi, rdx
mov r9, qword [r8 + 0x10]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [r8 + 0x18]
add r8, 0x58
sub rcx, r9
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmovne r8, r9
cmp byte [r8 + 0x10], 0
je 0x1400626d1
movups xmm0, xmmword [r8]
movups xmmword [rsp + 0x20], xmm0
jmp 0x1400626da
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
xorps xmm0, xmm0
mov r8, qword [rsp + 0x28]
xorps xmm1, xmm1
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
cmp rdx, r8
jne 0x14006270b
mov ecx, 0xf
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x50], rcx
jmp 0x14006271d
sub r8, rdx
lea rcx, [rsp + 0x38]
call fcn.140003710
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
cmp rcx, 0xf
cmova rax, r8
movzx ebx, byte [rax]
jbe 0x140062770
lea rdx, [rcx + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140062760
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062760
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140073530
nop dword [rax + rax]
movabs rax, 0xcbf29ce484222325
mov rcx, rbx
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
mov rax, qword [0x14009b4e8]
and rcx, qword [0x14009b500]
add rcx, rcx
mov rdx, qword [rax + rcx*8 + 8]
cmp rdx, qword [0x14009b4d8]
je 0x1400627eb
mov rcx, qword [rax + rcx*8]
cmp bl, byte [rdx + 0x10]
je 0x1400627c4
cmp rdx, rcx
je 0x1400627eb
mov rdx, qword [rdx + 8]
cmp bl, byte [rdx + 0x10]
jne 0x1400627b6
add rdx, 0x18
mov rcx, rdi
call fcn.1400064f0
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400736b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x1400636b0
Capabilities:
Hash data using fnv

Disassembly:
mov r8, qword [0x14009b518]
movabs rcx, 0xcbf29ce484222325
movzx eax, dl
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov rcx, qword [0x14009b540]
and rcx, rax
shl rcx, 4
add rcx, qword [0x14009b528]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x14006371f
mov rcx, qword [rcx]
cmp dl, byte [rax + 0x10]
je 0x140063721
nop dword [rax + rax]
cmp rax, rcx
je 0x14006371f
mov rax, qword [rax + 8]
cmp dl, byte [rax + 0x10]
jne 0x140063700
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
setne al
ret
xor eax, eax
test rax, rax
mov rcx, r8
cmovne rcx, rax
cmp rcx, r8
setne al
ret
Function at 0x140066600
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x14006678f
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14003bce0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140066754
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0x100000001b3
movabs rbx, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r9d
mov rcx, qword [rcx]
xor rdx, rbx
imul rdx, rbp
and r11, rdx
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rdi
jne 0x1400666d2
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140066743
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x14006670b
mov r10, qword [rdx]
cmp r10, rax
je 0x140066705
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140066743
cmp r8, rdx
je 0x14006671f
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x140066769
cmp r8, rdx
jne 0x140066710
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x1400666a0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140066743
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14006bac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x14006bad5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x14006bb19
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x14006bb00
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140026e00
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14006bb39
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400743cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140074416
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140074416
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140074416
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140074416
cmp dword [rcx + 0x84], 0xe
jbe 0x140074416
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140074418
xor al, al
add rsp, 0x28
ret
Function at 0x180009f90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x13c0
call fcn.18006df40
sub rsp, rax
mov rax, qword [0x18010c040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov rdi, rcx
call fcn.18006c12c
mov r8d, eax
mov dword [rsp + 0x24], eax
mov ecx, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov r9d, 0x270
nop dword [rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, ecx
mov dword [rsp + rcx*4 + 0x24], r8d
inc rcx
cmp rcx, r9
jb 0x180009fe0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [r8 + 0x62c]
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x18000a010
mov ecx, dword [rsp + 0x20]
xorps xmm0, xmm0
movss xmm4, dword [rbx]
movaps xmm5, xmm4
mov edx, dword [rsp + rcx*4 + 0x24]
mov eax, edx
shr eax, 0xb
inc ecx
and eax, dword [rsp + 0x13a4]
xor edx, eax
mov dword [rsp + 0x20], ecx
mov eax, edx
lea rcx, [rsp + 0x20]
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
shr eax, 8
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x1800fccd8]
mulss xmm0, dword [0x1800fce40]
addss xmm0, dword [0x1800fcde8]
divss xmm5, xmm0
addss xmm5, xmm4
call fcn.18000b1d0
movss xmm1, dword [rbx + 8]
xorps xmm0, xmm0
movss xmm2, dword [rbx + 4]
shr eax, 8
cvtsi2ss xmm0, rax
mov rax, rdi
mulss xmm0, dword [0x1800fccd8]
mulss xmm0, dword [0x1800fce40]
addss xmm0, dword [0x1800fcde8]
divss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, dword [rbx + 4]
addss xmm1, xmm0
movss dword [rbx + 8], xmm1
movsd xmm1, qword [rbx]
movss xmm1, xmm5
shufps xmm1, xmm1, 0xe1
movss xmm1, xmm2
shufps xmm1, xmm1, 0xe1
movsd qword [rbx], xmm1
mov ecx, dword [rbx + 8]
movsd qword [rdi], xmm1
mov dword [rdi + 8], ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.18006d4e0
mov rbx, qword [rsp + 0x13e0]
add rsp, 0x13c0
pop rdi
ret
Function at 0x18000b1d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18000b231
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18000b1f0
mov ecx, dword [r9]
jmp 0x18000b318
cmp ecx, 0x4e0
jb 0x18000b318
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x18000b250
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x18000b2a0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x180029230
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18002928d
lea rbx, [0x1800a7030]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180029274
cmp r10, 2
jb 0x180029274
cmp byte [r9], r8b
jne 0x180029274
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180029250
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800292cf
lea rbx, [0x1800a7030]
cmp r8b, 0x23
jne 0x1800292b3
cmp byte [r9], r8b
jne 0x1800292b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800292a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180029420
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002943a
mov qword [r8], 0
lea rdx, [0x1800f71e4]
call fcn.1800292e0
mov rbx, rax
test rax, rax
jne 0x18002945a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.18007a46c
mov esi, eax
cmp eax, 0xffffffff
je 0x18002952a
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.18007ad20
test eax, eax
jne 0x18002952a
mov rcx, rbx
call fcn.18007a46c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18002952a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18007ad20
test eax, eax
jne 0x18002952a
cmp rdi, 0xffffffffffffffff
je 0x18002952a
mov rax, qword [0x180139408]
test rax, rax
je 0x1800294cc
inc dword [rax + 0x3b4]
mov rcx, rdi
call fcn.180079f44
mov rsi, rax
test rax, rax
je 0x18002952a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18007ba90
mov rcx, rbx
cmp rax, rdi
je 0x180029518
call fcn.18007aa18
mov rax, qword [0x180139408]
test rax, rax
je 0x18002950e
dec dword [rax + 0x3b4]
mov rcx, rsi
call fcn.180076164
jmp 0x180029532
call fcn.18007aa18
test r14, r14
je 0x180029525
mov qword [r14], rdi
mov rax, rsi
jmp 0x180029534
mov rcx, rbx
call fcn.18007aa18
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180029700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x180029929
mov qword [r11 + 0x20], rsi
lea rsi, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x180029762
cmp r8, rbp
jae 0x180029906
movzx edx, byte [r8]
test dl, dl
je 0x180029906
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xf72a0]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x180029798
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x1800297b1
movzx r13d, byte [rax]
jmp 0x1800297b4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x1800297c3
movzx r12d, byte [rax]
jmp 0x1800297c6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1800297d5
movzx r15d, byte [rax]
jmp 0x1800297d8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xf72d8]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0xf7288]
shr r11d, 2
shr esi, cl
mov ecx, pe_nt_image_headers64
cmp esi, dword [r10 + rax + 0xf7270]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0xf72c0]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x1800298e3
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x1800298ed
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x180029906
mov word [rdi], si
add rdi, 2
lea rsi, [0x180000000]
cmp rdi, qword [rsp + 8]
jb 0x180029750
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x18002993f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180029950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x180000000]
mov r13, rax
test rbx, rbx
je 0x180029990
cmp rax, rbx
jae 0x180029b3c
movzx r8d, byte [rax]
test r8b, r8b
je 0x180029b3c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xf72a0]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x1800299c8
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x1800299e1
movzx r12d, byte [rcx]
jmp 0x1800299e4
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x1800299f2
movzx ebp, byte [rcx]
jmp 0x1800299f5
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x180029a03
movzx esi, byte [rcx]
jmp 0x180029a06
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xf72d8]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0xf7288]
or r10d, r8d
shr r15d, cl
lea rcx, [0x180000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xf7270]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, pe_nt_image_headers64
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0xf72c0]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x180029b26
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x180029978
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x180029b3c
xor r10d, r10d
inc r14d
jmp 0x180029978
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret