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

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x640c7064]
mov r12, rcx
test ebx, ebx
jle 0x640c1770
mov rax, qword [0x640c7068]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x640c168c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x640c1713
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x640c1670
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x640c1792
mov rax, qword [0x640c7068]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x640c7068]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x640c1777
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x640c170c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x640c1720
add dword [0x640c7064], 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 [0x640c7068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x640c170c
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 0x640c1697
mov rax, qword [0x640c7068]
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 0x640c1a40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x640c70a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x640c7080]
test rbx, rbx
je 0x640c1a94
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x640c1a8b
test r12, r12
je 0x640c1a8b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x640c1a70
lea rcx, [0x640c70a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x640c1cb0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x640c1cc8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x640c1cd0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x640c1ce0
Capabilities:
Enumerate pe sections

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

Function at 0x640c1d30
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x640c1dc0
mov rdx, qword [0x640c4480]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x640c1dae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x640c1dae
cmp word [rax + 0x18], 0x20b
jne 0x640c1dae
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x640c1dc0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x640c1d99
add r12, 0x28
cmp r12, rsi
je 0x640c1dc0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x640c1d90
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 0x640c1dd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x640c4480]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x640c1df0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x640c1df8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x640c1df0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x640c1e45
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 0x640c1e3c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x640c1df0
add rax, 0x28
cmp rax, r9
jne 0x640c1e28
xor eax, eax
ret

Function at 0x640c1e50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x640c4480]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x640c1e70
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x640c1e78
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x640c1e70
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x640c1e90
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x640c4480]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x640c1eb0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x640c1eb8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x640c1eb0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x640c1ef8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x640c1eef
test rcx, rcx
je 0x640c1eb0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x640c1ee0
xor eax, eax
ret
Function at 0x640c1f00
Capabilities:
Parse pe header

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

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

Disassembly:
mov rax, qword [0x640c4480]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x640c1f60
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x640c1f68
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x640c1f60
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x640c1f60
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x640c1fa4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x640c1fb8
add rax, 0x28
cmp r9, rax
jne 0x640c1f90
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

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

Disassembly:
mov r11, qword [0x640c4480]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x640c1ff2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x640c2000
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x640c1ff2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x640c1ff2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x640c1ff2
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 0x640c204d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x640c2060
add rdx, 0x28
cmp r10, rdx
jne 0x640c2038
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x640c206f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x640c207f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x640c2056
test ecx, ecx
jg 0x640c2068
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1800042a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
lea rbx, [rcx + 0x58]
lea r9, [rsp + 0x68]
xor r8d, r8d
xor edx, edx
lea rcx, [0x18008d5d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18000439e
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.1800123e0
mov rdi, rax
cmp rbx, rax
je 0x180004351
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180004323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18000431e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004426
mov rcx, r8
call fcn.18005ea2c
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180004393
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000438e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004426
call fcn.18005ea2c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.18005cd5c
lea rcx, str.R3nzSkin
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 8
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.180003b50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180003db0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180004415
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000440f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004420
call fcn.18005ea2c
nop
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.18006dafc
int3
call fcn.18006dafc
int3

Function at 0x18001b830
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 0x18001b88d
lea rbx, [0x180099b50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001b874
cmp r10, 2
jb 0x18001b874
cmp byte [r9], r8b
jne 0x18001b874
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 0x18001b850
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001b8cf
lea rbx, [0x180099b50]
cmp r8b, 0x23
jne 0x18001b8b3
cmp byte [r9], r8b
jne 0x18001b8b3
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 0x18001b8a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18001ba10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001ba2a
mov qword [r8], 0
lea rdx, [0x18009ee94]
call fcn.18001b8e0
mov rbx, rax
test rax, rax
jne 0x18001ba4a
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.18006e19c
mov esi, eax
cmp eax, 0xffffffff
je 0x18001bb18
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18006d6bc
test eax, eax
jne 0x18001bb18
mov rcx, rbx
call fcn.18006e19c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001bb18
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18006d6bc
test eax, eax
jne 0x18001bb18
cmp rdi, 0xffffffffffffffff
je 0x18001bb18
mov rax, qword [0x1800b4f48]
test rax, rax
je 0x18001baba
inc dword [rax + 0x3b0]
mov rcx, rdi
call fcn.1800711c8
mov rsi, rax
test rax, rax
je 0x18001bb18
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18006d2ec
mov rcx, rbx
cmp rax, rdi
je 0x18001bb06
call fcn.180069428
mov rax, qword [0x1800b4f48]
test rax, rax
je 0x18001bafc
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.18006cec8
jmp 0x18001bb20
call fcn.180069428
test r14, r14
je 0x18001bb13
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001bb22
mov rcx, rbx
call fcn.180069428
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 0x180027a20
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800b4f48]
lea rdx, [0x180099b50]
mov r8, rcx
mov rbx, qword [rax + 0x1c08]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x180027b21
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180027b0d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180027b12
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18002ef70
movsxd rcx, dword [rbx]
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 0x180028990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1800b4f48]
mov edi, edx
cmp byte [rbx + 0x1f75], 0
jne 0x1800289e1
cmp byte [rbx + 0x1f76], 0
jne 0x1800289e1
mov r9d, dword [rbx + 0x3054]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001b7b0
test dil, 1
je 0x180028b06
jmp 0x180028a69
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3054]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800a0b68]
mulss xmm1, dword [0x1800a0b58]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d08], rax
mov dword [rbx + 0x1cf4], 1
movss dword [rbx + 0x1d00], xmm0
movss dword [rbx + 0x1d04], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x1800a0adc]
or dword [rbx + 0x1cf0], 0x41
movss dword [rbx + 0x1d50], xmm0
call fcn.18001b7b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180028ac0
lea r11, [0x180099b50]
nop dword [rax]
cmp r9b, 0x23
jne 0x180028aa3
cmp byte [r8], r9b
jne 0x180028aa3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180028a90
not ecx
call fcn.180022620
test rax, rax
je 0x180028b06
cmp byte [rax + 0x8e], 0
je 0x180028b06
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3054]
mov edx, 0x10
mov r9d, dword [rbx + 0x3054]
call fcn.18001b7b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180024b60
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18004f170
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x18004f1fb
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18004f1d0
lea r10, [0x180099b50]
nop dword [rax]
cmp r9b, 0x23
jne 0x18004f1b3
cmp byte [r8], r9b
jne 0x18004f1b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x18004f1a0
mov rcx, qword [0x1800b4f48]
not eax
cmp dword [rcx + 0x1c50], eax
jne 0x18004f1e7
mov dword [rcx + 0x1c54], eax
cmp dword [rcx + 0x1c90], eax
jne 0x18004f24d
mov byte [rcx + 0x1c94], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x1800b4f48]
mov rcx, r10
mov r8, qword [rbx + 0x1c08]
movsxd rax, dword [r8 + 0xc8]
mov r8, qword [r8 + 0xd0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18001b830
cmp dword [rbx + 0x1c50], eax
jne 0x18004f239
mov dword [rbx + 0x1c54], eax
cmp dword [rbx + 0x1c90], eax
jne 0x18004f248
mov byte [rbx + 0x1c94], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180054890
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov rax, qword [rcx]
mov r9, qword [rax]
movabs r12, 0xcbf29ce484222325
movabs r15, 0x100000001b3
mov r10, qword [0x1800b2cc8]
test r9, r9
je 0x18005494a
cmp dword [r10 + 0xc], 0
jle 0x18005494a
mov rax, qword [0x1800b4f20]
mov r9, qword [r9 + rax + 0x18]
mov r8, r12
nop dword [rax + rax]
movsx rdx, byte [r9]
lea r9, [r9 + 1]
xor r8, rdx
imul r8, r15
test dl, dl
jne 0x1800548f0
mov qword [rsp + 0x50], r8
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1800b2ce0]
call fcn.180054c30
mov rcx, qword [0x1800b2cc8]
movsxd rdx, dword [rcx + 0xc]
lea rcx, [rdx + rdx*2]
add rcx, rcx
mov rax, qword [rax]
mov r9, qword [r14]
mov r8d, dword [rax + rcx*8 - 8]
mov rdx, qword [rax + rcx*8 - 0x30]
mov rcx, qword [r9]
call fcn.180059e70
mov r10, qword [0x1800b2cc8]
mov rax, qword [r14]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005495a
mov ebp, dword [rcx + 0x3c]
jmp 0x18005495f
mov ebp, 0x64
xor esi, esi
mov rax, qword [r14 + 8]
mov rdx, qword [rax]
cmp dword [rdx + 0x10], esi
jbe 0x180054a69
movabs r13, 0x96380e6f20703d36
nop dword [rax + rax]
mov rax, qword [rdx + 8]
mov rdi, qword [rax + rsi*8]
mov rax, qword [r14]
cmp rdi, qword [rax]
je 0x180054a57
mov rax, qword [0x1800b4f20]
mov r8, qword [rax + rdi + 0x18]
mov rdx, r12
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r15
test cl, cl
jne 0x1800549b0
mov qword [rsp + 0x50], rdx
cmp rdx, r13
je 0x180054a57
cmp ebp, dword [rdi + 0x3c]
lea rax, [r10 + 0x38]
jne 0x1800549de
lea rax, [r10 + 0x28]
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp byte [rax + 0x19], 0
jne 0x180054a08
nop
cmp qword [rax + 0x20], rdx
jae 0x1800549fc
mov rax, qword [rax + 0x10]
jmp 0x180054a02
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800549f0
cmp byte [rbx + 0x19], 0
jne 0x180054a57
cmp rdx, qword [rbx + 0x20]
jb 0x180054a57
cmp rbx, rcx
je 0x180054a57
cmp dword [rbx + 0x28], 0
jle 0x180054a57
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1800b2ce0]
call fcn.180054c30
movsxd rdx, dword [rbx + 0x28]
lea rdx, [rdx + rdx*2]
add rdx, rdx
mov rax, qword [rax]
mov r8d, dword [rax + rdx*8 - 8]
mov rdx, qword [rax + rdx*8 - 0x30]
mov rcx, rdi
call fcn.180059e70
mov r10, qword [0x1800b2cc8]
inc esi
mov rax, qword [r14 + 8]
mov rdx, qword [rax]
cmp esi, dword [rdx + 0x10]
jb 0x180054980
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180055150
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180055196
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180055192
mov al, 1
jmp 0x180055196
jmp 0x180055196
add rsp, 0x20
pop rbx
ret
Function at 0x180059ce0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180059d41
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180059d00
mov ecx, dword [r9]
jmp 0x180059e28
cmp ecx, 0x4e0
jb 0x180059e28
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180059d60
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180059db0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret