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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call fcn.140001ce0
test eax, eax
js 0x140001cce
mov eax, dword [rbx + 0xf0]
xor r10d, r10d
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x140001b19
lea r8, [rbx + 8]
lea rax, [rbx + 8]
lea r8, [r8 + r9*4]
nop word [rax + rax]
mov ecx, dword [r8 - 8]
mov edx, dword [rax - 8]
add r10, 4
mov dword [rax - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rax - 4]
mov dword [rax - 4], ecx
mov ecx, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rax]
mov dword [rax], ecx
mov ecx, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rax + 4]
mov dword [rax + 4], ecx
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rax, [rax + 0x10]
cmp r10, r9
jl 0x140001ad0
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x140001ccc
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 2]
lea rdi, [0x140000000]
nop dword [rax]
mov r8d, dword [r10 + 0xe]
lea r10, [r10 + 0x10]
inc r11d
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
mov r9d, dword [rdi + rdx*4 + 0xe4af0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0xe52f0]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0xe56f0]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10 + 3]
movzx edx, byte [rdi + rax*4 + 0xe46f0]
xor r9d, dword [rdi + rcx*4 + 0xe4ef0]
movzx eax, byte [r10 + 4]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
mov r8d, dword [rdi + rdx*4 + 0xe52f0]
mov dword [r10 - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0xe4ef0]
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0xe4af0]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10 + 7]
xor r8d, dword [rdi + rcx*4 + 0xe56f0]
movzx edx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10 + 8]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0xe52f0]
xor r8d, dword [rdi + rcx*4 + 0xe4ef0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0xe4af0]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0xe56f0]
movzx edx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0xe52f0]
xor r8d, dword [rdi + rcx*4 + 0xe4ef0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xe4af0]
movzx ecx, byte [rdi + rax*4 + 0xe46f0]
xor r8d, dword [rdi + rcx*4 + 0xe56f0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140001b40
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140002390
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x5c]
add rcx, 4
call fcn.1400ce520
mov dword [rbx + 4], 0x67452301
mov dword [rbx + 8], 0xefcdab89
mov dword [rbx + 0xc], 0x98badcfe
mov dword [rbx + 0x10], 0x10325476
mov qword [rbx + 0xb8], 0xf
xor edi, edi
mov qword [rbx + 0xb0], rdi
mov byte [rbx + 0xa0], dil
mov qword [rbx + 0xd8], 0xf
mov qword [rbx + 0xd0], rdi
mov byte [rbx + 0xc0], dil
mov word [rbx], 0x101
lea rcx, [rsp + 0x28]
call fcn.1400028b0
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], dil
cmp byte [rax], dil
jne 0x14000243c
mov r8d, edi
jmp 0x14000244a
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140002440
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140003f90
nop
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x58], 0
xor r8d, r8d
lea rdx, [0x1400e5fe0]
lea rcx, [rsp + 0x58]
call fcn.140003f90
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140003ab0
nop
cmp qword [rsp + 0x50], 0x10
jb 0x1400024a5
mov rcx, qword [rsp + 0x38]
call fcn.1400cd684
nop
lea rdi, [rsp + 0x28]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rdi, [rsp + 0x2c]
mov ecx, 8
rep stosb byte [rdi], al
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140003660
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbp, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
lea r8d, [r15 + 0x5c]
call fcn.1400ce520
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov r8, rbp
mov rdx, r14
mov rcx, rdi
call fcn.140003990
mov rbx, qword [rsp + 0xb0]
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400036f0
cmp qword [rbx + 0x18], 0x10
jb 0x1400036e5
mov rdx, qword [rbx]
jmp 0x1400036e8
mov rdx, rbx
mov rcx, rdi
call fcn.140003990
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140003530
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
mov rcx, rdi
call fcn.1400ce520
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8d, 0x10
mov rcx, rdi
call fcn.140003990
mov r8, rbp
mov rdx, r14
mov rcx, rdi
call fcn.140003990
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x140003774
cmp qword [rbx + 0x18], 0x10
jb 0x140003769
mov rdx, qword [rbx]
jmp 0x14000376c
mov rdx, rbx
mov rcx, rdi
call fcn.140003990
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140003530
nop
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400022a0
nop
cmp qword [rsp + 0x68], 0x10
jb 0x1400037a5
mov rcx, qword [rsp + 0x50]
call fcn.1400cd684
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x50], 0
cmp qword [rsp + 0x48], 0x10
jb 0x1400037ca
mov rcx, qword [rsp + 0x30]
call fcn.1400cd684
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x30], 0
cmp qword [rbx + 0x18], 0x10
jb 0x1400037ec
mov rcx, qword [rbx]
call fcn.1400cd684
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov byte [rbx], 0
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140005980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x150
xor edx, edx
lea ecx, [rdx + 2]
call fcn.1400af520
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400059bd
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call fcn.1400b1d30
test eax, eax
jne 0x1400059c8
mov rcx, rbx
call fcn.1400aeaf0
xor al, al
add rsp, 0x150
pop rbx
ret
mov qword [rsp + 0x160], rdi
mov dword [rsp + 0x168], 0xf321d342
xor dil, dil
nop
lea rcx, [rsp + 0x4c]
call fcn.1400aea40
movzx edx, byte [rsp + 0x4c]
or ecx, 0xffffffff
test dl, dl
je 0x140005a9c
lea r8, [rsp + 0x4c]
nop
movzx eax, dl
lea r8, [r8 + 1]
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
movzx eax, byte [r8]
movzx edx, al
test al, al
jne 0x140005a00
not ecx
xor eax, eax
cmp dword [rsp + rax*4 + 0x168], ecx
je 0x140005ac9
inc rax
cmp rax, 1
jl 0x140005aa0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400b1de0
test eax, eax
jne 0x1400059e0
jmp 0x140005acc
mov dil, 1
mov rcx, rbx
call fcn.1400aeaf0
movzx eax, dil
mov rdi, qword [rsp + 0x160]
add rsp, 0x150
pop rbx
ret
Function at 0x140005af0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
xor edx, edx
lea ecx, [rdx + 2]
call fcn.1400af520
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005b39
lea rdx, [rsp + 0x60]
mov rcx, rax
mov dword [rsp + 0x60], 0x130
call fcn.1400b1d30
test eax, eax
jne 0x140005b4c
mov rcx, rbx
call fcn.1400aeaf0
xor al, al
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rbp
ret
mov qword [rsp + 0x1a0], rdi
xor dil, dil
lea rcx, [rbp - 0x74]
call fcn.1400aea40
movzx r8d, byte [rbp - 0x74]
or ecx, 0xffffffff
test r8b, r8b
je 0x140005c1d
lea rdx, [rbp - 0x74]
nop word [rax + rax]
movzx eax, r8b
lea rdx, [rdx + 1]
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
movzx eax, byte [rdx]
movzx r8d, al
test al, al
jne 0x140005b80
not ecx
mov dword [rsp + 0x20], 0xce659691
mov dword [rsp + 0x24], 0xd50dea99
mov dword [rsp + 0x28], 0xb4ca0887
mov dword [rsp + 0x2c], 0x406ef54c
mov dword [rsp + 0x30], 0x60d51755
mov dword [rsp + 0x34], 0x5f1c2fc2
mov dword [rsp + 0x38], 0x175dbf9c
mov dword [rsp + 0x3c], 0x1a35902a
mov dword [rsp + 0x40], 0xad508441
mov dword [rsp + 0x44], 0xa531cc94
mov dword [rsp + 0x48], 0x4b8cfba
mov dword [rsp + 0x4c], 0xf1cc23e4
mov dword [rsp + 0x50], 0x6ccef6bb
mov dword [rsp + 0x54], 0x25afd43
mov dword [rsp + 0x58], 0xc0496880
mov dword [rsp + 0x5c], 0x2e30dbe9
xor eax, eax
cmp dword [rsp + rax*4 + 0x20], ecx
je 0x140005cc7
inc rax
cmp rax, 0x10
jl 0x140005ca1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400b1de0
test eax, eax
jne 0x140005b57
jmp 0x140005cca
mov dil, 1
mov rcx, rbx
call fcn.1400aeaf0
mov rbx, qword [rsp + 0x1a8]
movzx eax, dil
mov rdi, qword [rsp + 0x1a0]
add rsp, 0x190
pop rbp
ret
Function at 0x1400b9290
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
cmp byte [rcx + 8], 0
mov r9, rcx
je 0x1400b92cc
xor ecx, ecx
cmp dword [r9 + 0x3d0], ecx
jle 0x1400b92c7
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
inc ecx
lea rdx, [rdx + 1]
xor byte [rdx - 1], al
cmp ecx, dword [r9 + 0x3d0]
jl 0x1400b92b0
add rsp, 0x48
ret
lea rdx, [0x14010a030]
lea rcx, [rsp + 0x20]
call fcn.1400d01c4
lea rdx, [0x140108b50]
lea rcx, [rsp + 0x20]
call fcn.1400cdcf8
int3

Function at 0x1400b92f0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov rax, rcx
ret

Function at 0x1400b9340
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor ecx, ecx
mov rax, r8
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov rdi, rdx
mov dword [rsp + 0x20], ecx
mov r8, r9
mov rdx, rax
mov rcx, rbx
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.1400b93c0
mov rdx, rdi
mov rcx, rbx
call fcn.1400b94a0
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400c6980
Capabilities:
Check http status code

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov rbx, rcx
xor r14b, r14b
call fcn.140005af0
movzx edx, al
lea rcx, [rbp + 0x7f]
call fcn.1400635b0
nop
mov rdx, qword [rax]
mov qword [rbp + 0x17], 0xf
xor r15d, r15d
mov qword [rbp + 0xf], r15
mov byte [rbp - 1], r15b
or rdi, 0xffffffffffffffff
cmp byte [rdx], r15b
jne 0x1400c69db
mov r8d, r15d
jmp 0x1400c69e9
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], r15b
jne 0x1400c69e0
lea rcx, [rbp - 1]
call fcn.140003f90
mov r12d, 1
mov r9d, r12d
lea r8d, [r12 + 0x4f]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.1400bfe10
nop
mov rax, qword [rbp + 0x7f]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400c6a25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rbx + 0x20], 0
je 0x1400c6b48
xor edx, edx
lea rcx, [rbp - 0x21]
call fcn.1400c6870
mov rsi, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400c6a47
mov rsi, qword [rax]
lea rcx, [rbp - 0x41]
call fcn.1400c2380
mov rdi, rax
lea rcx, [rbp + 0x77]
call fcn.1400bfef0
mov r8, rax
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x4080000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9, rdi
mov rdx, rsi
mov rcx, qword [rbx + 0x30]
call fcn.1400b0560
mov rsi, rax
cmp qword [rbp - 9], 0x10
jb 0x1400c6a98
mov rcx, qword [rbp - 0x21]
call fcn.1400cd684
mov qword [rbp - 9], 0xf
mov qword [rbp - 0x11], r15
mov byte [rbp - 0x21], 0
lea rdi, [rbp + 0x77]
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
lea rdi, [rbp + 0x79]
mov ecx, 4
rep stosb byte [rdi], al
lea rdi, [rbp - 0x41]
mov ecx, 9
rep stosb byte [rdi], al
lea rdi, [rbp - 0x37]
mov ecx, 0x12
rep stosb byte [rdi], al
test rsi, rsi
je 0x1400c6b24
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1400b0770
mov dword [rbp + 0x67], r15d
mov dword [rbp + 0x6f], 4
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x6f]
lea r8, [rbp + 0x67]
mov edx, 0x20000013
mov rcx, rsi
call fcn.1400b0680
movzx r14d, r14b
cmp dword [rbp + 0x67], 0xc8
cmove r14d, r12d
mov rcx, rsi
call fcn.1400b0930
cmp byte [rbx + 0x20], 0
je 0x1400c6b48
mov rcx, qword [rbx + 0x30]
call fcn.1400b0930
mov rcx, qword [rbx + 0x28]
call fcn.1400b0930
mov byte [rbx + 0x20], 0
movzx eax, r14b
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400ccc31
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
mov esp, 0xc1d2bcdc
fstp xword [rsi + rdx*8 + 0x294c3d35]
xor eax, 0x69294c3d
and dword [rbx], esi
jbe 0x1400ccc7b
cmp al, 0x49
jge 0x1400ccc98
Function at 0x1400ccc5c
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
jge 0x1400ccc98
pop rdi
push rsp
xor eax, 0x422b3e54
push r10
outsb dx, byte [rsi]
outsb dx, byte [rsi]
jno 0x1400ccc85
je 0x1400ccc92
imul edi, dword [rdi], 0x386f3667
jo 0x1400ccc93
jb 0x1400ccca0
and ah, byte [rsi + 0x6e]
sub edi, dword [rsi + 0x7c]
xor byte [rdx + 0x2f], bl
push rsp
jge 0x1400ccc9e
push 0x6c
cmp dword [rbx + 0x41], eax
xor eax, 0x573f4f64
pop rbp
xor byte [rdx + 0x38], cl
je 0x1400cccde
sub ch, byte [rsi + 0x65]
jle 0x1400ccc3c
pop rbx
mov eax, 0xbd59b560
pop rdx
mov bh, 0x59
pop rcx
mov ebp, 0xb761bb5c
pop rdi
mov bh, 0x5a
mov cl, 0x5e
mov cl, 0x63
mov dl, 0x5e
pop rsi
mov ebp, 0xb854b05a
push rsp
mov bh, 0x55
mov eax, 0x7155b754
and byte [rbp + 0x3d], dl
push rbp
cmp eax, 0x3d754635
invalid
xor eax, 0x663d7546
invalid
and dword [rdi + 0x60], ebx
jns 0x1400ccd3f
invalid

Function at 0x1400cf168
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400cefd0
Function at 0x14270f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14270f1df
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 0x14270f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14270f06f
add dl, dl
jne 0x14270f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14270f0f6
xor eax, eax
add dl, dl
jne 0x14270f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14270f1ad
add dl, dl
jne 0x14270f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14270f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14270f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14270f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14270f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14270f07e
mov eax, 1
add dl, dl
jne 0x14270f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14270f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14270f0fb
sub eax, ebx
mov ebx, 1
jne 0x14270f14c
mov ecx, 1
add dl, dl
jne 0x14270f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14270f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14270f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14270f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14270f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14270f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14270f15d
cmp eax, 0x7d00
jae 0x14270f19b
cmp eax, 0x500
jb 0x14270f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14270f07e
cmp eax, 0x7f
ja 0x14270f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14270f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14270f1d2
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 0x14270f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d3e40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d4842
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f7108]
test eax, eax
je 0x2fc4d48da
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f7110]
mov qword [rbp - 8], rax
jmp 0x2fc4d48be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d48b2
cmp qword [rbp - 0x10], 0
je 0x2fc4d48b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d4878
lea rax, [0x2fc4f70e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d48db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d49e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d4a08
mov eax, 0
jmp 0x2fc4d4a56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d4a31
mov eax, 0
jmp 0x2fc4d4a56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d4a51
mov eax, 0
jmp 0x2fc4d4a56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d4a5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d4ada
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d4ad1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d4ad1
mov rax, qword [rbp - 8]
jmp 0x2fc4d4aef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d4aa4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14141910c
Capabilities:
Encode data using xor

Disassembly:
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 0x141419135
pop rbp
sub rbp, 0x29
sub rbp, 0x141910c
jmp 0x141419195
sub rsp, 0x20
jmp 0x1414191a5
mov rax, 0x141910c
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0x45609341
xor byte [rax], dl
inc rax
dec rcx
jne 0x1414191c4
jmp 0x1414191db
or eax, ecx
test al, 0xca
enter 0x417d, 0x41
or r8d, eax
or byte [rcx + 0x40], 0x41
or dword [r8 - 0x58], eax
or dword [rsi + 0x41414f81], eax
or dword [r14 + 0x41416983], eax
or dword [r14 - 0x7fbff65d], esi
retf 0x4dc0