joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3130], 0
lea rbx, [rcx + 0x3138]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18000d0b2
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x18000d066
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180018e50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800189c0
mov eax, dword [rbx]
lea rcx, [0x1801ba0f8]
mov r9, qword [rdi + 0x3130]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x3140]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call fcn.18006dc54
mov r14, qword [rsp + 0x30]
jmp 0x18000d0ba
mov rcx, rbx
call fcn.1800189c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180012a50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r10, qword [0x1801ba0f0]
lea rdi, [0x18008e4b0]
movsxd r11, ecx
mov rbx, qword [r10 + 0x1c20]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, r11b
movzx edx, r8b
xor rdx, rax
shr r8d, 8
mov eax, r11d
shr eax, 8
mov r9d, dword [rdi + rdx*4]
xor r9d, r8d
movzx edx, al
movzx ecx, r9b
mov eax, r11d
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
mov r8d, dword [rdi + rdx*4]
xor r8d, r9d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
mov r9d, dword [rdi + rdx*4]
xor r9d, r8d
mov edx, r11d
movzx ecx, r9b
shr rdx, 0x18
xor rdx, rcx
shr r9d, 8
mov edi, dword [rdi + rdx*4]
xor edi, r9d
not edi
cmp dword [r10 + 0x1c54], edi
jne 0x180012b08
xor r9d, r9d
mov r8, r11
mov ecx, edi
lea edx, [r9 + 4]
call fcn.180007db0
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x180012b3d
lea r8d, [rax + 1]
test ecx, ecx
je 0x180012b24
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180012b29
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180018f90
mov eax, dword [rbx]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180015730
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1801ba0f0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x30cc], ecx
test rbx, rbx
je 0x18001579d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.1800157b0
lea rdx, [0x18008ee60]
mov rcx, rbx
mov rdi, rax
call fcn.18000ac50
mov rbx, rax
test rax, rax
je 0x180015798
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.18006dc54
mov rcx, rbx
call fcn.18006cc18
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180023a30
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx eax, byte [rdx + 1]
mov rbx, rdx
movzx r8d, byte [rdx]
mov rdi, rcx
shl r8d, 8
add r8d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
add r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
add r8d, eax
cmp r8d, 0x57bc0000
jne 0x180023c99
movzx eax, byte [rdx + 5]
movzx ecx, byte [rdx + 4]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
add ecx, eax
jne 0x180023c99
movzx r14d, byte [rdx + 8]
add rbx, 0x10
movzx eax, byte [rdx + 9]
mov rcx, rbx
shl eax, 0x10
shl r14d, 0x18
add r14d, eax
mov qword [0x1801ba130], rdx
movzx eax, byte [rdx + 0xa]
shl eax, 8
add r14d, eax
mov qword [0x1801ba128], rdi
movzx eax, byte [rdx + 0xb]
add r14d, eax
mov qword [0x1801ba138], rdi
mov ebp, r14d
add rbp, rdi
mov qword [0x1801ba120], rbp
call fcn.180023cc0
mov rsi, rax
cmp rax, rbx
je 0x180023b21
cmp qword [0x1801ba138], rbp
ja 0x180023c99
mov rcx, rsi
mov rbx, rsi
call fcn.180023cc0
mov rsi, rax
cmp rax, rbx
jne 0x180023b01
cmp byte [rsi], 5
jne 0x180023c99
cmp byte [rsi + 1], 0xfa
jne 0x180023c99
cmp qword [0x1801ba138], rbp
jne 0x180023c99
mov eax, 0x5e6ea9af
mov ebx, r14d
mul r14d
xor r9d, r9d
mov ebp, r14d
shr edx, 0xb
mov ecx, 1
imul eax, edx, 0x15b0
sub ebx, eax
test r14d, r14d
je 0x180023c64
nop dword [rax + rax]
xor edx, edx
cmp ebx, 7
jbe 0x180023bd7
lea r8d, [rdx + 7]
nop dword [rax + rax]
movzx eax, byte [rdi]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [rdi + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [rdi + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [rdi + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [rdi + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [rdi + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [rdi + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [rdi + 7]
add r9d, ecx
add ecx, eax
add rdi, 8
add r9d, ecx
cmp r8d, ebx
jb 0x180023b80
xor r8d, r8d
xor r10d, r10d
cmp edx, ebx
jae 0x180023c31
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x180023c1b
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov r11d, eax
lea edx, [rdx + rax*2]
nop dword [rax + rax]
movzx eax, byte [rdi]
add ecx, eax
movzx eax, byte [rdi + 1]
add r8d, ecx
add rdi, 2
add ecx, eax
add r10d, ecx
sub r11, 1
jne 0x180023c00
cmp edx, ebx
jae 0x180023c2a
movzx eax, byte [rdi]
add ecx, eax
add r9d, ecx
inc rdi
lea eax, [r10 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
sub ebp, ebx
mov ebx, 0x15b0
jne 0x180023b70
movzx r8d, byte [rsi + 2]
movzx eax, byte [rsi + 3]
movzx edx, byte [rsi + 4]
shl r8d, 0x18
shl edx, 8
shl eax, 0x10
add r8d, eax
shl r9d, 0x10
add r8d, edx
add r9d, ecx
movzx edx, byte [rsi + 5]
add r8d, edx
cmp r9d, r8d
jne 0x180023c99
mov eax, r14d
jmp 0x180023c9b
xor eax, eax
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
Function at 0x18002fe70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1801b9588]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x18002febb
lea rcx, [r8 + 1]
cmp al, 0x25
jne 0x18002fea5
cmp byte [rcx], al
jne 0x18002feb7
cmp al, al
cmovne rcx, r8
movzx eax, byte [rcx + 1]
lea r8, [rcx + 1]
test al, al
jne 0x18002fe97
jmp 0x18002febb
movzx eax, byte [r8]
cmp al, 0x25
jne 0x180030030
cmp byte [r8 + 1], al
je 0x180030030
lea r11, [rsp + 0x20]
mov r9, r8
movzx edx, al
nop dword [rax + rax]
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18002fefd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x18002ff25
sub dl, 0x61
cmp dl, 0x19
ja 0x18002ff17
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x18002ff25
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x18002fee0
jmp 0x18002ff28
inc r9
cmp r8, r9
jae 0x18002ff63
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x18002ff58
movsx rax, al
bt rdx, rax
jb 0x18002ff5e
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x18002ff40
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.18000ada0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18002ff9b
inc rcx
cmp byte [rcx], 0x20
je 0x18002ff93
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18003001f
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18002ffb6
movzx r8d, byte [rcx + 1]
cmp r9b, 0x2d
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18002ffd0
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18003000d
movss xmm2, dword [0x18008effc]
cmp al, 0x39
jg 0x18003000d
movsx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x18002ffe7
cmp r9b, 0x2d
jne 0x18003002b
xorps xmm1, xmmword [0x18008f0a0]
movaps xmm0, xmm1
jmp 0x180030033
call fcn.180076a6c
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x180030033
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800682a0
add rsp, 0x90
pop rbx
ret
Function at 0x180030050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1801b9588]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x18003009b
lea rcx, [r8 + 1]
cmp al, 0x25
jne 0x180030085
cmp byte [rcx], al
jne 0x180030097
cmp al, al
cmovne rcx, r8
movzx eax, byte [rcx + 1]
lea r8, [rcx + 1]
test al, al
jne 0x180030077
jmp 0x18003009b
movzx eax, byte [r8]
cmp al, 0x25
jne 0x18003020a
cmp byte [r8 + 1], al
je 0x18003020a
lea r11, [rsp + 0x20]
mov r9, r8
movzx edx, al
nop dword [rax + rax]
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1800300dd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x180030105
sub dl, 0x61
cmp dl, 0x19
ja 0x1800300f7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x180030105
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1800300c0
jmp 0x180030108
inc r9
cmp r8, r9
jae 0x180030143
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x180030138
movsx rax, al
bt rdx, rax
jb 0x18003013e
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x180030120
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm3
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.18000ada0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x180030178
nop
inc rcx
cmp byte [rcx], 0x20
je 0x180030170
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1800301fd
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x180030193
movzx r8d, byte [rcx + 1]
cmp r9b, 0x2d
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1800301ad
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1800301eb
movsd xmm2, qword [0x180093da8]
cmp al, 0x39
jg 0x1800301eb
movsx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1800301c4
cmp r9b, 0x2d
jne 0x180030205
xorps xmm1, xmmword [0x180093e40]
movaps xmm0, xmm1
jmp 0x18003020d
call fcn.180076a6c
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18003020d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800682a0
add rsp, 0x90
pop rbx
ret
Function at 0x18004f820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, eax
mov r9d, eax
and r11d, 7
je 0x18004f854
cmp eax, r11d
jge 0x18004f845
call fcn.180049060
mov eax, dword [rbx + 0x10]
mov ecx, r11d
shr dword [rbx + 0x14], cl
sub eax, r11d
mov dword [rbx + 0x10], eax
mov r9d, eax
xor r8d, r8d
test eax, eax
jle 0x18004f890
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + 0x14]
inc r8d
mov byte [rdx], al
inc rdx
lea eax, [r9 - 8]
shr ecx, 8
mov dword [rbx + 0x14], ecx
mov r9d, eax
test eax, eax
jg 0x18004f870
mov dword [rbx + 0x10], eax
jns 0x18004f8bd
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov ecx, 0x10
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x18004f8ef
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x18004f8d9
xor dl, dl
jmp 0x18004f8e2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x18004f8d0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x18004f892
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x18004f964
mov edx, dword [0x1801bd240]
mov rax, qword gs:[0x58]
mov ecx, 0x10
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x18004f97e
mov rcx, rbx
call fcn.180054db0
test eax, eax
je 0x18004f957
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.180069fc0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180055e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r9, [r8 + 0x10]
mov r10, qword [r9 + 0x10]
mov rdi, rdx
mov r11, rcx
jb 0x180055ea2
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r10, r10
je 0x180055ed4
movabs rbx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r10
jb 0x180055ec0
mov r9, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and r9, rdx
shl r9, 4
add rcx, r9
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x180055f14
cmp rax, r8
jne 0x180055f0a
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x180055f1f
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x180055f1f
cmp rax, r8
jne 0x180055f1f
mov rax, qword [r8]
mov qword [rcx], rax
mov rdx, qword [r8 + 8]
lea rcx, [r11 + 8]
mov rbx, qword [r8]
mov qword [rdx], rbx
mov rdx, qword [r8 + 8]
mov r9, qword [r8]
mov qword [r9 + 8], rdx
mov rdx, r8
dec qword [rcx + 8]
call fcn.180067340
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180067ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r12, qword [r8 + 0x18]
mov rdi, r8
mov r15, qword [r8 + 0x10]
mov r13, rdx
mov rsi, rcx
mov r10, r8
cmp r12, 0x10
jb 0x180067eeb
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r15, r15
je 0x180067f24
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r15
jb 0x180067f10
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
mov rsi, qword [rsi + 8]
and rax, r9
mov rbx, rax
mov qword [rsp + 0x70], rbp
add rax, rax
mov qword [rsp + 0x20], r14
add rbx, rbx
mov rdx, qword [rcx + rax*8]
inc rax
mov rbx, qword [rcx + rbx*8]
mov qword [rsp + 0x60], rdx
lea rax, [rcx + rax*8]
mov qword [rsp + 0x68], rax
nop
cmp rdx, rsi
jne 0x180067f6a
mov rax, rsi
jmp 0x180067f70
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x180067fea
mov rdx, rdi
cmp r12, 0x10
jb 0x180067f81
mov rdx, qword [rdi]
mov r14, qword [rbx + 0x28]
lea rcx, [rbx + 0x10]
cmp r14, 0x10
jb 0x180067f93
mov rcx, qword [rbx + 0x10]
mov rbp, qword [rbx + 0x20]
cmp rbp, r15
jne 0x180067fa8
mov r8, rbp
call fcn.18006a5c0
test eax, eax
je 0x180067fb7
mov rbx, qword [rbx]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
jmp 0x180067f60
lea rdx, [rbx + 0x10]
cmp r14, 0x10
jb 0x180067fc4
mov rdx, qword [rdx]
cmp r12, 0x10
jb 0x180067fcd
mov rdi, qword [rdi]
cmp r15, rbp
jne 0x180067fe1
mov r8, r15
mov rcx, rdi
call fcn.18006a5c0
test eax, eax
je 0x180067fe4
mov rbx, rsi
mov qword [r13], rbx
jmp 0x180067fee
mov qword [r13], rsi
mov r14, qword [rsp + 0x20]
mov rax, r13
mov rbp, qword [rsp + 0x70]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x2fc4ce1b0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4cf290
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cebb2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f1108]
test eax, eax
je 0x2fc4cec4a
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f1110]
mov qword [rbp - 8], rax
jmp 0x2fc4cec2e
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 0x2fc4cec22
cmp qword [rbp - 0x10], 0
je 0x2fc4cec22
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 0x2fc4cebe8
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cec4b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4ced50
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 0x2fc4ced78
mov eax, 0
jmp 0x2fc4cedc6
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 0x2fc4ceda1
mov eax, 0
jmp 0x2fc4cedc6
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 0x2fc4cedc1
mov eax, 0
jmp 0x2fc4cedc6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cedcc
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 0x2fc4cee4a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cee41
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 0x2fc4cee41
mov rax, qword [rbp - 8]
jmp 0x2fc4cee5f
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 0x2fc4cee14
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14027d5a0]
mov dword [rax], 1
mov rax, qword [0x14027d5b0]
mov dword [rax], 1
mov rax, qword [0x14027d5c0]
mov dword [rax], 1
mov rax, qword [0x14027d590]
mov dword [rax], 1
mov rax, qword [0x14027d3e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140003ca0
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 8], 0
cmp qword [rbp + 0x18], 0
je 0x140003cd0
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.140003c65
mov rdx, rax
jmp 0x140003cd5
mov edx, 0
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sub.msvcrt.dll_fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000aa36
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp - 8], 0
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sub.msvcrt.dll_fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14000db32
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 1], 0
cmp qword [rbp + 0x18], 0
je 0x14000db56
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
jmp 0x14000db5b
mov eax, 0
mov qword [rbp - 0x20], rax
cmp qword [rbp + 0x10], 0
je 0x14000db6f
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
jmp 0x14000db74
mov eax, 0
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x10], 0
mov rax, qword [rbp - 0x20]
cmp rax, qword [rbp - 0x10]
jg 0x14000db93
mov byte [rbp - 1], 1
jmp 0x14000dcbd
nop
mov byte [rbp - 0x11], 0
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x10]
setle al
mov byte [rbp - 0x11], al
cmp byte [rbp - 0x11], 0
jne 0x14000dc70
cmp qword [rbp - 0x10], 0
js 0x14000dbd2
cmp qword [rbp + 0x10], 0
je 0x14000dbc7
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
jmp 0x14000dbcc
mov eax, 0
cmp rax, qword [rbp - 0x10]
jg 0x14000dbf9
cmp qword [rbp + 0x10], 0
je 0x14000dbe6
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
lea rdx, [rax - 1]
jmp 0x14000dbed
mov rdx, 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14000a315
cmp qword [rbp - 0x10], 0
js 0x14000dc1b
cmp qword [rbp + 0x18], 0
je 0x14000dc10
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
jmp 0x14000dc15
mov eax, 0
cmp rax, qword [rbp - 0x10]
jg 0x14000dc42
cmp qword [rbp + 0x18], 0
je 0x14000dc2f
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
lea rdx, [rax - 1]
jmp 0x14000dc36
mov rdx, 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.14000a315
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x10]
add rax, rdx
add rax, 0x10
movzx edx, byte [rax]
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp - 0x10]
add rax, rcx
add rax, 0x10
movzx eax, byte [rax]
cmp dl, al
setne al
mov byte [rbp - 0x11], al
jmp 0x14000dc71
nop
movzx eax, byte [rbp - 0x11]
xor eax, 1
test al, al
jne 0x14000dc82
mov byte [rbp - 1], 0
jmp 0x14000dcbd
nop
mov edx, 0
mov rax, qword [rbp - 0x10]
add rax, 1
jno 0x14000dc97
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x30]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x14000dcb0
call fcn.14000b20a
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
jmp 0x14000db80
movzx eax, byte [rbp - 1]
add rsp, 0x50
pop rbp
ret

Function at 0x140016c70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, qword gs:[0x60]
movzx rax, byte [rax + 2]
ret