joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e7d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400e7dea
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400e7de0
cmp r11, r10
ja 0x1400e7e66
cmp r10, rdx
ja 0x1400e7e78
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400e7de2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400e7dc0
jmp 0x1400e7e47
ja 0x1400e7dea
mov r11, r10
cmp rax, r8
jne 0x1400e7d87
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1400e7e4b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400e7e20
mov r8, r10
sub ecx, r9d
jns 0x1400e7e3e
jmp 0x1400e7e4d
cmp r10, rdx
je 0x1400e7e5a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400e7e4d
xor al, 1
cmp r8, rdx
jne 0x1400e7e00
jmp 0x1400e7e4d
xor eax, eax
jmp 0x1400e7e4d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400eafb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400eb5d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400eb560
int3

Function at 0x1400e9a4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e9a96
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e9a96
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e9a96
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e9a96
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e9a96
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400e9a98
xor al, al
add rsp, 0x28
ret
Function at 0x1400ea400
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400e2700
mov rdx, qword [rbp - 0x28]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x1400ea489
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400ea4bc
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400ea4d0
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x1400ea4f0
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.140011030
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x1400ea4f0
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140011030
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x140001ee8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140029e91
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140029f0b
mov rdi, r14
mov rcx, rbx
call fcn.140013b90
test rax, rax
jle 0x140029ee3
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.140097f20
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 0x140029efb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140029f03
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140029ea5
sub r14, rdi
jmp 0x140029ff8
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140029f22
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140029f24
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140029f59
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140097f20
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140029ff5
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140029f94
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140029fd0
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400a8a74
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14002a016
cmp rbp, rax
ja 0x140029fa0
mov r8, rdi
test rdi, rdi
je 0x140029ff5
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400a8a74
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub r14, rbp
jmp 0x140029ff8
Function at 0x14002a0d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
je 0x14002a16a
mov rbx, r8
test r8, r8
jle 0x14002a162
mov rcx, rdi
call fcn.1400144d0
test rax, rax
jle 0x14002a140
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.140097f20
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14002a15a
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14002a162
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14002a102
sub r14, rbx
mov rax, r14
jmp 0x14002a1e1
mov rax, qword [rcx + 0x40]
mov rsi, r14
mov r9, qword [rax]
test r9, r9
je 0x14002a181
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14002a183
xor ecx, ecx
movsxd rbx, ecx
test r14, r14
jle 0x14002a1db
test ecx, ecx
jle 0x14002a1b7
cmp r14, rbx
mov rcx, r9
cmovl rbx, r14
mov r8, rbx
call fcn.140097f20
mov rax, qword [rdi + 0x58]
add rbp, rbx
sub r14, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x40]
movsxd rax, ebx
add qword [rcx], rax
test r14, r14
jle 0x14002a1db
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002a1db
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400a8fdc
sub r14, rax
sub rsi, r14
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002adb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002af8f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140012b80
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14002af54
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14002aecc
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14002af43
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x14002af09
mov r8, qword [rax]
cmp r8, rcx
je 0x14002af03
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14002af43
cmp r9, rax
je 0x14002af1f
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x14002af69
cmp r9, rax
jne 0x14002af10
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14002ae50
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14002af43
lea rcx, str.invalid_hash_bucket_count
call fcn.140077090
int3
Function at 0x14002e340
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14012fd48]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rdx
mov rbx, rdx
shr rbx, 0x38
mov r11, rdx
shr r11, 0x30
mov r9, rdx
shr r9, 0x28
mov r8, rdx
shr r8, 0x20
shr rdx, 0x18
mov rcx, rdi
shr rcx, 0x10
mov rax, rdi
shr rax, 8
movzx r10d, dil
movabs r15, 0xcbf29ce484222325
xor r10, r15
movabs r14, 0x100000001b3
imul r10, r14
movzx eax, al
xor r10, rax
imul r10, r14
movzx eax, cl
xor r10, rax
imul r10, r14
movzx eax, dl
xor r10, rax
imul r10, r14
movzx eax, r8b
xor r10, rax
imul r10, r14
movzx eax, r9b
xor r10, rax
imul r10, r14
movzx eax, r11b
xor r10, rax
imul r10, r14
xor r10, rbx
imul r10, r14
mov rcx, qword [rsi + 0x30]
and rcx, r10
shl rcx, 4
mov rax, qword [rsi + 0x18]
add rax, rcx
mov rbx, qword [rax + 8]
mov rcx, qword [rsi + 8]
cmp rbx, rcx
je 0x14002e441
mov rax, qword [rax]
cmp rdi, qword [rbx + 0x10]
je 0x14002e443
nop
cmp rbx, rax
je 0x14002e441
mov rbx, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jne 0x14002e430
jmp 0x14002e443
xor ebx, ebx
test rbx, rbx
cmove rbx, rcx
cmp rbx, rcx
je 0x14002e5d3
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14002a430
mov rcx, qword [rax]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rcx + 0x18]
mov r8, rbp
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x40]
call 0x1408aaa28
int3
lea rcx, [0x1400d3cf0]
call fcn.140cbce31
nop
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140006df0
nop
mov rcx, rax
call fcn.140002140
mov rcx, rax
call fcn.140002140
mov r8, rax
mov edx, 0x41
lea r9, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140001ac0
lea rdx, [0x140105af0]
lea rcx, [rsp + 0x70]
call fcn.1400970c0
int3
Function at 0x14003ed00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
movzx eax, byte [rcx + 1]
mov rdi, rcx
movzx edx, byte [rcx]
xor ebx, ebx
shl edx, 8
mov r9d, ebx
or edx, eax
movzx eax, byte [rcx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 3]
shl edx, 8
or edx, eax
lea ecx, [rdx + 8]
add rcx, rdi
movzx eax, byte [rcx + 1]
movzx r11d, byte [rcx]
shl r11d, 8
or r11d, eax
movzx eax, byte [rcx + 2]
shl r11d, 8
or r11d, eax
movzx eax, byte [rcx + 3]
shl r11d, 8
lea ecx, [rdx + 4]
or r11d, eax
mov r10d, ecx
mov eax, 0xffffffff
test ecx, ecx
je 0x14003ed97
mov qword [rsp + 0x10], rsi
lea rsi, [0x14012f7a0]
movzx edx, byte [rdi + r9 + 4]
mov ecx, eax
xor rdx, rcx
inc r9
shr ecx, 8
movzx r8d, dl
mov eax, dword [rsi + r8*4]
xor eax, ecx
cmp r9, r10
jb 0x14003ed72
mov rsi, qword [rsp + 0x10]
not eax
cmp r11d, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x18]
pop rdi
ret
Function at 0x1400406c0
Capabilities:
Enumerate pe sections

Disassembly:
mov r9, rcx
cmp r8, 0x20
je 0x1400406cf
mov eax, 0x61
ret
mov dword [rcx + 0xbc], 1
movzx eax, byte [rdx + 1]
movzx ecx, byte [rdx]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 3]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xc0], ecx
movzx eax, byte [rdx + 5]
movzx ecx, byte [rdx + 4]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xc4], ecx
movzx eax, byte [rdx + 9]
movzx ecx, byte [rdx + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xb]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xc8], ecx
movzx eax, byte [rdx + 0xd]
movzx ecx, byte [rdx + 0xc]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xcc], ecx
movzx eax, byte [rdx + 0x11]
movzx ecx, byte [rdx + 0x10]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x13]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xd0], ecx
movzx eax, byte [rdx + 0x15]
movzx ecx, byte [rdx + 0x14]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x17]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xd4], ecx
movzx eax, byte [rdx + 0x19]
movzx ecx, byte [rdx + 0x18]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1a]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1b]
shl ecx, 8
add ecx, eax
mov dword [r9 + 0xd8], ecx
movzx ecx, byte [rdx + 0x1c]
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 0x1f]
shl ecx, 8
add ecx, eax
xor eax, eax
mov dword [r9 + 0xdc], ecx
ret
Function at 0x140079e58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rax
call 0x1401a4873
test rax, rax
je 0x140079ea3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140079ea3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140079ea3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140079ea3
cmp dword [rcx + 0x84], 0xe
jbe 0x140079ea3
cmp dword [rcx + 0xf8], 0
je 0x140079ea3
mov al, 1
jmp 0x140079ea5
xor al, al
add rsp, 0x28
ret
Function at 0x142499058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1424991df
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 0x142499089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14249906f
add dl, dl
jne 0x142499096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1424990f6
xor eax, eax
add dl, dl
jne 0x1424990a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1424991ad
add dl, dl
jne 0x1424990b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1424990c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1424990d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1424990dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1424990ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14249907e
mov eax, 1
add dl, dl
jne 0x142499106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142499113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1424990fb
sub eax, ebx
mov ebx, 1
jne 0x14249914c
mov ecx, 1
add dl, dl
jne 0x14249912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14249913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142499123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14249907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142499168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142499175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14249915d
cmp eax, 0x7d00
jae 0x14249919b
cmp eax, 0x500
jb 0x142499196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14249907e
cmp eax, 0x7f
ja 0x14249919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14249907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1424991d2
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 0x14249907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180fc51e1
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc eax
clc
cmc
bswap eax
test sp, 0x6eda
not eax
bswap eax
cmp r10, 0x31f258f0
stc
test cl, spl
push r9
bt r9, rbx
rcr r9d, 0xbf
bswap r9d
xor dword [rsp], eax
shl r9, 0xe3
pop r9
cmp r11b, sil
test r13w, 0x616f
movsxd rax, eax
add rbx, rax
jmp rbx
push rcx
jmp 0x18108e7c2
xor eax, r9d
jmp 0x1810723c5
bswap eax
jmp 0x180f5dac9
push rdx
movsx rdx, di
movzx rdx, sp
cmovne dx, ax
push r8
xchg edx, r8d
not r8b
cqo
push r9
movsxd r8, eax
movsx r8, r15w
bswap dx
push r10
cwd
cqo
mov r9, r9
push r12
xchg r9w, dx
push r15
xchg r8b, dl
movzx r9, si
bswap edx
push r14
movzx r9d, r9w
cwd
push rbp
push r11
cwd
movzx r9w, r10b
cdq
push rbx
movzx rdx, r15w
movsx rdx, r13w
cqo
push rax
xchg r8w, dx
push rdi
push rsi
movzx r9w, cl
push r13
mov eax, 0x1acc55f8
cbw
rdtsc
pushfq
setnp r9b
movabs rdx, 0
adc r11b, 0xcc
push rdx
mov r8b, 0x76
btc ax, 0xf2
mov rdi, qword [rsp + 0x90]
not edi
inc r9b
lahf
add edi, 0x524a2ead
btc rbx, 0x28
movsx rbx, di
btr r9w, r8w
ror edi, 3
cwde
movzx ebx, r13w
cmovns r11w, r11w
dec edi
add rdi, rdx
btc r9w, 0x15
shl r9b, cl
movabs r11, 0x100000000
add rdi, r11
rdtsc
bts r9d, r15d
mov r8, rsp
sub rsp, 0x180
movsx edx, bp
and rsp, 0xfffffffffffffff0
btr bx, 0x32
adc bx, r9w
cmp esi, r14d
mov r9, rdi
rcl bx, cl
shrd edx, r15d, 0xe1
movabs rdx, 0
rcl bl, 0x70
or ah, al
sub r9, rdx
lea rbx, [0x18108e8dd]
rcr ax, cl
bts ax, r10w
xor al, sil
sub rdi, 4
sub ax, 0x6f9e
movsx rax, r11w
mov eax, dword [rdi]
cmp r12b, 0x83
jmp 0x1810008c3

Function at 0x140002574
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rdx
mov r10, rcx
xor edi, edi
call fcn.140001310
movsx r11d, al
call fcn.140001300
movsx ecx, al
imul r11d, ecx
call fcn.140001340
movsx ebx, al
xor edx, edx
movsx eax, byte [0x1400100b1]
xorps xmm2, xmm2
movsx ecx, byte [0x1400100b0]
add eax, ebx
add eax, r11d
div ecx
movsx ecx, byte [0x1400100b3]
xor edx, edx
sub eax, ecx
lea ecx, [r11 + rbx]
lea ecx, [rcx + r11*2]
cvtsi2sd xmm2, rax
movsx eax, byte [0x1400100b2]
movd xmm1, eax
movsx eax, byte [0x1400100b4]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
movsx eax, byte [0x1400100b1]
add eax, ecx
movsx ecx, byte [0x1400100b0]
div ecx
movsx ecx, byte [0x1400100b3]
cmp eax, ecx
je 0x140008a32
call fcn.140001320
movsx edx, al
movsx eax, byte [0x140010960]
imul edx, eax
shl edx, 3
call fcn.140001350
movsx ecx, al
sub edx, ecx
call fcn.140001330
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x1400100b4]
add ecx, edx
jne 0x140008a9a
movsx eax, byte [0x1400100b1]
lea ecx, [r11 + rbx]
lea ecx, [rcx + r11*4]
xor edx, edx
add eax, ecx
movsx ecx, byte [0x1400100b0]
div ecx
movsx ecx, byte [0x1400100b3]
cmp eax, ecx
je 0x140008a92
movsx eax, byte [0x1400100b1]
lea ecx, [r11 + rbx]
lea ecx, [rcx + r11*8]
xor edx, edx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [0x1400100b0]
div ecx
movsx ecx, byte [0x1400100b3]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x40]
cvttsd2si eax, xmm0
jmp 0x140008a96
mov eax, dword [rsp + 0x40]
cmp edi, eax
jge 0x140008abf
cmp qword [r9 + 0x18], 0xf
jbe 0x140008aa4
mov r9, qword [r9]
cmp qword [r10 + 0x18], 0xf
jbe 0x140008aae
mov r10, qword [r10]
mov rdx, r9
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140008ad0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
cmp qword [rcx + 0x18], 0xf
jbe 0x140008ade
mov rcx, qword [rcx]
mov r8, rcx
mov dword [rsp + 0x28], 1
xor ecx, ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
add rsp, 0x38
ret