joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001140
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001170
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x118], 0xa
je 0x14000117d
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0
jne 0x1400011bd
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400011e7
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x10]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14000121b
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x14000124a
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov rax, qword [rsp + 0x18]
mov qword [0x1402c12f0], rax
mov rax, qword [rsp]
mov eax, dword [rax + 0x18]
mov dword [0x1402c12e8], eax
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [0x1402c12d8], rax
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [0x1402c12d0], rax
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [0x1402c12e0], rax
cmp qword [0x1402c12f0], 0
je 0x1400012ea
cmp dword [0x1402c12e8], 0
je 0x1400012ea
cmp qword [0x1402c12d8], 0
je 0x1400012ea
cmp qword [0x1402c12d0], 0
je 0x1400012ea
cmp qword [0x1402c12e0], 0
jne 0x1400012f7
mov dword [rsp + 0x34], 0
jmp 0x1400012ff
mov dword [rsp + 0x34], 1
mov eax, dword [rsp + 0x34]
add rsp, 0x38
ret
Function at 0x140002d00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x16
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c130c], 1
mov dword [rsp + 0x24], eax
je 0x140002d82
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, ILSaveToStream
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 9
mov dword [rsp + 0x24], eax
jne 0x140002d2a
mov dword [0x1402c130c], 1
add rsp, 0x28
ret

Function at 0x140002d90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x19
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c1334], 1
mov dword [rsp + 0x24], eax
je 0x140002e12
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, ILSaveToStream
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0x21
mov dword [rsp + 0x24], eax
jne 0x140002dba
mov dword [0x1402c1334], 1
add rsp, 0x28
ret

Function at 0x140002e20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x18
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c1348], 1
mov dword [rsp + 0x24], eax
je 0x140002ea2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, ILSaveToStream
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xd
mov dword [rsp + 0x24], eax
jne 0x140002e4a
mov dword [0x1402c1348], 1
add rsp, 0x28
ret

Function at 0x140002eb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x14
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c135c], 1
mov dword [rsp + 0x24], eax
je 0x140002f32
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x14
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xd
mov dword [rsp + 0x24], eax
jne 0x140002eda
mov dword [0x1402c135c], 1
add rsp, 0x28
ret
Function at 0x140002f40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1f
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c1378], 1
mov dword [rsp + 0x24], eax
je 0x140002fc2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x1f
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0x15
mov dword [rsp + 0x24], eax
jne 0x140002f6a
mov dword [0x1402c1378], 1
add rsp, 0x28
ret

Function at 0x140002fd0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x20
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
add rdx, 0x10
mov qword [rsp + 0x10], rdx
xor eax, eax
cmp dword [0x1402c138c], 1
mov dword [rsp + 0x1c], eax
je 0x140003041
mov eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp]
mov r8, qword [rsp + 0x10]
movsxd r9, eax
mov r8b, byte [r8 + r9]
mov r9d, eax
and r9d, 0xf
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0x10
mov dword [rsp + 0x1c], eax
jne 0x140002ff9
mov dword [0x1402c138c], 1
add rsp, 0x20
ret

Function at 0x140003050
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1c
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c13a0], 1
mov dword [rsp + 0x24], eax
je 0x1400030d2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, 0x1c
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xe
mov dword [rsp + 0x24], eax
jne 0x14000307a
mov dword [0x1402c13a0], 1
add rsp, 0x28
ret

Function at 0x1400030e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x1a
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c13b4], 1
mov dword [rsp + 0x24], eax
je 0x140003162
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, ILSaveToStream
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xf
mov dword [rsp + 0x24], eax
jne 0x14000310a
mov dword [0x1402c13b4], 1
add rsp, 0x28
ret
Function at 0x140003170
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
add rdx, 0x17
mov qword [rsp + 0x18], rdx
xor eax, eax
cmp dword [0x1402c13c8], 1
mov dword [rsp + 0x24], eax
je 0x1400031f2
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov dword [rsp + 4], eax
movsxd r8, eax
mov r8b, byte [rdx + r8]
mov r9d, ILSaveToStream
xor edx, edx
div r9d
mov eax, dword [rsp + 4]
mov r9d, edx
mov rdx, qword [rsp + 8]
movsxd r9, r9d
xor r8b, byte [rdx + r9]
movsxd rdx, eax
mov byte [rcx + rdx], r8b
add eax, 1
cmp eax, 0xd
mov dword [rsp + 0x24], eax
jne 0x14000319a
mov dword [0x1402c13c8], 1
add rsp, 0x28
ret
Function at 0x140231ab0
Capabilities:
Get file size

Disassembly:
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x70], al
movzx eax, byte [0x1402c404c]
mov byte [rsp + 0x58], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x20], al
mov r9d, dword [rsp + 0x68]
movzx r8d, byte [rsp + 0x60]
movzx edx, byte [0x1402c404c]
mov ecx, dword [rsp + 0x68]
call fcn.140231ab0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x70], al
movzx eax, byte [0x1402c404c]
mov byte [rsp + 0x58], al
movsx eax, byte [0x1402c404c]
add rsp, 0x48
ret

Function at 0x140232a74
Capabilities:
Parse pe header

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

Function at 0x140237288
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140237084
Function at 0x14023a924
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14023a954
xor eax, eax
jmp 0x14023aa17
mov rbp, rbx
cmp word [rax], si
je 0x14023a979
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14023a960
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14023a95c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14023a844
movsxd r14, eax
test eax, eax
jne 0x14023a9b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14023a94d
mov rcx, r14
call fcn.140237b6c
mov rdi, rax
test rax, rax
jne 0x14023a9d0
xor ecx, ecx
call fcn.1402380ac
jmp 0x14023a9ac
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14023a844
test eax, eax
jne 0x14023aa01
mov rcx, rdi
call fcn.1402380ac
jmp 0x14023aa0b
xor ecx, ecx
call fcn.1402380ac
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14023fa90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14023fab8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14023fab8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002a80
Capabilities:
Hash data using djb2

Disassembly:
mov rdx, qword [0x140009db0]
push rdi
push rsi
mov esi, ecx
push rbx
mov rax, qword [rdx + 0x4e0]
test rax, rax
je 0x140002b36
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x10]
lea rdi, [rax + 0x10]
cmp rdi, rbx
je 0x140002b28
nop dword [rax]
mov r11, qword [rbx + 0x60]
movzx r9d, word [rbx + 0x58]
mov eax, 0x1505
mov r8, r11
test r11, r11
jne 0x140002af2
jmp 0x140002b1c
test cl, cl
je 0x140002b18
lea edx, [rcx - 0x20]
movzx r10d, cl
cmp cl, 0x60
movzx edx, dl
cmovbe edx, r10d
mov ecx, eax
add r8, 1
shl ecx, 5
add eax, ecx
add eax, edx
movzx ecx, byte [r8]
test r9d, r9d
je 0x140002ad0
mov rdx, r8
sub rdx, r11
cmp edx, r9d
jae 0x140002b18
test cl, cl
jne 0x140002ad4
add r8, 1
xor edx, edx
jmp 0x140002ae5
cmp esi, eax
je 0x140002b2e
test esi, esi
je 0x140002b2e
mov rbx, qword [rbx]
cmp rdi, rbx
jne 0x140002ab8
pop rbx
xor eax, eax
pop rsi
pop rdi
ret
mov rax, qword [rbx + 0x30]
pop rbx
pop rsi
pop rdi
ret
mov rax, qword gs:[0x30]
mov qword [rdx + 0x4e0], rax
jmp 0x140002a9c
Function at 0x140003860
Capabilities:
Hash data using sha256

Disassembly:
movdqu xmm0, xmmword [0x140008010]
push rbp
mov dword [rcx + 0x28], 0
movups xmmword [rcx + 8], xmm0
movdqu xmm0, xmmword [0x140008020]
mov rbp, rsp
mov qword [rcx], 0
and rsp, 0xfffffffffffffff0
movups xmmword [rcx + 0x18], xmm0
leave
ret
Function at 0x1400066a0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

Function at 0x1400066c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
movsxd rax, dword [rcx + 0x3c]
mov esi, dword [rcx + rax + 0x88]
add rsi, rcx
mov r8d, dword [rsi + 0x20]
mov r11d, dword [rsi + 0x18]
add r8, rcx
test r11d, r11d
je 0x140006747
mov r10, rcx
mov ebx, edx
xor r9d, r9d
nop dword [rax]
mov edi, dword [r8]
add rdi, r10
movzx edx, byte [rdi]
test dl, dl
je 0x14000674d
mov eax, 0xffffffff
nop word [rax + rax]
xor eax, edx
add rdi, 1
mov edx, 8
nop dword [rax + rax]
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xdeeedddd
xor eax, ecx
sub edx, 1
jne 0x140006718
movzx edx, byte [rdi]
test dl, dl
jne 0x140006708
not eax
cmp ebx, eax
je 0x140006753
add r9, 1
add r8, 4
cmp r9, r11
jne 0x1400066f0
pop rbx
xor eax, eax
pop rsi
pop rdi
ret
xor eax, eax
cmp ebx, eax
jne 0x14000673a
mov edx, dword [rsi + 0x24]
lea rcx, [r10 + r9*2]
mov eax, dword [rsi + 0x1c]
pop rbx
pop rsi
movzx edx, word [rcx + rdx]
pop rdi
lea rdx, [r10 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r10
ret

Function at 0x140006770
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r15
mov r15, rcx
push r14
push r13
push r12
push rdi
mov rdi, rdx
xor edx, edx
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x170
mov rsi, qword [0x140009db0]
mov qword [rbp + 0x20], r8
mov r8d, 0x40
lea rbx, [rsp + 0x40]
lea r13, [rsp + 0x80]
mov qword [rbp + 0x28], r9
lea r14, [rsp + 0xc0]
mov rcx, rbx
call qword [rsi + 0x530]
mov r8d, 0x40
mov edx, 0x36
mov rcx, r13
call qword [rsi + 0x530]
mov r8d, 0x40
mov edx, 0x5c
mov rcx, r14
call qword [rsi + 0x530]
cmp rdi, 0x40
ja 0x1400068a2
mov r8, rdi
mov rdx, r15
mov rcx, rbx
lea r12, [rsp + 0x100]
lea rdi, [rsp + 0x20]
call qword [rsi + 0x570]
mov r15, r13
mov rax, r14
movdqu xmm0, xmmword [rbx]
add r15, 0x10
add rbx, 0x10
add rax, 0x10
movdqu xmm1, xmmword [r15 - 0x10]
pxor xmm1, xmm0
movups xmmword [r15 - 0x10], xmm1
pxor xmm0, xmmword [rax - 0x10]
movups xmmword [rax - 0x10], xmm0
cmp r15, r14
jne 0x140006819
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9, rdi
mov rcx, r13
call fcn.140002100
mov r9, r12
mov rdx, rdi
mov rcx, r15
mov r8d, 0x20
call fcn.140002100
mov eax, 0x20
cmp qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x30]
cmovbe rax, qword [rbp + 0x38]
mov rdx, r12
mov rbx, rax
mov r8, rax
call qword [rsi + 0x570]
lea rsp, [rbp - 0x38]
mov rax, rbx
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r12, [rsp + 0x100]
mov rcx, r12
call fcn.140003860
mov r8d, edi
mov rdx, r15
mov rcx, r12
call fcn.140003890
lea rdi, [rsp + 0x20]
mov rcx, r12
mov rdx, rdi
call fcn.140003760
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call qword [rsi + 0x570]
jmp 0x140006813
Function at 0x140001210
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x1401fc040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rax, [0x140001670]
mov qword [r11 + 0x10], rdi
mov qword [r11 - 0x48], rax
mov ecx, 0x20
lea rax, [0x1400015b0]
mov qword [r11 - 0x40], rax
lea rax, [0x140034180]
mov qword [r11 - 0x38], rax
lea rax, [0x1400342f0]
mov qword [r11 - 0x30], rax
call fcn.140035330
mov r8d, 0x20
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, rax
lea rdi, [rax + 0x20]
mov qword [rsp + 0x60], rdi
call sub.VCRUNTIME140.dll_memmove
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rdi
cmp rbx, rdi
je 0x1400012ca
mov qword [rsp + 0x80], rsi
xor esi, esi
mov r8, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rbx, 8
cmp rbx, rdi
jne 0x1400012a0
mov rsi, qword [rsp + 0x80]
call fcn.140032a90
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x88]
movzx ebx, al
xor ebx, 1
test rcx, rcx
je 0x140001320
mov rdx, qword [rsp + 0x60]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14000131b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000131b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400355b4
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140035310
add rsp, 0x70
pop rbx
ret
Function at 0x140001950
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400019b1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140001970
mov ecx, dword [r9]
jmp 0x140001a98
cmp ecx, 0x4e0
jb 0x140001a98
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400019d0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140001a20
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140003010
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 0x14000306d
lea rbx, [0x1401f0b20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003054
cmp r10, 2
jb 0x140003054
cmp byte [r9], r8b
jne 0x140003054
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 0x140003030
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400030af
lea rbx, [0x1401f0b20]
cmp r8b, 0x23
jne 0x140003093
cmp byte [r9], r8b
jne 0x140003093
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 0x140003080
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400031f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000320a
mov qword [r8], 0
lea rdx, [0x1401f4c0c]
call fcn.1400030c0
mov rbx, rax
test rax, rax
jne 0x14000322a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003301
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003301
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003301
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003301
cmp rdi, 0xffffffffffffffff
je 0x140003301
mov rax, qword [0x1401fca18]
test rax, rax
je 0x14000329e
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003301
mov r9, rbx
mov r8, rdi
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, rdi
je 0x1400032ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401fca18]
test rax, rax
je 0x1400032e3
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000330a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400032fc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000330c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret