joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140085a70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140085a92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140085aa8
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140085ac4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140085ac6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140085b02
mov qword [rsp + 0x20], 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 + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140085b9e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140085b3d
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 0x140085b7e
nop word [rax + 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 0x140085b9e
cmp rbx, rax
ja 0x140085b50
test rbx, rbx
je 0x140085b9e
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
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret

Function at 0x140085bc0
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 0x140085be8
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 0x140085c0e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140085c10
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140085c69
test ecx, ecx
jle 0x140085c49
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 0x140085c69
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140085c69
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
Function at 0x140087b70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140087b8e
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
xor ecx, ecx
cmp dword [rax], 0x4550
cmovne rax, rcx
ret
xor eax, eax
ret

Function at 0x140087ba0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14013f3d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140087cb7
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140087cb7
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x140087c19
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x140087cc2
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x140087ca5
mov edx, dword [rbx + 4]
test edx, edx
je 0x140087ca5
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x140087c7e
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x140087c95
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140087090
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov r8, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x140087c31
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x140087cc2
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dfde0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140088320
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14013f3d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
lea rcx, [0x1400f19c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400884c2
mov r8, rdi
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp - 0x38]
call fcn.140087f00
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x18]
call sub.ntdll.dll_RtlInitUnicodeString
mov r8, rdi
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp - 0x58]
call fcn.140087f00
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea r8, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400883c9
cmp eax, 2
sete bl
jmp 0x140088426
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x18]
call rax
lea rdx, [rbp - 0x58]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x14008840c
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x140088426
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140088424
xor bl, bl
jmp 0x140088426
mov bl, 1
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140088469
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140088464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df7dc
movdqa xmm0, xmmword [0x1400f19f0]
movdqu xmmword [rbp - 0x48], xmm0
xor eax, eax
mov word [rbp - 0x58], ax
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400884bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400884ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400884ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df7dc
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400dfde0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400887a0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, r8
mov r15, rdx
mov rbp, rcx
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + rcx], 0
jne 0x1400887c7
movsxd rcx, dword [rdx + 0x3c]
lea r13, [rdx + 0x18]
add r13, rcx
mov qword [rsp + 0x50], rbx
xor esi, esi
movzx eax, word [rcx + rdx + 0x14]
movzx r14d, word [rcx + rdx + 6]
add r13, rax
test r14d, r14d
je 0x140088845
nop word [rax + rax]
lea rcx, [rsi + rsi*4]
mov r8, rdi
lea rbx, [rcx*8]
mov rdx, rbp
add rbx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14008883e
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140088830
cmp rdi, rax
je 0x140088864
inc esi
cmp esi, r14d
jb 0x140088800
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp dword [rbx + 0xc], 0
je 0x140088845
test r12, r12
je 0x140088876
mov eax, dword [rbx + 8]
mov dword [r12], eax
mov eax, dword [rbx + 0xc]
add rax, r15
jmp 0x140088847

Function at 0x140088880
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14013f3d8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x20a
xor edi, edi
call fcn.1400e0b20
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x140088931
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov rax, r8
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x1400888e3
cmp word [rsp + rax*2 + 0x2e], 0x5c
jne 0x14008890b
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x140088975
mov word [rsp + rax + 0x30], di
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
nop
inc r8
cmp word [rax + r8*2], di
jne 0x140088920
lea rdx, [rsp + 0x30]
jmp 0x140088949
xorps xmm0, xmm0
lea rdx, [0x1400f16b4]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
xor r8d, r8d
mov qword [rbx + 0x18], rdi
mov rcx, rbx
call fcn.1400813e0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dfde0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
call fcn.1400e018c
int3
Function at 0x140088980
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x14013f3d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140088a0d
nop
test rbx, rbx
je 0x1400889d6
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x1400889c0
test eax, eax
jns 0x140088a2e
test rbx, rbx
je 0x140088a33
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140088b32
test rbx, rbx
jne 0x140088a3a
xor eax, eax
jmp 0x140088b32
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x140088b12
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x140088a90
lea rcx, [rsp + 0x28]
call fcn.140081320
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x140088ab0
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140088b48
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140088b08
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088b03
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140088b91
call fcn.1400df7dc
inc edi
cmp edi, dword [rbx]
jb 0x140088a53
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400dfde0
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140088b9d
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088b98
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140088b98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df7dc
mov rax, rdi
jmp 0x140088b25
Function at 0x1400bc9c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14013f3d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r8d
mov rsi, rdx
mov qword [rbp - 0x30], r9
xor edx, edx
movsxd rax, dword [0x14013e150]
cmp eax, 0x7b
ja 0x1400bca00
lea rdx, [0x14013efe0]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x140133e80]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
test rdx, rdx
jne 0x1400bca90
movsd xmm0, qword [str.eRTYO]
movsd qword [rbp - 0x40], xmm0
movzx eax, word [0x140132c00]
mov word [rbp - 0x38], ax
movzx ecx, byte [0x140132c02]
mov byte [rbp - 0x40], 0x53
xor byte [rbp - 0x3f], 0x37
xor byte [rbp - 0x3e], 0x38
xor byte [rbp - 0x3d], 0x39
xor byte [rbp - 0x3c], 0x3a
xor byte [rbp - 0x3b], 0x3b
xor byte [rbp - 0x3a], 0x3c
xor byte [rbp - 0x39], 0x3d
xor al, 0x3e
mov byte [rbp - 0x38], al
xor byte [rbp - 0x37], 0x3f
xor cl, 0x40
mov byte [rbp - 0x36], cl
lea rax, [rbp - 0x40]
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400bca80
lea rdx, [rbp - 0x40]
jmp 0x1400bca9a
inc r8
cmp byte [rdx + r8], 0
jne 0x1400bca90
lea rcx, [rbp - 0x28]
call fcn.1400bd3a0
cmp edi, 1
jne 0x1400bcb0e
movsd xmm0, qword [str.fE_JIeWXG_]
movsd qword [rbp - 0x40], xmm0
movzx eax, word [0x140132c10]
mov word [rbp - 0x38], ax
cmp byte [0x140132c11], 0
je 0x1400bcaf1
mov byte [rbp - 0x40], 0x50
xor byte [rbp - 0x3f], 0x37
xor byte [rbp - 0x3e], 0x38
xor byte [rbp - 0x3d], 0x39
xor byte [rbp - 0x3c], 0x3a
xor byte [rbp - 0x3b], 0x3b
xor byte [rbp - 0x3a], 0x3c
xor byte [rbp - 0x39], 0x3d
xor byte [rbp - 0x38], 0x3e
xor byte [rbp - 0x37], 0x3f
lea rax, [rbp - 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bcaf5
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400bd3a0
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.140078b80
test al, al
je 0x1400bcb4b
test edi, edi
jne 0x1400bcb4b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400bcb89
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bcb84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bcb84
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400df7dc
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400dfde0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e0708
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400e0752
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400e0752
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400e0752
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400e0752
cmp dword [rcx + 0x84], 0xe
jbe 0x1400e0752
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400e0754
xor al, al
add rsp, 0x28
ret
Function at 0x180002470
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rax, [rbp + 0x28]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREOracleVirtualBox_Guest_AdditionsAutoLogon
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000259e
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x10], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HandleRemoteSessions
mov dword [rbp + 0x18], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800024fd
cmp dword [rbp + 0x10], 4
jne 0x1800024fd
mov eax, dword [0x180052468]
cmp dword [rbp + 0x18], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x180052468], eax
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.LoggingEnabled
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180002543
cmp dword [rbp + 0x10], 4
jne 0x180002543
cmp dword [rbp + 0x18], 4
jne 0x180002543
mov dword [0x18005246c], 1
jmp 0x18000254c
cmp dword [0x18005246c], 0
je 0x180002594
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.LoggingLevel
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180002594
cmp dword [rbp + 0x10], 4
jne 0x180002594
mov eax, dword [0x18005246c]
cmp dword [rbp + 0x18], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x18005246c], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1800225d0
test al, al
je 0x1800025b0
cmp dword [0x180052468], 0
je 0x1800025d6
lea rdx, str.VBoxGINA::credentialsPollerCreate_n
xor ecx, ecx
call fcn.1800029c0
cmp qword [0x180052470], 0
je 0x1800025de
lea rdx, str.VBoxGINA::credentialsPollerCreate:_thread_already_running__returning__n
xor ecx, ecx
call fcn.1800029c0
xor eax, eax
add rsp, 0x50
pop rbp
ret
lea rax, str.creds
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rdx, [0x180002a50]
mov dword [rsp + 0x28], 1
lea rcx, [0x180052470]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call fcn.1800042c0
mov ebx, eax
test eax, eax
jns 0x18000262f
mov r8d, eax
lea rdx, str.VBoxGINA::credentialsPollerCreate:_failed_to_create_thread__rc___Rrc_n
xor ecx, ecx
call fcn.1800029c0
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x50
pop rbp
ret
Function at 0x1800026e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rax, [rbp + 0x28]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREOracleVirtualBox_Guest_AdditionsAutoLogon
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000280e
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x10], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HandleRemoteSessions
mov dword [rbp + 0x18], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000276d
cmp dword [rbp + 0x10], 4
jne 0x18000276d
mov eax, dword [0x180052468]
cmp dword [rbp + 0x18], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x180052468], eax
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.LoggingEnabled
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800027b3
cmp dword [rbp + 0x10], 4
jne 0x1800027b3
cmp dword [rbp + 0x18], 4
jne 0x1800027b3
mov dword [0x18005246c], 1
jmp 0x1800027bc
cmp dword [0x18005246c], 0
je 0x180002804
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.LoggingLevel
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180002804
cmp dword [rbp + 0x10], 4
jne 0x180002804
mov eax, dword [0x18005246c]
cmp dword [rbp + 0x18], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x18005246c], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1800225d0
test al, al
je 0x180002828
cmp dword [0x180052468], 0
jne 0x180002828
xor al, al
add rsp, 0x30
pop rbp
ret
mov al, 1
add rsp, 0x30
pop rbp
ret
Function at 0x180002830
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
lea rax, [rbp + 0x28]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREOracleVirtualBox_Guest_AdditionsAutoLogon
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000295e
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x10], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HandleRemoteSessions
mov dword [rbp + 0x18], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800028bd
cmp dword [rbp + 0x10], 4
jne 0x1800028bd
mov eax, dword [0x180052468]
cmp dword [rbp + 0x18], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x180052468], eax
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.LoggingEnabled
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180002903
cmp dword [rbp + 0x10], 4
jne 0x180002903
cmp dword [rbp + 0x18], 4
jne 0x180002903
mov dword [0x18005246c], 1
jmp 0x18000290c
cmp dword [0x18005246c], 0
je 0x180002954
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x10]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.LoggingLevel
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180002954
cmp dword [rbp + 0x10], 4
jne 0x180002954
mov eax, dword [0x18005246c]
cmp dword [rbp + 0x18], 4
cmove eax, dword [rbp + 0x20]
mov dword [0x18005246c], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbp
ret