joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180062550
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 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 dword [rax + 8], esi
lea r8, [rax + 8]
mov edx, 0x4004667f
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x18006268c
nop
mov r8d, dword [rsp + 0x460]
test r8d, r8d
je 0x18006268c
cmp r8d, 0x400
jbe 0x1800625d8
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 0x18006268c
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.180027010
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18005a840
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x180062666
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180062661
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800626a4
call fcn.1800d9c4c
mov dword [rsp + 0x460], esi
lea r8, [rsp + 0x460]
mov edx, 0x4004667f
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x1800625b0
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.1800e5fb0
int3
Function at 0x180068e50
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r14
push r15
sub rsp, 0x3a0
mov r14d, 2
cmp dword [0x1803a4324], 0
jne 0x180068e9e
mov ecx, r14d
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180068e9e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800ec574
inc dword [0x1803a4324]
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 0x180068ecc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800ec574
mov ecx, 4
call fcn.1800d9c10
mov dword [rax], 1
mov qword [rsp + 0x50], rax
lea rax, [0x180185498]
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 0x180068f38
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800ec574
jmp 0x180068f78
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 0x180068f69
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800ec574
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180068f78
mov edx, 5
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_listen]
nop
lea rax, [0x180040920]
mov qword [0x1803a4330], rax
xor ebp, ebp
lea r15, [0x180185498]
nop
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180068fb9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180068fb9
mov rbx, rbp
jmp 0x18006901a
mov ecx, 0x18
call fcn.1800d9c10
mov rbx, rax
mov qword [rsp + 0x3d0], rax
mov qword [rax], r15
mov qword [rax + 8], rdi
cmp dword [0x1803a4324], 0
jne 0x180069000
mov ecx, r14d
lea rdx, [rsp + 0x200]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180069000
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1800ec574
inc dword [0x1803a4324]
mov ecx, 4
call fcn.1800d9c10
mov dword [rax], 1
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x1800674d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x180068f90
Function at 0x180070050
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x28]
mov edx, 1
call fcn.1800c86e0
xor edx, edx
lea rcx, [rdx - 1]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x18007d180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
lea r11, [rcx + 0x10]
mov edi, edx
mov rbx, rcx
and edi, 7
je 0x18007d1e5
cmp edx, edi
jge 0x18007d1db
mov r9, qword [rcx + 8]
mov r10d, dword [rcx + 0x14]
mov rax, qword [rbx]
cmp rax, r9
jb 0x18007d1b3
xor cl, cl
jmp 0x18007d1bc
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
mov ecx, edx
shl eax, cl
add edx, 8
or eax, r10d
mov dword [r11], edx
mov dword [rbx + 0x14], eax
mov r10d, eax
cmp edx, 0x18
jle 0x18007d1a7
lea r11, [rbx + 0x10]
mov ecx, edi
shr dword [rbx + 0x14], cl
sub edx, edi
mov dword [r11], edx
xor r9d, r9d
mov ecx, edx
test edx, edx
jle 0x18007d21e
mov eax, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
inc r9d
mov byte [rdx], r10b
lea rdx, [rdx + 1]
sub ecx, 8
mov dword [rbx + 0x14], eax
movzx r10d, al
test ecx, ecx
jg 0x18007d200
mov dword [r11], ecx
movsxd rcx, r9d
cmp rcx, 4
jge 0x18007d252
mov r8, qword [rbx + 8]
nop dword [rax + rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x18007d23c
xor dl, dl
jmp 0x18007d245
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x18007d230
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
je 0x18007d2af
mov edx, dword [0x1803a3054]
mov rax, qword gs:[0x58]
mov ecx, 0x18
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x18007d2ee
mov edx, dword [0x1803a3054]
mov rax, qword gs:[0x58]
mov ecx, 0x18
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x18007d308
mov rcx, rbx
call fcn.18007c850
test eax, eax
je 0x18007d2a2
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.18010b710
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18008d9e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18008da14
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18008da00
ret
Function at 0x1800918b0
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 0x18009197c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18009197c
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 0x180091995
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 0x18009196c
cmp byte [rax], 0x5c
jne 0x180091966
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180091966
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180091952
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180091963
test r8b, 0x10
jne 0x180091966
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180091966
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18008e590
test edi, edi
jne 0x1800918d0
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.18008e580
int3

Function at 0x180097ac0
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 0x180097b1d
lea rbx, [0x18017d160]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180097b04
cmp r10, 2
jb 0x180097b04
cmp byte [r9], r8b
jne 0x180097b04
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 0x180097ae0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180097b5f
lea rbx, [0x18017d160]
cmp r8b, 0x23
jne 0x180097b43
cmp byte [r9], r8b
jne 0x180097b43
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 0x180097b30
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180097ca0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180097cba
mov qword [r8], 0
lea rdx, [0x18017c8c0]
call fcn.180097b70
mov rbx, rax
test rax, rax
jne 0x180097cda
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.1800ed544
mov esi, eax
cmp eax, 0xffffffff
je 0x180097da8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1800eb9d8
test eax, eax
jne 0x180097da8
mov rcx, rbx
call fcn.1800ed544
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180097da8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800eb9d8
test eax, eax
jne 0x180097da8
cmp rdi, 0xffffffffffffffff
je 0x180097da8
mov rax, qword [0x1803a4598]
test rax, rax
je 0x180097d4a
inc dword [rax + 0x3bc]
mov rcx, rdi
call fcn.1800e603c
mov rsi, rax
test rax, rax
je 0x180097da8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1800eb608
mov rcx, rbx
cmp rax, rdi
je 0x180097d96
call fcn.1800ea758
mov rax, qword [0x1803a4598]
test rax, rax
je 0x180097d8c
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800e6028
jmp 0x180097db0
call fcn.1800ea758
test r14, r14
je 0x180097da3
mov qword [r14], rdi
mov rax, rsi
jmp 0x180097db2
mov rcx, rbx
call fcn.1800ea758
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 0x18009b990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18017c711]
mov dword [rsp + 0x2c], eax
lea r11, [0x18017d160]
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 0x18009b9e3
cmp byte [r8], r9b
jne 0x18009b9e3
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 0x18009b9d0
mov ecx, dword [rbx + 0x2f84]
lea rax, [0x1800a7340]
mov edi, dword [rbx + 0x2f80]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800a73f0]
mov qword [rsp + 0x38], rax
lea rax, [0x1800a74c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18009bae3
inc edi
test ecx, ecx
je 0x18009ba4f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18009ba54
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18009bae3
mov rax, qword [0x1803a4598]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18009ba78
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call fcn.1800e603c
mov rdx, qword [rbx + 0x2f88]
mov rsi, rax
test rdx, rdx
je 0x18009bad1
movsxd rcx, dword [rbx + 0x2f80]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call fcn.18010b710
mov rcx, qword [rbx + 0x2f88]
test rcx, rcx
je 0x18009bacc
mov rax, qword [0x1803a4598]
test rax, rax
je 0x18009bacc
dec dword [rax + 0x3bc]
call fcn.1800e6028
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 0x18009d2c0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18009d310
lea r11, [0x18017d160]
nop dword [rax]
cmp r9b, 0x23
jne 0x18009d2f3
cmp byte [r8], r9b
jne 0x18009d2f3
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 0x18009d2e0
mov rcx, qword [0x1803a4598]
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 0x18009d371
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18009d369
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18009d36c
mov rdx, r8
test rdx, rdx
jne 0x18009d340
cmp r9, r10
je 0x18009d380
cmp dword [r9], eax
jne 0x18009d380
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800a6fa0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x1803a4598]
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 0x1800a6fde
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1800a6fd5
test r13, r13
je 0x1800a6fea
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call fcn.1800e603c
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call fcn.18010b710
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x1800a71b3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1800a71f6
cmp al, 0xd
je 0x1800a71f6
mov rbx, rcx
cmp rcx, r12
jae 0x1800a7063
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1800a7063
cmp al, 0xd
je 0x1800a7063
inc rbx
cmp rbx, r12
jb 0x1800a7050
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x1800a7197
cmp al, 0x5b
jne 0x1800a717e
cmp rbx, rcx
jbe 0x1800a717e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x1800a717e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call fcn.18010c150
mov r15, rax
test rax, rax
je 0x1800a7197
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call fcn.18010c150
mov r11, rax
test rax, rax
je 0x1800a7197
mov r10, qword [0x1803a4598]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x1800a712a
cmp r9b, 0x23
jne 0x1800a7107
cmp byte [r8], r9b
jne 0x1800a7107
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, [0x18017d160]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x1800a70f5
mov r8d, dword [r10 + 0x2f80]
xor eax, eax
not ecx
test r8d, r8d
jle 0x1800a7154
mov r9, qword [r10 + 0x2f88]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x1800a715a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x1800a7145
xor edi, edi
xor ebp, ebp
jmp 0x1800a7197
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x1800a7156
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x1800a7197
test rdi, rdi
je 0x1800a7197
test rbp, rbp
je 0x1800a7197
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x1800a7030
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 0x1800a71de
mov rax, qword [0x1803a4598]
test rax, rax
je 0x1800a71de
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800e6028
mov byte [r13 + 0x2f68], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x1800a7030
Function at 0x1800bc3d0
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 0x1800bc3f5
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 0x1800bc4ca
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800bc4ca
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x4fb90871
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1800bc4c5
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 0x1800bc490
cmp r10d, 0x2975dc1b
je 0x1800bc4d2
test r11d, r11d
jne 0x1800bc470
mov rax, qword [rax]
jmp 0x1800bc440
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 0x1800bc5b9
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800bc5b9
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xd630b4af
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx ecx, byte [r9]
inc r9
test cl, cl
je 0x1800bc5b4
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 0x1800bc580
cmp r10d, 0x8dddb980
je 0x1800bc5c1
test r11d, r11d
jne 0x1800bc560
mov rax, qword [rax]
jmp 0x1800bc530
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 0x1800be700
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov qword [rsp + 0x60], r14
cmp qword [rdx + 0x18], 7
lea rdi, [rdx + 0x18]
mov r14, r8
mov dword [rsp + 0x78], 4
mov rbx, rdx
mov dword [rsp + 0x68], r15d
jbe 0x1800be73a
mov rdx, qword [rdx]
lea rsi, [rbx + 0x18]
jmp 0x1800be73d
mov rsi, rdi
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test eax, eax
jne 0x1800be76a
mov ecx, dword [rsp + 0x68]
mov dword [r14], ecx
mov rdx, qword [rdi]
mov r14, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1800be7b0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
mov rdi, rsi
cmp rdx, 0x1000
jb 0x1800be7ab
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800be7cc
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.1800d9c4c
mov qword [rbx + 0x10], r15
mov eax, ebp
mov qword [rdi], 7
mov word [rbx], r15w
add rsp, 0x30
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1800e5fb0
int3

Function at 0x1800be7e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
lea rdi, [rdx + 0x18]
mov rbx, rdx
jbe 0x1800be805
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rdi]
mov esi, eax
cmp rdx, 7
jbe 0x1800be866
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800be861
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800be888
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.1800d9c4c
xor eax, eax
mov qword [rdi], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov eax, esi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.1800e5fb0
int3