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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp], rax
mov r11, qword [r8 + 0x18]
mov rsi, r8
mov r14, qword [r8 + 0x10]
mov r12, rdx
mov r10, rcx
mov r9, r8
cmp r11, 8
jb 0x1400151ba
mov r9, qword [r8]
lea r8, [r14 + r14]
mov qword [rsp + 0x68], rbx
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r8, r8
je 0x1400151f4
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r8
jb 0x1400151e0
mov rax, qword [r10 + 0x18]
movsxd r15, dword [rsi + 0x20]
mov r8, r15
xor r8, rdx
mov rdx, qword [r10 + 8]
and r8, qword [r10 + 0x30]
add r8, r8
mov rbp, qword [rax + r8*8]
lea r13, [rax + r8*8]
mov rcx, rbp
cmp rbp, rdx
jne 0x140015222
mov rax, rdx
jmp 0x140015229
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140015349
mov rax, rsi
cmp r11, 8
jb 0x14001523e
mov rax, qword [rsi]
cmp qword [rcx + 0x28], 8
lea r11, [rcx + 0x10]
mov r8, qword [rcx + 0x20]
jb 0x140015251
mov r11, qword [rcx + 0x10]
cmp r8, r14
jne 0x14001529e
test r8, r8
je 0x140015298
movzx r9d, word [r11]
movzx r10d, word [rax]
cmp r9w, r10w
jb 0x14001529e
sub r11, rax
cmp r9w, r10w
ja 0x14001529e
cmp r8, 1
je 0x140015298
movzx r9d, word [r11 + rax + 2]
add rax, 2
dec r8
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x140015270
mov rcx, qword [rcx]
mov r11, qword [rsi + 0x18]
jmp 0x140015218
cmp dword [rcx + 0x30], r15d
je 0x1400152aa
mov rcx, qword [rcx]
mov r11, qword [rsi + 0x18]
jmp 0x140015218
mov r8, rcx
mov qword [rsp + 0x10], rdi
cmp rbp, rdx
jne 0x1400152bc
mov rax, rdx
jmp 0x1400152c3
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140015326
cmp qword [rcx + 0x28], 8
lea rax, [rcx + 0x10]
jb 0x1400152d7
mov rax, qword [rcx + 0x10]
cmp qword [rsi + 0x18], 8
mov rbx, rsi
jb 0x1400152e4
mov rbx, qword [rsi]
cmp r14, qword [rcx + 0x20]
jne 0x140015326
mov r11, r14
test r14, r14
je 0x14001533b
movzx r9d, word [rbx]
movzx r10d, word [rax]
cmp r9w, r10w
jb 0x140015326
sub rbx, rax
cmp r9w, r10w
ja 0x140015326
cmp r11, 1
je 0x14001533b
movzx r9d, word [rax + rbx + 2]
add rax, 2
dec r11
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x140015307
mov rdi, qword [rsp + 0x10]
cmp r8, rcx
je 0x140015349
mov qword [r12], r8
mov qword [r12 + 8], rcx
jmp 0x140015352
cmp r15d, dword [rcx + 0x30]
jne 0x140015326
mov rcx, qword [rcx]
jmp 0x1400152b2
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov rbx, qword [rsp + 0x68]
mov rax, r12
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140045ef0
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x140015380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, r8
mov rsi, rdx
mov r8, qword [r8 + 0x20]
mov r11, rcx
cmp qword [rdi + 0x28], 8
lea r9, [rdi + 0x10]
jb 0x1400153ba
mov r9, qword [rdi + 0x10]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r8, r8
je 0x1400153f4
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r8
jb 0x1400153e0
movsxd r8, dword [rdi + 0x30]
mov rcx, qword [r11 + 0x18]
xor r8, rdx
and r8, qword [r11 + 0x30]
shl r8, 4
add rcx, r8
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x140015438
cmp rax, rdi
jne 0x14001542e
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x140015443
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x140015443
cmp rax, rdi
jne 0x140015443
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rdx], rbx
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [r8 + 8], rdx
dec qword [r11 + 0x10]
call fcn.1400154c0
mov edx, 0x48
mov rcx, rdi
call fcn.14004654c
mov rax, rsi
mov qword [rsi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140045ef0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140015580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r9
mov r11, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov rsi, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x1400155ce
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r8, [rsi + rsi]
xor ecx, ecx
test r8, r8
je 0x140015604
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x1400155f0
movsxd r12, dword [r11 + 0x20]
xor r12, rdx
and r12, qword [r14 + 0x30]
shl r12, 4
mov r13, qword [r14 + 0x18]
mov rbx, qword [r14 + 8]
cmp rbx, qword [r13 + r12]
je 0x1400156bd
mov rbx, qword [r13 + r12 + 8]
mov rbx, qword [rbx]
nop
cmp rbx, qword [r13 + r12]
je 0x1400156bd
mov rbx, qword [rbx + 8]
lea rax, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x14001564e
mov rax, qword [rbx + 0x10]
mov r9, r11
cmp qword [r11 + 0x18], 8
jb 0x14001565b
mov r9, qword [r11]
cmp rsi, qword [rbx + 0x20]
jne 0x140015630
mov r8, rsi
test rsi, rsi
je 0x140015699
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x140015630
sub r9, rax
cmp cx, dx
ja 0x140015630
cmp r8, 1
je 0x140015699
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x14001567b
jmp 0x140015630
mov eax, dword [r11 + 0x20]
cmp eax, dword [rbx + 0x30]
jne 0x140015630
mov rdx, rdi
mov rcx, r14
call fcn.140015830
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140015750
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400156f2
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 rdx, qword [r14 + 0x18]
add rdx, r12
mov rax, qword [rdx]
cmp rax, qword [r14 + 8]
jne 0x140015710
mov qword [rdx], rdi
mov rax, qword [r14 + 0x18]
mov qword [r12 + rax + 8], rdi
jmp 0x14001573c
cmp rax, rbx
jne 0x14001571a
mov qword [rdx], rdi
jmp 0x14001573c
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14001573c
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r12 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12 + 8], rcx
mov rcx, r14
call fcn.140015770
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140045ef0
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015890
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov r12, qword [r8 + 0x18]
mov rbx, r8
mov rdi, qword [r8 + 0x10]
mov r10, rcx
mov qword [rsp + 8], rdx
mov r9, r8
cmp r12, 8
jb 0x1400158cc
mov r9, qword [r8]
lea r8, [rdi + rdi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x140015904
movabs r11, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r8
jb 0x1400158f0
movsxd r11, dword [rbx + 0x20]
mov rax, qword [r10 + 0x18]
mov rdx, r11
mov rbp, qword [r10 + 8]
xor rdx, rcx
and rdx, qword [r10 + 0x30]
shl rdx, 4
mov dword [rsp], r11d
mov qword [rsp + 0x20], rsi
mov r15, qword [rdx + rax]
lea r13, [rdx + rax]
mov rcx, r15
cmp r15, rbp
jne 0x14001593c
mov rax, rbp
jmp 0x140015943
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140015a37
lea r9, [rcx + 0x10]
mov rax, rbx
cmp r12, 8
jb 0x14001595c
mov rax, qword [rbx]
cmp qword [r9 + 0x18], 8
mov r11, r9
mov rsi, qword [r9 + 0x10]
jb 0x14001596d
mov r11, qword [r9]
cmp rsi, rdi
jne 0x1400159c3
mov r10, rsi
test rsi, rsi
je 0x1400159b6
movzx edx, word [r11]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400159c3
sub r11, rax
cmp dx, r8w
ja 0x1400159c3
cmp r10, 1
je 0x1400159b6
movzx edx, word [rax + r11 + 2]
add rax, 2
dec r10
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14001598f
mov rcx, qword [rcx]
jmp 0x140015932
mov r8d, dword [r9 + 0x20]
mov r11d, dword [rsp]
cmp r8d, r11d
je 0x1400159cb
mov rcx, qword [rcx]
jmp 0x140015932
cmp qword [r9 + 0x18], 8
jb 0x1400159d5
mov r9, qword [r9]
cmp r12, 8
jb 0x1400159de
mov rbx, qword [rbx]
cmp rdi, rsi
jne 0x140015a2a
test rdi, rdi
je 0x140015a25
movzx eax, word [rbx]
movzx edx, word [r9]
cmp ax, dx
jb 0x140015a2a
sub rbx, r9
cmp ax, dx
ja 0x140015a2a
cmp rdi, 1
je 0x140015a25
movzx eax, word [r9 + rbx + 2]
add r9, 2
dec rdi
movzx edx, word [r9]
cmp ax, dx
jae 0x1400159fa
mov rax, qword [rsp + 8]
mov rcx, rbp
mov qword [rax], rcx
jmp 0x140015a42
cmp r11d, r8d
je 0x140015a2d
mov rcx, rbp
mov rax, qword [rsp + 8]
mov qword [rax], rcx
jmp 0x140015a42
mov r11, qword [rsp + 8]
mov rax, r11
mov qword [r11], rbp
mov rsi, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140045ef0
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x140017600
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14001762c
jle 0x140017628
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140017641
jle 0x14001763d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140017654
jle 0x140017651
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140017669
jle 0x140017665
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x1400176d7
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x14001768e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x1400176b5
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x1400176af
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx + 0x130], 8
lea rax, [rbx + 0x118]
jb 0x1400176cd
mov rax, qword [rbx + 0x118]
mov qword [rbx + 0x128], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400184f0
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.1400482f0
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x50], 0x38
lea r8, [rdi + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140018770
mov r15, rax
test rax, rax
je 0x140018732
test rbx, rbx
jne 0x1400186af
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x1a0]
call fcn.1400482f0
lea rdx, [rbp + 0x1a0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400185eb
mov eax, 0xc0150002
jmp 0x140018745
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
setg sil
test rax, rax
jle 0x1400186a1
mov dword [rbp - 0x78], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rbx, rbx
je 0x140018661
test sil, sil
je 0x14001865a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r12
mov qword [rbp - 0x70], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140018675
lea rcx, [rdi + 0x118]
lea rdx, [rbp - 0x60]
call fcn.140002410
nop
test rbx, rbx
jle 0x1400186eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400186eb
mov rax, qword gs:[0x30]
jmp 0x14001873f
mov dword [rsp + 0x54], 8
movzx eax, word [rdi + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rbx
lea rdx, [rdi + 0xf8]
lea rcx, [rdi + 0x118]
cmp rcx, rdx
je 0x1400186eb
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400186e6
mov rdx, qword [rdx]
call fcn.140002410
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
mov rcx, qword [rdi + 0x48]
cmp rax, rcx
je 0x140018714
test rcx, rcx
jle 0x14001870d
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rdi + 0x48], rbx
mov rcx, rbx
test rcx, rcx
jg 0x140018732
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x140018736
mov dword [rdi + 0x50], r12d
xor eax, eax
jmp 0x140018745
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400192a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp], rax
mov r15, qword [r8 + 0x18]
mov r11, r8
mov rbx, qword [r8 + 0x10]
mov r13, rdx
mov r10, rcx
mov r9, r8
cmp r15, 8
jb 0x1400192da
mov r9, qword [r8]
lea rdx, [rbx + rbx]
mov qword [rsp + 0x10], rdi
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140019314
movabs rdi, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor r8, rax
imul r8, rdi
cmp rcx, rdx
jb 0x140019300
mov rax, qword [r10 + 0x18]
mov rdx, qword [r10 + 0x30]
mov rsi, qword [r10 + 8]
and rdx, r8
shl rdx, 4
mov qword [rsp + 0x68], rbp
mov r14, qword [rdx + rax]
lea r12, [rdx + rax]
mov rcx, r14
cmp r14, rsi
jne 0x140019341
mov rax, rsi
jmp 0x140019349
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140019419
lea r10, [rcx + 0x10]
mov rax, r11
cmp r15, 8
jb 0x140019362
mov rax, qword [r11]
mov rbp, qword [r10 + 0x18]
mov rdi, qword [r10 + 0x10]
cmp rbp, 8
jb 0x140019373
mov r10, qword [r10]
cmp rdi, rbx
jne 0x1400193b4
mov r9, rdi
test rdi, rdi
je 0x1400193bc
movzx edx, word [r10]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400193b4
sub r10, rax
cmp dx, r8w
ja 0x1400193b4
cmp r9, 1
je 0x1400193bc
movzx edx, word [rax + r10 + 2]
add rax, 2
dec r9
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140019395
mov rcx, qword [rcx]
jmp 0x140019337
lea rax, [rcx + 0x10]
cmp rbp, 8
jb 0x1400193c9
mov rax, qword [rax]
cmp r15, 8
jb 0x1400193d2
mov r11, qword [r11]
cmp rbx, rdi
jne 0x140019410
test rbx, rbx
je 0x140019413
movzx edx, word [r11]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140019410
sub r11, rax
cmp dx, r8w
ja 0x140019410
cmp rbx, 1
je 0x140019413
movzx edx, word [rax + r11 + 2]
add rax, 2
dec rbx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400193f1
mov rcx, rsi
mov qword [r13], rcx
jmp 0x14001941d
mov qword [r13], rsi
mov rdi, qword [rsp + 0x10]
mov rax, r13
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140045ef0
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
Function at 0x14001c4c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
lea r9, [r8 + 0x10]
mov r10, qword [r9 + 0x10]
mov rdi, rdx
mov r11, rcx
jb 0x14001c4e2
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x14001c514
movabs rbx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r10
jb 0x14001c500
mov r9, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and r9, rdx
shl r9, 4
add rcx, r9
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x14001c554
cmp rax, r8
jne 0x14001c54a
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x14001c55f
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14001c55f
cmp rax, r8
jne 0x14001c55f
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov rdx, r8
dec qword [r11 + 0x10]
call fcn.14001aed0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140020160
Capabilities:
Terminate thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x28], rsi
lea r9, [r11 - 0x28]
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
add rcx, 0x68
call fcn.14001d4a0
cmp qword [rsp + 0x50], rsi
je 0x140020226
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rdi]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400201ef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + 0x68]
test rdx, rdx
je 0x140020226
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x40]
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x140020239
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x40], rsi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400202de
call fcn.14001d770
test al, al
je 0x1400202de
mov rax, qword [rdi + 0x20]
xor edx, edx
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rdi + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rdi + 0x20]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14002028f
jle 0x14002028b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov dword [rbx + 8], esi
mov qword [rdi + 0x20], rsi
mov rbx, qword [rdi + 0x28]
mov qword [rdi + 0x28], rsi
test rbx, rbx
je 0x1400202d0
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400202d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400202d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400202de
call fcn.14001d310
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140045ef0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002dc40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r9, [r8 + 0x10]
mov r10, qword [r9 + 0x10]
mov rbx, rdx
mov r11, rcx
jb 0x14002dc5e
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r10, r10
je 0x14002dc99
mov qword [rsp + 0x40], rdi
movabs rdi, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, r10
jb 0x14002dc80
mov rdi, qword [rsp + 0x40]
mov r9, qword [r11 + 0x30]
and r9, rdx
mov rdx, qword [r11 + 0x18]
shl r9, 4
add rdx, r9
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x14002dcd9
cmp rax, r8
jne 0x14002dccf
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x14002dce4
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x14002dce4
cmp rax, r8
jne 0x14002dce4
mov rcx, qword [r8]
mov qword [rdx], rcx
lea rcx, [r11 + 8]
mov rdx, rbx
call fcn.14002db30
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x14002eb40
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor ebp, ebp
test rcx, rcx
je 0x14002eb7c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14002eb91
jle 0x14002eb8d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
mov edx, edi
mov rcx, rbx
call fcn.14002e830
inc edi
cmp edi, 4
jl 0x14002eb93
cmp qword [rbx + 0x10], rbp
je 0x14002ec54
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140098a04], eax
jle 0x14002ec0e
lea rcx, [0x140098a04]
call fcn.14004612c
cmp dword [0x140098a04], 0xffffffff
jne 0x14002ec0e
lea rcx, [0x14006c7c0]
mov dword [0x140098a14], ebp
mov qword [0x140098a08], rbp
mov dword [0x140098a10], 0xc0000225
call fcn.140046534
lea rcx, [0x140098a04]
call fcn.1400460cc
mov rax, qword [rbx]
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x40], ebp
mov ecx, dword [rax + 8]
mov dword [rsp + 0x44], ecx
mov rcx, qword [0x140098a08]
cmp rcx, 0xffffffffffffffff
jne 0x14002ec71
mov edi, 0xc00000c0
lea rsi, [rbx + 8]
test edi, edi
jns 0x14002ec4f
mov rcx, rsi
call fcn.14002ece0
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x40], rbp
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140045ef0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], ebp
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14002eca7
mov edi, ebp
jmp 0x14002ecbe
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x14002ec33
lea rsi, [rbx + 8]
mov rcx, rsi
call fcn.14002ece0
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x40], rbp
jmp 0x14002ec37