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

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx]
mov rbx, qword [rcx + 8]
mov r12, rsi
cmp rbx, rsi
jge 0x4261e3
lea rcx, [0x0047a820]
call fcn.00401e70
sub rbx, rsi
je 0x426253
mov r8, qword [0x004bc450]
mov rcx, qword [0x004bc458]
cmp rbx, 0xffffffffffffffff
je 0x426260
mov rax, 0xffffffffffffffff
xor edx, edx
div rbx
not rdx
nop dword [rax + rax]
lea rax, [rcx + r8]
xor rcx, r8
ror r8, 9
mov r12, rcx
xor r8, rcx
ror rcx, 0x1c
shl r12, 0xe
xor r8, r12
cmp rax, rdx
ja 0x426210
add rbx, 1
movq xmm0, r8
movq xmm1, rcx
xor edx, edx
div rbx
punpcklqdq xmm0, xmm1
movups xmmword [0x004bc450], xmm0
lea r12, [rdx + rsi]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
mov rax, r8
mov rdx, r8
xor rax, rcx
ror rdx, 9
add rcx, r8
mov r9, rax
xor rdx, rax
lea r12, [rcx + rsi]
ror rax, 0x1c
shl r9, 0xe
mov qword [0x004bc458], rax
mov rax, r12
xor rdx, r9
mov qword [0x004bc450], rdx
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
Function at 0x4472f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
push rsi
push rbx
lea r10, [0x0047efa0]
test rdx, rdx
lea r11, [rdx + 7]
mov rdi, rdx
mov eax, r8d
cmovns r11, rdx
xor ebx, ebx
sar r11, 3
cmp rdx, 7
jle 0x4473e0
nop dword [rax + rax]
mov r9d, dword [rcx + rbx*8 + 4]
xor eax, dword [rcx + rbx*8]
add rbx, 1
mov esi, r9d
movzx r8d, r9b
mov edx, r9d
shr r9d, 0x10
shr esi, 0x18
mov r8d, dword [r10 + r8*4 + 0xc00]
movzx r9d, r9b
xor r8d, dword [r10 + rsi*4]
movzx esi, al
xor r8d, dword [r10 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor r8d, dword [r10 + rsi*4 + 0x1000]
movzx esi, dh
movzx edx, ah
shr eax, 0x10
xor r8d, dword [r10 + rsi*4 + 0x800]
xor r8d, dword [r10 + r9*4 + 0x400]
movzx r9d, al
mov eax, dword [r10 + r9*4 + 0x1400]
xor r8d, dword [r10 + rdx*4 + 0x1800]
xor eax, r8d
cmp r11, rbx
jg 0x447320
shl r11, 3
mov r8d, 8
cmp rdi, 7
cmovle r11, r8
cmp rdi, r11
jle 0x4473db
add r11, rcx
lea r10, [0x0047efa0]
add rcx, rdi
nop
movzx r8d, byte [r11]
add r11, 1
xor r8d, eax
shr eax, 8
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
cmp rcx, r11
jne 0x4473c0
pop rbx
pop rsi
pop rdi
ret
xor r11d, r11d
jmp 0x4473ac
Function at 0x461880
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm7
movups xmmword [rsp + 0x80], xmm8
movdqu xmm5, xmmword [0x00493de0]
movdqu xmm6, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + 0x20]
movdqu xmm3, xmmword [rcx + 0x30]
movd xmm0, r8d
lea rax, [rdx - 0x40]
mov qword [rsp], 0
mov qword [rsp + 8], 0
pxor xmm0, xmm6
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
cmp rax, 0x3f
jle 0x461b38
add rdx, 0xffffffffffffff80
lea rax, [rcx + 0x40]
mov r8, rdx
and r8, 0xffffffffffffffc0
lea r8, [rcx + r8 + 0x80]
nop
movdqu xmm7, xmm2
movdqu xmm6, xmm1
movdqu xmm4, xmm3
add rax, 0x40
movdqu xmm8, xmm0
pclmulqdq xmm7, xmm5, 0
pclmulqdq xmm6, xmm5, 0
pclmulqdq xmm8, xmm5, 0
pclmulqdq xmm4, xmm5, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pxor xmm0, xmm8
pxor xmm2, xmm7
pxor xmm1, xmm6
movdqu xmm8, xmmword [rax - 0x40]
pxor xmm3, xmm4
movdqu xmm7, xmmword [rax - 0x30]
movdqu xmm6, xmmword [rax - 0x20]
movdqu xmm4, xmmword [rax - 0x10]
pxor xmm0, xmm8
pxor xmm2, xmm7
pxor xmm1, xmm6
pxor xmm3, xmm4
cmp r8, rax
jne 0x461950
mov rax, rdx
shr rax, 6
lea r8, [rax + 2]
shl rax, 6
sub rdx, rax
shl r8, 6
mov rax, rdx
movdqu xmm4, xmmword [0x00493dd0]
movdqu xmm5, xmm0
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm5, xmm4, 0
pxor xmm2, xmm0
pxor xmm2, xmm5
movdqu xmm0, xmm2
pclmulqdq xmm2, xmm4, 0x11
pclmulqdq xmm0, xmm4, 0
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm2, xmm1
pclmulqdq xmm1, xmm4, 0x11
pxor xmm3, xmm1
pclmulqdq xmm2, xmm4, 0
movdqu xmm0, xmm3
pxor xmm0, xmm2
cmp rax, 0xf
jle 0x461ab5
movdqu xmm1, xmm0
movdqu xmm7, xmmword [rcx + r8]
pclmulqdq xmm0, xmm4, 0x11
lea rdx, [rax - 0x10]
pclmulqdq xmm1, xmm4, 0
pxor xmm0, xmm1
pxor xmm0, xmm7
cmp rdx, 0xf
jle 0x461ab5
movdqu xmm1, xmm0
movdqu xmm7, xmmword [rcx + r8 + 0x10]
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pxor xmm0, xmm1
pxor xmm0, xmm7
cmp rax, 0x2f
jle 0x461ab5
movdqu xmm1, xmm0
movdqu xmm2, xmmword [rcx + r8 + 0x20]
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pxor xmm0, xmm1
pxor xmm0, xmm2
movdqu xmm1, xmm0
psrldq xmm0, 8
movups xmm6, xmmword [rsp + 0x60]
movdqu xmm3, xmmword [0x00493df0]
pclmulqdq xmm1, xmm4, 0x10
movups xmm7, xmmword [rsp + 0x70]
movq xmm2, qword [0x00493dc0]
movups xmm8, xmmword [rsp + 0x80]
pxor xmm0, xmm1
movdqu xmm1, xmm0
pand xmm0, xmm3
pclmulqdq xmm0, xmm2, 0
psrldq xmm1, 4
movdqu xmm2, xmmword [0x00493db0]
pxor xmm1, xmm0
movdqu xmm0, xmm1
pand xmm0, xmm3
pclmulqdq xmm0, xmm2, 0x10
pand xmm0, xmm3
pclmulqdq xmm0, xmm2, 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
add rsp, 0x98
ret
mov r8d, 0x40
jmp 0x4619ef
Function at 0x461b50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
push rsi
push rbx
lea r10, [0x00493e00]
test rdx, rdx
lea r11, [rdx + 7]
mov rdi, rdx
mov eax, r8d
cmovns r11, rdx
xor ebx, ebx
sar r11, 3
cmp rdx, 7
jle 0x461c40
nop dword [rax + rax]
mov r9d, dword [rcx + rbx*8 + 4]
xor eax, dword [rcx + rbx*8]
add rbx, 1
mov esi, r9d
movzx r8d, r9b
mov edx, r9d
shr r9d, 0x10
shr esi, 0x18
mov r8d, dword [r10 + r8*4 + 0xc00]
movzx r9d, r9b
xor r8d, dword [r10 + rsi*4]
movzx esi, al
xor r8d, dword [r10 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor r8d, dword [r10 + rsi*4 + 0x1000]
movzx esi, dh
movzx edx, ah
shr eax, 0x10
xor r8d, dword [r10 + rsi*4 + 0x800]
xor r8d, dword [r10 + r9*4 + 0x400]
movzx r9d, al
mov eax, dword [r10 + r9*4 + 0x1400]
xor r8d, dword [r10 + rdx*4 + 0x1800]
xor eax, r8d
cmp r11, rbx
jg 0x461b80
shl r11, 3
mov r8d, 8
cmp rdi, 7
cmovle r11, r8
cmp rdi, r11
jle 0x461c3b
add r11, rcx
lea r10, [0x00493e00]
add rcx, rdi
nop
movzx r8d, byte [r11]
add r11, 1
xor r8d, eax
shr eax, 8
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
cmp rcx, r11
jne 0x461c20
pop rbx
pop rsi
pop rdi
ret
xor r11d, r11d
jmp 0x461c0c
Function at 0x46d4e0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.004735b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.004735b0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x46d550
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x004a9c94]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x46d6f8
mov rax, qword [0x004a9c98]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x46d59c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x46d627
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x46d580
mov rcx, r12
call fcn.0046e2b0
mov rbp, rax
test rax, rax
je 0x46d732
mov rax, qword [0x004a9c98]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.0046e3e0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004a9c98]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x46d741
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x46d620
sub eax, 4
and eax, 0xfffffffb
jne 0x46d6b0
add dword [0x004a9c94], 1
cmp ebx, 8
jae 0x46d658
test bl, 4
jne 0x46d700
test ebx, ebx
je 0x46d649
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x46d720
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x46d649
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x46d68a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x004a9c98]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x46d620
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0046d4e0
nop dword [rax]
xor edi, edi
jmp 0x46d5a7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x46d649
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x46d649
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.0046d4e0
mov rax, qword [0x004a9c98]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.0046d4e0
nop
nop dword [rax]
Function at 0x46df20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004a9f80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004a9f60]
test rbx, rbx
je 0x46df74
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x46df6b
test r12, r12
je 0x46df6b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x46df50
lea rcx, [0x004a9f80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x46e2b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00499f20]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x46e329
mov rcx, r10
call fcn.0046e180
test eax, eax
je 0x46e329
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x46e326
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x46e31d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x46e329
add r8, 0x28
cmp r8, r9
jne 0x46e308
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x14071e478
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14071e5ff
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 0x14071e4a9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071e48f
add dl, dl
jne 0x14071e4b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071e516
xor eax, eax
add dl, dl
jne 0x14071e4c5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071e5cd
add dl, dl
jne 0x14071e4d6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071e4e3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071e4f0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071e4fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14071e50a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14071e49e
mov eax, 1
add dl, dl
jne 0x14071e526
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071e533
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071e51b
sub eax, ebx
mov ebx, 1
jne 0x14071e56c
mov ecx, 1
add dl, dl
jne 0x14071e54e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14071e55b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071e543
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071e49e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14071e588
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14071e595
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071e57d
cmp eax, 0x7d00
jae 0x14071e5bb
cmp eax, 0x500
jb 0x14071e5b6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071e49e
cmp eax, 0x7f
ja 0x14071e5be
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071e49e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14071e5f2
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 0x14071e49e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140fc1400
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140fc140a
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 0x140fc1433
pop rbp
sub rbp, 0x33
sub rbp, 0xfc1400
sub rsp, 0x20
jmp 0x140fc1452
mov rax, 0xfc1400
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6eb1d55b
xor byte [rax], dl
inc rax
dec rcx
jne 0x140fc1471
jmp 0x140fc1488
adc edx, edx
mov dl, 0xd0
shl byte [rdi + 0x5b], cl
pop rbx
pop rbx
adc ebx, edx
invalid
Function at 0x5715b2
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x60], rbx
lea rax, [0x00628280]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x10]
mov edx, 0
mov ecx, 8
mov rdi, rax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
shr rcx, 2
rep stosd dword [rdi], eax
mov ecx, esi
and ecx, 3
rep stosb byte [rdi], al
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x7c]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov rdx, qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rcx, rax
call rdx
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x40]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
mov rcx, qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0x50], rcx
mov rcx, rax
mov rax, qword [rbp + 0x50]
call rax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x40]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x48]
mov ebx, 0
mov esi, 0
mov qword [rbp + 0x58], rcx
mov rcx, rdx
mov rdx, qword [rbp + 0x58]
mov r8, rbx
mov r9, rsi
call rax
mov dword [rbp], eax
mov eax, dword [rbp]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
test eax, eax
jne 0x5716b6
mov eax, 0
mov rdx, qword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, eax
call rdx
mov rbx, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x70]
lea rsp, [rbp + 0x80]
pop rbp
ret
Function at 0x140024380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
mov r9, rcx
jne 0x1400243d7
movzx eax, byte [rcx + 0x10]
test al, al
je 0x1400243d7
cmp al, 1
jne 0x140024399
test edx, edx
jne 0x1400243d7
mov r10, qword [rcx + 8]
test r8, r8
je 0x1400243b2
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
je 0x1400243d4
mov rax, qword [r9]
mov rcx, qword [r10]
mov edx, dword [rax + 0x2f0]
cmp edx, dword [rcx + 0x80]
jle 0x1400243d4
cmp byte [rcx + 0xa], 0
jne fcn.14001c540
xor eax, eax
ret
jmp fcn.140023fc0
Function at 0x14007a500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x14007a71a
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x14007a578
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x14007a588
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xe0]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x14007a5b5
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.1400332d0
jmp 0x14007a5e0
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.1400797e0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x14007a61f
mov rcx, rdi
call fcn.140033190
test eax, eax
jne 0x14007a701
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x14007a701
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x54], ecx
mov ecx, 8
mov word [rdx + 0x4a], cx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x50], r14d
test r14d, r14d
je 0x14007a6f0
movzx eax, byte [rbx + 0x1f]
cmp al, cl
jae 0x14007a6f0
mov dword [rbx + rax*4 + 0xe0], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x14007a550
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e26d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400e26f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400e276c
mov rdi, r14
mov rcx, rbx
call fcn.1400d9680
test rax, rax
jle 0x1400e2744
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140128340
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400e275c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400e2764
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400e2706
sub r14, rdi
jmp 0x1400e284f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400e2783
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400e2785
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400e27b7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140128340
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400e284c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400e27f2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400e282d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14013de88
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400e284c
cmp rbp, rax
ja 0x1400e2800
test rbp, rbp
je 0x1400e284c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14013de88
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400e4190
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x30
cmp byte [rcx + 0x77], 0
mov rbp, rcx
je 0x1400e4343
mov qword [rsp + 0x58], rbx
lea rax, [rcx + 2]
mov qword [rsp + 0x28], rsi
mov rdx, 0xfffffffffffffffb
mov qword [rsp + 0x20], rdi
sub rdx, rcx
mov qword [rsp + 0x18], r12
mov r8, 0xfffffffffffffffc
mov qword [rsp + 0x10], r13
sub r8, rcx
mov qword [rsp + 8], r14
mov r13, 0xfffffffffffffffa
sub r13, rcx
mov qword [rsp], r15
mov r15, rcx
mov qword [rsp + 0x48], rdx
mov r12d, 1
mov qword [rsp + 0x50], r8
sub r12, rcx
mov r14, 0xfffffffffffffffe
mov rcx, 0xfffffffffffffffd
not r15
sub rcx, rbp
movabs r9, 0x9bf3d983efabd7e7
mov qword [rsp + 0x40], rcx
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + r14]
mov rsi, r9
and cl, 7
mov rdi, r9
shl cl, 3
mov rbx, r9
shr rsi, cl
mov r11, r9
xor byte [rax - 2], sil
lea ecx, [rax + r15]
xor byte [rax + 6], sil
and cl, 7
xor byte [rax + 0xe], sil
mov r10, r9
shl cl, 3
shr rdi, cl
movzx ecx, al
xor byte [rax - 1], dil
sub cl, bpl
xor byte [rax + 7], dil
and cl, 7
shl cl, 3
shr rbx, cl
lea ecx, [rax + r12]
xor byte [rax], bl
and cl, 7
xor byte [rax + 8], bl
shl cl, 3
shr r11, cl
lea ecx, [rax + r13]
xor byte [rax + 1], r11b
and cl, 7
xor byte [rax + 9], r11b
shl cl, 3
shr r10, cl
lea ecx, [rax + rdx]
xor byte [rax + 2], r10b
and cl, 7
xor byte [rax + 0xa], r10b
movabs rdx, 0x9bf3d983efabd7e7
shl cl, 3
shr r9, cl
lea ecx, [rax + r8]
xor byte [rax + 3], r9b
and cl, 7
xor byte [rax + 0xb], r9b
mov r8, rdx
shl cl, 3
movabs r9, 0x9bf3d983efabd7e7
shr r8, cl
xor byte [rax + 4], r8b
xor byte [rax + 0xc], r8b
movzx ecx, byte [rsp + 0x40]
mov r8, qword [rsp + 0x50]
add cl, al
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + 5], dl
xor byte [rax + 0xd], dl
add rax, 0x11
mov rdx, qword [rsp + 0x48]
lea rcx, [r14 + rax]
cmp rcx, 0x77
jb 0x1400e4230
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x58]
mov byte [rbp + 0x77], 0
add rsp, 0x30
pop rbp
ret