joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400531f0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov rax, r8
mov rdi, rcx
mov dword [rbp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 7
mov qword [rbp - 0x2c], 0
mov word [rbp - 0x24], 0
mov byte [rbp - 0x28], 1
lea r8, [rbp - 0x48]
mov rcx, rdx
mov rdx, rax
call fcn.140040480
mov rsi, rdx
test rax, rax
je 0x1400532a6
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x14005329a
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rax, qword [r14]
test rax, rax
je 0x140053272
mov rcx, rbx
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140053287
mov r8, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140001750
mov qword [rdi], 0
jmp 0x140053405
lea rcx, [rbp - 0x48]
mov rdx, rsi
call fcn.140040710
cmp dword [rbp - 0x48], 2
jne 0x140053327
mov rax, qword [rbp - 0x40]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x140053307
lea rbx, [rax - 1]
mov r14, qword [rax - 1]
mov r15, qword [rax + 7]
mov rax, qword [r15]
test rax, rax
je 0x1400532df
mov rcx, r14
call rax
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x1400532f4
mov r8, qword [r15 + 0x10]
mov rcx, r14
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140001750
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rbp - 0x10]
test rsi, rsi
je 0x140053375
mov qword [rbp - 0x48], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x48]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x1400533f1
mov rbx, qword [rbp - 0x48]
jmp 0x140053377
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x1400533e0
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
test r15, r15
je 0x1400533e0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x1400533fd
mov qword [rdi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x1400533fd
call sub.KERNEL32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x140058370
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x14009c070]
test esi, esi
je 0x140058439
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005842e
je 0x1400583cb
xor ebx, ebx
test rdi, rdi
je 0x1400583cf
test byte [rdi], 1
mov qword [rdi], 0
mov eax, dword [rdi + 0x10]
cmove eax, ebx
mov r14d, 0
cmovne r14, qword [rdi + 8]
mov ebx, eax
jmp 0x1400583d2
xor eax, eax
jmp 0x14005842e
xor r14d, r14d
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140001740
test rax, rax
je 0x14005845a
mov qword [rax], r14
mov byte [rax + 8], bl
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14005842b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140001750
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x14009c058]
call fcn.140052190
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400583a3
jmp 0x14005842e
mov ecx, 8
mov edx, 0x18
call fcn.140075aef
int3

Function at 0x140058470
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x14009c090]
test esi, esi
je 0x1400584a6
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400584c1
add rax, 4
jmp 0x14005853a
lea rcx, [0x14009c078]
call fcn.140052190
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14005849d
je 0x140058538
xor r14d, r14d
test rdi, rdi
je 0x1400584d9
cmp byte [rdi], 0
mov byte [rdi], 0
movzx eax, byte [rdi + 1]
cmovne r14d, eax
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 4
call fcn.140001740
test rax, rax
je 0x140058547
mov rbx, rax
mov dword [rax], esi
add rax, 4
mov r15, rax
mov byte [rbx + 4], r14b
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x140058533
mov edx, 8
mov r8d, 4
mov rcx, rdi
call fcn.140001750
mov rax, r15
jmp 0x14005853a
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov ecx, 4
mov edx, 8
call fcn.140075aef
int3
Function at 0x140058560
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rdi, rcx
mov esi, dword [0x14009c0d0]
test esi, esi
je 0x140058632
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x140058629
je 0x1400585ad
test rdi, rdi
je 0x1400585b1
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1400585b3
mov rbx, qword [rdi + 8]
jmp 0x1400585b3
xor eax, eax
jmp 0x140058629
xor ebx, ebx
mov qword [rbp - 8], rbx
mov dword [rbp], esi
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140001740
test rax, rax
je 0x140058653
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x140058626
mov rax, qword [rdi]
test rax, rax
je 0x140058613
lock dec qword [rax]
jne 0x140058613
mov rcx, rdi
call fcn.140013600
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140001750
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14009c0b8]
call fcn.140052190
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140058591
jmp 0x140058629
mov ecx, 8
mov edx, 0x10
call fcn.140075aef
ud2
Function at 0x14009aab0
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.14009b8c0
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.14009b8c0
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 0x14009ab20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x1400d3234]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x14009acd0
mov rax, qword [0x1400d3238]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14009ab6c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x14009abf7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x14009ab50
mov rcx, r12
call fcn.14009b5d0
mov rbp, rax
test rax, rax
je 0x14009ad2d
mov rax, qword [0x1400d3238]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.14009b700
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1400d3238]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14009ad12
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14009abf0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14009ac80
add dword [0x1400d3234], 1
cmp ebx, 8
jae 0x14009ac28
test bl, 4
jne 0x14009ace0
test ebx, ebx
je 0x14009ac19
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x14009ad00
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 0x14009ac19
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 0x14009ac5a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x1400d3238]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14009abf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14009aab0
xor edi, edi
jmp 0x14009ab77
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x14009ac19
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x14009ac19
mov rax, qword [0x1400d3238]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.14009aab0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.14009aab0
nop
nop dword [rax]
Function at 0x14009b240
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1400d32a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400d3280]
test rbx, rbx
je 0x14009b294
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 0x14009b28b
test r12, r12
je 0x14009b28b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14009b270
lea rcx, [0x1400d32a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14009b5d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1400c0780]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x14009b649
mov rcx, r10
call fcn.14009b4a0
test eax, eax
je 0x14009b649
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 0x14009b646
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 0x14009b63d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x14009b649
add r8, 0x28
cmp r8, r9
jne 0x14009b628
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x401540
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
call fcn.00401650
lea rax, str._echo_off
mov rcx, rax
call sub.msvcrt.dll_system
lea rax, str.echo_IMPORTANTE___Finalizando_o_processo_de_liberao_da_Loja_MS...
mov rcx, rax
call sub.msvcrt.dll_system
lea rax, str.net_start_klnagent
mov rcx, rax
call sub.msvcrt.dll_system
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x401860
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.004026d0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.004026d0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x4018d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x004070b4]
test esi, esi
mov rbx, rcx
jle 0x401a00
mov rax, qword [0x004070b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x40191b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x4019a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x401900
mov rcx, rbx
call fcn.00402360
test rax, rax
mov rdi, rax
je 0x401a22
mov rax, qword [0x004070b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.004024a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x004070b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401a07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40199e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x4019b0
add dword [0x004070b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x004070b8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40199e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401860
nop dword [rax]
xor esi, esi
jmp 0x401928
mov rax, qword [0x004070b8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.00401860
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00401860
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x401fc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x00407120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00407100]
test rbx, rbx
je 0x40201c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x402013
test eax, eax
jne 0x402013
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x401ff8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402360
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x00404410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402380
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402388
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402380
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x4023dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4023d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402380
add rax, 0x28
cmp rax, r9
jne 0x4023c0
xor eax, eax
ret

Function at 0x4023e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00404410]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x4023ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x402408
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x4023ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x4024a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00404410]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x4024bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x4024c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1423ae590
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1423ae59a
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 0x1423ae5c3
pop rbp
sub rbp, 0x33
sub rbp, 0x23ae590
sub rsp, 0x20
jmp 0x1423ae5e2
mov rax, 0x23ae590
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff9ed0d8dd
ret 0xd8dd
xor byte [rax], dl
inc rax
dec rcx
jne 0x1423ae601
jmp 0x1423ae618
xchg ebp, eax
push rsp
xor al, 0x56
push rsp
loope 0x1423ae5fc
fstp st(5)
xchg ebp, eax
pop rsp
sbb al, 0xd5
invalid
Function at 0x14001b330
Capabilities:
Encode data using xor

Disassembly:
fstp qword [rbp - 0x5667c0c2]
xchg ebp, eax
push 0xffffffffc101ad1e
mov word [rax + 0x72], gs
and byte cs:[rdi + 0x8de530c], al
imul ecx, dword [rsi + rsi], 0xbbce71fd
and esi, dword [rbx]
enter 0x232d, 0xffffffffffffffa5
mov ebp, 0xc8ccb897
pushf
xor byte [rsi + riz*2 + 0x2eda28fe], al
shr dword [rbp + rdx + 0x12d887e6], cl
sbb eax, 0x847fc405
xor edi, dword [rbx + rax*2]
movabs eax, dword [0x35e3247c40265aae]
jbe 0x14001b313
invalid

Function at 0x140043650
Capabilities:
Encode data using xor

Disassembly:
test al, 0x73
adc ch, byte [rdi + rbx*8]
adc dl, byte [rbx + 0x7cf56575]
cli
invalid
xchg esp, eax
xchg ebx, eax
fcom dword [rbx + 0xb]
jg 0x1400436c5
movsb byte [rdi], byte [rsi]
test al, 0x62
js 0x140043633
cmpsb byte [rsi], byte [rdi]
invalid
or al, 0xbf
mov ebp, 0x9c918ae1
invalid

Function at 0x1409d0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409d01df
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 0x1409d0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409d006f
add dl, dl
jne 0x1409d0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409d00f6
xor eax, eax
add dl, dl
jne 0x1409d00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409d01ad
add dl, dl
jne 0x1409d00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409d00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409d00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409d00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409d00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409d007e
mov eax, 1
add dl, dl
jne 0x1409d0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409d0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409d00fb
sub eax, ebx
mov ebx, 1
jne 0x1409d014c
mov ecx, 1
add dl, dl
jne 0x1409d012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409d013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409d0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409d007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409d0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409d0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409d015d
cmp eax, 0x7d00
jae 0x1409d019b
cmp eax, 0x500
jb 0x1409d0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409d007e
cmp eax, 0x7f
ja 0x1409d019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409d007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409d01d2
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 0x1409d007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003ee0
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 0x140003f3d
lea rbx, [0x1400f5840]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003f24
cmp r10, 2
jb 0x140003f24
cmp byte [r9], r8b
jne 0x140003f24
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 0x140003f00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003f7f
lea rbx, [0x1400f5840]
cmp r8b, 0x23
jne 0x140003f63
cmp byte [r9], r8b
jne 0x140003f63
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 0x140003f50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004140
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000416f
mov r8d, 0x791
lea rdx, [0x1400f0020]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000417b
mov qword [rdi], 0
lea rdx, [0x1400f5078]
mov rcx, rbx
call fcn.140003f90
mov rbx, rax
test rax, rax
jne 0x14000419d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004276
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004276
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140004276
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004276
cmp rsi, 0xffffffffffffffff
je 0x140004276
mov rax, qword [0x1402688b0]
test rax, rax
je 0x140004213
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140004276
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140004263
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1402688b0]
test rax, rax
je 0x140004258
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000427f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140004271
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140004281
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007fc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007ff7
mov r8d, 0x715
lea rdx, [0x1400efde0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400f5840]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x1402688b0]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140008076
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f670
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret