joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d894b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8b55e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d894cf8
mov rax, qword [0x6d8b55e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d894bbc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d894c45
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d894ba0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d894d2d
mov rax, qword [0x6d8b55e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8b55e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d894d10
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d894c3e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d894ca0
add dword [0x6d8b55e4], 1
cmp edi, 8
jae 0x6d894c73
test dil, 4
jne 0x6d894ce4
test edi, edi
je 0x6d894c68
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d894cff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d894c68
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d894c8c
jmp 0x6d894c68
add rsi, qword [0x6d8b55e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d894c3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d894c68
xor esi, esi
jmp 0x6d894bc7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d894c68
mov rax, qword [0x6d8b55e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d895480
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8b58c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8b58a0]
test rbx, rbx
je 0x6d8954d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8954cb
test rsi, rsi
je 0x6d8954cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8954b0
lea rcx, [0x6d8b58c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d895710
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d895720
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d895730
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d895771
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d895768
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d895773
add rax, 0x28
cmp rax, r9
jne 0x6d895754
xor eax, eax
ret

Function at 0x6d895810
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8b21f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d89587d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d89587d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d89587d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d895874
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d89587f
add rax, 0x28
cmp rax, r9
jne 0x6d895860
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d895980
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8b21f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8959a0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d895998
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8959fd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8959f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d895a04
add rax, 0x28
cmp rax, r9
jne 0x6d8959e0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d895a20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8b21f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d895a8e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d895a8e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d895a8e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d895a8e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d895a85
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d895a95
add rcx, 0x28
cmp rcx, rax
jne 0x6d895a70
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d895aa8
jmp 0x6d895a8e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d895ab6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d895a8e
test r9d, r9d
jg 0x6d895aa0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d895e20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400b69e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400b69f0]
mov dword [rax], 1
mov rax, qword [0x1400b6a00]
mov dword [rax], 1
mov rax, qword [0x1400b6980]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400b69d0]
mov dword [0x1400ba020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400b6ab0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400b6a90]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400b6930]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140002a90
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x140002b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1400ba1b4]
mov r12, rcx
test ebx, ebx
jle 0x140002c30
mov rax, qword [0x1400ba1b8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140002b4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140002bd5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140002b30
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140002c52
mov rax, qword [0x1400ba1b8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400ba1b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002c37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002bce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002be0
add dword [0x1400ba1b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x1400ba1b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002bce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x140002b58
mov rax, qword [0x1400ba1b8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400031d0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x1400ba220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400ba200]
test rbx, rbx
je 0x14000322c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140003223
test r12, r12
je 0x140003223
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003208
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003460
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003478
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140003480
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140003490
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400034d5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400034cc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400034d7
add rax, 0x28
cmp rax, r9
jne 0x1400034b8
xor eax, eax
ret

Function at 0x1400034e0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140003570
mov rdx, qword [0x1400b6980]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000355e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000355e
cmp word [rax + 0x18], 0x20b
jne 0x14000355e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140003570
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140003549
add r12, 0x28
cmp r12, rsi
je 0x140003570
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140003540
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x140003580
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400b6980]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400035a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400035a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400035a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400035f5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400035ec
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400035a0
add rax, 0x28
cmp rax, r9
jne 0x1400035d8
xor eax, eax
ret

Function at 0x140003600
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400b6980]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140003620
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003628
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140003620
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x140003640
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400b6980]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140003660
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140003668
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140003660
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400036a8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000369f
test rcx, rcx
je 0x140003660
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140003690
xor eax, eax
ret

Function at 0x1400036b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400b6980]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400036d0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400036d8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400036f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400b6980]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003710
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003718
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003710
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140003710
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000375c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140003770
add rdx, 0x28
cmp rdx, r9
jne 0x140003748
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140003780
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400b6980]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400037a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400037b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400037a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400037a2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400037a2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400037fd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140003810
add rdx, 0x28
cmp r10, rdx
jne 0x1400037e8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000381f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000382f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140003806
test ecx, ecx
jg 0x140003818
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180008ea4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x1800ffe64], 0
lea rsi, [0x1800ffe60]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x180008f0b
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x180008ed9
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x180008ed1
not ebx
mov edx, ebx
test edi, edi
jle 0x180008f2d
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x180008f13
jmp 0x180008f67
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x180008f67
mov r9b, 0x23
cmp r8b, r9b
jne 0x180008f4c
cmp byte [r10], r9b
jne 0x180008f4c
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x180008f3b
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x18001c308
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x18001c4f9
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x18001c3aa
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x18001c3cc
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x180031ac0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x18001c4ec
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x18001c41a
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x18001c41e
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.18001ba70
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.18001bea8
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x18001c409
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x18001c358
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180112e57
Capabilities:
Encode data using xor

Disassembly:
pushfq
add qword [rsp + 0x18], 0x7fec7d9f
push rbp
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x28]
call fcn.180265f69
Function at 0x180136e6b
Capabilities:
Encode data using xor

Disassembly:
push r12
xchg qword [rsp + r10 + 0x77], rdx
push r15
push r10
add byte [rsp + 0x78], 0xb0
pop r15
or byte [rsp + 0x20], r10b
mov r10, qword [rsp + 0x78]
and byte [rbx + rcx*4 + 0x54], cl
and al, 0x78
mov r12, qword [rsp + 0x60]
pop r15
xor qword [rsp + 0x68], r12
pop r12
sub word [rsp + 0x10], 0x778a
call fcn.1801432b4
mov dword [rax - 0xd], esp
call qword [rdi]
jg 0x180136e84
or eax, 0x8cb6a400
invalid

Function at 0x18013915a
Capabilities:
Encode data using xor

Disassembly:
xor bx, 0x3e77
and rbx, 0x74965a73
jle 0x18010c963
xor ebx, 0x53244411
sub ebx, ebx
add ebx, ebx
lea rbx, [rbx + rbx*2 + 0x3fd23d1a]
call fcn.18012001e
call fcn.180112ff8
mov rcx, qword [rsp + 8]
or r10b, bl
jbe 0x18010c968
call fcn.18010c95e

Function at 0x18014002f
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 0x20], rax
xor rbx, 0x405222d3
xor ebx, ebx
neg bx
test rbx, 0x73e15121
not bx
add qword [rsp], 0x22c3b
push rdx
push r11
test rbx, 0x3cbe7146
jns 0x18013bfb3
test word [rsp + 0x25], r15w
call fcn.18014643c

Function at 0x18028d7c6
Capabilities:
Execute syscall

Disassembly:
call fcn.1801344b1
call fcn.1801407b5
seto r11b
add qword [rsp + 8], 0x19afd
add r11w, 0x5be
neg r9d
add qword [rsp], 0x10852
movabs rsi, 0x70b972a75a6a7d6d
not r11b
call fcn.18011dc81
jbe 0x18028d6e8
call int.18011d742
movabs rbx, 0x3e031ad01bb30dc
not bl
or ebx, ebx
test bl, 0x24
mov rbx, qword [rsp + 8]
mov qword [rsp + 8], 0x39235704
call 0x18013aca6
syscall
push r15
pushfq
movabs r15, 0x130a1a8a6ec572d1
call fcn.18011d38a
sub dword [rdi - 0x5f], ecx
push rbp
movabs rbp, 0x5be1489463b94c7f
not rbp
pushfq
and ebp, 0x2863146e
mov rbp, qword [rsp + 8]
mov qword [rsp + 8], 0x111f3b04
push 0x322250a9
call fcn.180114095
syscall
call fcn.1801225a3
sub al, 0x5b
call fcn.180108a82
syscall
call fcn.18013f260
mov edi, 0x41050f59
push rsp
pushfq
movabs r12, 0x6c186f0a7f794e8c
xor r12b, 0x1b
xor r12w, 0x68d4
call fcn.18010763b
jp 0x18028d7c9
push rcx
pushfq
movabs r9, 0x7b1d7b0e6dfd51dd
mov r9w, 0x3940
sub r9w, 0x766e
push rcx
not r9d
mov r9, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0x118492ff
call fcn.18012a9be
jp 0x18028d7c8
add eax, 0xe7ceffe8
dec dword [rbx]
call fcn.180106511
rol bl, cl
syscall
add eax, 0x499c5341
mov ebx, 0x3e470dd0
add byte [0x1016a374a], dh
invalid
push r11
pushfq
movabs r11, 0x5f7235003e470dd0
xor r11d, 0x20cf0727
neg r11b
xor r11, r11
mov r11, qword [rsp + 8]
mov qword [rsp + 8], 0x9a4e2f
push rsi
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x10]
call fcn.18027e4b7
retf 0x2ee8