joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180022658
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
cmp byte [rcx], 0
mov rdi, rdx
mov rsi, rcx
jne 0x1800226b0
mov byte [rcx], 1
mov ecx, 0x10
call fcn.180047798
mov ecx, 0x50
mov rbx, rax
and qword [rax], 0
and qword [rax + 8], 0
call fcn.180047798
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rsi + 8], rbx
cmp byte [rsi], 1
jne 0x180022719
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x50], 0
lea rdx, [rsp + 0x20]
mov r8, rdi
call fcn.18001a030
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rsp + 0x20]
cmp rdx, 0xf
jbe 0x180022710
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18002270b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x180022815
mov rcx, r8
call fcn.1800477a0
lea rax, [rbx + 0x40]
jmp 0x1800227f2
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x18002279c
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x18002279c
mov ebp, dword [r10 + 0x20]
dec r9d
mov esi, 0x3b09bfeb
lea rdx, [r8 + r9*4]
mov r11d, dword [rdx + rbp]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180022797
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x18002276c
cmp esi, 0xbb784a27
je 0x1800227a1
test r9d, r9d
jne 0x18002274f
mov rax, qword [rax]
jmp 0x18002272a
mov eax, dword [r10 + 0x24]
mov ecx, dword [r10 + 0x1c]
add rax, r8
add rcx, r8
movzx edx, word [rax + r9*2]
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800227f2
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800227ed
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180022815
mov rcx, r8
call fcn.1800477a0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
and qword [rdi + 0x10], 0
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call fcn.1800406b8
int3
Function at 0x18002283c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r8, qword [rcx]
movzx edx, byte [r8]
cmp edx, 5
ja 0x180022883
je 0x180022883
test edx, edx
je 0x180022883
sub edx, 1
je 0x180022876
sub edx, 1
jne 0x180022883
mov rax, qword [rcx + 0x10]
jmp 0x180022935
mov rax, qword [rcx + 8]
add rax, 0x40
jmp 0x180022935
cmp qword [rcx + 0x18], 0
jne 0x180022892
mov rax, r8
jmp 0x180022935
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180022915
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180022915
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0xb488f08d
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180022910
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800228e5
cmp edi, 0x2c44ed01
je 0x18002291a
test r10d, r10d
jne 0x1800228c8
mov rax, qword [rax]
jmp 0x1800228a3
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

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

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9b, r9b
je 0x1800195ea
test r8, r8
je 0x18001960d
movabs r9, 0x100000001b3
mov al, byte [r10 + rbx]
mov dl, byte [r10 + rbx]
add al, 0x20
movzx ecx, al
sub dl, 0x41
movzx eax, byte [r10 + rbx]
cmp dl, 0x19
cmova ecx, eax
inc r10
imul r11, r9
movsx rax, cl
xor r11, rax
cmp r10, r8
jb 0x1800195ba
jmp 0x18001960d
test r8, r8
je 0x18001960d
movabs r9, 0x100000001b3
movsx rcx, byte [r10 + rdx]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x1800195f9
mov rbx, qword [rsp + 8]
mov rax, r11
ret
xor r8d, r8d
cmp byte [rcx], r8b
je 0x180023c5e
inc r8
cmp byte [r8 + rcx], 0
jne 0x180023c54
mov r9b, dl
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x180019598
Function at 0x180023c8c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rsi
push rdi
push r14
sub rsp, 0x38
lea rax, [r11 + 0x10]
mov qword [r11 - 0x38], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r11d, dword [rcx + r8 + 0x88]
add r11, r8
cmp r11, r8
je 0x180023d33
mov r10d, dword [r11 + 0x18]
test r10d, r10d
je 0x180023d33
mov r14d, dword [r11 + 0x20]
dec r10d
mov edi, 0x2c212447
lea rcx, [r14 + r10*4]
mov r9d, dword [rcx + r8]
add r9, r8
mov bl, byte [r9]
inc r9
test bl, bl
je 0x180023d2e
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r9]
cmova edx, ecx
inc r9
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x180023d03
cmp edi, 0xf0dcad01
je 0x180023d38
test r10d, r10d
jne 0x180023ce6
mov rax, qword [rax]
jmp 0x180023cc1
mov ecx, dword [r11 + 0x24]
mov r9, qword [rsp + 0x20]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov edx, 0x200
add rax, r8
lea rcx, [0x1800bced0]
mov r8, qword [rsp + 0x60]
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r9d, dword [rcx + r10 + 0x88]
add r9, r10
cmp r9, r10
je 0x180023dec
mov r8d, dword [r9 + 0x18]
test r8d, r8d
je 0x180023dec
mov r14d, dword [r9 + 0x20]
dec r8d
mov esi, 0xab2d2527
lea rcx, [r14 + r8*4]
mov r11d, dword [rcx + r10]
add r11, r10
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180023de7
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x180023dbc
cmp esi, 0xdb4961c3
je 0x180023df1
test r8d, r8d
jne 0x180023d9f
mov rax, qword [rax]
jmp 0x180023d7a
mov edx, dword [r9 + 0x24]
lea rcx, [0x1800bced0]
add rdx, r10
movzx r8d, word [rdx + r8*2]
mov edx, dword [r9 + 0x1c]
add rdx, r10
mov r9d, dword [rdx + r8*4]
add r9, r10
call r9
lea rax, [0x1800bced0]
add rsp, 0x38
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800437d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180043868
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180043868
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0xa2df980c
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180043863
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x180043838
cmp edi, 0xdf445794
je 0x18004386d
test r10d, r10d
jne 0x18004381b
mov rax, qword [rax]
jmp 0x1800437f6
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov rax, qword [rax]
test rax, rax
jne 0x180043894
mov al, 0x2e
jmp 0x180043896
mov al, byte [rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180043930
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x30
xorps xmm0, xmm0
mov rbx, rdx
movups xmmword [rdx], xmm0
and qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
mov r12, qword [rcx + 0x40]
mov rdi, qword [rcx + 0x38]
jmp 0x180043ab8
movzx esi, byte [rdi]
cmp sil, 0x1f
ja 0x180043a76
xor eax, eax
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r11d, dword [rcx + r8 + 0x88]
add r11, r8
cmp r11, r8
je 0x180043a1d
mov r10d, dword [r11 + 0x18]
test r10d, r10d
je 0x180043a1d
mov r13d, dword [r11 + 0x20]
dec r10d
mov r14d, 0x1a9b1af9
lea rcx, [r10*4]
add rcx, r13
mov r9d, dword [rcx + r8]
add r9, r8
mov bpl, byte [r9]
inc r9
test bpl, bpl
je 0x180043a18
movsx ecx, bpl
sub bpl, 0x41
mov edx, ecx
or edx, 0x20
cmp bpl, 0x19
mov bpl, byte [r9]
cmova edx, ecx
inc r9
xor edx, r14d
imul r14d, edx, 0x1000193
test bpl, bpl
jne 0x1800439e6
cmp r14d, 0x2df18263
je 0x180043a25
test r10d, r10d
jne 0x1800439c0
mov rax, qword [rax]
jmp 0x18004399b
mov ecx, dword [r11 + 0x24]
mov r9d, esi
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov edx, 9
add rax, r8
lea rcx, [rsp + 0x20]
lea r8, str._U_.4X_
call rax
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180043a5d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800414b0
jmp 0x180043ab5
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x180043aa0
cmp qword [rbx + 0x18], 0xf
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jbe 0x180043a95
mov rax, qword [rbx]
mov byte [rax + rcx], sil
mov byte [rax + rcx + 1], 0
jmp 0x180043ab5
mov r8b, byte [rsp + 0x60]
mov r9b, sil
mov edx, 1
mov rcx, rbx
call fcn.18001bc28
inc rdi
cmp rdi, r12
jne 0x180043972
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180045fdc
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
mov rsi, rcx
sub rax, qword [rcx + 8]
mov r14, rdx
mov rcx, qword [rcx + 0xa8]
sar rax, 3
mov byte [rbp + 0x20], 2
mov dword [rbp + 0x30], eax
test rcx, rcx
je 0x180046187
mov rax, qword [rcx]
lea r9, [rsi + 0xb8]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov byte [rbp + 0x20], al
lea rcx, [rsi + 0x20]
call fcn.180042cf0
mov r9d, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x20]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x30], xmm0
call fcn.180040bc8
mov r9b, 1
mov byte [rbp + 0x20], 2
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.18001f134
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x180046096
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
add qword [rsi + 0x10], 8
jmp 0x1800460a3
lea r8, [rbp - 0x28]
lea rcx, [rsi + 8]
call fcn.18001ac68
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x180046170
cmp r14, 0xffffffffffffffff
je 0x180046170
call fcn.180044010
cmp r14, rax
jbe 0x180046170
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18004614f
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18004614f
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x880748da
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18004614a
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, ecx
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18004611f
cmp edi, 0xcdcd548c
je 0x180046154
test r11d, r11d
jne 0x180046102
mov rax, qword [rax]
jmp 0x1800460dd
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + r11*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [rdx + r8*4]
add rcx, r9
call rcx
lea r11, [rsp + 0x60]
mov al, 1
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800406b8
int3
Function at 0x180046190
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
mov rsi, rcx
sub rax, qword [rcx + 8]
mov r14, rdx
mov rcx, qword [rcx + 0xa8]
sar rax, 3
mov byte [rbp + 0x20], 0
mov dword [rbp + 0x30], eax
test rcx, rcx
je 0x18004633b
mov rax, qword [rcx]
lea r9, [rsi + 0xb8]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov byte [rbp + 0x20], al
lea rcx, [rsi + 0x20]
call fcn.180042cf0
mov r9d, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x20]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x30], xmm0
call fcn.180040bc8
mov r9b, 1
mov byte [rbp + 0x20], 1
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.18001f134
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x18004624a
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
add qword [rsi + 0x10], 8
jmp 0x180046257
lea r8, [rbp - 0x28]
lea rcx, [rsi + 8]
call fcn.18001ac68
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x180046324
cmp r14, 0xffffffffffffffff
je 0x180046324
call fcn.180044010
cmp r14, rax
jbe 0x180046324
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x180046303
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x180046303
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0xdf321977
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x1800462fe
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, ecx
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800462d3
cmp edi, 0x7845904b
je 0x180046308
test r11d, r11d
jne 0x1800462b6
mov rax, qword [rax]
jmp 0x180046291
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + r11*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [rdx + r8*4]
add rcx, r9
call rcx
lea r11, [rsp + 0x60]
mov al, 1
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800406b8
int3

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

Disassembly:
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 8
jb 0x18004653b
mov rax, rcx
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x180046538
Function at 0x1800472bc
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x48
xor r11d, r11d
mov r8, rcx
mov edx, r11d
cmp word [rcx], r11w
je 0x1800472d9
inc rdx
cmp word [rcx + rdx*2], r11w
jne 0x1800472cf
movabs r9, 0xcbf29ce484222325
mov r10, r11
test rdx, rdx
je 0x180047323
movzx eax, word [r8 + r10*2]
movzx ecx, word [r8 + r10*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [r8 + r10*2]
inc r10
movzx eax, cx
movabs rcx, 0x100000001b3
imul r9, rcx
xor r9, rax
cmp r10, rdx
jb 0x1800472eb
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], r11
lea rcx, [0x1800472ac]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x20], r9
call fcn.1800473f4
neg al
sbb rax, rax
and rax, qword [rsp + 0x28]
add rsp, 0x48
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x18004c034
mov rdi, qword [rsp + 0x28]
mov r11d, r10d
cmp byte [rdi], r10b
je 0x18004bfdb
inc r11
cmp byte [r11 + rdi], r10b
jne 0x18004bfd2
movabs r8, 0xcbf29ce484222325
test r11, r11
je 0x18004c022
mov dl, byte [r10 + rdi]
mov al, byte [r10 + rdi]
sub dl, 0x41
add al, 0x20
movzx ecx, al
cmp dl, 0x19
movzx eax, byte [r10 + rdi]
cmova ecx, eax
inc r10
movsx rdx, cl
movabs rcx, 0x100000001b3
imul r8, rcx
xor r8, rdx
cmp r10, r11
jb 0x18004bfea
cmp r8, qword [rbx]
jne 0x18004c034
mov qword [rbx + 0x10], rsi
mov al, 1
mov word [rbx + 8], r9w
jmp 0x18004c036
xor al, al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x18004c09c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rdx
mov r13, r8
xor edx, edx
mov rdi, rcx
test r12, r12
je 0x18004c165
test rcx, rcx
je 0x18004c165
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18004c165
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x18004c165
test rax, rax
je 0x18004c165
add rax, 0x88
je 0x18004c165
mov ebx, dword [rax]
add rbx, rcx
je 0x18004c165
cmp dword [rbx + 0x1c], edx
je 0x18004c165
cmp dword [rbx + 0x20], edx
je 0x18004c165
cmp dword [rbx + 0x24], edx
je 0x18004c165
mov r14d, dword [rbx + 0x1c]
mov esi, edx
mov ebp, dword [rbx + 0x20]
add r14, rcx
mov r15d, dword [rbx + 0x24]
add rbp, rcx
add r15, rcx
cmp dword [rbx + 0x18], edx
jbe 0x18004c165
mov ecx, esi
movzx r8d, word [r15 + rcx*2]
cmp dword [r14 + r8*4], edx
je 0x18004c15e
cmp dword [rbp + rcx*4], edx
je 0x18004c15e
mov r9d, dword [rbp + rcx*4]
mov rcx, r13
mov edx, dword [r14 + r8*4]
add r9, rdi
add rdx, rdi
call r12
xor edx, edx
test al, al
jne 0x18004c184
inc esi
cmp esi, dword [rbx + 0x18]
jb 0x18004c130
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov al, 1
jmp 0x18004c167
Function at 0x1800587fc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r10d, r10d
mov r11, rcx
test r9b, r9b
je 0x180058846
test r8, r8
je 0x180058869
movabs r9, 0x100000001b3
movzx eax, word [rdx + r10*2]
movzx ecx, word [rdx + r10*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [rdx + r10*2]
inc r10
imul r11, r9
movzx eax, cx
xor r11, rax
cmp r10, r8
jb 0x180058816
jmp 0x180058869
test r8, r8
je 0x180058869
movabs r9, 0x100000001b3
movzx ecx, word [rdx + r10*2]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x180058855
mov rax, r11
ret
Function at 0x18007bb3c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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 rax, qword gs:[0x60]
mov r15, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov ebx, dword [rcx + r8 + 0x88]
add rbx, r8
cmp rbx, r8
je 0x18007bbe3
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x18007bbe3
mov esi, dword [rbx + 0x20]
dec r10d
mov edi, 0x7a2421b5
lea rcx, [rsi + r10*4]
mov r9d, dword [rcx + r8]
add r9, r8
mov r11b, byte [r9]
inc r9
test r11b, r11b
je 0x18007bbde
movsx ecx, r11b
sub r11b, 0x41
mov edx, ecx
or edx, 0x20
cmp r11b, 0x19
mov r11b, byte [r9]
cmova edx, ecx
inc r9
xor edx, edi
imul edi, edx, 0x1000193
test r11b, r11b
jne 0x18007bbaf
cmp edi, 0xc2b41135
je 0x18007bbe8
test r10d, r10d
jne 0x18007bb91
mov rax, qword [rax]
jmp 0x18007bb6d
mov ecx, dword [rbx + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r8
xor ecx, ecx
xor r8d, r8d
call rax
mov rcx, 0xffffffffffffffff
lea r12, [rax + 1]
mov eax, 2
mul r12
cmovo rax, rcx
mov rcx, rax
call fcn.180047798
mov rcx, qword gs:[0x60]
mov rbp, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18007bcae
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18007bcae
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x86706ffe
lea rax, [r14 + r11*4]
mov r8d, dword [rax + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18007bca9
movsx eax, bl
sub bl, 0x41
mov edx, eax
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, eax
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18007bc7e
cmp edi, 0xb5545c22
je 0x18007bcb3
test r11d, r11d
jne 0x18007bc61
mov rcx, qword [rcx]
jmp 0x18007bc3c
mov ecx, dword [r10 + 0x24]
mov r8, r12
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r9
mov rcx, rbp
call rax
mov rbx, qword [rsp + 0x40]
mov rax, rbp
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