joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ab20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41ad66
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x00868290]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00439240
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41ab9b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41abc2
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, rcx
call fcn.00453e80
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x41abe5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x41abf9
cmp rbx, 0x1000
jae 0x41aba5
nop
jmp 0x41ac7a
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41ac0d
xor esi, esi
jmp 0x41ac6c
mov rax, qword [0x00868290]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00439240
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41abef
jmp 0x41abd6
call fcn.0046a000
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x41ad00
nop
call fcn.0043d2e0
lea rax, [0x006d0d97]
mov ebx, 0x19
call fcn.0043db80
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.0043d8c0
lea rax, [0x006d0563]
mov ebx, 0x19
call fcn.0043db80
mov eax, dword [rsp + 0x34]
call fcn.0043d8c0
nop
call fcn.0043d520
call fcn.0043d360
lea rax, [0x006caa38]
mov ebx, 0xd
call fcn.0043bb00
nop dword [rax + rax]
cmp eax, 0x5af
je 0x41aca0
call fcn.0043d2e0
lea rax, [0x006d0d97]
mov ebx, 0x19
call fcn.0043db80
mov rax, qword [rsp + 0x38]
call fcn.0043d8c0
lea rax, [0x006d0563]
mov ebx, 0x19
call fcn.0043db80
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.0043d8c0
call fcn.0043d520
call fcn.0043d360
lea rax, [0x006d41be]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.0043bb00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004665c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.0041ab20
Function at 0x425f20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x426021
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x425f60
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x426011
test byte [rax], al
lea rcx, [rax + 0x100c0]
mov rax, rcx
call fcn.00426a20
nop dword [rax]
test rax, rax
je 0x426011
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x00426060]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 8]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00466480
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x425fff
xor eax, eax
jmp 0x426009
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x425f52
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004665c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00425f20
Function at 0x45e560
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e61b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
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 rdx, [0x0045e660]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00466480
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004665c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045e560
Function at 0x468740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40a6af
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
call fcn.0040a740
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x008ff600]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
mov rax, rcx
call fcn.0040a6e0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
nop dword [rax]
call fcn.0040a6e0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004665c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x40a640
cmp byte [0x008ff106], 0
je 0x468776
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x008ff960]
aesenc xmm0, xmmword [0x008ff970]
aesenc xmm0, xmmword [0x008ff980]
movq rax, xmm0
ret
jmp 0x40a640
Function at 0x14071b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14071b1df
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 0x14071b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071b06f
add dl, dl
jne 0x14071b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071b0f6
xor eax, eax
add dl, dl
jne 0x14071b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071b1ad
add dl, dl
jne 0x14071b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14071b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14071b07e
mov eax, 1
add dl, dl
jne 0x14071b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071b0fb
sub eax, ebx
mov ebx, 1
jne 0x14071b14c
mov ecx, 1
add dl, dl
jne 0x14071b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14071b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14071b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14071b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071b15d
cmp eax, 0x7d00
jae 0x14071b19b
cmp eax, 0x500
jb 0x14071b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071b07e
cmp eax, 0x7f
ja 0x14071b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14071b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14071b1d2
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 0x14071b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1405c6420
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405c65a7
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 0x1405c6451
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405c6437
add dl, dl
jne 0x1405c645e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405c64be
xor eax, eax
add dl, dl
jne 0x1405c646d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405c6575
add dl, dl
jne 0x1405c647e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c648b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c6498
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c64a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405c64b2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405c6446
mov eax, 1
add dl, dl
jne 0x1405c64ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c64db
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405c64c3
sub eax, ebx
mov ebx, 1
jne 0x1405c6514
mov ecx, 1
add dl, dl
jne 0x1405c64f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405c6503
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405c64eb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405c6446
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405c6530
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405c653d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405c6525
cmp eax, 0x7d00
jae 0x1405c6563
cmp eax, 0x500
jb 0x1405c655e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405c6446
cmp eax, 0x7f
ja 0x1405c6566
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405c6446
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405c659a
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 0x1405c6446
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call fcn.10183000
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10007c10
add rsp, 0x28
jmp 0x10007510
Function at 0x299e856d0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, [0x299f26310]
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x30]
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call fcn.299e8c410
mov rax, qword [rsp + 0x20]
mov rbp, qword [0x299f4c780]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
test rbx, rbx
mov qword [rsp + 0x48], rax
jle 0x299e858b8
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov r9, rsi
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
cmp rax, 0xfa0
mov rbx, rax
je 0x299e85840
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x299e85787
mov rcx, rsi
call fcn.299e85360
mov rcx, rbp
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
jne 0x299e858f0
test rbx, rbx
js 0x299e85910
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.299e899d0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.299e89810
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rbx, rbx
jle 0x299e85818
mov rax, rbx
add rax, 1
jo 0x299e858eb
test rax, rax
js 0x299e8592e
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea r9, [r8 + rdx + 8]
mov r8, rax
lea rdx, [rcx + 8]
mov rcx, r9
call sub.msvcrt.dll_memcpy
add rbx, qword [rsp + 0x30]
jo 0x299e858eb
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rbx
nop dword [rax]
test rcx, rcx
je 0x299e85827
test byte [rcx + 7], 0x40
je 0x299e85900
movdqa xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rbp
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
jne 0x299e858f0
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.299e89810
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x299e858b8
mov rcx, rbx
add rcx, 1
jo 0x299e858cd
test rcx, rcx
js 0x299e858d8
mov r8, qword [rsp + 0x38]
add rdx, 8
mov rax, qword [rsp + 0x30]
lea rax, [r8 + rax + 8]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
add rbx, qword [rsp + 0x30]
jo 0x299e858cd
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x299e85748
nop dword [rax + rax]
lea rdx, [rbx - 1]
xor ecx, ecx
call fcn.299e8b510
mov rcx, qword [rsp + 0x48]
jmp 0x299e85818
call fcn.299e88960
jmp 0x299e858a5
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.299e88fc0
jmp 0x299e858a5
call fcn.299e88960
mov rcx, qword [rsp + 0x48]
jmp 0x299e85818
call fcn.299e886a0
jmp 0x299e85827
movabs r8, 0x7fffffffffffffff
mov rcx, rbx
xor edx, edx
call fcn.299e88fc0
mov rcx, qword [rsp + 0x48]
jmp 0x299e85818
movabs r8, 0x7fffffffffffffff
mov rcx, rax
xor edx, edx
call fcn.299e88fc0
mov rcx, qword [rsp + 0x48]
jmp 0x299e85818
Function at 0x299e85950
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
test r8, r8
mov rdi, rcx
mov rsi, rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rbx, r8
js 0x299e85a50
lea r14, [rsp + 0x20]
mov rdx, r8
mov rcx, r14
call fcn.299e8c410
mov rax, qword [rsp + 0x20]
mov rdx, rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
test rdx, rdx
mov qword [rsp + 0x38], rax
jle 0x299e85aa0
mov rax, qword [rsp + 0x38]
mov r9, rsi
mov r8, rbx
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
cmp rbx, rax
mov rbp, rax
je 0x299e859e3
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x299e85a70
mov rcx, qword [0x299f4c780]
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
mov r12, rax
jne 0x299e85a33
mov rcx, rsi
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov ecx, eax
mov r13d, eax
call sub.msvcrt.dll_ungetc
cmp byte [r12], 0
jne 0x299e85a33
test r13d, r13d
jns 0x299e85ab0
cmp rbx, rbp
jle 0x299e85a33
test rbp, rbp
js 0x299e85a80
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.299e899d0
movdqa xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.299e88fc0
jmp 0x299e85a33
mov rcx, rsi
call fcn.299e85360
jmp 0x299e859e3
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.299e88fc0
jmp 0x299e85a33
sub rdx, 1
xor ecx, ecx
call fcn.299e8b510
jmp 0x299e85a33
mov rdx, rsi
mov rcx, r14
call fcn.299e856d0
cmp byte [r12], 0
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jne 0x299e85b16
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.299e89810
test rbx, rbx
jle 0x299e85b16
mov rcx, rbx
add rcx, 1
jo 0x299e85b36
test rcx, rcx
js 0x299e85b40
mov rdx, qword [rsp + 0x38]
mov r8, rcx
mov rax, qword [rsp + 0x30]
lea rax, [rdx + rax + 8]
lea rdx, [rsi + 8]
mov rcx, rax
call sub.msvcrt.dll_memcpy
add rbx, qword [rsp + 0x30]
jo 0x299e85b36
mov qword [rsp + 0x30], rbx
test rsi, rsi
je 0x299e85a33
test byte [rsi + 7], 0x40
jne 0x299e85a33
mov rcx, rsi
call fcn.299e886a0
jmp 0x299e85a33
call fcn.299e88960
jmp 0x299e85b16
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.299e88fc0
jmp 0x299e85b16
Function at 0x299e85e50
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
lea rax, [0x299f26243]
mov rbp, qword [rcx]
mov r13, qword [rcx + 8]
test rbp, rbp
mov r12, rdx
mov rdi, r8
lea rcx, [r13 + 8]
cmove rcx, rax
lea rdx, [0x299f2626d]
call fcn.299e85100
mov rcx, qword [0x299f4c780]
mov rsi, rax
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x299e85ee3
test rsi, rsi
je 0x299e85f08
test rdi, rdi
jle 0x299e85ff0
mov r9, rsi
mov r8, rdi
mov edx, 1
mov rcx, r12
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x299e85ef8
movzx edi, byte [rbx]
mov byte [rbx], 0
mov rcx, rsi
call sub.msvcrt.dll_fclose
cmp byte [rbx], 0
jne 0x299e85ee3
mov byte [rbx], dil
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rsi
call fcn.299e85360
movzx edi, byte [rbx]
jmp 0x299e85ed0
mov edx, 8
mov ecx, 0x40
call fcn.299e89bd0
lea rdi, [0x299f26244]
lea rdx, [rbp + 0xd]
mov rbx, rax
mov rax, qword [0x299f4c5a0]
mov qword [rbx + 0x10], rdi
lea rcx, [rsp + 0x30]
mov qword [rbx], rax
call fcn.299e89a40
mov rsi, qword [rsp + 0x30]
movabs rdx, 0x6f20746f6e6e6163
mov r14, qword [rsp + 0x38]
mov r12, rsi
lea rax, [rsi + r14 + 8]
add r12, 0xd
mov qword [rax], rdx
movabs rdx, 0x203a6e65706f20
mov qword [rax + 6], rdx
jo 0x299e86030
test rbp, rbp
jle 0x299e86019
mov rcx, rbp
add rcx, 1
jo 0x299e86020
test rcx, rcx
js 0x299e86008
lea rax, [r12 + r14 + 8]
mov r8, rcx
lea rdx, [r13 + 8]
mov rcx, rax
call sub.msvcrt.dll_memcpy
add rbp, r12
jo 0x299e86020
mov qword [rbx + 0x18], rbp
mov rdx, rdi
mov rcx, rbx
mov qword [rbx + 0x20], r14
lea r9, str.syncio.nim
mov qword [rbx + 8], 0
lea r8, str.writeFile
mov qword [rsp + 0x20], 0x371
call fcn.299e8b270
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [rdi - 1]
xor ecx, ecx
call fcn.299e8b510
movzx edi, byte [rbx]
jmp 0x299e85ed0
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.299e88fc0
mov rbp, r12
jmp 0x299e85fa8
call fcn.299e88960
jmp 0x299e86019
call fcn.299e88960
mov r12, rsi
jmp 0x299e85f74

Function at 0x299e863e0
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 0x299e863ff
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.299f24408
Function at 0x299e8cc50
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r13, [0x299f56020]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x299e8ccdf
mov rdi, qword [fcn.299f23cd0]
lea r12, [rsp + 0x20]
xor r14d, r14d
lea rbp, [0x299f25400]
jmp 0x299e8cca5
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x299e8cce6
mov ecx, 1
call rdi
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
movaps xmmword [rsp + 0x20], xmm0
call fcn.299e8cb00
mov rcx, rbp
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
je 0x299e8cc98
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [fcn.299f23cd0]
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x299f26499]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
call fcn.299f24408
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x299e925a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x299e92600
lea r8, [rax + rdx + 8]
xor eax, eax
lea rcx, [rdx + 8]
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x299e925c0
lea rax, [rax + rax*8]
mov rdx, rax
shr rdx, 0xb
xor rdx, rax
mov rax, rdx
shl rax, 0xf
add rax, rdx
ret
xor eax, eax
ret
Function at 0x299e94fa0
Capabilities:
Hash data using murmur3

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rdx
sar rdx, 0x3f
mov rbp, rcx
shr rdx, 0x3e
mov r12, rsi
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
sub r12, rax
cmp rsi, 3
jle 0x299e95117
mov ebx, dword [rcx]
mov rcx, qword [0x299f4c780]
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
jne 0x299e950f9
xor edi, edi
mov ecx, 4
jmp 0x299e95009
cmp rsi, rcx
jle 0x299e950f0
mov ebx, dword [rbp + rcx]
add rcx, 4
imul eax, ebx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, edi
rol eax, 0xd
cmp r12, rcx
lea edi, [rax + rax*4 - 0x19ab949c]
jg 0x299e94ff8
mov rdx, rsi
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x299e95120
lea r9, [rax - 1]
mov r8, r9
add r8, rcx
js 0x299e95109
cmp rsi, r8
jle 0x299e95109
test r9, r9
movzx edx, byte [rbp + r8]
je 0x299e950a9
sub rax, 2
mov r8, rax
add r8, rcx
js 0x299e95109
cmp r8, rsi
jge 0x299e95109
movzx r8d, byte [rbp + r8]
shl edx, 8
or edx, r8d
test rax, rax
je 0x299e950a9
test rcx, rcx
js 0x299e95106
cmp rsi, rcx
jle 0x299e95106
movzx eax, byte [rbp + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
rol ebx, 0xf
mov rcx, qword [0x299f4c780]
call sub.libgcc_s_seh_1.dll___emutls_get_address
cmp byte [rax], 0
jne 0x299e950f9
imul eax, ebx, 0x1b873593
xor edi, esi
xor eax, edi
mov edx, eax
shr edx, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
jmp 0x299e950fb
lea rdx, [rsi - 1]
call fcn.299e8b510
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8, rcx
lea rdx, [rsi - 1]
mov rcx, r8
call fcn.299e8b510
jmp 0x299e950f9
xor ecx, ecx
xor edi, edi
jmp 0x299e95029
xor ebx, ebx
jmp 0x299e950b2
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x299e95158
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp 0x299e94fa0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.299e8e040
xor eax, eax
add rsp, 0x28
ret