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

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
push rbx
push rbp
push rdi
sub rsp, 0x70
mov eax, dword [rcx + 0xc]
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
mov byte [rcx + 0xa9], 0
mov dword [r11 + 0x20], ebp
test eax, eax
jne 0x1400ef0a4
lea edx, [rbp + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [r11 + 8], rsi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0xa0]
lea rsi, [rbx + 0xb0]
lea r9, [rsp + 0xa8]
mov r8d, 0x1000
mov rdx, rdi
mov qword [rbx + 0xc8], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ef03c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x3e5
jne 0x1400eefe5
mov rcx, qword [rbx + 0xa0]
lea r9d, [rbp + 1]
lea r8, [rsp + 0xa8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400ef03c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xea
jne 0x1400ef01e
mov rcx, qword [rbx + 0xa0]
lea r8, [rsp + 0xa8]
mov r9d, 1
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400ef03c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0xea
je 0x1400ef03c
test edi, edi
je 0x1400ef03c
cmp edi, 0x6d
je 0x1400ef0c0
cmp edi, 0xe9
jne 0x1400ef0c7
jmp 0x1400ef0c0
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa0]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1400ef07d
mov byte [rbx + 0xa9], 1
jmp 0x1400ef08d
cmp dword [rsp + 0xa0], ebp
sete al
mov byte [rbx + 0xa9], al
mov eax, dword [rsp + 0xa8]
mov rsi, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.1400ee2a0
lea rdx, [0x1403e29c0]
lea rcx, [rsp + 0x30]
call fcn.14029f768
int3
mov byte [rbx + 0xa8], bpl
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x140323de0]
lea rdx, [0x1403e2a50]
mov qword [rsp + 0x50], rax
lea rax, vtable.Core::NamedPipeException.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x48], rax
call fcn.14029f768
int3
Function at 0x1400f1790
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x40
lea r8, [rcx + 0xe8]
lea rdx, str.PrivateCloud
mov rsi, rcx
mov byte [rcx + 0xe0], 0
call fcn.1400f21f0
test al, al
je 0x1400f1844
xor ecx, ecx
mov qword [rsp + 0x30], rdi
call fcn.1400f3b20
mov rdi, rax
test rax, rax
je 0x1400f183f
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.UsePrivateCloud
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0x38]
jne 0x1400f1832
cmp dword [rsp + 0x50], 0
setne al
mov byte [rsi + 0xe0], al
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdi, qword [rsp + 0x30]
add rsp, 0x40
pop rsi
ret

Function at 0x1400f1970
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x1403fe608]
movzx edi, dl
mov rsi, rcx
test al, 1
jne 0x1400f19bd
or eax, 1
lea rcx, [0x1402de040]
mov qword [0x1403fe5e8], 0xffffffff80000002
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rbx, rax
test rax, rax
je 0x1400f1a32
lea rdx, str.UsePrivateCloud
test dil, dil
je 0x1400f1a13
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400f1a25
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x40]
mov byte [rsi + 0xe0], dil
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f22e0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, r8
mov rsi, rdx
mov rbp, rcx
xor bl, bl
mov eax, dword [0x1403fe608]
test al, 1
jne 0x1400f2343
or eax, 1
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rdi, rax
test rax, rax
je 0x1400f2405
lea r15, vtable.Core::ByteArray.0
mov qword [rsp + 0x38], r15
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x50], rax
mov eax, dword [r14 + 0xc]
lea r9d, [rax + rax]
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rdx, qword [r14]
call qword [rax + 0x20]
test al, al
je 0x1400f23da
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
nop
mov qword [rsp + 0x38], r15
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400f2405
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, bl
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400f2430
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [0x1403fe608]
mov rbx, rdx
test al, 1
jne 0x1400f2475
or eax, 1
lea rcx, [0x1402de040]
mov qword [0x1403fe5e8], 0xffffffff80000002
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rdi, rax
test rax, rax
je 0x1400f24c7
mov rcx, qword [rax + 8]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
test ebx, ebx
mov edx, 1
mov rcx, rdi
sete bl
call qword [rax]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f2610
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [rdx]
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400f27d4
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x80], rdi
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
call fcn.14029ab7c
mov rdi, rax
test rax, rax
je 0x1400f276b
mov rcx, rax
call fcn.14029adf4
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400f2661
add r8d, r8d
xor r9d, r9d
mov eax, r8d
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ecx, [rax*4]
movsxd r10, ecx
add r10, rdi
neg eax
movsxd rdx, eax
je 0x1400f26ba
imul eax, dword [r10 + rdx*4], 0xcc9e2d51
rol eax, 0xf
imul ecx, eax, 0x1b873593
xor r9d, ecx
rol r9d, 0xd
add r9d, 0xfaddaf14
lea r9d, [r9 + r9*4]
inc rdx
jne 0x1400f2692
mov ecx, r8d
xor edx, edx
and ecx, 3
dec ecx
je 0x1400f26e0
dec ecx
je 0x1400f26d6
dec ecx
jne 0x1400f26f8
movzx edx, byte [r10 + 2]
shl edx, 0x10
movzx eax, byte [r10 + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [r10]
xor eax, edx
imul ecx, eax, 0xcc9e2d51
rol ecx, 0x10
imul eax, ecx, 0x1b873593
xor r9d, eax
xor r9d, r8d
mov eax, r9d
shr eax, 0x10
xor eax, r9d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov rcx, rdi
mov dword [rsp + 0x78], eax
call fcn.140298600
movzx eax, byte [0x1403fdd77]
lea rcx, [rbp + 0x440]
lea r9, [rbx + 0x20]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x20], al
call fcn.1400e9d70
movzx eax, byte [0x1403fdd77]
lea rcx, [rbp + 0x450]
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x20], al
call fcn.1400e9ad0
cmp byte [rbx + 0x19], 0
jne 0x1400f27be
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1400f279e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1400f27be
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400f2790
jmp 0x1400f27be
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400f27bb
cmp rbx, qword [rax + 0x10]
jne 0x1400f27bb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400f27a8
mov rbx, rax
cmp rbx, qword [r14]
jne 0x1400f2640
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x1400f2a90
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1400f2b26
mov qword [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov rcx, rax
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f2b26
mov rcx, qword [rsp + 0x58]
mov r9d, 4
lea rax, [rsp + 0x48]
lea edx, [r9 + 0xe]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400f2b1b
cmp dword [rsp + 0x48], 4
jne 0x1400f2b1b
mov eax, dword [rsp + 0x50]
mov bl, 1
cmp eax, 2
je 0x1400f2b0e
cmp eax, 3
jne 0x1400f2b13
mov byte [rdi], 1
jmp 0x1400f2b1b
cmp eax, 1
setne cl
mov byte [rdi], cl
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f3760
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x18], r14
lea edx, [r14 + 9]
lea rcx, [rbp - 0x20]
call fcn.1401e9030
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 9]
lea r8, [0x140329c18]
mov rcx, qword [rbp - 0x20]
call fcn.14029b4d8
lea edx, [r14 + 9]
lea rcx, [rbp - 0x20]
call fcn.1401ea290
nop
lea edx, [r14 + 0x23]
lea rcx, [rbp - 0x10]
call fcn.1401f44e0
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400d1690
nop
cmp dword [rbp - 8], r14d
jle 0x1400f37fa
mov rcx, qword [rbp - 0x10]
call fcn.140298600
nop
cmp dword [rbp - 0x18], 0
jle 0x1400f3809
mov rcx, qword [rbp - 0x20]
call fcn.140298600
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.1401ebac0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f383a
test al, 0x10
je 0x1400f383a
cmp dword [rbp - 0x28], 0
jle 0x1400f3858
mov rcx, qword [rbp - 0x30]
call fcn.140298600
jmp 0x1400f3858
cmp dword [rbp - 0x28], 0
jle 0x1400f3849
mov rcx, qword [rbp - 0x30]
call fcn.140298600
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test rsi, rsi
je 0x1400f38d0
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400f3861
mov qword [rbp - 0x28], r14
test ebx, ebx
jne 0x1400f3880
lea rax, [0x140323de0]
mov qword [rbp - 0x30], rax
jmp 0x1400f38a2
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x28]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401ea290
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400d1690
nop
cmp dword [rbp - 0x28], 0
jle 0x1400f3913
mov rcx, qword [rbp - 0x30]
call fcn.140298600
jmp 0x1400f3913
mov qword [rdi + 8], r14
mov edx, dword [rbp - 0x34]
test edx, edx
jne 0x1400f38e7
lea rax, [0x140323de0]
mov qword [rdi], rax
jmp 0x1400f390a
mov rcx, rdi
call fcn.1401e9030
movsxd r9, dword [rbp - 0x34]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x40]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, dword [rbp - 0x34]
mov rcx, rdi
call fcn.1401ea290
nop
cmp dword [rbp - 0x38], 0
jle 0x1400f3922
mov rcx, qword [rbp - 0x40]
call fcn.140298600
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400f3940
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x18], r14
lea edx, [r14 + 9]
lea rcx, [rbp - 0x20]
call fcn.1401e9030
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 9]
lea r8, [0x140329c18]
mov rcx, qword [rbp - 0x20]
call fcn.14029b4d8
lea edx, [r14 + 9]
lea rcx, [rbp - 0x20]
call fcn.1401ea290
nop
lea edx, [r14 + 0x26]
lea rcx, [rbp - 0x10]
call fcn.1401f44e0
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400d1690
nop
cmp dword [rbp - 8], r14d
jle 0x1400f39da
mov rcx, qword [rbp - 0x10]
call fcn.140298600
nop
cmp dword [rbp - 0x18], 0
jle 0x1400f39e9
mov rcx, qword [rbp - 0x20]
call fcn.140298600
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.1401ebac0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f3a1a
test al, 0x10
je 0x1400f3a1a
cmp dword [rbp - 0x28], 0
jle 0x1400f3a38
mov rcx, qword [rbp - 0x30]
call fcn.140298600
jmp 0x1400f3a38
cmp dword [rbp - 0x28], 0
jle 0x1400f3a29
mov rcx, qword [rbp - 0x30]
call fcn.140298600
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test rsi, rsi
je 0x1400f3ab0
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400f3a41
mov qword [rbp - 0x28], r14
test ebx, ebx
jne 0x1400f3a60
lea rax, [0x140323de0]
mov qword [rbp - 0x30], rax
jmp 0x1400f3a82
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x28]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x30]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1401ea290
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400d1690
nop
cmp dword [rbp - 0x28], 0
jle 0x1400f3af3
mov rcx, qword [rbp - 0x30]
call fcn.140298600
jmp 0x1400f3af3
mov qword [rdi + 8], r14
mov edx, dword [rbp - 0x34]
test edx, edx
jne 0x1400f3ac7
lea rax, [0x140323de0]
mov qword [rdi], rax
jmp 0x1400f3aea
mov rcx, rdi
call fcn.1401e9030
movsxd r9, dword [rbp - 0x34]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x40]
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, dword [rbp - 0x34]
mov rcx, rdi
call fcn.1401ea290
nop
cmp dword [rbp - 0x38], 0
jle 0x1400f3b02
mov rcx, qword [rbp - 0x40]
call fcn.140298600
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400f4030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov dil, 1
lea r15d, [r14 + 1]
cmp byte [rcx + 0x225], r14b
jne 0x1400f40ea
xor ecx, ecx
call fcn.1400f3b20
mov rsi, rax
test rax, rax
je 0x1400f40ea
mov rcx, qword [rsi + 8]
lea rax, [rbp + 0x27]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
lea rdx, str.NoSSL
xor r8d, r8d
mov qword [rsp + 0xb0], rbx
mov dword [rbp - 0x11], r14d
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x27], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
mov rbx, qword [rsp + 0xb0]
jne 0x1400f40d6
cmp dword [rbp - 0x11], r14d
sete dil
mov rax, qword [rsi]
mov edx, r15d
mov rcx, rsi
call qword [rax]
test dil, dil
je 0x1400f418e
lea rax, vtable.Core::DateTime.0
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x27]
mov qword [rbp - 9], rax
xor eax, eax
mov dword [rbp + 7], r14d
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x27], 0x107df
mov qword [rbp + 0x2d], r15
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x1400f41b7
lea rcx, [rbp + 0xf]
call fcn.1400d1620
mov ecx, dword [rax + 0x10]
cmp ecx, dword [rbp + 7]
jne 0x1400f4147
mov rax, qword [rax + 8]
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 1]
mov qword [rbp + 0x27], rax
jmp 0x1400f4179
test ecx, ecx
jne 0x1400f4163
lea rcx, [rax + 8]
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov rax, qword [rbp - 1]
mov qword [rbp + 0x27], rax
jmp 0x1400f4179
mov rax, qword [rax + 8]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 1]
mov qword [rbp - 0x19], rax
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
sete dil
movzx eax, dil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x90]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rax, [0x1403295e0]
lea rdx, [0x1403e2ad8]
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x19], rax
call fcn.14029f768
int3
Function at 0x1400f41e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor eax, eax
test dl, dl
movzx edi, dl
setne al
mov dword [rcx + 0x100], eax
mov eax, dword [0x1403fe608]
test al, 1
jne 0x1400f4232
or eax, 1
lea rcx, [0x1402de040]
mov qword [0x1403fe5e8], 0xffffffff80000002
mov dword [0x1403fe608], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x1403fe5e0], rax
call fcn.140299c6c
lea rdx, [0x140329c48]
lea rcx, [0x1403fe5e0]
call fcn.1400ec430
mov rbx, rax
test rax, rax
je 0x1400f42a7
lea rdx, str.EarlyWarning
test dil, dil
je 0x1400f4288
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1400f429a
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f42c0
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
movaps xmmword [rax - 0x38], xmm6
movzx esi, dl
mov rbx, rcx
xor r12d, r12d
mov eax, dword [0x1403ee430]
cmp eax, 0xffffffff
jne 0x1400f4329
call fcn.140112dc0
test al, al
je 0x1400f4317
mov edi, 1
mov dword [0x1403ee430], edi
jmp 0x1400f4512
cmp qword [rbx + 0x2f0], r12
jne 0x1400f4307
mov dword [0x1403ee430], r12d
jmp 0x1400f4332
cmp eax, 1
je 0x1400f4512
cmp qword [rbx + 0x268], r12
jne 0x1400f450e
mov edi, 1
xor eax, eax
lock cmpxchg dword [rbx + 0x108], edi
jne 0x1400f4512
call fcn.140112bd0
test al, al
je 0x1400f4512
mov byte [rbx + 0x32], sil
call fcn.140106a70
test al, al
jne 0x1400f4512
xor r14b, r14b
test sil, sil
jne 0x1400f44b3
xor ecx, ecx
call fcn.1400f3b20
mov rsi, rax
test rax, rax
je 0x1400f44b3
lea rax, [0x140323de0]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], r12
lea r8, [rbp - 0x11]
lea rdx, str.LastCFU
mov rcx, rsi
call fcn.1400d5720
test al, al
je 0x1400f4494
lea rax, vtable.Core::DateTime.0
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], r12
mov dword [rbp + 0x1f], edi
cmp dword [rbp - 5], 0x13
jl 0x1400f4494
mov qword [rbp - 0x19], r12
lea edx, [rdi + 0x12]
lea rcx, [rbp - 0x21]
call fcn.1401e9030
mov eax, dword [rbp - 0x19]
inc eax
movsxd rdx, eax
lea r9d, [rdi + 0x12]
lea r8, str.yyyy_MM_dd_HH:mm:ss
mov rcx, qword [rbp - 0x21]
call fcn.14029b4d8
lea edx, [rdi + 0x12]
lea rcx, [rbp - 0x21]
call fcn.1401ea290
nop
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x21]
mov rcx, qword [rbp - 0x11]
call fcn.1400eba20
test al, al
sete r15b
cmp dword [rbp - 0x19], 0
jle 0x1400f4439
mov rcx, qword [rbp - 0x21]
call fcn.140298600
test r15b, r15b
jne 0x1400f4494
call fcn.140114940
mov rcx, rax
lea r8, [rbp + 0xf]
lea rdx, [rbp - 1]
call fcn.1400ca960
xorps xmm6, xmm6
cvtsi2sd xmm6, qword [rbp + 7]
movaps xmm1, xmm6
divsd xmm1, qword [0x14034ce50]
movq rdx, xmm1
lea rcx, str.LastCFU__3.1f_mins_ago_n
call fcn.140298d38
divsd xmm6, qword [0x14034ce70]
movzx r14d, r14b
movsd xmm0, qword [0x14034cce8]
comisd xmm0, xmm6
cmova r14d, edi
mov rax, qword [rsi]
mov edx, edi
mov rcx, rsi
call qword [rax]
nop
cmp dword [rbp - 9], 0
jle 0x1400f44ae
mov rcx, qword [rbp - 0x11]
call fcn.140298600
test r14b, r14b
jne 0x1400f4512
mov dword [rbp + 0x77], r12d
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x1400f4540]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x268], rax
test rax, rax
je 0x1400f4512
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x21c], eax
mov edx, 4
mov rcx, rbx
call fcn.1400f5e20
mov rcx, qword [rbx + 0x268]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
jmp 0x1400f4514
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret