joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800458e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov rdi, qword [rdx + 8]
sub rdi, qword [rdx]
lea r8, [rdi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r8
shr rdx, 1
shl rdx, 2
xor r8d, r8d
call fcn.18004bee0
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180045935
mov rax, qword [rsi]
mov r8, rbp
lea r9, [rdi - 2]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_WZXC_WN_
test r9, r9
je 0x1800459cd
nop dword [rax]
mov rcx, qword [rbx]
movzx ecx, byte [rcx + r8]
shr rcx, 2
movzx ecx, byte [rcx + r10]
mov byte [rax], cl
mov rcx, qword [rbx]
movzx edx, byte [rcx + r8]
and edx, 3
shl rdx, 4
movzx ecx, byte [rcx + r8 + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r10]
mov byte [rax + 1], cl
mov rcx, qword [rbx]
movzx edx, byte [rcx + r8 + 1]
and edx, 0xf
shl rdx, 2
movzx ecx, byte [rcx + r8 + 2]
shr rcx, 6
or rdx, rcx
movzx ecx, byte [rdx + r10]
mov byte [rax + 2], cl
mov rcx, qword [rbx]
movzx ecx, byte [rcx + r8 + 2]
and ecx, 0x3f
movzx ecx, byte [rcx + r10]
mov byte [rax + 3], cl
add rax, 4
add r8, 3
cmp r8, r9
jb 0x180045950
cmp r8, rdi
jae 0x180045a41
mov rcx, qword [rbx]
movzx ecx, byte [r8 + rcx]
shr rcx, 2
movzx ecx, byte [rcx + r10]
mov byte [rax], cl
lea rcx, [rdi - 1]
cmp r8, rcx
mov rcx, qword [rbx]
jne 0x180045a08
movzx ecx, byte [r8 + rcx]
and ecx, 3
add rcx, rcx
movzx ecx, byte [r10 + rcx*8]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x180045a3a
movzx edx, byte [rcx + r8]
and edx, 3
shl rdx, 4
movzx ecx, byte [rcx + r8 + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r10]
mov byte [rax + 1], cl
mov rcx, qword [rbx]
movzx edx, byte [rcx + r8 + 1]
and edx, 0xf
movzx ecx, byte [r10 + rdx*4]
mov byte [rax + 2], cl
mov byte [rax + 3], 0x3d
mov rcx, qword [rbx]
test rcx, rcx
je 0x180045a81
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x180045a71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180045a99
mov rcx, r8
call fcn.1800bdc0c
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1800c9ad0
int3
Function at 0x180045cd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
movzx esi, r8b
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
mov rdx, qword [rdx + 8]
sub rdx, qword [rbx]
je 0x180045d17
call fcn.180020180
mov rdx, qword [rdi + 8]
sub rdx, qword [rdi]
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi]
cmp rdx, rax
jbe 0x180045d45
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
ja 0x180045ddb
mov rcx, rdi
call fcn.18001fbe0
movzx edx, sil
mov r9, rbp
mov r8, qword [rbx]
cmp qword [rbx + 8], r8
je 0x180045d8b
nop word [rax + rax]
movzx ecx, dl
test dl, dl
cmove ecx, esi
movzx edx, cl
xor cl, byte [r8 + r9]
mov rax, qword [rdi]
mov byte [r9 + rax], cl
add dl, 0xff
inc r9
mov r8, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, r8
cmp r9, rax
jb 0x180045d60
test r8, r8
je 0x180045dcb
mov rdx, qword [rbx + 0x10]
sub rdx, r8
cmp rdx, 0x1000
jb 0x180045db8
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x180045de1
mov r8, rcx
mov rcx, r8
call fcn.1800bdc0c
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.1800082a0
nop
call fcn.1800c9ad0
int3

Function at 0x180046050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov qword [rsp + 0x48], rbp
mov rdx, qword [rdx + 8]
xor r15d, r15d
mov rsi, r8
mov r14, rcx
mov ebp, r15d
mov r8, qword [rdi]
cmp rdx, r8
je 0x1800460c1
mov qword [rsp + 0x40], rbx
mov rcx, rsi
call fcn.180039830
mov rbx, qword [rdi]
mov rcx, rax
xor edx, edx
mov rax, rbp
div rcx
mov rcx, rsi
call fcn.180039840
movzx eax, byte [rax]
xor byte [rbx + rbp], al
inc rbp
mov rdx, qword [rdi + 8]
mov r8, qword [rdi]
mov rax, rdx
sub rax, r8
cmp rbp, rax
jb 0x180046083
mov rbx, qword [rsp + 0x40]
mov rax, qword [rdi + 0x10]
mov rbp, qword [rsp + 0x48]
mov qword [rdi + 0x10], r15
mov qword [rdi + 8], r15
mov qword [rdi], r15
mov qword [r14], r8
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x180046120
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x180046110
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180046177
mov rcx, r8
call fcn.1800bdc0c
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x180046156
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x180046151
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180046177
mov rcx, r8
call fcn.1800bdc0c
mov qword [rsi + 0x10], r15
mov rax, r14
mov qword [rsi + 0x18], send
mov byte [rsi], r15b
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.1800c9ad0
int3
Function at 0x180059d50
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x450
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], send
mov byte [rdx], sil
mov dword [rsp + 0x20], 1
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x460], esi
lea r8, [rsp + 0x460]
mov edx, 0x4004667f
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x180059e71
mov r8d, dword [rsp + 0x460]
test r8d, r8d
je 0x180059e71
cmp r8d, 0x400
jbe 0x180059dde
mov r8d, 0x400
mov dword [rsp + 0x460], r8d
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x180059e71
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], send
mov byte [rsp + 0x28], 0
movsxd r8, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.180026b30
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18004beb0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180059e68
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180059e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059e89
call fcn.1800bdc0c
mov rcx, qword [rbx + 8]
jmp 0x180059d94
mov rax, rdi
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1800c9ad0
int3
Function at 0x180060600
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x3a0
mov r14d, 2
cmp dword [0x180366c48], 0
jne 0x18006064a
mov ecx, r14d
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18006064a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800cfea4
inc dword [0x180366c48]
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x180060678
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800cfea4
mov ecx, 4
call fcn.1800bdbd0
mov dword [rax], 1
mov qword [rsp + 0x50], rax
lea rax, [0x18015df28]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x30], r14w
mov ecx, 0x1698
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x32], ax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1800606e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800cfea4
jmp 0x180060724
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x180060715
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800cfea4
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180060724
mov edx, 5
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_listen]
nop
lea rax, [0x180037850]
mov qword [0x180366c50], rax
xor ebp, ebp
lea r15, [0x18015df28]
nop dword [rax + rax]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180060769
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180060769
mov rbx, rbp
jmp 0x1800607ca
mov ecx, 0x18
call fcn.1800bdbd0
mov rbx, rax
mov qword [rsp + 0x3e0], rax
mov qword [rax], r15
mov qword [rax + 8], rdi
cmp dword [0x180366c48], 0
jne 0x1800607b0
mov ecx, r14d
lea rdx, [rsp + 0x200]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800607b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800cfea4
inc dword [0x180366c48]
mov ecx, 4
call fcn.1800bdbd0
mov dword [rax], 1
mov qword [rbx + 0x10], rax
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x18005ec80]
xor edx, edx
xor ecx, ecx
call fcn.1800d05ac
jmp 0x180060740
Function at 0x180071d00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180071d34
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180071d20
ret
Function at 0x180075a70
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180075b3c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180075b3c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180075b55
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x180075b2c
cmp byte [rax], 0x5c
jne 0x180075b26
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180075b26
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180075b12
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180075b23
test r8b, 0x10
jne 0x180075b26
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180075b26
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800728b0
test edi, edi
jne 0x180075a90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1800728a0
int3

Function at 0x18007b920
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 0x18007b97d
lea rbx, [0x180156370]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18007b964
cmp r10, 2
jb 0x18007b964
cmp byte [r9], r8b
jne 0x18007b964
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 0x18007b940
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18007b9bf
lea rbx, [0x180156370]
cmp r8b, 0x23
jne 0x18007b9a3
cmp byte [r9], r8b
jne 0x18007b9a3
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 0x18007b990
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x18007bb00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18007bb1a
mov qword [r8], 0
lea rdx, [0x180155b18]
call fcn.18007b9d0
mov rbx, rax
test rax, rax
jne 0x18007bb3a
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.1800d1050
mov esi, eax
cmp eax, 0xffffffff
je 0x18007bc08
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1800cf308
test eax, eax
jne 0x18007bc08
mov rcx, rbx
call fcn.1800d1050
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18007bc08
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800cf308
test eax, eax
jne 0x18007bc08
cmp rdi, 0xffffffffffffffff
je 0x18007bc08
mov rax, qword [0x180366cb0]
test rax, rax
je 0x18007bbaa
inc dword [rax + 0x3bc]
mov rcx, rdi
call fcn.1800c9b5c
mov rsi, rax
test rax, rax
je 0x18007bc08
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1800cef38
mov rcx, rbx
cmp rax, rdi
je 0x18007bbf6
call fcn.1800ce088
mov rax, qword [0x180366cb0]
test rax, rax
je 0x18007bbec
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800c9b48
jmp 0x18007bc10
call fcn.1800ce088
test r14, r14
je 0x18007bc03
mov qword [r14], rdi
mov rax, rsi
jmp 0x18007bc12
mov rcx, rbx
call fcn.1800ce088
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 0x18007f7e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x1801558f5]
mov dword [rsp + 0x2c], eax
lea r11, [0x180156370]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x18007f833
cmp byte [r8], r9b
jne 0x18007f833
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x18007f820
mov ecx, dword [rbx + 0x2f84]
lea rax, [0x18008b1f0]
mov edi, dword [rbx + 0x2f80]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18008b2a0]
mov qword [rsp + 0x38], rax
lea rax, [0x18008b370]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18007f933
inc edi
test ecx, ecx
je 0x18007f89f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18007f8a4
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18007f933
mov rax, qword [0x180366cb0]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18007f8c8
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call fcn.1800c9b5c
mov rdx, qword [rbx + 0x2f88]
mov rsi, rax
test rdx, rdx
je 0x18007f921
movsxd rcx, dword [rbx + 0x2f80]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call fcn.1800c0160
mov rcx, qword [rbx + 0x2f88]
test rcx, rcx
je 0x18007f91c
mov rax, qword [0x180366cb0]
test rax, rax
je 0x18007f91c
dec dword [rax + 0x3bc]
call fcn.1800c9b48
mov qword [rbx + 0x2f88], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f84], edi
movsxd rax, dword [rbx + 0x2f80]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f88]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f80]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180081150
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800811a0
lea r11, [0x180156370]
nop dword [rax]
cmp r9b, 0x23
jne 0x180081183
cmp byte [r8], r9b
jne 0x180081183
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180081170
mov rcx, qword [0x180366cb0]
not eax
movsxd rdx, dword [rcx + 0x1a58]
mov r9, qword [rcx + 0x1a60]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180081201
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800811f9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800811fc
mov rdx, r8
test rdx, rdx
jne 0x1800811d0
cmp r9, r10
je 0x180081210
cmp dword [r9], eax
jne 0x180081210
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18008ae50
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x180366cb0]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x18008ae8e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x18008ae85
test r13, r13
je 0x18008ae9a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call fcn.1800c9b5c
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call fcn.1800c0160
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x18008b063
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x18008b0a6
cmp al, 0xd
je 0x18008b0a6
mov rbx, rcx
cmp rcx, r12
jae 0x18008af13
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x18008af13
cmp al, 0xd
je 0x18008af13
inc rbx
cmp rbx, r12
jb 0x18008af00
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x18008b047
cmp al, 0x5b
jne 0x18008b02e
cmp rbx, rcx
jbe 0x18008b02e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x18008b02e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call fcn.1800c0c60
mov r15, rax
test rax, rax
je 0x18008b047
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call fcn.1800c0c60
mov r11, rax
test rax, rax
je 0x18008b047
mov r10, qword [0x180366cb0]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x18008afda
cmp r9b, 0x23
jne 0x18008afb7
cmp byte [r8], r9b
jne 0x18008afb7
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x180156370]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x18008afa5
mov r8d, dword [r10 + 0x2f80]
xor eax, eax
not ecx
test r8d, r8d
jle 0x18008b004
mov r9, qword [r10 + 0x2f88]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x18008b00a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x18008aff5
xor edi, edi
xor ebp, ebp
jmp 0x18008b047
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x18008b006
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x18008b047
test rdi, rdi
je 0x18008b047
test rbp, rbp
je 0x18008b047
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x18008aee0
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x18008b08e
mov rax, qword [0x180366cb0]
test rax, rax
je 0x18008b08e
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800c9b48
mov byte [r13 + 0x2f68], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x18008aee0
Function at 0x1800a02e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r15
sub rsp, 0x60
mov rbp, r8
mov r12, rdx
mov r15, rcx
test rdx, rdx
jne 0x1800a0305
lea eax, [rdx + 1]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
xorps xmm0, xmm0
mov qword [rsp + 0x80], rbx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x88], rsi
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x90], rdi
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x98], r14
movups xmmword [rsp + 0x20], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1800a03da
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800a03da
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x4e2d5759
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1800a03d5
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x1800a03a0
cmp r10d, 0x9f394d73
je 0x1800a03e2
test r11d, r11d
jne 0x1800a0380
mov rax, qword [rax]
jmp 0x1800a0350
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, rbx
lea rcx, [rsp + 0x20]
call rax
mov dword [rsp + 0x30], 0x30
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x48], 0x40
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1800a04c9
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800a04c9
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x74a46c77
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx ecx, byte [r9]
inc r9
test cl, cl
je 0x1800a04c4
nop
movsx edx, cl
lea r9, [r9 + 1]
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
movzx ecx, byte [r9 - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test cl, cl
jne 0x1800a0490
cmp r10d, 0xc19f5168
je 0x1800a04d1
test r11d, r11d
jne 0x1800a0470
mov rax, qword [rax]
jmp 0x1800a0440
mov ecx, dword [rsi + 0x24]
lea r8, [rsp + 0x30]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
mov edx, 0x2000000
add rax, rbx
mov rcx, r12
call rax
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
Function at 0x1800a1890
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, r8
mov r8, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x20], 1
xor edx, edx
mov r9, rsi
call fcn.18001c130
test rsi, rsi
je 0x1800a18f2
mov ecx, ebx
nop word [rax + rax]
add rcx, qword [rdi]
lea eax, [rbx + 0x64]
xor byte [rcx], al
inc ebx
movsxd rcx, ebx
cmp rcx, rsi
jb 0x1800a18e0
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret