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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov esi, r9d
mov edx, dword [rsp + 0x60]
mov rbp, r8
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x180141ed0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180141f03
movzx eax, ax
or eax, 0x80070000
jmp 0x180141f03
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, esi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180141f01
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180141eff
movzx eax, ax
or eax, 0x80070000
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x180149db0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movzx eax, byte [rcx]
xor r8d, r8d
mov edx, 0x811c9dc5
test al, al
je 0x180149dd8
nop
movzx eax, al
lea r8d, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 + rcx]
test al, al
jne 0x180149dc0
mov eax, edx
ret

Function at 0x18014b7c0
Capabilities:
Enumerate process modules

Disassembly:
push rdi
sub rsp, 0x270
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18014b81a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
jne 0x18014b81e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18014b857
mov qword [rsp + 0x280], rbx
xor ebx, ebx
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x18014b830
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18027f010
add rsp, 0x270
pop rdi
ret

Function at 0x1801508e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rdx
movsxd r8, r8d
mov r9, rcx
mov edx, 1
mov rcx, rax
jmp fcn.180295c78
Function at 0x180158790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, eax
and r10d, 7
je 0x1801587c1
cmp eax, r10d
jge 0x1801587af
call fcn.180157f70
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov dword [rbx + 0x14], eax
mov eax, dword [rbx + 0x10]
xor r8d, r8d
mov r9d, eax
test eax, eax
jle 0x180158802
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r10d, cl
nop word [rax + rax]
shr ecx, 8
lea eax, [r9 - 8]
mov byte [rdx], r10b
lea rdx, [rdx + 1]
inc r8d
mov dword [rbx + 0x14], ecx
mov r9d, eax
movzx r10d, cl
test eax, eax
jg 0x1801587e0
mov dword [rbx + 0x10], eax
jns 0x18015882f
mov edx, dword [0x18071eb58]
mov rax, qword gs:[0x58]
mov ecx, 0x38
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 0x180158862
mov r8, qword [rbx + 8]
nop dword [rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x18015884c
xor dl, dl
jmp 0x180158855
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180158840
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 0x180158804
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1801588d7
mov edx, dword [0x18071eb58]
mov rax, qword gs:[0x58]
mov ecx, 0x38
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 0x1801588f1
mov rcx, rbx
call fcn.1801580b0
test eax, eax
je 0x1801588ca
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.1802bfb00
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 0x180165f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x140
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x110], rax
movaps xmm6, xmm3
mov rdi, rdx
mov rbx, rcx
movq xmm7, r8
movsd qword [rsp + 0x58], xmm7
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x80], rdx
xor eax, eax
mov dword [rsp + 0x50], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], al
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x38], rax
movups xmmword [rcx + 0x2c], xmm0
movups xmmword [rcx + 0x3c], xmm0
mov word [rcx + 0x4c], ax
mov byte [rcx + 0x4e], al
add rcx, 0x50
call fcn.1800fd930
nop
mov dword [rsp + 0x50], 1
cmp rbx, rdi
je 0x18016603d
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180166031
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.18004be80
movss xmm0, dword [rsp + 0x58]
movss dword [rbx + 0x20], xmm0
movss xmm1, dword [rsp + 0x5c]
movss dword [rbx + 0x24], xmm1
movss dword [rbx + 0x28], xmm6
mov rsi, qword [rsp + 0x180]
movups xmm0, xmmword [rsi]
movups xmmword [rbx + 0x2c], xmm0
movzx eax, byte [rsp + 0x188]
mov byte [rbx + 0x4c], al
test al, al
je 0x1801660c4
movaps xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x28], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm6
movq r8, xmm7
mov rdx, rbx
lea rcx, [rsp + 0x90]
call fcn.180165ca0
mov dword [rsp + 0x50], 3
lea rcx, [rsp + 0xf0]
call fcn.1800fa530
lea rcx, [rsp + 0x90]
call fcn.18003cb40
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1801660d1
mov r9, qword [rdi]
mov rcx, rsi
call fcn.180171140
mov r10d, eax
mov rax, qword [0x180722dc8]
mov rcx, qword [rax + 0x3c28]
mov rdx, qword [0x180722db0]
test r10d, 0xff000000
je 0x18016616f
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], 0
jne 0x180166101
add r8, r9
cmp r9, r8
je 0x18016616f
test rcx, rcx
jne 0x180166120
mov rax, qword [rdx + 0x38]
mov rcx, qword [rax + 8]
xorps xmm1, xmm1
ucomiss xmm6, xmm1
jne 0x180166131
mov rax, qword [rdx + 0x38]
movss xmm6, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm1
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
lea r9, [rsp + 0x58]
movaps xmm2, xmm6
call fcn.1801999b0
nop
mov rcx, rdi
call fcn.18003cb40
mov rax, rbx
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.18027f010
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x120]
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801674b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
movzx ecx, byte [r8]
mov ebp, ecx
movabs rax, 0xcbf29ce484222325
xor rbp, rax
movabs rax, 0x100000001b3
imul rbp, rax
mov rdx, qword [0x180718440]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180718428]
mov rax, qword [r8 + rdx*8 + 8]
mov rsi, qword [0x180718418]
cmp rax, rsi
je 0x180167554
mov rdx, qword [r8 + rdx*8]
cmp cl, byte [rax + 0x10]
je 0x18016752e
nop dword [rax]
cmp rax, rdx
je 0x180167551
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x180167520
mov qword [rbx], rax
mov byte [rbx + 8], 0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov rsi, rax
movabs rax, 0x666666666666666
cmp qword [0x180718420], rax
je 0x18016767c
lea rax, [0x180718418]
mov qword [rsp + 0x20], rax
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov ecx, 0x28
call fcn.18027f030
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx ecx, byte [r14]
mov byte [rax + 0x10], cl
mov qword [rax + 0x14], r15
mov qword [rax + 0x1c], r15
mov rcx, qword [0x180718420]
add rcx, 1
xorps xmm1, xmm1
js 0x1801675b7
cvtsi2ss xmm1, rcx
jmp 0x1801675cc
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180718448]
xorps xmm0, xmm0
test rcx, rcx
js 0x1801675e2
cvtsi2ss xmm0, rcx
jmp 0x1801675f7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180718410]
comiss xmm0, xmm1
jae 0x18016765b
call fcn.18003dbe0
mov rdx, qword [0x180718440]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180718428]
mov rcx, qword [r8 + rdx*8 + 8]
mov rax, qword [0x180718418]
cmp rcx, rax
je 0x180167651
mov rdx, qword [r8 + rdx*8]
movzx eax, byte [rdi + 0x10]
cmp al, byte [rcx + 0x10]
je 0x18016764e
nop
cmp rcx, rdx
je 0x180167675
mov rcx, qword [rcx + 8]
cmp al, byte [rcx + 0x10]
jne 0x180167640
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x20]
mov r9, rdi
mov r8, rsi
mov rdx, rbp
call fcn.18003dcb0
mov qword [rbx], rax
mov byte [rbx + 8], 1
jmp 0x180167535
mov qword [rsp + 0x20], rcx
jmp 0x180167656
lea rcx, str.unordered_map_set_too_long
call fcn.18025cbc4
int3
Function at 0x180168e50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea rbx, [r11 - 0x28]
mov ecx, dword [0x18071eb58]
mov rax, qword gs:[0x58]
mov edx, select
mov rdi, qword [rax + rcx*8]
add rdi, rdx
lea rbp, [0x180724190]
nop
mov eax, dword [rdi]
cmp dword [0x180724188], eax
jg 0x180169079
mov rcx, rbp
call fcn.18008b8a0
shr eax, 0x18
mov byte [rbx], al
inc rbx
lea rax, [rsp + 0x150]
cmp rbx, rax
jne 0x180168eb0
movzx eax, byte [rsp + 0x146]
and al, 0xf
or al, 0x30
mov byte [rsp + 0x146], al
movzx eax, byte [rsp + 0x148]
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x148], al
lea rcx, [rsp + 0x40]
call fcn.18007dd50
nop
lea rbx, [rsp + 0x140]
nop dword [rax]
nop dword [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.18025e68c
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call r8
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rsp + rcx + 0xa8], 0x30
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x68]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x68], eax
movzx edx, byte [rbx]
lea rcx, [rsp + 0x50]
call fcn.18007de50
inc rbx
lea rax, [rsp + 0x150]
cmp rbx, rax
jne 0x180168f20
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.18007eee0
mov dword [rsp + 0x20], 3
mov r9b, 0x2d
mov edx, 8
mov r8d, 1
mov rcx, rsi
call fcn.18007f700
mov r9b, 0x2d
mov edx, reloc.WS2_32.dll_listen
mov r8d, 1
mov rcx, rsi
call fcn.18007f700
mov r9b, 0x2d
mov edx, reloc.WS2_32.dll_select
mov r8d, 1
mov rcx, rsi
call fcn.18007f700
mov r9b, 0x2d
mov edx, 0x17
mov r8d, 1
mov rcx, rsi
call fcn.18007f700
nop
lea rcx, [rsp + 0x40]
call fcn.18007d1c0
mov rax, rsi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rbp + rax*4 + 4], edx
inc rax
cmp rax, 0x270
jb 0x180169040
mov dword [0x180724190], 0x270
lea rcx, [0x180724188]
call fcn.18027f524
jmp 0x180168ebe
lea rcx, [0x180724188]
call fcn.18027f590
cmp dword [0x180724188], 0xffffffff
jne 0x180168ebe
call fcn.18025eaa8
mov edx, eax
mov dword [0x180725514], 0xffffffff
mov dword [0x180724194], eax
mov eax, 1
jmp 0x180169040
Function at 0x18016a660
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x840
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
xor ebx, ebx
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], bl
mov dword [rsp + 0x3c], 1
test rax, rax
je 0x18016a7f1
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x18016a6f2
mov rdx, qword [r15]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x84800200
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x18016a7e7
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x34]
mov edx, 0x20000013
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [rsp + 0x34], 0xc8
jne 0x18016a7de
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
lea r9, [rsp + 0x38]
mov r8d, 0x7d0
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebp, dword [rsp + 0x38]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rbp, rax
ja 0x18016a7be
lea rax, [rcx + rbp]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x18016a7a4
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, rbp
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1802bfb00
mov byte [rdi + rbp], 0
jmp 0x18016a7d7
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x60]
movzx r8d, bl
mov rdx, rbp
mov rcx, rsi
call fcn.18004cac0
cmp dword [rsp + 0x38], 0
ja 0x18016a760
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, r15
call fcn.18003cb40
mov rax, rsi
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18016d670
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
movsxd rsi, r8d
lea r9, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x40
mov rdx, rsi
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x18016d6a2
mov rdx, qword [rbx]
mov r8, rsi
mov rcx, rdi
call fcn.1802bfb00
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbx
call fcn.18003cb40
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x18016d6e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor eax, eax
movsxd rsi, r8d
mov qword [rcx], rax
mov rbp, rdx
mov qword [rcx + 8], rax
mov rdi, rcx
mov qword [rcx + 0x10], rax
test r8d, r8d
je 0x18016d73e
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x18016d794
mov rdx, rsi
call fcn.1800773f0
mov rbx, qword [rdi]
mov r8, rsi
mov rcx, rbx
xor edx, edx
call fcn.1802c01a0
lea rax, [rbx + rsi]
mov qword [rdi + 8], rax
mov rbx, qword [rdi]
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1802bfb00
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.18004c590
int3

Function at 0x1801706e0
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 0x18017073d
lea rbx, [0x180323ef0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180170724
cmp r10, 2
jb 0x180170724
cmp byte [r9], r8b
jne 0x180170724
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 0x180170700
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18017077f
lea rbx, [0x180323ef0]
cmp r8b, 0x23
jne 0x180170763
cmp byte [r9], r8b
jne 0x180170763
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 0x180170750
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1801708c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1801708da
mov qword [r8], 0
lea rdx, [0x1803215dc]
call fcn.180170790
mov rbx, rax
test rax, rax
jne 0x1801708fa
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 fcn.180298be8
mov esi, eax
cmp eax, 0xffffffff
je 0x1801709ca
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.18029551c
test eax, eax
jne 0x1801709ca
mov rcx, rbx
call fcn.180298be8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1801709ca
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18029551c
test eax, eax
jne 0x1801709ca
cmp rdi, 0xffffffffffffffff
je 0x1801709ca
mov rax, qword [0x180722dc8]
test rax, rax
je 0x18017096c
inc dword [rax + 0xec]
mov rcx, rdi
call fcn.180297cd0
mov rsi, rax
test rax, rax
je 0x1801709ca
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180295c78
mov rcx, rbx
cmp rax, rdi
je 0x1801709b8
call fcn.180296544
mov rax, qword [0x180722dc8]
test rax, rax
je 0x1801709ae
dec dword [rax + 0xec]
mov rcx, rsi
call fcn.18028d8d8
jmp 0x1801709d2
call fcn.180296544
test r14, r14
je 0x1801709c5
mov qword [r14], rdi
mov rax, rsi
jmp 0x1801709d4
mov rcx, rbx
call fcn.180296544
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180170ba0
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 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x180170db7
mov qword [r11 + 0x18], rbp
lea rbp, [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 rsi, rsi
je 0x180170bfe
cmp r8, rsi
jae 0x180170d94
movzx edx, byte [r8]
test dl, dl
je 0x180170d94
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x3242f0]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x180170c32
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x180170c4b
movzx r13d, byte [rax]
jmp 0x180170c4e
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x180170c5d
movzx r12d, byte [rax]
jmp 0x180170c60
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x180170c6f
movzx r15d, byte [rax]
jmp 0x180170c72
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x324310]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x324328]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x324340]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x324358]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x180170d76
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x180000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x180170bf0
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 rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x180170dcd
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180170de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x180000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x180170e20
cmp rax, rdi
jae 0x180170f98
movzx r8d, byte [rax]
test r8b, r8b
je 0x180170f98
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x3242f0]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x180170e56
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x180170e6e
movzx r15d, byte [rcx]
jmp 0x180170e71
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x180170e80
movzx r14d, byte [rcx]
jmp 0x180170e83
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x180170e91
movzx ebp, byte [rcx]
jmp 0x180170e94
xor bpl, bpl
lea r10, [r9*4]
movzx ecx, sil
mov r9d, dword [r10 + r13 + 0x324310]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r11d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r11d
shr r11d, 2
and ecx, 0x3f
or r11d, edx
shl r9d, 6
shr r11d, 2
or r9d, ecx
mov ecx, dword [r10 + r13 + 0x324328]
or r11d, r8d
shr r9d, cl
shr r11d, 2
mov edx, r9d
cmp r9d, dword [r10 + r13 + 0x324340]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r11d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r11d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r10 + r13 + 0x324358]
or r11d, edx
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x180170f8a
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x180170e12
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret