joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801a6580
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r11, rdx
mov rbp, rcx
movzx ecx, byte [rdx]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r11 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 3]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 4]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 5]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 6]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r11 + 7]
xor rcx, rax
imul rcx, rdx
mov rax, qword [rbp + 0x30]
and rax, rcx
mov rsi, rax
add rsi, rsi
mov r10, qword [rbp + 0x18]
mov rbx, qword [r10 + rsi*8]
add rax, rax
lea rcx, [rax*8 + 8]
mov rdx, qword [rbp + 8]
mov r9, qword [r10 + rax*8]
nop dword [rax + rax]
cmp r9, rdx
jne 0x1801a665a
mov rax, rdx
jmp 0x1801a6661
mov rax, qword [rcx + r10]
mov rax, qword [rax]
cmp rbx, rax
je 0x1801a66a7
mov r8, qword [r11]
cmp qword [rbx + 0x10], r8
je 0x1801a6674
mov rbx, qword [rbx]
jmp 0x1801a6650
mov rcx, rbx
mov rdi, rbx
nop word [rax + rax]
cmp r9, rdx
jne 0x1801a668a
mov rax, rdx
jmp 0x1801a6692
mov rax, qword [r10 + rsi*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1801a66a2
cmp r8, qword [rbx + 0x10]
jne 0x1801a66a2
mov rbx, qword [rbx]
jmp 0x1801a6680
cmp rcx, rbx
jne 0x1801a66ad
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor esi, esi
cmp rdi, rbx
je 0x1801a66cb
nop word [rax + rax]
inc rsi
mov rax, qword [rax]
cmp rax, rbx
jne 0x1801a66c0
cmp rdi, qword [rdx]
jne 0x1801a66ee
cmp rbx, rdx
jne 0x1801a66ee
lea rcx, [rbp + 8]
call fcn.1801a6860
mov edx, 8
mov rcx, rbp
call fcn.1801a68d0
nop
jmp 0x1801a6718
cmp rdi, rbx
je 0x1801a6718
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.1801a6960
cmp rdi, rbx
jne 0x1801a6700
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1801a6960
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rdx
mov r9, rcx
movzx edx, byte [r8 + 0x10]
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [r8 + 0x11]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 0x12]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 0x13]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 0x14]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 0x15]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 0x16]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [r8 + 0x17]
xor rdx, rax
imul rdx, rcx
mov r10, qword [r9 + 0x30]
and r10, rdx
shl r10, 4
mov rcx, qword [r9 + 0x18]
add rcx, r10
cmp qword [rcx + 8], r8
jne 0x1801a6a3a
cmp qword [rcx], r8
jne 0x1801a6a30
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rax, qword [r9 + 8]
mov rcx, qword [r9 + 0x18]
mov qword [r10 + rcx + 8], rax
jmp 0x1801a6a45
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x1801a6a45
cmp qword [rcx], r8
jne 0x1801a6a45
mov rax, qword [r8]
mov qword [rcx], rax
mov rbx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
dec qword [r9 + 0x10]
mov edx, 0x18
mov rcx, r8
call fcn.180299904
nop
mov qword [rdi], rbx
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1801a6f60
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r9, 0x100000001b3
mov qword [rsp + 0x30], rdx
cmp rdx, 8
jae 0x1801a6fd2
movzx eax, byte [r8 + rdx]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r9
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x1801a6fac
mov r15, qword [r14 + 0x30]
and r15, rcx
mov qword [rsp + 0x40], r15
mov rbx, qword [r14 + 8]
mov rcx, r15
add rcx, rcx
mov rax, qword [r14 + 0x18]
cmp qword [rax + rcx*8], rbx
jne 0x1801a6ff4
jmp 0x1801a6ffc
mov rbx, qword [rax + rcx*8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov rax, qword [r14 + 0x18]
cmp rbx, qword [rax + rcx*8]
je 0x1801a7038
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x58], rbx
mov rax, qword [rbx + 0x10]
cmp qword [r8], rax
jne 0x1801a7036
mov qword [rsp + 0x28], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1801a70e4
jmp 0x1801a7006
mov rax, qword [r14 + 8]
mov rdi, qword [rax]
mov r12, qword [rdi + 8]
mov r9, r8
mov r8, r12
mov rdx, rdi
call fcn.1801a73f0
mov rdx, rax
mov rax, qword [r14 + 0x10]
movabs rcx, 0xaaaaaaaaaaaaaa9
sub rcx, rax
cmp rcx, 1
jb 0x1801a70ff
inc rax
mov qword [r14 + 0x10], rax
mov qword [rdi + 8], rdx
mov qword [r12], rdx
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x50], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1801a70bf
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov r8, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rdx, qword [rdi + 8]
mov qword [rax + 8], rdx
mov qword [rdi + 8], r8
mov r9, r15
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.1801a28c0
nop
mov rcx, r14
call fcn.1801a7110
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x78
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.180296420
int3
Function at 0x1801a7230
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r14
sub rsp, 0x78
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r9
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rcx
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r9, 0x100000001b3
mov qword [rsp + 0x38], rdx
cmp rdx, 8
jae 0x1801a72a5
movzx eax, byte [r8 + rdx]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r9
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x1801a727f
mov r9, qword [r14 + 0x30]
and r9, rcx
mov qword [rsp + 0x50], r9
mov rbx, qword [r14 + 8]
mov rcx, r9
add rcx, rcx
mov rax, qword [r14 + 0x18]
cmp qword [rax + rcx*8], rbx
jne 0x1801a72c7
jmp 0x1801a72cf
mov rbx, qword [rax + rcx*8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x58], rbx
nop dword [rax]
mov rax, qword [r14 + 0x18]
cmp rbx, qword [rax + rcx*8]
je 0x1801a731a
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x58], rbx
mov rax, qword [rbx + 0x10]
cmp qword [r8], rax
jne 0x1801a7318
mov rdx, rdi
mov rcx, r14
call fcn.1801a7390
mov qword [rsp + 0x40], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1801a7371
jmp 0x1801a72e0
mov rax, qword [rdi]
cmp rbx, rax
je 0x1801a734f
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.1801a28c0
nop
mov rcx, r14
call fcn.1801a7110
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801a8220
Capabilities:
Connect pipe

Disassembly:
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x40], 0
mov rdi, rcx
je 0x1801a8233
mov byte [rcx + 0x40], 0
mov rcx, qword [rcx + 0x70]
mov qword [rsp + 0x30], rbx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1801a82ef
lea rdx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x1801a82ef
cmp eax, 0xe8
je 0x1801a82ef
cmp eax, 0x217
je 0x1801a828e
cmp eax, 0x3e5
jne 0x1801a82ef
mov byte [rdi + 0x40], 1
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov byte [rdi + 0x98], 0
call fcn.1802983d8
mov rbx, rax
call fcn.1802983bc
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul r8, rcx, 0x3b9aca00
cqo
idiv rbx
add r8, rax
movabs rax, 0x431bde82d7b634db
imul r8
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov al, 1
mov qword [rdi + 0x1118], rdx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x1801a8300
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
xor edi, edi
cmp byte [rcx + 0x68], dil
je 0x1801a83a5
mov byte [rcx + 0x68], dil
test rdx, rdx
je 0x1801a843a
test r8d, r8d
je 0x1801a843a
cmp qword [rcx + 0xc0], rdi
je 0x1801a83a5
mov r8, qword [rcx + 0xb8]
mov rdx, qword [rcx + 0xa0]
test rdx, rdx
jne 0x1801a8359
mov edx, edi
jmp 0x1801a835c
mov rdx, qword [rdx]
mov rcx, qword [rdx + 0x10]
dec rcx
mov rax, r8
shr rax, 1
and rcx, rax
and r8d, 1
mov rax, qword [rdx + 8]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + r8*8]
sub qword [rbx + 0xc0], 1
jne 0x1801a838f
mov qword [rbx + 0xb8], rdi
jmp 0x1801a8396
inc qword [rbx + 0xb8]
test rcx, rcx
je 0x1801a83a5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp qword [rbx + 0xc0], 0
je 0x1801a842d
mov rax, qword [rbx + 0x70]
inc rax
test rax, 0xfffffffffffffffe
je 0x1801a843a
mov rdx, qword [rbx + 0xb8]
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1801a83d4
mov rdi, qword [rax]
mov rcx, qword [rdi + 0x10]
dec rcx
mov rax, rdx
shr rax, 1
and rcx, rax
and edx, 1
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + rdx*8]
mov byte [rax + 0x60], 1
mov rdx, qword [rax + 0x10]
mov r8d, dword [rdx]
add r8, qword [rax + 0x18]
lea rax, [rbx + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1801a8429
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1801a843a
mov byte [rbx + 0x68], 1
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1801a89e0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
call fcn.1801a5f40
mov rdi, rax
xor esi, esi
mov qword [rsp + 0x20], rsi
lea rdx, [rax + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.180037ed0
nop
mov rdx, qword [rdi + 0x70]
movzx r8d, bl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs r9, 0x100000001b3
imul r8, r9
mov rax, rbx
shr rax, 8
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x18
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x20
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x28
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x30
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x38
xor r8, rax
imul r8, r9
mov rcx, qword [rdi + 0x98]
and rcx, r8
mov r8, qword [rdi + 0x80]
mov rax, rcx
add rax, rax
mov rax, qword [r8 + rax*8]
add rcx, rcx
lea r10, [rcx*8 + 8]
mov r9, qword [r8 + rcx*8]
cmp r9, rdx
jne 0x1801a8afc
mov rcx, rdx
jmp 0x1801a8b03
mov rcx, qword [r10 + r8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1801a8b13
cmp qword [rax + 0x10], rbx
je 0x1801a8b16
mov rax, qword [rax]
jmp 0x1801a8af2
mov rax, rdx
cmp rax, rdx
je 0x1801a8b2a
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x68]
call fcn.1801a6580
nop
lea rcx, [rsp + 0x20]
call fcn.180037f00
mov rdi, qword [rbx + 0x70]
mov qword [rbx + 0x70], rsi
mov byte [rbx + 0x1110], 1
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1801a8bed
cmp byte [rbx + 0x40], 0
jne 0x1801a8b5d
cmp byte [rbx + 0x68], 0
je 0x1801a8b66
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx + 0xc0], 0
je 0x1801a8bed
nop dword [rax]
mov rdx, qword [rbx + 0xb8]
mov r8, qword [rbx + 0xa0]
test r8, r8
jne 0x1801a8b98
mov r8, rsi
jmp 0x1801a8b9b
mov r8, qword [r8]
mov rcx, qword [r8 + 0x10]
dec rcx
mov rax, rdx
shr rax, 1
and rcx, rax
and edx, 1
mov rax, qword [r8 + 8]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + rdx*8]
sub qword [rbx + 0xc0], 1
jne 0x1801a8bcd
mov qword [rbx + 0xb8], rsi
jmp 0x1801a8bd4
inc qword [rbx + 0xb8]
test rcx, rcx
je 0x1801a8be3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp qword [rbx + 0xc0], 0
jne 0x1801a8b80
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1801a8d40
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rsi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebx, r8d
mov rdi, rcx
lea rsi, [rcx + 0x20]
cmp rdx, rsi
jne 0x1801a8e51
cmp byte [rcx + 0x98], 0
je 0x1801a8dbb
call fcn.1801a8220
test al, al
je 0x1801a8f12
cmp qword [rdi + 0xc0], 0
je 0x1801a8db1
cmp byte [rdi + 0x68], 0
jne 0x1801a8db1
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1801a8300
cmp byte [rdi + 0x40], 0
jne 0x1801a8f12
cmp byte [rdi + 0x40], 0
je 0x1801a8df0
mov byte [rdi + 0x40], 0
test ebx, ebx
je 0x1801a8e5e
mov rax, qword [rdi + 0x70]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1801a8df0
lea rdx, [rdi + 0xf0]
mov r8d, ebx
mov rcx, rdi
call fcn.1801a8450
test al, al
je 0x1801a8e5e
xor edx, edx
mov r8d, 0x1000
lea rcx, [rdi + 0xf0]
call fcn.18029c350
mov rcx, qword [rdi + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1801a8e5e
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, 0x1000
lea rdx, [rdi + 0xf0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1801a8e48
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1801a8e5e
mov byte [rdi + 0x40], 1
jmp 0x1801a8f12
call fcn.1801a8300
test al, al
jne 0x1801a8f12
mov rax, qword [rdi + 0x70]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1801a8f12
movzx ebx, byte [rdi + 0x1110]
mov rcx, rdi
call fcn.1801a89e0
test bl, bl
jne 0x1801a8f12
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, qword [rdi + 0xd0]
test rdx, rdx
je 0x1801a8ec1
mov eax, dword [rdx + 8]
test eax, eax
je 0x1801a8ec1
nop
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1801a8f32
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1801a8eb0
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
test rcx, rcx
je 0x1801a8eda
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x10]
nop
test rbx, rbx
je 0x1801a8f12
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1801a8f12
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1801a8f12
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rdi + 0xc8]
mov qword [rsp + 0x38], rcx
mov rbx, qword [rdi + 0xd0]
mov qword [rsp + 0x40], rbx
jmp 0x1801a8ecb
Function at 0x1801ad600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10, r8
mov r9, rdx
test rdx, rdx
jne 0x1801ad616
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x18036bc70]
not ecx
cmp r10, 8
jb 0x1801ad704
mov r11, r10
shr r11, 3
imul rax, r11, 0xfffffffffffffff8
add r10, rax
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x1801ad640
test r10, r10
je 0x1801ad730
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
sub r10, 1
jne 0x1801ad710
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x1801adad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, qword [rcx + 0x20]
mov r14, rdx
mov edi, r8d
mov rbx, rcx
test rsi, rsi
je 0x1801adbd5
mov eax, dword [rcx + 0x28]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r15
mov r15d, dword [rbx + 0x2c]
lea ecx, [rax + rdi]
cmp ecx, r15d
jb 0x1801adbbe
add r15d, r15d
cmp r15d, ecx
cmovbe r15d, ecx
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r15d
lea rcx, [rax - 1]
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x1801adb6e
movsxd rax, r15d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0xf001f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x1801adb8b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x300
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r8d, dword [rbx + 0x2c]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call fcn.18029c510
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbx + 0x28]
mov dword [rbx + 0x2c], r15d
mov qword [rbx + 0x20], rsi
mov qword [rbx + 8], rbp
mov ecx, eax
mov r8, rdi
add rcx, rsi
mov rdx, r14
call fcn.18029c510
add dword [rbx + 0x28], edi
mov eax, edi
jmp 0x1801adb73
mov rcx, qword [rcx]
test rcx, rcx
je 0x1801adc08
xor eax, eax
lea r9, [rsp + 0x50]
mov r8d, edi
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov dword [rbx + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x1801add80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbp, rdx
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x1801addec
mov eax, dword [rdi + 0x94]
mov esi, dword [rdi + 0x90]
cmp eax, esi
jae 0x1801ade30
sub esi, eax
lea rdx, [rcx + rax]
cmp esi, r8d
mov rcx, rbp
cmova esi, r8d
mov r8d, esi
call fcn.18029c510
mov ecx, dword [rdi + 0x70]
mov rdx, rbp
add dword [rdi + 0x94], esi
add dword [rdi + 0x6c], esi
mov r8d, esi
call fcn.1801ad600
mov dword [rdi + 0x70], eax
mov eax, esi
jmp 0x1801ade32
mov rcx, qword [rdi + 0x78]
test rcx, rcx
je 0x1801ade29
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1801ade30
mov ebx, dword [rsp + 0x40]
mov rdx, rbp
add dword [rdi + 0x6c], ebx
mov r8d, ebx
mov ecx, dword [rdi + 0x70]
call fcn.1801ad600
mov dword [rdi + 0x70], eax
mov eax, ebx
jmp 0x1801ade32
mov dword [rdi + 0x14], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1801b0df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x1801b0e06
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x18036c220]
not ecx
cmp r10d, 8
jb 0x1801b0ef8
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x1801b0e30
test r10d, r10d
je 0x1801b0f20
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x1801b0f00
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret

Function at 0x1801b1b30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r11, rcx
mov rdi, r9
mov rcx, qword [r9 + 0x28]
mov r10, r8
mov rsi, rdx
test rcx, rcx
je 0x1801b1b69
mov rax, qword [rcx]
mov r9, r8
mov r8, rdx
mov rdx, r11
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x18]
imul r10d, esi
cmp byte [r9], 0
je 0x1801b1bad
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x58]
mov r8d, r10d
mov qword [rsp + 0x20], 0
mov rdx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1801b1b99
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x58]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x24]
mov ecx, dword [r9 + 0x20]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x20]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x18]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call fcn.18029c510
add dword [rdi + 0x24], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret