joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075bd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
cmp byte [rcx], 0
mov ebp, edx
jne 0x140075d2e
mov ecx, dword [rcx + 0x10]
mov edi, 2
test ecx, ecx
jns 0x140075c01
call fcn.1400a7b18
mov dword [rax], 9
jmp 0x140075cea
cmp dword [section..data], edi
jae 0x140075c19
call fcn.1400a7b18
mov dword [rax], 7
jmp 0x140075cea
mov rax, qword [0x1401586d0]
test rax, rax
je 0x140075c3a
cmp dword [rax], 0
je 0x140075c3a
call fcn.1400a7b18
mov dword [rax], 4
jmp 0x140075cea
cmp ecx, dword [0x140106004]
jne 0x140075c97
mov rcx, qword [0x140110258]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
mov rsi, qword [0x140110260]
lea rax, [rsi + 2]
cmp rax, rcx
jbe 0x140075c67
mov edi, ecx
sub edi, esi
mov rdx, qword [0x140110250]
lea rcx, [rsp + 0x30]
add rdx, rsi
mov r8d, edi
mov ebx, edi
call fcn.140093550
lea rax, [rbx + rsi]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [0x140110260], rax
jmp 0x140075cb6
mov rax, qword [0x140110280]
lea rdx, [rsp + 0x30]
mov r8d, edi
test rax, rax
je 0x140075caf
call rax
jmp 0x140075cb4
call fcn.1400a9730
mov edi, eax
test edi, edi
jle 0x140075cdc
mov rcx, qword [0x1401586c8]
movsxd rax, edi
add rcx, rax
mov rax, qword [0x140110270]
mov qword [0x1401586c8], rcx
test rax, rax
je 0x140075cdc
call rax
cmp edi, 2
jne 0x140075cea
movzx eax, word [rsp + 0x30]
cmp eax, ebp
je 0x140075d2e
mov rax, qword [0x140110268]
lea rcx, str._nError:_invalid_magic
test rax, rax
je 0x140075d0f
call rax
mov eax, 0xffffffff
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.1400269d0
mov ecx, 0xa
call fcn.1400a7c98
mov eax, 0xffffffff
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbp, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140075e80
Capabilities:
Encode data using xor
Hash data using crc32b
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov r10, rcx
test rcx, rcx
jne 0x140075ea9
lea edx, [rcx + 4]
mov ecx, 0x100
call fcn.1400966e0
mov r10, rax
test rax, rax
je 0x140075f63
mov eax, 1
test ebx, ebx
je 0x140075f0c
mov ebx, 0x80000000
nop word [rax + rax]
mov edx, ebx
lea ecx, [rbx + rbx]
sar edx, 0x1f
xor r9d, r9d
and edx, 0x4c11db7
mov ebx, edx
xor ebx, ecx
test eax, eax
je 0x140075efa
mov r11, r10
nop dword [rax]
lea ecx, [r9 + rax]
mov r8d, ebx
xor r8d, dword [r11]
lea r11, [r11 + 4]
inc r9d
mov dword [r10 + rcx*4], r8d
cmp r9d, eax
jb 0x140075ee0
add eax, eax
cmp eax, 0x100
jb 0x140075ec0
mov rax, r10
add rsp, 0x20
pop rbx
ret
mov dword [r10], 0
mov r11d, 0x80
nop dword [rax]
mov ecx, eax
lea ebx, [r11 + r11]
and cl, 1
neg cl
mov ecx, eax
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
mov eax, edx
xor eax, ecx
xor r9d, r9d
nop
lea ecx, [r9 + r11]
mov r8d, eax
xor r8d, dword [r10 + r9*4]
add r9d, ebx
mov dword [r10 + rcx*4], r8d
cmp r9d, 0x100
jb 0x140075f40
shr r11d, 1
jne 0x140075f20
mov rax, r10
add rsp, 0x20
pop rbx
ret
Function at 0x140075f70
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140075f9e
nop word [rax + rax]
movzx r10d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r10, rax
movzx eax, r10b
xor ecx, dword [r9 + rax*4]
sub r8, 1
jne 0x140075f80
mov eax, ecx
ret

Function at 0x1400766e0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x1400767f2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, r8d
mov ecx, dword [rcx]
add rsi, rdx
mov rdi, rdx
lea eax, [rcx - 0x7f2bb708]
test eax, 0xfffffffd
je 0x14007671b
cmp ecx, 0x7f2bb709
jne 0x140076745
movabs rcx, 0xffffffff00000000
test rcx, rdi
jne 0x1400767d0
lea rax, [rsi - 1]
test rcx, rax
jne 0x1400767d0
mov rcx, rbx
call fcn.140077090
mov ecx, dword [rbx]
lea eax, [rcx - 0x7f2bb76d]
cmp eax, 2
ja 0x1400767e3
movsxd rax, dword [rbx + 0x38]
lea r8, [rsi - 1]
mov rcx, rax
mov rdx, rax
shr rdi, cl
mov eax, 1
shl rax, cl
add r8, rax
shr r8, cl
sub r8d, edi
cmp rdi, qword [rbx + 0x20]
jb 0x1400767b1
mov rdx, qword [rbx + 0x28]
cmp rdi, rdx
ja 0x1400767b1
mov eax, r8d
lea rcx, [rdi - 1]
add rcx, rax
cmp rcx, rdx
ja 0x1400767b1
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x40]
mov r8, qword [rbx + 0x40]
mov edx, edi
mov ecx, 0x7f2bb72d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140083bd0
mov edx, 1
mov r8d, 0xffffffff
mov rcx, rbx
call fcn.1400776c0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140076ab0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x140076bc2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, r8d
mov ecx, dword [rcx]
add rsi, rdx
mov rdi, rdx
lea eax, [rcx - 0x7f2bb708]
test eax, 0xfffffffd
je 0x140076aeb
cmp ecx, 0x7f2bb709
jne 0x140076b15
movabs rcx, 0xffffffff00000000
test rcx, rdi
jne 0x140076ba0
lea rax, [rsi - 1]
test rcx, rax
jne 0x140076ba0
mov rcx, rbx
call fcn.140077570
mov ecx, dword [rbx]
lea eax, [rcx - 0x7f2bb76d]
cmp eax, 2
ja 0x140076bb3
movsxd rax, dword [rbx + 0x38]
lea r8, [rsi - 1]
mov rcx, rax
mov rdx, rax
shr rdi, cl
mov eax, 1
shl rax, cl
add r8, rax
shr r8, cl
sub r8d, edi
cmp rdi, qword [rbx + 0x20]
jb 0x140076b81
mov rdx, qword [rbx + 0x28]
cmp rdi, rdx
ja 0x140076b81
mov eax, r8d
lea rcx, [rdi - 1]
add rcx, rax
cmp rcx, rdx
ja 0x140076b81
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x48]
mov r8, qword [rbx + 0x40]
mov edx, edi
mov ecx, 0x7f2bb72e
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140083bd0
mov edx, 1
mov r8d, 0xffffffff
mov rcx, rbx
call fcn.1400776c0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140076c60
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140076c98
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140076c98
mov r9, rdx
mov qword [rsp + 0x20], rax
lea rdx, str.ext2fs
mov r8d, 0xa
lea rcx, str._s:___08X___called__s_with_64_bit_bitmap_for__s_
call fcn.140041aa0
add rsp, 0x38
ret
mov r9, rdx
lea rcx, str._s:___08X___called__s_with_64_bit_bitmap_
lea rdx, str.ext2fs
mov r8d, 0xa
add rsp, 0x38
jmp fcn.140041aa0

Function at 0x140076cc0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x40]
add edx, 0x80d44900
mov r9, r8
mov r8d, dword [rcx + 0x50]
add r8d, edx
lea rdx, str.ext2fs
test rax, rax
je 0x140076cfa
lea rcx, str._s:___08X____llu_for__s_
mov qword [rsp + 0x20], rax
call fcn.140041aa0
add rsp, 0x38
ret
lea rcx, str._s:___08X____llu_
add rsp, 0x38
jmp fcn.140041aa0

Function at 0x140077090
Capabilities:
Print debug messages

Disassembly:
mov r11d, r8d
mov r10d, edx
mov r9, rcx
cmp edx, dword [rcx + 0x10]
jb 0x1400770e8
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
ja 0x1400770e8
lea eax, [r8 - 1]
add eax, edx
cmp eax, ecx
ja 0x1400770e8
xor r8d, r8d
test r11d, r11d
jle 0x1400770f6
nop word [rax + rax]
mov edx, r8d
inc r8d
sub edx, dword [r9 + 0x10]
add edx, r10d
mov ecx, edx
and edx, 7
shr rcx, 3
add rcx, qword [r9 + 0x28]
movzx eax, byte [rcx]
bts eax, edx
mov byte [rcx], al
cmp r8d, r11d
jl 0x1400770c0
ret
mov r8, qword [r9 + 0x20]
mov ecx, 0x7f2bb72d
jmp fcn.140083bd0
ret

Function at 0x140077570
Capabilities:
Print debug messages

Disassembly:
mov r11d, r8d
mov r10d, edx
mov r9, rcx
cmp edx, dword [rcx + 0x10]
jb 0x1400775c8
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
ja 0x1400775c8
lea eax, [r8 - 1]
add eax, edx
cmp eax, ecx
ja 0x1400775c8
xor r8d, r8d
test r11d, r11d
jle 0x1400775d6
nop word [rax + rax]
mov edx, r8d
inc r8d
sub edx, dword [r9 + 0x10]
add edx, r10d
mov ecx, edx
and edx, 7
shr rcx, 3
add rcx, qword [r9 + 0x28]
movzx eax, byte [rcx]
btr eax, edx
mov byte [rcx], al
cmp r8d, r11d
jl 0x1400775a0
ret
mov r8, qword [r9 + 0x20]
mov ecx, 0x7f2bb72e
jmp fcn.140083bd0
ret

Function at 0x1400776c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x20]
add edx, 0x80d44900
mov r9d, r8d
mov r8d, dword [rcx + 0x30]
add r8d, edx
lea rdx, str.ext2fs
test rax, rax
je 0x1400776fa
lea rcx, str._s:___08X____lu_for__s_
mov qword [rsp + 0x20], rax
call fcn.140041aa0
add rsp, 0x38
ret
lea rcx, str._s:___08X____lu_
add rsp, 0x38
jmp fcn.140041aa0
Function at 0x140083bd0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov r9d, edx
lea rdx, str.ext2fs
test r8, r8
je 0x140083c00
mov qword [rsp + 0x20], r8
lea r8d, [rcx - 0x7f2bb700]
lea rcx, str._s:___08X____lu_for__s_
call fcn.140041aa0
add rsp, 0x38
ret
lea r8d, [rcx - 0x7f2bb700]
lea rcx, str._s:___08X____lu_
add rsp, 0x38
jmp fcn.140041aa0
Function at 0x14008b010
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x100
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movabs rax, 0x6a09e667f3bcc908
mov ebx, edx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x68], edx
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0x30], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x38], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x40], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x48], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x50], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x58], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x60], rax
mov rbp, r8
mov qword [rsp + 0x20], rdx
mov rsi, rcx
test ebx, ebx
je 0x14008b15f
mov qword [rsp + 0x138], rdi
test edx, edx
jne 0x14008b0f7
cmp ebx, 0x80
jb 0x14008b0f7
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.14008b190
add qword [rsp + 0x20], 0x400
sub rsi, 0xffffffffffffff80
mov edx, dword [rsp + 0x68]
add ebx, 0xffffff80
jmp 0x14008b14f
mov eax, edx
mov ecx, 0x80
sub ecx, edx
mov edi, ebx
cmp ebx, ecx
mov rdx, rsi
cmovae edi, ecx
lea rcx, [rsp + 0x6c]
add rcx, rax
mov r8d, edi
call fcn.140093550
mov edx, dword [rsp + 0x68]
add rsi, rdi
add edx, edi
sub ebx, edi
mov dword [rsp + 0x68], edx
cmp edx, 0x80
jne 0x14008b14f
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14008b190
add qword [rsp + 0x20], 0x400
xor edx, edx
mov dword [rsp + 0x68], edx
test ebx, ebx
jne 0x14008b0c8
mov rdi, qword [rsp + 0x138]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.14008ba50
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140092060
add rsp, 0x100
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008f090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rdi, [0x1400c3e90]
mov r10, r8
mov r9, rdx
test dl, 3
je 0x14008f0d2
test r8, r8
je 0x14008f0d2
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
inc r9
xor ecx, dword [rdi + rax*4]
sub r10, 1
je 0x14008f0d2
test r9b, 3
jne 0x14008f0b1
mov r11, r10
lea rbx, [r9 - 4]
and r11d, 7
shr r10, 3
test r10, r10
je 0x14008f17d
nop word [rax + rax]
mov r8d, dword [rbx + 8]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, ecx
xor r9, rax
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
movzx edx, al
mov rax, r9
shr rax, 0x10
mov ecx, dword [rdi + rcx*4 + 0x400]
xor ecx, dword [rdi + rdx*4 + 0x800]
movzx edx, al
mov rax, r9
shr rax, 8
xor ecx, dword [rdi + rdx*4 + 0x1400]
movzx edx, al
mov eax, r8d
shr rax, 0x18
xor ecx, dword [rdi + rdx*4 + 0x1800]
xor ecx, dword [rdi + rax*4]
mov rax, r9
shr rax, 0x18
xor ecx, dword [rdi + rax*4 + 0x1000]
movzx eax, r8b
xor ecx, dword [rdi + rax*4 + 0xc00]
movzx eax, r9b
xor ecx, dword [rdi + rax*4 + 0x1c00]
sub r10, 1
jne 0x14008f0f0
test r11, r11
je 0x14008f1ad
lea r8, [rbx + 3]
nop word [rax + rax]
movzx eax, byte [r8 + 1]
lea r8, [r8 + 1]
mov edx, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [rdi + rax*4]
sub r11, 1
jne 0x14008f190
mov rbx, qword [rsp + 8]
mov eax, ecx
mov rdi, qword [rsp + 0x10]
ret

Function at 0x14008fa40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
xor eax, eax
movzx ecx, byte [rdx]
mov r10, r8
lea r8, [rdx + 0x10]
mov rbx, r9
mov r11, rdx
test cl, cl
je 0x14008fa9f
mov r9d, ecx
nop dword [rax + rax]
mov edx, eax
lea r8, [r8 + 1]
mov ecx, eax
shr edx, 0x1b
shl ecx, 5
mov eax, edx
xor eax, ecx
movsx ecx, byte [r8 - 1]
xor eax, ecx
sub r9, 1
jne 0x14008fa80
cmp dword [r11 + 4], 0
jne 0x14008fadc
mov r8d, dword [r11 + 8]
test r8d, r8d
je 0x14008fadc
add r8d, 3
shr r8d, 2
test r8d, r8d
je 0x14008fadc
nop dword [rax]
mov edx, eax
lea r10, [r10 + 4]
mov ecx, eax
shr edx, 0x10
shl ecx, 0x10
mov eax, edx
xor eax, ecx
xor eax, dword [r10 - 4]
sub r8d, 1
jne 0x14008fac0
mov dword [rbx], eax
mov edx, dword [r11 + 4]
test edx, edx
je 0x14008fb09
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14007e8a0
test eax, eax
jne 0x14008fb0b
mov eax, dword [rbx]
mov ecx, eax
shr ecx, 0x10
shl eax, 0x10
xor ecx, eax
xor ecx, dword [rsp + 0x28]
mov dword [rbx], ecx
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140092060
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret

Function at 0x1400a702c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a7024
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400a7aa8
or eax, 0xffffffff
jmp 0x1400a7026
xor eax, eax
add rsp, 0x28
ret
jmp 0x1400a7004
Function at 0x1400aa4a8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400aa33b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400aa33b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400aa33b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400aa33b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400aa33b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400aa33b
cmp dword [rcx + 0xf8], 0
je 0x1400aa33b
mov ecx, ebx
call fcn.1400aa3dc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400aa1cc
cmp dword [rbp + 0x20], 0
je 0x1400aa388
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400aa390
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400aa2d4
Function at 0x1400b516c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1400b4e92
call fcn.1400a7b18
mov dword [rax], 0x16
call fcn.1400aebfc
jmp 0x1400b4fdd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400b4fdd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400b4fdd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400b4ec1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400b4fdd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400b4ed5
call fcn.1400bc190
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400b4ee5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400b4ee8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1400b0d6c
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1400a9730
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400b4fcb
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400b4f79
mov rcx, rbx
call fcn.1400b0d6c
cmp eax, 0xffffffff
je 0x1400b4f64
mov rcx, rbx
call fcn.1400b0d6c
cmp eax, 0xfffffffe
je 0x1400b4f64
mov rcx, rbx
call fcn.1400b0d6c
movsxd rdi, eax
lea r14, [0x140110e90]
mov rcx, rbx
sar rdi, 6
call fcn.1400b0d6c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400b4f6b
lea rdx, [0x1401066f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400b4f79
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1400b4f9d
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1400b4f9d
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1400b4f9d
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1400b4fbb
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400b4fc6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400b4fe2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
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
jmp 0x1400b4e5c
Function at 0x14004b8b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004b8bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004b8cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14004b8b5
lea eax, [rcx + 1]
jmp 0x14004b8db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14004b8ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14004b8d4
sub eax, 3
jb 0x14004b90e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14004b95d
sar eax, 1
movsxd rbp, eax
jb 0x14004b944
jmp 0x14004b91c
add ebx, ebx
jne 0x14004b91a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14004b944
inc ecx
add ebx, ebx
jne 0x14004b92a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14004b944
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004b93d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004b92c
add ecx, 2
jmp 0x14004b949
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14004b872
jmp 0x14004b8bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14004b9a9
cmp rsi, rcx
jae 0x14004b9b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14004b990
cmp al, 0x8f
ja 0x14004b990
cmp byte [rsi - 2], 0xf
je 0x14004b996
sub al, 0xe8
cmp al, 1
ja 0x14004b97a
cmp rsi, rcx
jae 0x14004b9b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14004b980
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14004b9b1
lodsb al, byte [rsi]
jmp 0x14004b990
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x49000]
mov eax, dword [rdi]
or eax, eax
je 0x14004ba1a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4c6c0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14004b9be
jns 0x14004b9f3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14004b9fd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14004ba14
mov qword [rbx], rax
add rbx, 8
jmp 0x14004b9de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14004ba54
cmp al, 0xef
ja 0x14004ba46
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14004ba26
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14004ba35
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14004baa8
sub rsp, 0xffffffffffffff80
jmp 0x14000c540
Function at 0x140ea0f08
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ea0f12
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 0x140ea0f3b
pop rbp
sub rbp, 0x33
sub rbp, 0xea0f08
sub rsp, 0x20
jmp 0x140ea0f5a
mov rax, 0xea0f08
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffdd3313c2
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ea0f79
jmp 0x140ea0f90
mov cl, byte [rbx + 0x2b]
inc r10b
ret 0x8ac2
Function at 0x140002952
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002971
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055bb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055fa
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1400690f0], 0
jne 0x140005612
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400055bb
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005534
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1400690f0]
test rbx, rbx
je 0x140005643
test byte [rbx + 7], 0x40
jne 0x140005643
mov rcx, rbx
call fcn.1400039df
lea rcx, [0x140020320]
call fcn.140015130
cmp byte [rax], 0
je 0x14000567b
lea rcx, [0x140020220]
mov byte [rax], 0
call fcn.140015130
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003f44
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005cf2
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1400690c0]
xor ebx, ebx
lea r14, [0x140020320]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005d78
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14002139b]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001a4e8
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140005bcb
mov rcx, r14
call fcn.140015130
cmp byte [rax], 0
jne 0x140005daa
inc rbx
jmp 0x140005d2b
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret