joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x466197
movzx edx, byte [rax]
test edx, edx
jne 0x466054
nop dword [rax]
test r8b, r8b
jne 0x466054
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x466067
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x466157
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x466145
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x466137
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4660bd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x466100
mov eax, 1
cmp rax, rbx
ja 0x4660eb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x46612f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4660f3
mov rcx, r11
mov eax, r12d
jmp 0x4660c2
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46618d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x466150
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46606d
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3

Function at 0x4676a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46774f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b78c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers
Function at 0x46aba0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005b76a9], 0
je 0x46abae
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x46abc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005b76a9], 0
je 0x46abd5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x46abe0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005b76a9], 0
je 0x46ac15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005b7cc0]
aesenc xmm0, xmmword [0x005b7cd0]
aesenc xmm0, xmmword [0x005b7ce0]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x46ac20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005b76a9], 0
je 0x46ac56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005b7cc0]
aesenc xmm0, xmmword [0x005b7cd0]
aesenc xmm0, xmmword [0x005b7ce0]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x46c2a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x005b78c8]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46c33b
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret
Function at 0x46c560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x005b78c8]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46c5f7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret

Function at 0x46c9c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46c9f4
mov rcx, 0x28
jmp 0x46c9ff
shl rcx, 3
add rcx, 0x1480
mov qword [0x005b78c8], rcx
pop rbp
ret

Function at 0x474420
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x474b5f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x47444d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4746d1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4746fd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004c0660]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00488e40]
lea rbx, [0x004bf898]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x474722
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x474757
lea rdi, [0x00488ec0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x474443
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x47473b
jmp 0x474710
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash
Function at 0x474d00
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x474d17
inc rax
cmp rax, 4
jge 0x474d2f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x474d14
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x474d40
inc rax
cmp rax, 4
jge 0x474d4e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x474d77
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x474d5b
jmp 0x474d3d

Function at 0x478fa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47906a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b78c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47904f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00488f40]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x47903e
mov edi, 1
lea rsi, [0x00488f40]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004bf948]
lea rsi, [0x004bf558]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x140003850
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000389a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000389a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000389a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000389a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000389a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000389c
xor al, al
add rsp, 0x28
ret
Function at 0x140009650
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400096f0
jmp 0x1400096df
jae 0x1400097af
cmp r8, 0x201
jae 0x1400096f0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140009747
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14000971f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14002a220
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140009770
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14000981b
mov r8d, r13d
cmp r12, r8
jne 0x1400096d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000984f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400096df
jmp 0x1400096f0
cmp r14, r8
jb 0x140009869
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.14000c4f0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140009804
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140002c10
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400097ef
jmp 0x140009804
lea rcx, str.internal_error:_entered_unreachable_code8
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14002b5d0
jmp 0x14000987e
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14002b980
ud2
Function at 0x140012d20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1400e1548]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140012d58
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140012db6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140012de3
test eax, eax
js 0x140012dc2
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140012dd9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14000c190
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140004450
mov ecx, 7
int 0x29
ud2

Function at 0x140013900
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xc0], xmm6
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0xb5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]
Function at 0x1400196f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
mov esi, ecx

Function at 0x14001aca0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov dword [rbp - 8], 0xfffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov esi, ecx
movzx eax, byte [0x1400ec141]
mov ecx, 0x10
mov edx, 8
call fcn.140002c00
invalid
invalid
test rax, rax
je 0x14001ad8b
invalid
lodsb al, byte [rsi]
add byte [rax], al
invalid
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
invalid
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, case.0x14000e907.223
xor edi, edi
xor ecx, ecx
leave
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
adc eax, 0x112ef
mov rdx, rax
test rax, rax
jne 0x14001ad7d
invalid
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
test eax, eax
je case.0x14000d92a.236
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
invalid
je case.0x14000d857.274
mov r8, qword [rax + 0x10]
call fcn.140002c10
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.140002c10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rsi
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14002b420
add dword [rax], eax
ud2
Function at 0x140028130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400281ba
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400281b0
cmp r10, r11
jb 0x140028236
cmp r10, rdx
ja 0x140028248
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400281b2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140028190
jmp 0x140028217
ja 0x1400281ba
mov r11, r10
cmp rax, r8
jne 0x140028157
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14002821b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400281f0
mov r8, r10
sub ecx, r9d
jns 0x14002820e
jmp 0x14002821d
cmp r10, rdx
je 0x14002822a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002821d
xor al, 1
cmp r8, rdx
jne 0x1400281d0
jmp 0x14002821d
xor eax, eax
jmp 0x14002821d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14002b4b0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002b9f0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002b980
int3

Function at 0x140029ae4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140029b2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140029b2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140029b2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140029b2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140029b2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140029b30
xor al, al
add rsp, 0x28
ret

Function at 0x100401000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
lea rcx, [0x100403fc0]
call fcn.1004039e0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100403a00
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100403a10
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100403a20
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100403a30
rcl dword [rsi + rax*8 - 0x65], 0xfc
wait
xor ch, byte cs:[rsi]
pop rsp
sub dword cs:[rsi], 0x2e5f2e5b
pop rbx
invalid
Function at 0x1800015d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x18]
mov rbx, rcx
mov rdx, rcx
cmp rdi, 0x10
jb 0x1800015ed
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
movabs r9, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x180001623
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x180001610
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180002f80
mov rcx, qword [rax + 8]
mov rax, qword [0x180048768]
test rcx, rcx
cmovne rax, rcx
cmp rax, qword [0x180048768]
jne 0x180001682
cmp rdi, 0x10
jb 0x18000167e
mov rcx, qword [rbx]
lea rdx, [rdi + 1]
cmp rdx, 0x1000
jb 0x180001679
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800016d5
mov rcx, r8
call fcn.18000d27c
xor al, al
jmp 0x1800016b7
cmp rdi, 0x10
jb 0x1800016b5
mov rcx, qword [rbx]
lea rdx, [rdi + 1]
cmp rdx, 0x1000
jb 0x1800016b0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800016d5
mov rcx, r8
call fcn.18000d27c
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call fcn.180017c14
int3
Function at 0x180001f60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
xor ebx, ebx
lea rdx, str.help
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea rcx, [rbp - 0x20]
mov qword [rbp - 8], rbx
movups xmmword [rbp - 0x20], xmm0
lea r8d, [rbx + 4]
call fcn.1800014d0
lea rdx, [0x180001ef0]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 3]
mov qword [rbp - 8], rbx
lea rdx, [0x18003cba0]
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.1800014d0
lea rdx, [0x180001f50]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 0xf]
mov qword [rbp - 8], rbx
lea rdx, str.dolly_save_path
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.1800014d0
lea rdx, [0x180006890]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 0xf]
mov qword [rbp - 8], rbx
lea rdx, str.dolly_load_path
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.1800014d0
lea rdx, [0x180006a50]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 0xf]
mov qword [rbp - 8], rbx
lea rdx, str.dolly_set_begin
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.1800014d0
lea rdx, [0x180006cf0]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 0xe]
mov qword [rbp - 8], rbx
lea rdx, str.dolly_set_tick
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.1800014d0
lea rdx, [0x180006e20]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
lea r8d, [rbx + 0xe]
mov qword [rbp - 8], rbx
lea rdx, str.dolly_set_sync
lea rcx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
call fcn.1800014d0
lea rdx, [0x180006f50]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
movups xmmword [rbp - 0x20], xmm0
lea r8d, [rbx + 0xe]
mov qword [rbp - 8], rbx
lea rdx, str.camera_set_fov
lea rcx, [rbp - 0x20]
call fcn.1800014d0
lea rdx, [0x1800012e0]
lea rcx, [rbp - 0x20]
call fcn.180001e50
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x180001e00]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x180005720
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18000574f
xor eax, eax
mov qword [0x180048588], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x180005600]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret