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

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 r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x140005b0b
mov rax, qword [0x14054b660]
and rax, r15
add rax, rax
mov rcx, qword [0x14054b648]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x14054b638]
cmp rbx, r14
jne 0x140005b57
mov rbx, r14
mov rbp, r14
jmp 0x140005b9d
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x140005b69
cmp rbx, rdx
je 0x140005b97
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140005b60
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x14054b640], rax
jne 0x140005bbe
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x14054b638]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.14015e9f4
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov r8, qword [0x14054b640]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140005c04
cvtsi2ss xmm0, rcx
jmp 0x140005c19
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14054b668]
xorps xmm1, xmm1
test rcx, rcx
js 0x140005c2f
cvtsi2ss xmm1, rcx
jmp 0x140005c44
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14054b630]
jbe 0x140005cac
call fcn.140005d4c
mov rcx, qword [0x14054b660]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x14054b648]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x14054b638]
cmp rax, rbx
je 0x140005c98
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x140005c90
mov rbx, rax
cmp rax, r8
je 0x140005cef
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140005c84
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x14054b640]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x14054b640], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x14054b660]
and rax, r15
add rax, rax
mov rcx, qword [0x14054b648]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x14054b638]
jne 0x140005cf6
mov qword [rcx + rax*8], rdi
jmp 0x140005d08
mov qword [rsp + 0x20], rax
jmp 0x140005c9d
cmp r8, rbp
jne 0x140005d01
mov qword [rcx + rax*8], rdi
jmp 0x140005d0d
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140005d0d
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x140005b75
Function at 0x140005d4c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14054b640]
xorps xmm0, xmm0
add rcx, 1
js 0x140005d6d
cvtsi2ss xmm0, rcx
jmp 0x140005d82
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x14054b630]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1403b5428]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140005db4
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140005db4
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x14054b668]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x140005de9
cmp rdx, 0x200
jae 0x140005de6
shl rdx, 3
cmp rdx, rcx
jae 0x140005de9
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x140005e12
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x14054b638]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14054b648]
lea rdx, [rdi + rdi]
call fcn.140004cd8
mov rax, qword [0x14054b638]
lea r9, [rdi - 1]
mov qword [0x14054b660], r9
mov qword [0x14054b668], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140005f60
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x140005e7a
mov rdi, qword [0x14054b648]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x140005eb8
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x140005f26
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x140005efb
mov r10, qword [r10]
cmp r10, rax
je 0x140005eb1
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 0x140005eb1
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x140005f3a
cmp qword [rdi + r11*8], r10
jne 0x140005ef1
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x140005f60
mov r9, qword [0x14054b660]
jmp 0x140005e6a
mov r10, qword [r10]
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 0x140005f26
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000608c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400060f0
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
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 0x1400060b0
mov ecx, dword [r9]
jmp 0x1400061cd
cmp ecx, 0x4e0
jb 0x1400061cd
lea r10, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [r10]
mov r11d, 0x7fffffff
mov eax, edi
mov r8, r10
add r10, 4
mov edi, dword [r10]
mov edx, edi
xor edx, eax
and edx, r11d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140006111
lea r10, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [r10]
mov eax, edi
mov r8, r10
mov edx, eax
add r10, 4
mov edi, dword [r10]
xor edx, edi
and edx, r11d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x14000615b
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r11d
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 rsi, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
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
ret

Function at 0x14000f940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x48
mov r11, rcx
mov r10, rdx
xor ecx, ecx
cmp r8, 0xffffffffffffffff
jne 0x14000f985
movzx eax, byte [rdx]
mov r8d, ecx
test al, al
je 0x14000f977
nop dword [rax]
imul ecx, ecx, 0x1003f
inc r8
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + r8]
test al, al
jne 0x14000f960
mov edx, ecx
test r8, r8
jne 0x14000f9b2
xor eax, eax
add rsp, 0x48
ret
mov rdx, rcx
test r8, r8
je 0x14000f977
nop dword [rax]
movzx eax, byte [rdx + r10]
test al, al
je 0x14000f9ab
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x14000f990
jmp 0x14000f977
mov ecx, 0x11
mov edx, ecx
mov eax, r9d
mov qword [rsp + 0x40], rbx
xor eax, ecx
mov qword [rsp + 0x20], r10
mov ebx, 0xffffffff
mov dword [rsp + 0x28], r8d
cmp r9d, ebx
mov dword [rsp + 0x30], r9d
lea rcx, [r11 + 0x110]
cmove eax, edx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call fcn.140010870
test rax, rax
je 0x14000f9f3
mov ebx, dword [rax + 0xc]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x140011290
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
movzx eax, word [r8 + 0x1c]
lea r12, [r9 - 1]
mov r15, rcx
mov qword [rsp + 0x38], r8
movzx ecx, byte [r8 + 0x1e]
add r12, rax
shr r12, cl
mov r14, r9
mov ecx, 0x68
mov qword [rsp + 0x40], rdx
lea r13d, [r12 + 0x3f]
shr r13d, 6
mov dword [rsp + 0x20], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor esi, esi
xorps xmm0, xmm0
mov ebp, 1
mov rbx, rax
mov edi, ebp
movups xmmword [rsp + 0x28], xmm0
test rax, rax
je 0x140011324
mov ecx, r13d
mov eax, 8
add rcx, rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x28]
mov rsi, rax
xor r13d, r13d
test rsi, rsi
je 0x140011398
test byte [r15], dil
je 0x140011353
mov r8d, 7
lea rcx, [rsp + 0x28]
mov rdx, r14
call sym.ConsoleApplication1.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x30]
mov edi, eax
mov r13d, 4
jmp 0x1400113a2
test r14, r14
jne 0x140011369
mov rdx, qword [rsp + 0x28]
mov edi, 2
mov qword [rsp + 0x30], rdx
jmp 0x1400113a2
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14001138c
mov qword [rsp + 0x28], rax
xor edi, edi
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rdx
jmp 0x1400113a2
psrldq xmm0, 8
movq rdx, xmm0
test rbx, rbx
je 0x140011446
test rsi, rsi
je 0x140011459
test edi, edi
jne 0x14001144b
mov eax, dword [r15]
shr eax, 2
test bpl, al
je 0x1400113dc
mov rcx, r14
shr rcx, 2
test rcx, rcx
je 0x1400113dc
mov eax, dword [r15 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov edi, dword [rsp + 0x20]
xor edx, edx
mov r8d, edi
mov rcx, rsi
shl r8, 4
call fcn.14015f9f2
mov rax, qword [rsp + 0x38]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x28]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + rdi*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x40]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], r14
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r12d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r12d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r12d
mov qword [rbx + 0x58], rsi
jmp 0x140011469
test rsi, rsi
je 0x140011462
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140011462
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
cmovne ebp, edi
mov eax, ebp
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013c50
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14054a240]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp dword [0x14054b628], 0
jne 0x140013d46
xorps xmm0, xmm0
mov word [rsp + 0x20], 2
xor eax, eax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x22], xmm0
mov dword [rbp + 9], eax
movups xmmword [rbp - 0x77], xmm0
mov word [rbp + 0xd], ax
movups xmmword [rbp - 0x67], xmm0
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
call fcn.140012ff0
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rbp - 0x79]
mov eax, dword [rbp + 0x37]
movaps xmmword [0x14054b590], xmm0
movaps xmmword [0x14054b5a0], xmm1
movaps xmm1, xmmword [rbp - 0x59]
movaps xmmword [0x14054b5c0], xmm1
movaps xmm1, xmmword [rbp - 0x39]
movaps xmmword [0x14054b5e0], xmm1
movaps xmm1, xmmword [rbp - 0x19]
mov dword [rbp - 0x69], eax
movaps xmm0, xmmword [rbp - 0x69]
movaps xmmword [0x14054b5b0], xmm0
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [0x14054b5d0], xmm0
movaps xmm0, xmmword [rbp - 0x29]
movaps xmmword [0x14054b5f0], xmm0
movaps xmm0, xmmword [rbp - 9]
movaps xmmword [0x14054b600], xmm1
movsd xmm1, qword [rbp + 7]
movaps xmmword [0x14054b610], xmm0
movsd qword [0x14054b620], xmm1
mov dword [0x14054b628], 1
lea rax, [0x14054b590]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14015f080
add rsp, 0x100
pop rbp
ret

Function at 0x140014060
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14054a240]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x14054b678]
test eax, eax
jne 0x1400140d5
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
mov qword [0x14054b768], rax
mov eax, 1
xchg dword [0x14054b678], eax
mov rax, qword [0x14054b768]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14015f080
add rsp, 0x68
ret

Function at 0x140017130
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
mov rax, rdx
test r9, r9
je 0x14001715e
cmp r8, 0xffffffffffffffff
jne 0x140017150
inc r8
cmp byte [rdx + r8], 0
jne 0x140017146
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
add rsp, 0x28
ret
Function at 0x14006d8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.14006d330
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14006d930
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x14006d9b3
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x14006d955
mov dword [rsp + 0x28], 1
jmp 0x14006d95d
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14006d96e
mov dword [rsp + 0x2c], 0
jmp 0x14006d976
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14006d999
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006d770
jmp 0x14006d9ae
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.14006d770
jmp 0x14006d926
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14006d770
add rsp, 0x48
ret
Function at 0x14015f7a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14015f7ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015f7ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14015f7ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14015f7ea
cmp dword [rcx + 0x84], 0xe
jbe 0x14015f7ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14015f7ec
xor al, al
add rsp, 0x28
ret
Function at 0x14002924c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c844
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c844
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002939c
cmp rax, 0xffffffffffffffff
je 0x14002939c
xor edi, edi
test rbp, rbp
jle 0x140029347
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f158
mov rbx, rax
test rax, rax
jne 0x1400292d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002933d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a178
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d520
cmp eax, 0xffffffff
je 0x14002931d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400292e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a178
jmp 0x14002933d
cmp byte [rsi + 0x38], dil
je 0x140029334
cmp dword [rsi + 0x34], 5
jne 0x140029334
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002933d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001af0c
jmp 0x1400293b0
jns 0x1400293b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c844
cmp rax, 0xffffffffffffffff
jne 0x140029368
cmp byte [rsi + 0x30], dil
je 0x1400293b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400293b0
mov ecx, r14d
call fcn.140018630
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400293b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400293b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400293a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400293ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c844
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140f500c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f500ca
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f500f3
pop rbp
sub rbp, 0x33
sub rbp, 0xf500c0
sub rsp, 0x20
jmp 0x140f50112
mov rax, 0xf500c0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6925af89
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f50131
jmp 0x140f50148
rol dword [rax], 0x60
add al, byte [rax]
mov ch, 0x89
mov dword [rcx - 0x7eb7f73f], ecx
mov byte [rcx + 0x6088c189], cl
ror dword [rsi + 0x49], 0x81
mov dword [rcx + 0x4b4ec189], ecx
movabs eax, dword [0x88c16b7ec1898989]
add cl, byte [rax]
test dword [rcx - 0x773e7677], ecx
invalid
Function at 0x140028ac0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x140028ae2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x140028afe
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x140028b15
cmp byte [rcx + 1], 0x25
jne 0x140028b59
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x140028b21
cmp al, 0xe9
jne 0x140028b59
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x140028b44
cmp rcx, 0xffffffff80000000
jae 0x140028b3b
lea rsi, [rcx + 0x7ff80000]
jmp 0x140028b59
mov rsi, 0xfffffffffff80000
jmp 0x140028b59
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x140028b59
mov edi, 0x80000
mov rdx, qword [0x1400dbad8]
mov rax, qword [0x1400dbad0]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x140028b80
test rax, rax
je 0x140028b97
mov rdx, rax
mov qword [0x1400dbad8], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x140028b97
cmp rcx, rdi
jb 0x140028b97
cmp rcx, rsi
jbe 0x140028cea
mov qword [0x1400dbad8], rax
mov rdx, rax
test rax, rax
je 0x140028be2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x140028bcc
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140028bcc
cmp rax, rdi
jb 0x140028bcc
cmp rax, rsi
jbe 0x140028cea
mov rdx, qword [rdx + 8]
mov qword [0x1400dbad8], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x140028bb0
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x140028c0c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.1400288a0
mov rdx, rax
test rax, rax
jne 0x140028c98
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x140028c32
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.1400289b0
mov rdx, rax
test rax, rax
jne 0x140028c98
cmp rbx, 0x40000000
jbe 0x140028c52
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.1400289b0
mov rdx, rax
test rax, rax
jne 0x140028c98
cmp rbx, rbp
jae 0x140028c6e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.1400288a0
mov rdx, rax
test rax, rax
jne 0x140028c98
mov rdx, rbx
mov rcx, rdi
call fcn.1400288a0
mov rdx, rax
test rax, rax
jne 0x140028c98
mov rdx, rsi
mov rcx, rbx
call fcn.1400289b0
mov rdx, rax
test rax, rax
je 0x140028d21
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x1400dbad8], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x1400dbad0]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x1400dbad0], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x140028cd2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x140028d21
cmp rax, rsi
ja 0x140028d21
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x1400b6fa0]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x140028d23
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140028f80
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400db100]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
call qword [0x1400b61c8]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x140028fbd
xor al, al
jmp 0x14002900c
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x140028fce
xor al, al
jmp 0x14002900c
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x140028ff5
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x140028ff5
mov al, 1
jmp 0x14002900c
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b0620
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b0620
add rsp, 0x60
pop rbx
ret
Function at 0x14002b240
Capabilities:
Decompress data using quicklz

Disassembly:
lea eax, [r8 + 0x100000]
cmp eax, 0x1fffff
ja 0x14002b2a1
mov eax, r8d
mov ecx, r8d
shl ecx, 4
shr eax, 1
xor eax, edx
and eax, 0x7ff
xor eax, edx
mov edx, r8d
xor ecx, eax
shl edx, 6
and ecx, 0x3f0000
xor ecx, eax
xor edx, ecx
and edx, 0x4000000
xor edx, ecx
mov ecx, r8d
shr ecx, 5
xor ecx, edx
shr r8d, 8
and ecx, 0x2000
xor ecx, edx
xor r8d, ecx
and r8d, 0x800
xor r8d, ecx
mov eax, r8d
ret
xor eax, eax
ret