joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012f74
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140012fa4
xor eax, eax
jmp 0x140013067
mov rbp, rbx
cmp word [rax], si
je 0x140012fc9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140012fb0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140012fac
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140011340
movsxd r14, eax
test eax, eax
jne 0x140013007
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
jmp 0x140012f9d
mov rcx, r14
call fcn.14000f538
mov rdi, rax
test rax, rax
jne 0x140013020
xor ecx, ecx
call fcn.14000e8c0
jmp 0x140012ffc
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140011340
test eax, eax
jne 0x140013051
mov rcx, rdi
call fcn.14000e8c0
jmp 0x14001305b
xor ecx, ecx
call fcn.14000e8c0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001726c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140017282
mov al, 1
jmp 0x1400172e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140017293
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400172e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140013778
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400172e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
test eax, eax
je 0x1400172e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x1400172e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400172e2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400183c0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c8a8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001844a
cmp byte [rbp - 0x21], r15b
je 0x140018445
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140018480
call fcn.14000eb10
test eax, eax
jne 0x14001846c
cmp byte [rbp - 0x21], r15b
je 0x140018464
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140018480
cmp byte [rbp - 0x21], r15b
je 0x14001847d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400116c0
test eax, eax
jne 0x140018520
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c8a8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400184bf
cmp byte [rbp - 0x21], r15b
je 0x1400184f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400184f4
call fcn.14000eb10
test eax, eax
jne 0x1400184e0
cmp byte [rbp - 0x21], r15b
je 0x1400184d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400184f4
cmp byte [rbp - 0x21], r15b
je 0x1400184f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400116c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140018520
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140018523
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140018531
mov rcx, rdi
call fcn.14000e8c0
cmp byte [rbp + 0x3f], r15b
je 0x140018540
mov rcx, qword [rbp + 0x27]
call fcn.14000e8c0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14001aab0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001aad8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001aad8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x1400010ca
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x848
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r9, rdx
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.140003188
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140015e10]
test rax, rax
jne 0x14000109b
test rbx, rbx
je 0x1400010be
lea rdx, str.MessageBoxTimeoutW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140015e10], rax
test rax, rax
jne 0x14000109b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400010be
lea r8, [0x140010d90]
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
mov dword [rsp + 0x28], 0xbb8
mov word [rsp + 0x20], di
call rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x140001008
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x1400010ca
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x848
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r9, rdx
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.140003188
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140015e10]
test rax, rax
jne 0x14000109b
test rbx, rbx
je 0x1400010be
lea rdx, str.MessageBoxTimeoutW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140015e10], rax
test rax, rax
jne 0x14000109b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400010be
lea r8, [0x140010d90]
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
mov dword [rsp + 0x28], 0xbb8
mov word [rsp + 0x20], di
call rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
ret

Function at 0x1400010cc
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x140001196
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x448
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r9, rdx
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.140006294
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140015e08]
test rax, rax
jne 0x140001167
test rbx, rbx
je 0x14000118a
lea rdx, str.MessageBoxTimeoutA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140015e08], rax
test rax, rax
jne 0x140001167
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000118a
lea r8, str.Fatal_Error_in_Launcher
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
invalid
and al, 0x28
invalid
invalid
Function at 0x1400010d4
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jne 0x140001196
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x448
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov r9, rdx
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.140006294
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140015e08]
test rax, rax
jne 0x140001167
test rbx, rbx
je 0x14000118a
lea rdx, str.MessageBoxTimeoutA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140015e08], rax
test rax, rax
jne 0x140001167
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000118a
lea r8, str.Fatal_Error_in_Launcher
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
invalid
and al, 0x28
invalid
invalid
Function at 0x140001644
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x1400016a5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x14000173c
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x45474150
je 0x1400016fb
mov rax, qword [rsp + 0x28]
mov r8d, 5
lea rdx, [0x140002760]
mov rcx, rax
call fcn.140002260
test eax, eax
jne 0x140001737
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx + 8]
mov rcx, rax
call fcn.1400015bc
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140001737
jmp 0x14000173c
jmp 0x14000169b
cmp qword [rsp + 0x30], 0
je 0x14000174b
mov rax, qword [rsp + 0x30]
jmp 0x14000174d
xor eax, eax
add rsp, 0x58
ret
Function at 0x140001754
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x80], 0xc0000001
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0xb8], 0x30
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xd0], 0x240
lea rax, [rsp + 0x98]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xb8]
mov edx, 0x110000
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jl 0x140001952
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x746c6644
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov r8, qword [rax]
mov edx, 0x110000
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jl 0x140001952
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x28]
mov qword [rax + 0x10], 0
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, dword [rsp + 0x80]
add rsp, 0xf0
pop rdi
ret
Function at 0x1400072cc
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140072044], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14000732c
movdqa xmm0, xmmword [0x140047bb0]
movdqa xmm1, xmmword [0x140047ba0]
movdqa xmmword [0x14005cda0], xmm0
movdqa xmm0, xmmword [0x140047b80]
movdqa xmmword [0x14005cdb0], xmm1
movdqa xmm1, xmmword [0x140047b90]
movdqa xmmword [0x14005cdc0], xmm0
movdqa xmmword [0x14005cdd0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140032a40
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140047b60]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140007348
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400082d0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov bpl, dl
mov word [rcx + 0x93ea], r14w
mov rsi, rcx
mov byte [rcx + 0x93e1], r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.14000792c
mov rdi, rax
test rax, rax
je 0x140008355
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400363dc
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000792c
mov rdi, rax
test rax, rax
je 0x140008355
mov rbx, qword [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
test bpl, bpl
je 0x14000834e
call fcn.140008498
jmp 0x14000831a
call fcn.140008010
jmp 0x14000831a
test bpl, bpl
jne 0x140008362
mov rcx, rsi
call fcn.140008378
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000a964
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x850
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, rdx
mov rdi, r8
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r8d, 0x400
call fcn.140023698
mov esi, 1
mov ecx, esi
call fcn.140039a60
xor r14d, r14d
cmp rbx, rax
jne 0x14000a9bd
cmp byte [0x14005ddfd], r14b
jne 0x14000a9df
mov ebp, 2
mov ecx, ebp
call fcn.140039a60
cmp rbx, rax
jne 0x14000aaa7
cmp byte [0x14005ddfe], r14b
je 0x14000aaa7
mov ecx, esi
call fcn.140039a60
sub rbx, rax
neg rbx
sbb ecx, ecx
add ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbp, rax
call fcn.140005d74
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
mov esi, 0x1800
mov qword [rsp + 0x20], r14
lea rdi, [0x140060600]
mov r8d, esi
mov rcx, qword [rax]
mov rdx, rdi
call fcn.14003880c
mov ecx, dword [0x14005ddf8]
cmp ecx, 3
jne 0x14000aa49
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14000aa37
add r8d, r8d
mov rdx, rdi
jmp 0x14000aa92
lea rbx, [0x140063600]
cmp ecx, 4
mov rdx, rbx
mov r8, rsi
mov rcx, rdi
jne 0x14000aa65
call fcn.140025da4
jmp 0x14000aa6a
call fcn.140025d0c
test dword [0x14005ddf8], 0xfffffffd
jne 0x14000aa82
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharToOemA]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x14000aa86
mov rdx, rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14000ab10
call fcn.140005d74
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x40]
lea rdi, [0x140060600]
mov qword [rsp + 0x20], r14
mov r8d, 0x1800
mov rdx, rdi
mov rcx, qword [rax]
call fcn.14003880c
mov ecx, ebp
call fcn.140039a60
mov ecx, r14d
cmp rbx, rax
setne cl
add ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x14000aaf0
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140030ce0
add rsp, 0x850
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000ae08
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x140064e00]
mov r11, r8
mov rbx, rdx
mov r10d, ecx
test r8, r8
je 0x14000ae4c
test bl, 7
je 0x14000ae4c
movzx ecx, byte [rbx]
inc rbx
movzx eax, r10b
xor rcx, rax
shr r10d, 8
xor r10d, dword [rsi + rcx*4]
sub r11, 1
jne 0x14000ae2c
cmp r11, 8
jb 0x14000aef2
mov rdi, r11
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r11, rax
xor r10d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4 + 0x1000]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r10b
mov r10d, r8d
xor r10d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x14000ae64
test r11, r11
je 0x14000af12
movzx ecx, byte [rbx]
inc rbx
movzx eax, r10b
xor rcx, rax
shr r10d, 8
xor r10d, dword [rsi + rcx*4]
sub r11, 1
jne 0x14000aef7
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x14000af48
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x14000af8f
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
test cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x14000af5d
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x14000af54
ret

Function at 0x14000b1c8
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x14000b260
and qword [r11 - 0x58], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x60], 0
lea r8, [r11 - 0x48]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x68], 0
mov rcx, rsi
and qword [r11 - 0x70], 0
mov dword [rsp + 0x50], eax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x78], rax
call fcn.14000c370
xor r9d, r9d
lea r10, [rsp + 0x58]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x14000b23e
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x14000b2a9
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14000c370
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140030ce0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b2cc
Capabilities:
Encode data using xor

Disassembly:
mov r10, r8
mov r11, rdx
mov r9, rcx
test r8, r8
je 0x14000b36d
movzx edx, word [r9 + 0x9d2]
mov ecx, 0x1234
add cx, word [r9 + 0x9cc]
mov word [r9 + 0x9cc], cx
movzx r8d, cx
mov eax, r8d
shr rax, 1
movzx ecx, al
movzx eax, word [r9 + rcx*4 + 0x4b8]
xor word [r9 + 0x9ce], ax
movzx eax, word [r9 + rcx*4 + 0x4ba]
mov ecx, 1
sub word [r9 + 0x9d0], ax
ror dx, cl
xor dx, word [r9 + 0x9ce]
ror dx, cl
mov word [r9 + 0x9d2], dx
xor dx, word [r9 + 0x9d0]
xor dx, r8w
mov word [r9 + 0x9cc], dx
shr dx, 8
xor byte [r11], dl
inc r11
sub r10, 1
jne 0x14000b2de
ret

Function at 0x14000b3a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, dword [rcx + 0x9b8]
mov r15d, 0x1f
mov ebx, dword [rdx + 4]
mov r11d, edi
mov esi, dword [rdx + 8]
mov r10, rdx
movups xmm0, xmmword [rdx]
xor r11d, dword [rdx]
mov r9, rcx
xor ebx, dword [rcx + 0x9bc]
mov r12d, r15d
xor esi, dword [rcx + 0x9c0]
mov ebp, dword [rdx + 0xc]
xor ebp, dword [rcx + 0x9c4]
movdqu xmmword [rsp + 0x20], xmm0
mov rax, r12
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
dec r12
mov r8d, dword [r9 + rax*4 + 0x9b8]
xor edx, r8d
mov eax, edx
shr rax, 0x10
movzx eax, al
movzx r14d, byte [rax + r9 + 0x8b8]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0x8b8]
mov eax, edx
shr rax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
shl r14d, 8
movzx ecx, byte [rax + r9 + 0x8b8]
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
ror edx, 0xf
xor edx, ebp
movzx eax, byte [rcx + r9 + 0x8b8]
add edx, r8d
or r14d, eax
mov eax, edx
shr rax, 0x10
xor r14d, r11d
movzx eax, al
mov r11d, esi
mov esi, r14d
movzx r8d, byte [rax + r9 + 0x8b8]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r9 + 0x8b8]
mov eax, edx
shl ecx, 8
or r8d, ecx
shr rax, 8
shl r8d, 8
movzx eax, al
movzx ecx, byte [rax + r9 + 0x8b8]
or r8d, ecx
movzx ecx, dl
shl r8d, 8
movzx eax, byte [rcx + r9 + 0x8b8]
or r8d, eax
xor r8d, ebx
mov ebx, ebp
sub r15d, 1
mov ebp, r8d
jns 0x14000b404
xor edi, r14d
lea rdx, [rsp + 0x20]
mov dword [r10], edi
mov rcx, r9
xor r8d, dword [r9 + 0x9bc]
mov dword [r10 + 4], r8d
xor r11d, dword [r9 + 0x9c0]
mov dword [r10 + 8], r11d
xor ebx, dword [r9 + 0x9c4]
mov dword [r10 + 0xc], ebx
call fcn.14000c1f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140030ce0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret