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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140045120]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400236ab
cmp word [rdx], r13w
jne 0x1400236ab
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400236b0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400237d5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400237f6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400236e9
mov rdx, r9
mov word [rbx], cx
jmp 0x140023710
cmp r9, r8
jae 0x140023720
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400236ca
jmp 0x1400237d5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400237ca
cmp dword [rsp + 0x80], esi
je 0x1400237ca
lea r8, [0x140045120]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400237a2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140023772
mov word [rbx], r13w
jmp 0x1400237d2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002377f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400237d2
cmp word [rsp + 0x70], r13w
jne 0x1400237af
cmp rbx, r14
je 0x14002376c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002338c
cmp word [rsp + 0x70], r13w
je 0x1400237d5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140045120]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400237cf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400237d5
Function at 0x140027304
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140014a34
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002738e
cmp byte [rbp - 0x21], r15b
je 0x140027389
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400273c4
call fcn.14001ba34
test eax, eax
jne 0x1400273b0
cmp byte [rbp - 0x21], r15b
je 0x1400273a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400273c4
cmp byte [rbp - 0x21], r15b
je 0x1400273c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400198a8
test eax, eax
jne 0x140027464
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140014a34
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140027403
cmp byte [rbp - 0x21], r15b
je 0x140027438
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027438
call fcn.14001ba34
test eax, eax
jne 0x140027424
cmp byte [rbp - 0x21], r15b
je 0x14002741d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027438
cmp byte [rbp - 0x21], r15b
je 0x140027435
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400198a8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027464
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027467
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027475
mov rcx, rdi
call fcn.14001b78c
cmp byte [rbp + 0x3f], r15b
je 0x140027484
mov rcx, qword [rbp + 0x27]
call fcn.14001b78c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140028040
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002338c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002338c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028190
cmp rax, 0xffffffffffffffff
je 0x140028190
xor edi, edi
test rbp, rbp
jle 0x14002813b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001b714
mov rbx, rax
test rax, rax
jne 0x1400280c8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028131
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158c4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cc80
cmp eax, 0xffffffff
je 0x140028111
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400280d8
mov edx, r15d
mov ecx, r14d
call fcn.1400158c4
jmp 0x140028131
cmp byte [rsi + 0x38], dil
je 0x140028128
cmp dword [rsi + 0x34], 5
jne 0x140028128
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028131
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b78c
jmp 0x1400281a4
jns 0x1400281a4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002338c
cmp rax, 0xffffffffffffffff
jne 0x14002815c
cmp byte [rsi + 0x30], dil
je 0x1400281a4
mov edi, dword [rsi + 0x2c]
jmp 0x1400281a4
mov ecx, r14d
call fcn.1400156c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400281a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400281a4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002819d
mov eax, dword [rsi + 0x2c]
jmp 0x1400281a2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002338c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140028a60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028a88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028a88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001560
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1801ba15c]
syscall
ret
Function at 0x1800058d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1801ba0f0]
xor r15d, r15d
mov r14d, ecx
mov r12d, r15d
mov rbp, qword [rdi + 0x1c20]
test cl, 0x10
jne 0x180005a54
mov esi, dword [rdi + 0x1cd8]
test esi, esi
je 0x180005960
mov ecx, dword [rdi + 0x1c6c]
cmp ecx, esi
jne 0x180005a4d
mov eax, dword [rdi + 0x1ca4]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
mov rax, r15
cmp byte [r15 + rdi + 0x130], r12b
je 0x180005a4d
cmp byte [rbp + 0x93], r12b
jne 0x180005a4d
mov byte [rdi + 0x1c79], r12b
jmp 0x1800059fd
cmp byte [rdi + 0x130], r12b
je 0x180005a4d
cmp byte [rbp + 0x93], r12b
jne 0x180005a4d
test byte [rdi + 0x1ce0], 1
jne 0x18000599d
cmp dword [rdi + 0x1c6c], r12d
je 0x180005a4d
cmp qword [rdi + 0x1c98], rbp
jne 0x180005a4d
test r14b, 8
je 0x180005a4d
lea rbx, [rdi + 0x1ce4]
mov rcx, rbp
mov rdx, rbx
call fcn.180009ef0
mov edx, eax
mov dword [rdi + 0x1cd8], eax
mov rcx, rbx
mov esi, eax
call fcn.18000c6d0
movzx ebx, al
test al, al
je 0x1800059ed
cmp byte [rdi + 0x420], r12b
je 0x1800059ed
mov rdx, rbp
mov ecx, esi
call fcn.180015c50
mov rcx, rbp
call fcn.180009840
mov ecx, dword [rdi + 0x1c6c]
cmp ecx, esi
jne 0x180005a4d
mov byte [rdi + 0x1c79], bl
cmp ecx, esi
jne 0x180005a4d
movsxd rcx, dword [rbp + 0xc8]
mov rax, qword [rbp + 0xd0]
mov r12d, dword [rax + rcx*4 - 4]
mov rax, qword [0x1801ba0f0]
movsxd rcx, r15d
cmp byte [rcx + rax + 0x130], 0
jne 0x180005a2c
xor bl, bl
jmp 0x180005a44
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x4a0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae bl
call fcn.180015d10
test bl, bl
jne 0x180005aa7
xor al, al
jmp 0x180005b4e
mov r9d, 0xffffffff
lea rdx, [0x18008ee39]
mov esi, r9d
lea r10, [0x18008e4b0]
mov r8b, 0x23
nop
cmp r8b, 0x23
jne 0x180005a83
cmp byte [rdx], r8b
jne 0x180005a83
cmp byte [rdx + 1], r8b
cmove esi, r9d
movzx ecx, sil
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
mov eax, esi
inc rdx
shr eax, 8
mov esi, dword [r10 + rcx*4]
xor esi, eax
test r8b, r8b
jne 0x180005a70
not esi
cmp byte [rdi + 0x1fac], 0
jne 0x180005aec
call fcn.1800071c0
mov dword [rdi + 0x1fcc], esi
mov dword [rdi + 0x1fd0], r12d
mov eax, dword [rdi + 0x1c6c]
mov byte [rdi + 0x1fac], 1
mov dword [rdi + 0x1fb0], r14d
mov dword [rdi + 0x1fb8], r15d
cmp dword [rdi + 0x1fcc], eax
jne 0x180005aec
mov byte [rdi + 0x1c7a], 1
mov eax, dword [rdi + 0x1ba0]
mov dword [rdi + 0x1fb4], eax
mov byte [rdi + 0x1fad], 1
test r14b, 1
jne 0x180005b3f
xor edx, edx
xor ecx, ecx
call fcn.180005ef0
cmp dword [rdi + 0x2020], 0
je 0x180005b3f
test dword [rdi + 0x2014], 0x1000
je 0x180005b3f
mov rax, qword [rdi + 0x1c20]
mov byte [rax + 0x93], 1
mov byte [rax + 0x95], 1
mov byte [rax + 0xb0], 1
test r14b, 0x12
jne 0x180005b4c
and dword [rdi + 0x1ce0], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180005ef0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1801b9588]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801ba0f0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x1fad], 0
jne 0x180005f2b
cmp byte [rbx + 0x1fae], 0
je 0x180005fa7
movss xmm1, dword [rbx + 0x1628]
xor eax, eax
movaps xmm0, xmm1
mov esi, 1
mulss xmm0, dword [0x18008f004]
mulss xmm1, dword [0x18008eff8]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
or dword [rbx + 0x1d18], 1
mov qword [rbx + 0x1d30], rax
movss dword [rbx + 0x1d28], xmm0
mov dword [rbx + 0x1d1c], esi
movss dword [rbx + 0x1d2c], xmm1
movss xmm0, dword [rbx + 0x1684]
mov rax, qword [0x1801ba0f0]
mulss xmm0, dword [0x18008efa8]
or dword [rax + 0x1d18], 0x40
movss dword [rax + 0x1d78], xmm0
movsx r9d, word [rbx + 0x308e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18000ada0
test sil, 1
je 0x18000606e
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x180006024
lea r11, [0x18008e4b0]
nop
cmp r9b, 0x23
jne 0x180006003
cmp byte [r8], r9b
jne 0x180006003
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x180005ff0
not edx
mov ecx, edx
call fcn.180009610
test rax, rax
je 0x18000606e
cmp byte [rax + 0x8e], 0
je 0x18000606e
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x308e]
mov edx, 0x10
movsx r9d, word [rbx + 0x308e]
call fcn.18000ada0
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.180003560
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800682a0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1800096a0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x1800096f4
lea r11, [0x18008e4b0]
cmp r9b, 0x23
jne 0x1800096d3
cmp byte [r8], r9b
jne 0x1800096d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
mov eax, ecx
inc r8
shr eax, 8
mov ecx, dword [r11 + rdx*4]
xor ecx, eax
test r9b, r9b
jne 0x1800096c0
not ecx
jmp fcn.180009610
Function at 0x180009d70
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
lea r11, [0x18008e4b0]
mov rax, qword [rcx + 0xd0]
movsxd r10, edx
mov r9d, dword [rax + r8*4 - 4]
not r9d
movzx eax, r10b
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
mov r8d, dword [r11 + rcx*4]
xor r8d, r9d
shr eax, 0x10
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
mov r9d, dword [r11 + rdx*4]
xor r9d, r8d
movzx edx, al
mov rax, qword [0x1801ba0f0]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov r8d, dword [r11 + rdx*4]
xor r8d, r9d
mov edx, r10d
movzx ecx, r8b
shr rdx, 0x18
xor rdx, rcx
shr r8d, 8
mov ebx, dword [r11 + rdx*4]
xor ebx, r8d
not ebx
cmp dword [rax + 0x1c6c], ebx
jne 0x180009e12
mov dword [rax + 0x1c70], ebx
cmp dword [rax + 0x1ca8], ebx
jne 0x180009e21
mov byte [rax + 0x1cac], 1
mov rcx, qword [0x1801ba0f0]
cmp dword [rcx + 0x1c54], ebx
jne 0x180009e41
xor r9d, r9d
mov r8, r10
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.180007db0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180009ef0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
sub rsp, 0x28
mov rax, qword [0x1801b9588]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov rax, qword [rcx + 0xd0]
lea r9, [0x18008e4b0]
movss xmm2, dword [rcx + 0xe8]
movss xmm3, dword [rcx + 0xec]
movsxd rcx, dword [rcx + 0xc8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp]
subss xmm0, xmm2
xor rcx, rax
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movss dword [rsp + 8], xmm0
movzx ecx, dl
shr edx, 8
movss dword [rsp + 0xc], xmm1
movzx eax, byte [r11 - 0x27]
xor rcx, rax
movzx eax, byte [r11 - 0x26]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x25]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11 - 0x24]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x23]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11 - 0x22]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x21]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11 - 0x20]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x1f]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11 - 0x1e]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x1d]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11 - 0x1c]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x1b]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r11 - 0x1a]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [r11 - 0x19]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov eax, dword [r9 + rcx*4]
mov rcx, qword [0x1801ba0f0]
xor eax, edx
not eax
cmp dword [rcx + 0x1c6c], eax
jne 0x18000a0e2
mov dword [rcx + 0x1c70], eax
cmp dword [rcx + 0x1ca8], eax
jne 0x18000a0f1
mov byte [rcx + 0x1cac], 1
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1800682a0
add rsp, 0x28
ret
Function at 0x18000aaf0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x18000ab0b
mov qword [r8], 0
call fcn.18000ac50
mov rbx, rax
test rax, rax
jne 0x18000ab21
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call fcn.18006d9fc
mov esi, eax
cmp eax, 0xffffffff
je 0x18000ac22
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18006d500
test eax, eax
jne 0x18000ac22
mov rcx, rbx
call fcn.18006d9fc
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000ac22
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18006d500
test eax, eax
jne 0x18000ac22
cmp rdi, 0xffffffffffffffff
je 0x18000ac22
mov rax, qword [0x1801ba0f0]
test rax, rax
je 0x18000ab9e
inc dword [rax + 0x3b0]
mov rdx, qword [0x1801ba100]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x18000ac22
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18006d230
cmp rax, rdi
je 0x18000abfb
mov rcx, rbx
call fcn.18006cc18
mov rax, qword [0x1801ba0f0]
test rax, rax
je 0x18000abe9
dec dword [rax + 0x3b0]
mov rdx, qword [0x1801ba100]
mov rcx, rsi
call qword [0x1801b9008]
jmp 0x18000ac2a
test ebp, ebp
jle 0x18000ac0d
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call fcn.18006a420
mov rcx, rbx
call fcn.18006cc18
test r14, r14
je 0x18000ac1d
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000ac2c
mov rcx, rbx
call fcn.18006cc18
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x18000aeb0
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 0x18000af15
lea rbx, [0x18008e4b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000aef4
cmp r10, 2
jb 0x18000aef4
cmp byte [r9], r8b
jne 0x18000aef4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r10, r10
jne 0x18000aed0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000af5b
lea rbx, [0x18008e4b0]
cmp r8b, 0x23
jne 0x18000af3b
cmp byte [r9], r8b
jne 0x18000af3b
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
mov ecx, eax
inc r9
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r8b, r8b
jne 0x18000af28
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18000b220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push r13
push r15
mov qword [rsp + 0x28], rbp
xor r13d, r13d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], r12
mov rax, rcx
mov qword [rsp + 0x40], r14
mov r15d, r13d
lea rdi, [0x180000000]
test rbx, rbx
je 0x18000b25c
cmp rax, rbx
jae 0x18000b3f5
movzx r8d, byte [rax]
test r8b, r8b
je 0x18000b3f5
mov r11d, r13d
movzx ecx, r8b
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + rdi + 0x8eca8]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x18000b295
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
movzx esi, r8b
lea rcx, [rax + 1]
cmovae esi, r13d
cmp rcx, rdx
jae 0x18000b2af
movzx r12d, byte [rcx]
jmp 0x18000b2b2
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x18000b2c1
movzx r14d, byte [rcx]
jmp 0x18000b2c4
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x18000b2d2
movzx ebp, byte [rcx]
jmp 0x18000b2d5
xor bpl, bpl
lea r9, [r9*4]
movzx ecx, sil
mov edi, dword [r9 + rdi + 0x8ecc8]
and edi, ecx
movzx r8d, r12b
shl edi, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or edi, ecx
movzx r10d, bpl
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
and r8d, 0xc0
mov ecx, r10d
shl edi, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or edi, ecx
shr r10d, 2
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x8ecf8]
or r10d, r8d
shr edi, cl
mov r8d, r13d
shr r10d, 2
lea rcx, [0x180000000]
cmp edi, dword [r9 + rcx + 0x8ece0]
mov edx, edi
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
mov edx, r13d
cmove r8d, ecx
mov ecx, 0x100
or r10d, r8d
cmp edi, 0xffff
cmova edx, ecx
lea rcx, [0x180000000]
mov ecx, dword [r9 + rcx + 0x8ed10]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x18000b3e3
test sil, sil
mov ecx, r13d
mov edx, r13d
mov edi, 0xfffd
setne dl
test bpl, bpl
setne cl
add edx, ecx
mov ecx, r13d
test r14b, r14b
setne cl
add edx, ecx
mov ecx, r13d
test r12b, r12b
setne cl
add edx, ecx
cmp r11d, edx
cmovl edx, r11d
mov r11d, edx
movsxd rcx, r11d
add rax, rcx
test edi, edi
je 0x18000b3f5
inc r15d
jmp 0x18000b247
mov r14, qword [rsp + 0x40]
mov eax, r15d
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r13
pop rdi
pop rbx
ret
Function at 0x18000b470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x18000b68f
mov qword [r11 + 0x20], rsi
lea rsi, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rbp, rbp
je 0x18000b4ce
cmp r8, rbp
jae 0x18000b66c
movzx edx, byte [r8]
test dl, dl
je 0x18000b66c
movzx eax, dl
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x8eca8]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x18000b505
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
movzx r14d, dl
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x18000b51f
movzx r13d, byte [rax]
jmp 0x18000b522
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x18000b531
movzx r12d, byte [rax]
jmp 0x18000b534
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x18000b543
movzx r15d, byte [rax]
jmp 0x18000b546
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x8ecc8]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x8ecf8]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x8ece0]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
or r11d, eax
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x8ed10]
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18000b64a
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x18000b66c
mov word [rdi], si
add rdi, 2
lea rsi, [0x180000000]
cmp rdi, qword [rsp]
jb 0x18000b4c0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x18000b6a5
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret