joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422120
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x0096237d], 0
jne 0x422210
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
test byte [rdx], al
mov ecx, dword [rax + 0x5c]
imul rcx, rbx
mov rbx, rcx
shr rbx, 0x20
shr rcx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], dil
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
add rdx, rcx
mov rbx, rdx
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x422203
lea rsi, [0x008f4478]
mov rdx, qword [rsi + rdx*8]
test byte [rdx], al
mov rsi, rcx
shr rsi, 0x10
and esi, 0x3f
shr rcx, 0xd
and ecx, 7
mov edi, 1
shl edi, cl
shr rbx, 0x16
and ebx, 0xfffff
mov rdx, qword [rdx + rbx*8]
test byte [rdx], al
movzx ebx, byte [rdx + rsi + 0x1040]
lea rdx, [rdx + rsi]
lea rdx, [rdx + 0x1040]
test dil, bl
jne 0x4221de
lock or byte [rdx], dil
mov rcx, qword [r14 + 0x30]
mov rcx, qword [rcx + 0xa0]
test byte [rcx], al
mov rdx, qword [rcx + 0x1270]
add rdx, qword [rax + 0x68]
mov qword [rcx + 0x1270], rdx
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.0046c440
lea rax, [0x006ca892]
mov ebx, 0x2c
nop dword [rax]
call fcn.004392a0
nop
int3

Function at 0x424660
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x424766
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], dil
mov qword [rsp + 0x10], 0
jmp 0x4246a3
mov rax, qword [rsp + 0x58]
mov rcx, rdx
mov rbx, qword [rsp + 0x60]
movzx edi, byte [rsp + 0x70]
cmp qword [rsp + 0x10], rbx
jae 0x42475b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.00425440
test rax, rax
je 0x42475b
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x004247a0]
mov qword [rsp + 0x18], rcx
lea rdx, [rsp + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x18]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0046a020
xorps xmm15, xmm15
mov r14, qword [0x009625c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x68]
nop dword [rax]
test rdx, rdx
jne 0x424749
xor eax, eax
jmp 0x424753
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x68]
test al, al
je 0x424691
mov rax, qword [rsp + 0x10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0046a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.00424660
Function at 0x431200
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4312f9
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rax + 0x108], 0
mov ecx, dword [0x00962bf0]
test ecx, ecx
je 0x4312d2
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x10], 0
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rdx, [0x00431320]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x10]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 3
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x18]
mov qword [rsp], rcx
call fcn.0046a020
xorps xmm15, xmm15
mov r14, qword [0x009625c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x10]
cmp rax, 0x20
jge 0x4312cc
jae 0x4312ee
mov rcx, qword [rsp + 0x60]
mov qword [rcx + rax*8 + 8], 0
add rsp, 0x50
pop rbp
ret
lea rcx, [fcn.00446440]
inc rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0
add rsp, 0x50
pop rbp
ret
mov ecx, 0x20
call fcn.0046c420
nop
mov qword [rsp + 8], rax
nop
call fcn.0046a140
mov rax, qword [rsp + 8]
jmp fcn.00431200
Function at 0x433280
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x433506
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
lea rsi, [rax + 0x1298]
mov rcx, qword [rax + 0x1288]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x4334fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1288], 0
cmp byte [0x0096237d], 0
jne 0x4332da
xor edx, edx
xor ebx, ebx
jmp 0x433320
xor edx, edx
jmp 0x433305
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1298]
mov rax, rcx
call fcn.00421980
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x4332de
add rax, 0x1288
call fcn.00433200
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x433494
mov rsi, qword [rax + rdx*8 + 0x1298]
cmp rsi, 0x1000
jb 0x43331b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.00415240
test rax, rax
jne 0x43336c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x43331b
mov rsi, qword [rbx + 0x48]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x4333ac
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x43331b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x4334ed
lea r10, [0x008f4478]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x1040]
lea r8, [r8 + r10]
lea r8, [r8 + 0x1040]
test r11b, r9b
jne 0x43342f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x433465
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1270]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1270], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x43331b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x4334e5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1298], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x43331b
cmp rbx, 0x200
ja 0x4334d4
lea rdx, [rax + 0x1298]
lea rsi, [rax + 0x1260]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00428460
mov rax, qword [rsp + 0x48]
add rax, 0x1288
call fcn.00433200
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.0046c4a0
mov rax, r8
call fcn.0046c420
mov rax, r8
mov ecx, 0x40
call fcn.0046c440
mov edx, 0x200
nop
call fcn.0046c480
nop
mov qword [rsp + 8], rax
call fcn.00470d20
mov rax, qword [rsp + 8]
jmp fcn.00433280
Function at 0x449340
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4494a7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x449352
cmp edx, ecx
jne 0x449495
nop word [rax + rax]
test rsi, rsi
jne 0x449495
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4493b4
nop
call fcn.0046dd60
xorps xmm15, xmm15
mov r14, qword [0x009625c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00449260
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x449490
mov rdx, qword [0x008dbe18]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x449485
mov rcx, qword [0x008dbe10]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x008de970]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x008de970], rax
nop
mov edx, 1
lea rsi, [0x008de978]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x449473
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x006c938d]
mov ebx, 0x28
nop
call fcn.004392a0
mov rax, rsi
mov rcx, rdx
call fcn.0046c420
call fcn.00437b20
lea rax, [0x006c71a2]
mov ebx, 0x23
call fcn.004392a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00449340
Function at 0x456bc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x456d37
movzx edx, byte [rax]
test edx, edx
jne 0x456bf4
nop dword [rax]
test r8b, r8b
jne 0x456bf4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x456c07
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x456cf7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x456ce5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x456cd7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x456c5d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x456ca0
mov eax, 1
cmp rax, rbx
ja 0x456c8b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0046c4e0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x456ccf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x456c93
mov rcx, r11
mov eax, r12d
jmp 0x456c62
mov rcx, rbx
call fcn.0046c420
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046c420
mov eax, r8d
mov rcx, rbx
call fcn.0046c4e0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x456d2d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x456cf0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x456c0d
mov eax, edx
mov rcx, rbx
call fcn.0046c420
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0046c420
nop
int3

Function at 0x45cbe0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45cc95
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.0045a860
nop
test bl, bl
je 0x45cc8f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045cce0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.0046a020
xorps xmm15, xmm15
mov r14, qword [0x009625c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045cbe0
Function at 0x45fc00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45fcaf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045fd00]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046a020
xorps xmm15, xmm15
mov r14, qword [0x009625c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046a140
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045fc00
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x1800037f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
mov r9d, 4
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800511c0]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x1800037f9
not r8d
mov eax, r8d
ret

Function at 0x180003824
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000387e
mov r11b, 0x23
lea rdi, [0x1800511c0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180003868
cmp rdx, 2
jb 0x180003868
cmp byte [r10], r11b
jne 0x180003868
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x180003846
jmp 0x1800038bf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1800038bf
mov r11b, 0x23
lea rdi, [0x1800511c0]
cmp dl, r11b
jne 0x1800038a3
cmp byte [r10], r11b
jne 0x1800038a3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x180003891
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180003990
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800039b1
and qword [r8], 0
call fcn.1800038d0
mov rbx, rax
test rax, rax
je 0x180003a8b
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180003a82
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x180003a82
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003a82
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x180003a82
cmp rdi, 0xffffffffffffffff
je 0x180003a82
mov rax, qword [0x180059f90]
test rax, rax
je 0x180003a2c
inc dword [rax + 0x3b0]
mov rdx, qword [0x180059f80]
mov rcx, rdi
call fcn.180003470
mov rsi, rax
test rax, rax
je 0x180003a82
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180003a6f
call qword [sym.imp.ucrtbase.dll_fclose]
mov rcx, rsi
call fcn.180005424
jmp 0x180003a8b
call qword [sym.imp.ucrtbase.dll_fclose]
test r14, r14
je 0x180003a7d
mov qword [r14], rdi
mov rax, rsi
jmp 0x180003a8d
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800128ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3130], 0
lea rbx, [rcx + 0x3138]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180012945
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x1800128fd
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800143d0
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180003ecc
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3130]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180059f88]
movsxd r8, eax
mov rax, qword [rdi + 0x3140]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
jmp 0x18001294d
mov rcx, rbx
call fcn.180003ecc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800146c4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test rdx, rdx
je 0x1800146e8
imul r8d, r8d, 0x343fd
add r8d, 0x269ec3
mov eax, r8d
shr eax, 0x10
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1800146c9
ret
Function at 0x18002c9f4
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test rdx, rdx
je 0x18002ca27
imul r8d, r8d, 0x343fd
mov r10d, 0x7fff
add r8d, 0x269ec3
mov eax, r8d
shr eax, 0x10
and ax, r10w
xor word [rcx + r9*2], ax
inc r9
cmp r9, rdx
jb 0x18002c9fc
ret
Function at 0x18004868c
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x18005a2c0]
syscall
ret

Function at 0x180048698
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x18005a448]
syscall
ret

Function at 0x18004873e
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x180048749
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1e
syscall
ret

Function at 0x1800487ab
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1082
syscall
ret

Function at 0x1800487c1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x1044
syscall
ret

Function at 0x18009fffd
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec edx
clc
push r11
bts r11, rsi
movsx r11w, r10b
rcl r11d, 0x3b
xor dword [rsp], edx
pop r11
stc
movsxd rdx, edx
stc
cmp rax, 0x153f36a1
add r8, rdx
jmp 0x1800e1eb9
xor edx, 0x3d510be3
ror edx, 3
not edx
jmp 0x1800aa192
push r10
movsxd r10, r9d
push rsi
movzx r10, r9w
mov r10b, 0x37
movzx r10w, r10b
push rdi
push r13
mov dil, r15b
push r11
push r8
bswap r11w
movsx r11, r10w
push r12
movsxd r11, r8d
movsx r8, ax
bswap r11w
push r9
mov r10b, cl
push rbx
setae r11b
cmovno rdi, r15
push rdx
movzx r11w, bl
push rbp
cwd
movsx edx, ax
push rax
xchg dl, r10b
rdtsc
movzx edi, r12w
push r14
cwd
setb r10b
movzx r10w, cl
push rcx
movzx edi, bx
push r15
cdqe
jmp 0x1800a41db
pushfq
mov r10, r9
movabs rdi, 0
push rdi
rol bpl, cl
btr bp, 0x50
movzx r8w, r8b
mov r10, qword [rsp + 0x90]
rcl bp, cl
movsx r8d, r10w
not r8b
ror r10d, 1
cmovo rax, r14
xchg dx, ax
bswap r10d
dec r10d
neg r11b
rcr dx, 0xe8
bsf r8w, r15w
neg r10d
rol r10d, 2
sal r11w, 0xb
test dx, 0xbe4
shl al, cl
sub r10d, 0x30c682e
add r10, rdi
movabs rax, 0x100000000
cwd
lea r10, [r10 + rax]
lahf
rdtsc
jmp 0x1800d1447
bswap edx
jmp 0x1800e936d
mov rbp, rsp
rcr r8, 0xa9
sub rsp, 0x180
sar dh, cl
and rsp, 0xfffffffffffffff0
sal dl, 0xc
mov r11, r10
xor rdx, r14
bswap r8w
movabs rax, 0
test bh, 0xb
sub r11, rax
lea r8, [0x1800d147b]
neg edx
mov dx, 0x2795
sub dx, 0x223
mov edx, dword [r10]
cmp r15b, 0x83
test ah, 0x84
cmc
add r10, 4
xor edx, r11d
stc
jmp 0x18007e560
jmp r8
not edx
jmp 0x18006ef8d
Function at 0x1408cc058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408cc1df
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 0x1408cc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408cc06f
add dl, dl
jne 0x1408cc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408cc0f6
xor eax, eax
add dl, dl
jne 0x1408cc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408cc1ad
add dl, dl
jne 0x1408cc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408cc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408cc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408cc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408cc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408cc07e
mov eax, 1
add dl, dl
jne 0x1408cc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408cc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408cc0fb
sub eax, ebx
mov ebx, 1
jne 0x1408cc14c
mov ecx, 1
add dl, dl
jne 0x1408cc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408cc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408cc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408cc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408cc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408cc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408cc15d
cmp eax, 0x7d00
jae 0x1408cc19b
cmp eax, 0x500
jb 0x1408cc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408cc07e
cmp eax, 0x7f
ja 0x1408cc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408cc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408cc1d2
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 0x1408cc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20