joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a860
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x30
and qword [r11 + 8], 0
lea rax, [r11 + 8]
mov rdi, rdx
mov qword [r11 - 0x18], rax
mov rdx, qword [rcx]
mov rbx, r8
mov rcx, 0xffffffff80000002
mov r9d, 0x20119
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14002a8ad
mov edx, 0x2c
jmp 0x14002a8df
mov rdx, qword [rdi]
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14002a8f7
mov edx, 0x2d
mov rcx, qword [rsp + 0x38]
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_reghelpers.cpp
mov r9d, eax
call fcn.140018acc
mov ebx, eax
jmp 0x14002a8f9
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002a90f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002b264
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], 7
mov word [rcx + 8], r14w
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
lea ecx, [r14 + 0xc]
call fcn.140034380
mov rdx, rax
mov qword [rbp - 0x48], rax
add rax, 0xc
mov qword [rbp - 0x38], rax
xor ecx, ecx
mov qword [rdx], rcx
mov dword [rdx + 8], ecx
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 1
lea r9d, [r14 + 2]
lea r8d, [r14 + 0xc]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
nop dword [rax + rax]
mov rcx, qword [rbp + 8]
test eax, eax
js 0x14002b38e
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14002bd6c
mov rdx, rax
lea rcx, [rbx + 8]
call fcn.140020c68
lea rcx, [rbp - 0x28]
call fcn.140006410
mov dword [rbx], r14d
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002b368
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b362
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140034680
nop
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400341a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov r9d, eax
call fcn.140033894
int3
Function at 0x14002bd6c
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r9d, r9d
mov dword [rax - 0x48], r9d
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], 7
mov word [rcx], r9w
mov dword [rax - 0x48], 1
mov rbx, qword [rdx]
mov rsi, qword [rdx + 8]
sub rsi, rbx
cmp rsi, 0x7fffffff
ja 0x14002bfd0
test esi, esi
jle 0x14002bfaa
movabs r10, 0x7ffffffffffffffe
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r8b, r9b
mov dl, r9b
movzx ecx, byte [rbx]
inc rbx
cmp esi, 1
jle 0x14002bdfc
mov r8b, byte [rbx]
inc rbx
cmp esi, 2
jle 0x14002bdfc
mov dl, byte [rbx]
inc rbx
mov rax, rcx
shr rax, 2
mov al, byte [rax + r11]
mov byte [rsp + 0x80], al
movzx eax, r8b
shr rax, 4
shl rcx, 4
or rax, rcx
and eax, 0x3f
mov al, byte [rax + r11]
mov byte [rsp + 0x81], al
movzx edx, dl
cmp esi, 1
jle 0x14002be4d
mov ecx, edx
shr rcx, 6
movzx eax, r8b
shl rax, 2
or rcx, rax
and ecx, 0x3f
mov al, byte [rcx + r11]
jmp 0x14002be4f
mov al, 0x3d
mov byte [rsp + 0x82], al
cmp esi, 2
jle 0x14002be64
and edx, 0x3f
mov al, byte [rdx + r11]
jmp 0x14002be66
mov al, 0x3d
mov byte [rsp + 0x83], al
mov r13, r9
movsx ecx, byte [rsp + r13 + 0x80]
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp r14, r15
jae 0x14002beaa
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 8
jb 0x14002be9a
mov rax, qword [rdi]
mov word [rax + r14*2], cx
mov word [rax + r14*2 + 2], r9w
jmp 0x14002bf92
mov rax, r10
sub rax, r14
cmp rax, 1
jb 0x14002bfd6
lea rbp, [r14 + 1]
or rbp, 7
cmp rbp, r10
jbe 0x14002becc
mov rbp, r10
jmp 0x14002bee8
mov rcx, r15
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp r15, rax
ja 0x14002bec7
lea rax, [rcx + r15]
cmp rbp, rax
cmovb rbp, rax
lea rdx, [rbp + 1]
call fcn.140006a58
mov r12, rax
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rbp
add r14, r14
mov r8, r14
mov rcx, r12
cmp r15, 8
jb 0x14002bf66
mov rbp, qword [rdi]
mov rdx, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsx eax, byte [rsp + r13 + 0x80]
mov word [r12 + r14], ax
xor eax, eax
mov word [r12 + r14 + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x14002bf59
add rdx, 0x27
mov rcx, qword [rbp - 8]
sub rbp, rcx
lea rax, [rbp - 8]
cmp rax, 0x1f
ja 0x14002bfc3
mov rbp, rcx
mov rcx, rbp
call fcn.140034680
xor r9d, r9d
jmp 0x14002bf85
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsx eax, byte [rsp + r13 + 0x80]
mov word [r12 + r14], ax
xor r9d, r9d
mov word [r12 + r14 + 2], r9w
movabs r10, 0x7ffffffffffffffe
mov qword [rdi], r12
inc r13
cmp r13, 4
jb 0x14002be70
sub esi, 3
test esi, esi
jg 0x14002bdd4
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.14002b23c
int3
call fcn.140006c58
int3
Function at 0x140031658
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x30
mov r14, rdx
mov rbp, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 4
jb 0x140031684
mov rdx, qword [rbp + 0x30]
and rdx, r8
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + rdx*8]
lea rsi, [rbp + 8]
mov rbx, qword [rsi]
cmp qword [r8 + rdx*8], rbx
jne 0x1400316c7
mov rcx, rbx
jmp 0x1400316cf
mov rcx, qword [r8 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400316e6
mov ecx, dword [r14]
cmp dword [rax + 0x10], ecx
je 0x1400316e1
mov rax, qword [rax]
jmp 0x1400316bc
mov rcx, rax
jmp 0x1400316ec
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x14003176a
mov rbx, qword [rbx]
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 8], rax
jne 0x140031718
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rsi
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.140034380
mov ecx, dword [r14]
mov dword [rax + 0x10], ecx
and qword [rax + 0x18], 0
mov qword [rax], rbx
mov qword [rax + 8], rdi
inc qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rax, qword [rsi]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140031850
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140031850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x140031880
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x140031909
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x140031909
mov rdi, qword [rdi + 8]
mov eax, dword [rdi + 0x10]
cmp dword [r11], eax
jne 0x1400318c2
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.140034680
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1400319a0
mov rax, qword [rbx]
cmp rdi, rax
je 0x14003193e
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x14003195e
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14003198d
cmp rax, rdi
jne 0x140031969
mov qword [rdx + r8*8], rbx
jmp 0x14003198d
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14003198d
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.1400319b8
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140031bd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x140031bed
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140031c45
cmp qword [rcx + rdx*8], r8
jne 0x140031c3a
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140031c3e
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140031c52
cmp qword [rcx + rdx*8], r8
jne 0x140031c52
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.140034680
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400341c8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14004c350], eax
call fcn.140034c70
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14004c350], 0
jne case.default.0x14003421e
mov ecx, 1
call fcn.140034c70
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sbb eax, 0xabec150f
mov byte [rdx - 0x4c], ch
pop rbp
push rbp
invalid
Function at 0x140040cd2
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
mov rdx, qword [rbp + 0x18]
mov esi, dword [rbp + 0x10]
xor rax, rax
cmp eax, dword [rbp + 0x20]
jge 0x140040d16
mov cl, byte [rbp + 0x28]
xor byte [rax + rdx], cl
mov cl, byte [rax + rdx]
and cl, 0xf
xor ebx, ebx
mov bl, byte [rax + rdx]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
mov byte [rax + rdx], cl
mov ecx, esi
add cl, al
xor byte [rax + rdx], cl
inc eax
cmp eax, dword [rbp + 0x20]
jl 0x140040ce7
pop rsi
pop rbx
pop rbp
ret 0x20

Function at 0x140040d1c
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push rbx
push rsi
mov rdx, qword [rbp + 0x18]
mov esi, dword [rbp + 0x10]
xor rax, rax
cmp eax, dword [rbp + 0x20]
jge 0x140040d5d
mov ecx, esi
add cl, al
xor byte [rax + rdx], cl
mov cl, byte [rax + rdx]
and cl, 0xf
xor ebx, ebx
mov bl, byte [rax + rdx]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
xor cl, byte [rbp + 0x28]
mov byte [rax + rdx], cl
inc eax
cmp eax, dword [rbp + 0x20]
jl 0x140040d31
pop rsi
pop rbx
pop rbp
ret 0x20
Function at 0x14088f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14088f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14088f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14088f06f
add dl, dl
jne 0x14088f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14088f0f6
xor eax, eax
add dl, dl
jne 0x14088f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14088f1ad
add dl, dl
jne 0x14088f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14088f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14088f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14088f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14088f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14088f07e
mov eax, 1
add dl, dl
jne 0x14088f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14088f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14088f0fb
sub eax, ebx
mov ebx, 1
jne 0x14088f14c
mov ecx, 1
add dl, dl
jne 0x14088f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14088f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14088f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14088f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14088f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14088f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14088f15d
cmp eax, 0x7d00
jae 0x14088f19b
cmp eax, 0x500
jb 0x14088f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14088f07e
cmp eax, 0x7f
ja 0x14088f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14088f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14088f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14088f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000c94f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140021410]
jne 0x140007d3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140007d36
repz ret
ror rcx, 0x10
jmp 0x14000c8a8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140023110]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140023208]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000c92d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140023110]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000c94f
mov rax, qword [rsp + 0x88]
mov qword [0x140023208], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400231a8], rax
mov rax, qword [0x140023208]
mov qword [0x140023080], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140023190], rax
mov dword [0x140023070], 0xc0000409
mov dword [0x140023074], 1
mov rax, qword [0x140021410]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140021418]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140023108], eax
mov ecx, 1
call fcn.14001420c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400191b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140023108], 0
jne 0x14000c9d6
mov ecx, 1
call fcn.14001420c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000dfdc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000de4c
Function at 0x14010f1c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14010f1cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14010f1dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14010f1c5
lea eax, [rcx + 1]
jmp 0x14010f1eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14010f1fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14010f1e4
sub eax, 3
jb 0x14010f21e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14010f26d
sar eax, 1
movsxd rbp, eax
jb 0x14010f254
jmp 0x14010f22c
add ebx, ebx
jne 0x14010f22a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14010f254
inc ecx
add ebx, ebx
jne 0x14010f23a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14010f254
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14010f24d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14010f23c
add ecx, 2
jmp 0x14010f259
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14010f182
jmp 0x14010f1cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa8400
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14010f2b9
cmp rsi, rcx
jae 0x14010f2c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14010f2a0
cmp al, 0x8f
ja 0x14010f2a0
cmp byte [rsi - 2], 0xf
je 0x14010f2a6
sub al, 0xe8
cmp al, 1
ja 0x14010f28a
cmp rsi, rcx
jae 0x14010f2c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14010f290
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14010f2c1
lodsb al, byte [rsi]
jmp 0x14010f2a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x10b000]
mov eax, dword [rdi]
or eax, eax
je 0x14010f32a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x115d40]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14010f2ce
jns 0x14010f303
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14010f30d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14010f324
mov qword [rbx], rax
add rbx, 8
jmp 0x14010f2ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14010f364
cmp al, 0xef
ja 0x14010f356
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14010f336
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14010f345
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14010f3b8
sub rsp, 0xffffffffffffff80
jmp 0x14002fb2c
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 3]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000e040]
mov r10, rax
sub rbx, rax
movabs rdi, 0x96a850096a850097
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 5]
mov rax, rdi
mov rcx, r8
mul r8
add r11d, 5
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 5
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400012b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000e040]
mov r11, rax
sub rbx, rax
movabs rdi, 0x96a850096a850097
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x1b3
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 0x7a
jb 0x140001300
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret