joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029cc4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140024038
xor ebx, ebx
mov rdi, rax
cmp qword [0x140050e80], rbx
jne 0x140029dca
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140029e9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029e9f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003aed0]
mov rcx, rsi
mov qword [0x140050e80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003aeb8]
mov rcx, rsi
mov qword [0x140050e88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140050e90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140050ea0], rax
test rax, rax
je 0x140029dc1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140050e98], rax
jmp 0x140029dd1
mov rax, qword [0x140050e98]
jmp 0x140029dd8
mov rax, qword [0x140050e98]
mov r11, qword [0x140050ea0]
cmp rax, rdi
je 0x140029e40
cmp r11, rdi
je 0x140029e40
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140050ea0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140029e40
test rax, rax
je 0x140029e40
call rsi
test rax, rax
je 0x140029e3a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140029e3a
test byte [rsp + 0x38], 1
jne 0x140029e40
bts ebp, 0x15
jmp 0x140029e7e
mov rcx, qword [0x140050e88]
cmp rcx, rdi
je 0x140029e7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029e7e
call rax
mov rbx, rax
test rax, rax
je 0x140029e7e
mov rcx, qword [0x140050e90]
cmp rcx, rdi
je 0x140029e7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029e7e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140050e80]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140029e9f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140029ea1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140002f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
nop dword [rax + rax]
mov r9d, dword [rdi + 0x64]
mov r8d, dword [rdi + 0x3c]
mov ecx, dword [rdi + 0x48]
lea eax, [r8 + r9]
cmp eax, ecx
jbe 0x140002fc4
mov r9d, ecx
sub r9d, r8d
cmp r9d, 3
jae 0x140002fc4
mov rcx, rdi
call fcn.140003260
test eax, eax
jne 0x140003157
jmp 0x14000314a
xor r13d, r13d
mov ecx, r8d
sub ecx, dword [rdi + 0x60]
mov rbx, r8
cmp r8d, dword [rdi + 0x60]
mov r12d, 2
mov r15d, r12d
cmova r13d, ecx
add rbx, qword [rdi + 0x30]
movzx eax, byte [rbx]
movzx ecx, byte [rbx + 1]
shl rcx, 8
xor rcx, rax
mov rax, qword [rdi + 0x68]
mov r10d, dword [rax + rcx*4]
mov dword [rax + rcx*4], r8d
mov eax, dword [rdi + 0x5c]
mov rdx, qword [rdi + 0x70]
add eax, eax
mov ebp, dword [rdi + 0x78]
mov qword [rsp + 0x60], rdx
lea rsi, [rdx + rax*4]
lea r14, [rsi + 4]
cmp r10d, r13d
jbe 0x1400030c3
mov eax, ebp
dec ebp
test eax, eax
je 0x1400030c3
mov ecx, dword [rdi + 0x3c]
mov eax, dword [rdi + 0x5c]
sub ecx, r10d
cmp ecx, eax
ja 0x14000303e
sub eax, ecx
jmp 0x140003043
sub eax, ecx
add eax, dword [rdi + 0x60]
add eax, eax
mov r8d, r10d
add r8, qword [rdi + 0x30]
cmp r15d, r12d
lea r11, [rdx + rax*4]
mov eax, r12d
cmovb eax, r15d
movzx ecx, byte [rax + rbx]
cmp byte [rax + r8], cl
jne 0x14000308f
inc eax
cmp eax, r9d
je 0x140003081
nop dword [rax + rax]
movzx ecx, byte [rax + rbx]
cmp byte [rax + r8], cl
jne 0x14000308f
inc eax
cmp eax, r9d
jne 0x140003070
mov eax, dword [r11]
mov dword [rsi], eax
mov eax, dword [r11 + 4]
mov dword [r14], eax
jmp 0x1400030d0
movzx ecx, byte [rax + rbx]
cmp byte [rax + r8], cl
jae 0x1400030a8
mov dword [rsi], r10d
mov r12d, eax
lea rsi, [r11 + 4]
mov r11, rsi
jmp 0x1400030b1
mov dword [r14], r10d
mov r15d, eax
mov r14, r11
mov r10d, dword [r11]
cmp r10d, r13d
jbe 0x1400030c3
mov rdx, qword [rsp + 0x60]
jmp 0x140003021
mov dword [rsi], 0
mov dword [r14], 0
mov eax, dword [rdi + 0x5c]
inc eax
mov dword [rdi + 0x5c], eax
cmp eax, dword [rdi + 0x60]
jne 0x1400030e4
mov dword [rdi + 0x5c], 0
mov ecx, dword [rdi + 0x3c]
inc ecx
mov dword [rdi + 0x3c], ecx
cmp ecx, dword [rdi + 0x20]
jbe 0x140003139
mov r8, qword [rdi + 0x30]
mov eax, ecx
add rax, r8
cmp rax, qword [rdi + 0x28]
jbe 0x14000312c
mov eax, r8d
sub eax, dword [rdi + 0x40]
sub eax, dword [rdi + 0x10]
add ecx, eax
mov eax, dword [rdi + 0x48]
lea ebx, [rcx - 1]
cmove ebx, ecx
mov rcx, qword [rdi + 0x10]
sub eax, ebx
sub eax, ecx
add r8d, eax
lea rdx, [rbx + rcx]
call fcn.14031e5f0
sub qword [rdi + 0x30], rbx
lea rcx, [rdi + 8]
call fcn.1400028c0
test eax, eax
jne 0x140003157
cmp dword [rdi + 0x3c], 0x7fffffff
jne 0x14000314a
mov rcx, rdi
call fcn.140003170
add dword [rsp + 0x68], 0xffffffff
jne 0x140002f90
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
xor ebx, ebx
lea r14, [0x140464260]
mov rdi, rcx
lea r11d, [rbx + 1]
lea r10d, [rbx + 8]
test dl, dl
je 0x1400051db
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x28], rsi
movzx esi, r8b
movzx ebp, r9b
nop dword [rax]
nop word [rax + rax]
dec r10d
mov r8d, esi
movzx ecx, r10b
mov edx, ebp
shr r8d, cl
shr edx, cl
and r8d, 1
and edx, 1
lea eax, [r8 + 1]
shl eax, 8
add eax, r11d
add r11d, r11d
or r11d, edx
mov ecx, dword [rdi + rax*4]
mov eax, edx
sub ecx, edx
neg eax
xor rcx, rax
shr rcx, 2
and ecx, 0x1ff
add ebx, dword [r14 + rcx*4]
cmp r8d, edx
jne 0x1400051cc
test r10d, r10d
jne 0x140005180
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x18]
test r10d, r10d
je 0x140005217
movzx r8d, r9b
nop
mov eax, r11d
dec r10d
movzx ecx, r10b
add r11d, r11d
mov edx, r8d
shr edx, cl
mov ecx, dword [rdi + rax*4]
and edx, 1
sub ecx, edx
mov eax, edx
neg eax
or r11d, edx
xor rcx, rax
shr rcx, 2
and ecx, 0x1ff
add ebx, dword [r14 + rcx*4]
test r10d, r10d
jne 0x1400051e0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
pop r14
pop rdi
ret
Function at 0x1400054c0
Capabilities:
Encode data using xor

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
mov r10d, dword [rcx]
mov r11d, 0x800
mov eax, r10d
mov r14d, edx
shr rax, 2
mov r12, r9
mov esi, r8d
mov rbx, rcx
mov ecx, dword [rcx + 4]
lea r8, [0x140464260]
mov rdi, r12
mov ebp, dword [r8 + rax*4]
mov eax, r11d
sub eax, r10d
sub r11d, ecx
mov r10d, eax
mov eax, ecx
shr rax, 2
shr r10, 2
mov r15d, dword [r8 + rax*4]
add r15d, dword [r8 + r10*4]
mov eax, r11d
shr rax, 2
mov r13d, dword [r8 + rax*4]
add r13d, dword [r8 + r10*4]
mov dword [rsp + 0x30], r13d
xor r9d, r9d
nop word [rax + rax]
cmp r9d, esi
jae 0x140005695
mov r8d, r9d
lea r13, [0x140464260]
or r8d, 8
xor r10d, r10d
mov r11, r14
shl r11, 3
mov eax, r8d
mov ecx, r8d
shr rax, 1
and ecx, 1
add rax, r11
shr r8d, 1
mov edx, dword [rbx + rax*4 + 8]
mov eax, ecx
sub edx, ecx
neg eax
xor rdx, rax
shr rdx, 2
and edx, 0x1ff
add r10d, dword [r13 + rdx*4]
cmp r8d, 1
jne 0x140005561
mov r13d, dword [rsp + 0x30]
lea eax, [r10 + rbp]
mov dword [rdi], eax
inc r9d
add rdi, 4
cmp r9d, 8
jb 0x140005540
lea r14, [0x140464260]
cmp r9d, 0x10
jae 0x140005629
lea rdi, [r12 + r9*4]
nop
cmp r9d, esi
jae 0x140005695
lea r8d, [r9 - 8]
or r8d, 8
xor r10d, r10d
nop dword [rax]
nop dword [rax + rax]
mov eax, r8d
mov ecx, r8d
shr rax, 1
and ecx, 1
add rax, r11
shr r8d, 1
mov edx, dword [rbx + rax*4 + 0x208]
mov eax, ecx
sub edx, ecx
neg eax
xor rdx, rax
shr rdx, 2
and edx, 0x1ff
add r10d, dword [r14 + rdx*4]
cmp r8d, 1
jne 0x1400055e0
lea eax, [r10 + r15]
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, 0x10
jb 0x1400055c0
cmp r9d, esi
jae 0x140005695
lea r11, [r12 + r9*4]
nop dword [rax]
nop word [rax + rax]
lea eax, [r9 - 0x10]
bts eax, 8
xor r10d, r10d
nop dword [rax + rax]
mov ecx, eax
mov edx, eax
shr rcx, 1
and edx, 1
shr eax, 1
mov r8d, dword [rbx + rcx*4 + 0x408]
mov ecx, edx
sub r8d, edx
neg ecx
xor r8, rcx
shr r8, 2
and r8d, 0x1ff
add r10d, dword [r14 + r8*4]
cmp eax, 1
jne 0x140005650
lea eax, [r10 + r13]
inc r9d
mov dword [r11], eax
add r11, 4
cmp r9d, esi
jb 0x140005640
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140009c10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
xor r15d, r15d
lea r12, [rcx + 0x33abc]
lea r13, [0x140464260]
nop dword [rax]
mov r14d, dword [rcx + 0x28d1c]
lea r12, [r12 + 4]
mov r9d, r15d
mov ebx, r15d
and r9d, 1
shr ebx, 1
sub r14d, r9d
mov edi, r9d
or r9d, 2
mov r8d, ebx
and r8d, 1
shr ebx, 1
mov r11d, r8d
neg edi
xor r14, rdi
neg r11d
mov ebp, dword [rcx + r9*4 + 0x28d18]
inc r15d
sub ebp, r8d
shr r14, 2
add r9d, r9d
xor rbp, r11
or r9d, r8d
shr rbp, 2
mov r8d, ebx
and r14d, 0x1ff
and r8d, 1
shr ebx, 1
and ebx, 1
mov r10d, r8d
mov esi, dword [rcx + r9*4 + 0x28d18]
lea eax, [r9 + r9]
or eax, r8d
sub esi, r8d
neg r10d
and ebp, 0x1ff
xor rsi, r10
shr rsi, 2
mov edx, dword [rcx + rax*4 + 0x28d18]
and esi, 0x1ff
sub edx, ebx
mov eax, ebx
neg eax
xor rdx, rax
shr rdx, 2
and edx, 0x1ff
mov eax, dword [r13 + rdx*4]
add eax, dword [r13 + r14*4]
add eax, dword [r13 + rbp*4]
add eax, dword [r13 + rsi*4]
mov dword [r12 - 4], eax
cmp r15d, 0x10
jb 0x140009c40
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [rcx + 0x33afc], 0
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14001ba90
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x50
mov ebx, r9d
mov dword [rsp + 0x20], 0xf0000000
mov rdi, r8
mov rsi, rcx
mov r9d, 0x18
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14001bb81
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14001bb81
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14001bb81
mov r8, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x14001bb81
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x14001bb81
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1402795a0
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [0x14045fd58]
mov rdi, rcx
cmp byte [rax + 0x54], 0
je 0x1402795c1
mov eax, 0x1020304
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor ebx, ebx
xor ecx, ecx
call fcn.1403036b0
xor ebx, eax
call fcn.140302760
shl eax, 0xc
xor ebx, eax
mov rax, qword [rdi + 0x10]
movzx ecx, word [rax + 0x2c]
xor ecx, dword [rax + 0x40]
xor ebx, ecx
call fcn.1402f3bd0
xor ebx, eax
je 0x1402795c8
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14027f290
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14045f040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov rbx, rcx
mov dword [rcx + 0x130], edi
mov esi, 0x5a4d
mov edx, edi
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov r8d, 0x40
mov rax, qword [rcx]
call qword [rax + 0x38]
movzx eax, word [rsp + 0x30]
cmp ax, si
jne 0x14027f35d
movzx eax, word [rsp + 0x48]
cmp ax, 0x40
jae 0x14027f329
movzx r8d, word [rsp + 0x34]
mov r9d, 0x200
movzx edx, word [rsp + 0x32]
movzx eax, word [rsp + 0x32]
shl r8d, 9
sub r8d, eax
add r8d, edx
jne 0x14027f32e
mov r9d, dword [rsp + 0x6c]
mov eax, dword [rbx + 0x130]
lea edx, [rax + r9]
cmp edx, r9d
jb 0x14027f3e5
cmp edx, dword [rbx + 0x18]
ja 0x14027f3e5
inc edi
mov dword [rbx + 0x130], edx
cmp edi, 0x14
jl 0x14027f2d0
jmp 0x14027f368
mov eax, dword [rsp + 0x30]
cmp eax, 0x4550
jne 0x14027f3be
cmp edi, 0x14
je 0x14027f3be
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov edx, dword [rbx + 0x130]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1d8]
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov edx, 0x200
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov r8d, 6
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
jmp 0x14027f3c0
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1402e2560
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea r8, str.bad_PE_delta__x_at_offset__x
mov dword [rsp + 0x20], eax
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.140276f30
lea rcx, [rsp + 0x70]
call fcn.14000d400
int3
Function at 0x1402d2b50
Capabilities:
Compute adler32 checksum

Disassembly:
movzx r9d, cx
mov r11d, r8d
shr ecx, 0x10
mov r10, rdx
test rdx, rdx
jne 0x1402d2b66
lea eax, [rdx + 1]
ret
test r8d, r8d
je 0x1402d2ca3
nop
mov edx, 0x15b0
cmp r11d, edx
cmovb edx, r11d
sub r11d, edx
cmp edx, 0x10
jl 0x1402d2c5d
mov r8d, edx
shr r8, 4
mov eax, r8d
neg eax
shl eax, 4
add edx, eax
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 8]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 9]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xa]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xb]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xc]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xd]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xe]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 0xf]
add ecx, r9d
add r10, 0x10
add r9d, eax
add ecx, r9d
sub r8, 1
jne 0x1402d2ba0
test edx, edx
je 0x1402d2c74
movzx eax, byte [r10]
dec edx
add r9d, eax
inc r10
add ecx, r9d
test edx, edx
jg 0x1402d2c61
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
test r11d, r11d
jne 0x1402d2b70
shl ecx, 0x10
or ecx, r9d
mov eax, ecx
ret
Function at 0x1402d3600
Capabilities:
Decompress data using ucl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov edi, dword [r9]
lea ebx, [rdx + r8]
xor esi, esi
mov r11, rcx
mov r14, r9
mov ecx, esi
mov r10d, esi
lea ebp, [rsi + 1]
cmp edi, ebx
jb 0x1402d3640
mov dword [r9], esi
mov eax, 0xffffff32
jmp 0x1402d381b
test cl, 0x7f
je 0x1402d3649
add ecx, ecx
jmp 0x1402d3659
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
bt ecx, 8
jae 0x1402d3680
cmp edx, ebx
jae 0x1402d3813
cmp r10d, edi
jae 0x1402d37ed
cmp r10d, edx
ja 0x1402d37e6
inc r10d
inc edx
jmp 0x1402d3640
mov r8d, 1
test cl, 0x7f
je 0x1402d368f
add ecx, ecx
jmp 0x1402d369f
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov eax, ecx
shr eax, 8
and eax, 1
lea r8d, [rax + r8*2]
cmp edx, ebx
jae 0x1402d3813
cmp r8d, 0x1000002
ja 0x1402d380c
test cl, 0x7f
je 0x1402d36c9
add ecx, ecx
jmp 0x1402d36d9
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
bt ecx, 8
jae 0x1402d3686
cmp r8d, 2
je 0x1402d3711
cmp edx, ebx
jae 0x1402d3813
mov eax, edx
inc edx
shl r8d, 8
movzx r9d, byte [rax + r11]
add r9d, r8d
cmp r9d, 0x2ff
je 0x1402d37f4
lea ebp, [r9 - 0x2ff]
mov r9d, ebp
test cl, 0x7f
je 0x1402d371d
add ecx, ecx
jmp 0x1402d372d
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov r8d, ecx
shr r8d, 8
and r8d, 1
test cl, 0x7f
je 0x1402d3741
add ecx, ecx
jmp 0x1402d3751
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov eax, ecx
shr eax, 8
and eax, 1
lea r8d, [rax + r8*2]
test r8d, r8d
jne 0x1402d37bd
mov r8d, 1
test cl, 0x7f
je 0x1402d3771
add ecx, ecx
jmp 0x1402d3781
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov eax, ecx
shr eax, 8
and eax, 1
lea r8d, [rax + r8*2]
cmp edx, ebx
jae 0x1402d3813
cmp r8d, edi
jae 0x1402d37ed
test cl, 0x7f
je 0x1402d37a3
add ecx, ecx
jmp 0x1402d37b3
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
bt ecx, 8
jae 0x1402d3768
add r8d, 2
cmp r9d, 0xd00
mov eax, esi
seta al
add r8d, eax
add r8d, r10d
cmp r8d, edi
ja 0x1402d37ed
cmp r9d, r10d
ja 0x1402d380c
lea r10d, [r8 + 1]
cmp r10d, edx
jbe 0x1402d3640
mov eax, 0xffffff32
jmp 0x1402d3818
mov eax, 0xffffff36
jmp 0x1402d3818
mov dword [r14], r10d
cmp edx, ebx
je 0x1402d3808
mov esi, 0xffffff37
mov eax, 0xffffff33
cmovb esi, eax
mov eax, esi
jmp 0x1402d381b
mov eax, 0xffffff35
jmp 0x1402d3818
mov eax, 0xffffff37
mov dword [r14], r10d
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x1402d3b60
Capabilities:
Decompress data using ucl

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov ebp, dword [r9]
lea esi, [rdx + r8]
xor r14d, r14d
mov rdi, rcx
mov r15, r9
mov ecx, r14d
mov r10d, r14d
mov r11d, r14d
lea r12d, [r14 + 1]
cmp ebp, esi
jb 0x1402d3ba3
mov dword [r9], r14d
mov eax, 0xffffff32
jmp 0x1402d3db8
mov qword [rsp + 0x20], rbx
test ecx, ecx
je 0x1402d3bb8
dec ecx
mov eax, r10d
shr eax, cl
and eax, 1
jmp 0x1402d3bcc
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov eax, r10d
shr eax, 0x1f
test eax, eax
je 0x1402d3bf1
cmp edx, esi
jae 0x1402d3dab
cmp r11d, ebp
jae 0x1402d3d82
cmp r11d, edx
ja 0x1402d3d7b
inc r11d
inc edx
jmp 0x1402d3ba8
mov r8d, 1
test ecx, ecx
je 0x1402d3c07
dec ecx
mov eax, r10d
shr eax, cl
and eax, 1
jmp 0x1402d3c1b
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov eax, r10d
shr eax, 0x1f
lea r8d, [rax + r8*2]
cmp edx, esi
jae 0x1402d3dab
cmp r8d, 0x1000002
ja 0x1402d3da4
test ecx, ecx
je 0x1402d3c44
dec ecx
mov eax, r10d
shr eax, cl
and eax, 1
jmp 0x1402d3c58
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov eax, r10d
shr eax, 0x1f
test eax, eax
je 0x1402d3bf7
cmp r8d, 2
je 0x1402d3c8e
cmp edx, esi
jae 0x1402d3dab
mov eax, edx
inc edx
shl r8d, 8
movzx r9d, byte [rax + rdi]
add r9d, r8d
cmp r9d, 0x2ff
je 0x1402d3d89
lea r12d, [r9 - 0x2ff]
mov ebx, r12d
test ecx, ecx
je 0x1402d3cbb
dec ecx
mov r8d, r10d
shr r8d, cl
and r8d, 1
test ecx, ecx
jne 0x1402d3cd0
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov eax, r10d
shr eax, 0x1f
jmp 0x1402d3cda
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov r8d, r10d
shr r8d, 0x1f
dec ecx
mov eax, r10d
shr eax, cl
and eax, 1
lea r9d, [rax + r8*2]
test r9d, r9d
jne 0x1402d3d51
mov r9d, 1
nop dword [rax]
test ecx, ecx
je 0x1402d3d00
dec ecx
mov eax, r10d
shr eax, cl
and eax, 1
jmp 0x1402d3d14
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov eax, r10d
shr eax, 0x1f
lea r9d, [rax + r9*2]
cmp edx, esi
jae 0x1402d3dab
cmp r9d, ebp
jae 0x1402d3d82
test ecx, ecx
je 0x1402d3d35
dec ecx
mov eax, r10d
shr eax, cl
and eax, 1
jmp 0x1402d3d49
mov eax, edx
mov ecx, 0x1f
add edx, 4
mov r10d, dword [rax + rdi]
mov eax, r10d
shr eax, 0x1f
test eax, eax
je 0x1402d3cf0
add r9d, 2
cmp ebx, 0xd00
mov eax, r14d
seta al
lea r8d, [r9 + rax]
add r8d, r11d
cmp r8d, ebp
ja 0x1402d3d82
cmp ebx, r11d
ja 0x1402d3da4
lea r11d, [r8 + 1]
cmp r11d, edx
jbe 0x1402d3ba8
mov eax, 0xffffff32
jmp 0x1402d3db0
mov eax, 0xffffff36
jmp 0x1402d3db0
mov dword [r15], r11d
cmp edx, esi
je 0x1402d3d9f
mov eax, 0xffffff33
mov r14d, 0xffffff37
cmovb r14d, eax
mov eax, r14d
jmp 0x1402d3db3
mov eax, 0xffffff35
jmp 0x1402d3db0
mov eax, 0xffffff37
mov dword [r15], r11d
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret