joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009dac
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor edx, edx
mov dword [rsp + 0x70], 0x11c
mov r8d, 0x118
lea rcx, [rsp + 0x74]
call fcn.140021320
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14000a028
mov edi, dword [rsp + 0x74]
lea eax, [rdi - 6]
test eax, 0xfffffffb
je 0x140009ece
cmp edi, 5
jne 0x14000a028
cmp dword [rsp + 0x78], 2
jne 0x140009ea7
cmp byte [rbp + 0x8a], 1
jne 0x140009e8b
mov eax, dword [0x140055c00]
cmp eax, 0xffff
jne 0x140009e86
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009e80
xorps xmm0, xmm0
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
call rax
movzx eax, word [rsp + 0x38]
mov dword [0x140055c00], eax
cmp eax, 9
je 0x140009ec4
mov eax, 0x8000
test word [rbp + 0x88], ax
jne 0x14000a028
mov eax, 2
jmp 0x14000a02a
cmp dword [rsp + 0x78], 1
jne 0x14000a028
mov eax, 0x200
test word [rbp + 0x88], ax
jne 0x14000a028
mov eax, 1
jmp 0x14000a02a
and dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
mov esi, dword [rsp + 0x78]
call fcn.140005648
mov rbx, rax
test rax, rax
je 0x14000a028
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000a01f
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov ecx, edi
mov edx, esi
call rax
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x14000a028
mov eax, dword [rsp + 0x30]
cmp eax, 0x30
ja 0x140009fe4
je 0x140009ec4
cmp eax, 0xb
ja 0x140009f9b
je 0x14000a028
sub eax, 1
je 0x140009ec4
sub eax, 1
je 0x14000a028
sub eax, 1
je 0x14000a028
sub eax, 1
je 0x14000a011
sub eax, 2
je 0x14000a011
sub eax, 1
je 0x140009e9d
sub eax, 1
je 0x140009e9d
sub eax, 1
je 0x140009e9d
cmp eax, 1
jmp 0x140009e97
sub eax, 0xc
je 0x140009e9d
sub eax, 1
je 0x140009e9d
sub eax, 1
je 0x140009e9d
sub eax, 1
je 0x140009e9d
sub eax, 1
je 0x14000a011
sub eax, 1
je 0x140009e9d
sub eax, 1
je 0x140009e9d
sub eax, 7
je 0x140009e9d
cmp eax, 2
jmp 0x14000a00f
sub eax, 0x46
je 0x14000a011
sub eax, 2
je 0x14000a011
sub eax, 0xc
je 0x14000a011
sub eax, 0x25
je 0x14000a018
sub eax, 1
je 0x14000a018
sub eax, 3
je 0x14000a011
sub eax, 1
je 0x14000a011
sub eax, 3
je 0x14000a011
cmp eax, 1
jne 0x14000a028
mov eax, 3
jmp 0x14000a02a
mov eax, 4
jmp 0x14000a02a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140020490
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000a5f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, rdx
mov r14, r9
mov rdx, rcx
mov esi, r8d
lea rcx, [rbp - 0x28]
mov edi, 0x80070003
call fcn.140005938
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x10]
call fcn.14000b2ac
mov rbx, qword [rbp - 0x28]
movups xmm0, xmmword [rax]
movq rdx, xmm0
movups xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x14000a7ca
mov r9d, dword [rbp - 0x18]
lea r13, [0x14004bec8]
and qword [rbp - 0x38], 0
lea rcx, [rbp - 0x40]
or r9d, 0x20019
mov qword [rbp - 0x40], r13
mov r8, rbx
mov dword [rbp - 0x30], 0x200
call fcn.14000a4d8
mov edi, eax
test eax, eax
jne 0x14000a7b7
sub esi, 1
je 0x14000a773
sub esi, 2
je 0x14000a751
sub esi, 1
je 0x14000a740
sub esi, 3
je 0x14000a6fd
cmp esi, 4
je 0x14000a6bd
mov edi, 0x8007065d
jmp 0x14000a784
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x48]
and dword [rbp - 0x50], 0
lea r9, [rbp - 0x50]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov dword [rbp - 0x48], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000a784
and qword [rbp - 0x48], 0
lea rax, [rbp - 0x48]
and dword [rbp - 0x50], 0
lea r9, [rbp - 0x20]
and qword [rbp - 0x20], 0
lea r8, [rbp - 0x50]
mov rdx, r15
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.14000a808
mov edi, eax
test eax, eax
js 0x14000a784
mov rdx, qword [rbp - 0x48]
mov r8, r14
mov rcx, qword [rbp - 0x20]
call fcn.14000ab1c
jmp 0x14000a782
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, r15
call fcn.14000a8d0
jmp 0x14000a782
mov rax, qword [rbp + 0x40]
lea r8, [rbp - 0x50]
and dword [rbp - 0x50], 0
lea rcx, [rbp - 0x40]
mov r9, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.14000a808
jmp 0x14000a782
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, r15
call fcn.14000a918
mov edi, eax
mov rcx, qword [rbp - 0x38]
xor edx, edx
test rcx, rcx
je 0x14000a7b0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, ax
or edx, 0x80070000
mov dword [rbp - 0x30], 0x200
test eax, eax
cmovle edx, eax
xor ecx, ecx
mov qword [rbp - 0x38], rcx
test edi, edi
cmove edi, edx
jmp 0x14000a7bb
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x40], r13
test rcx, rcx
je 0x14000a7ca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000a7e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000a808
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [r9], 0
lea rax, [r11 + 8]
and dword [rsp + 0x40], 0
mov rbx, r9
mov r9, r8
mov qword [r11 - 0x10], rax
and qword [r11 - 0x18], 0
mov rdi, r8
mov rbp, rcx
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
test r8d, r8d
jne 0x14000a8a9
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000a8ad
mov ecx, eax
call fcn.140038750
lea rcx, [rsp + 0x40]
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
mov r9, rdi
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov edx, eax
mov eax, r8d
mov qword [rcx], rdx
add rsp, 0x30
pop rdi
ret

Function at 0x14000a8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
and dword [rsp + 0x58], 0
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000a918
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rdi, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000a9d0
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
inc rcx
mul rcx
lea rcx, [r14 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140038750
mov qword [rdi], rax
cmp dword [rsp + 0x50], r14d
je 0x14000a9cc
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000a9d0
mov word [rax], r14w
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000a9e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [r11 + 8]
mov rbx, r8
mov qword [r11 - 0x20], rax
mov rbp, rcx
mov qword [r11 - 0x28], r14
mov rcx, qword [rcx + 8]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov dword [r11 + 8], r14d
mov rsi, rdx
mov dword [r11 + 0x20], r14d
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14000aaf9
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000aaf1
shr edx, 1
lea r8d, [r14 + 1]
add edx, r8d
js 0x14000ab0e
mov rcx, qword [rbx]
mov r9, rcx
mov eax, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub eax, edx
or r8d, eax
jge 0x14000aa7f
mov rcx, rbx
call fcn.140001b34
mov rcx, qword [rbx]
mov r9, rcx
test rcx, rcx
jne 0x14000aa8b
mov edi, 0x8007000e
jmp 0x14000aac0
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rbp + 8]
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
mov r9, qword [rbx]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test r9, r9
jne 0x14000aaca
mov eax, r14d
jmp 0x14000aada
movsxd rdx, dword [r9 - 0xc]
mov rcx, r9
call fcn.140030e18
test eax, eax
js 0x14000ab0e
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000ab0e
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
jmp 0x14000aaf9
mov rcx, rbx
call fcn.140001900
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.140001834
int3

Function at 0x14000ac2c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x14000ac6c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov esi, r9d
mov rcx, r8
mov rdi, r8
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbx + 8]
mov r9d, esi
xor r8d, r8d
mov rdx, rbp
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov ecx, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x30
pop rdi
ret
Function at 0x14000b140
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 0x10]
lea rax, [0x14004bec8]
and qword [rsp + 0x50], 0
mov rsi, rdx
mov r8, rdx
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx + 8]
mov rdi, rcx
or r9d, 0xf003f
mov dword [rsp + 0x58], 0x200
lea rcx, [rsp + 0x48]
call fcn.14000a4d8
mov ebx, eax
mov r12d, 1
add eax, 0x7ff8fffe
cmp eax, r12d
jbe 0x14000b264
test ebx, ebx
jmp 0x14000b1d7
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000b140
mov ebx, eax
test eax, eax
jne 0x14000b267
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x70]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000b1c4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000b23a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0x200
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea eax, [rbx + 0x7ff8fffe]
cmp eax, r12d
cmovbe ebx, r12d
jmp 0x14000b267
mov ebx, r12d
mov rcx, qword [rsp + 0x50]
lea rax, [0x14004bec8]
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14000b283
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140020490
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14000b578
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
mov eax, 0x8068
call fcn.140038630
sub rsp, rax
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rsp + 0x8050], rax
and qword [rsp + 0x38], 0
mov rdi, r8
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x4000
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test eax, eax
jne 0x14000b5f0
lea rcx, [rsp + 0x50]
call fcn.140030cec
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001970
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x8050]
xor rcx, rsp
call fcn.140020490
add rsp, 0x8068
pop rdi
pop rbx
ret
Function at 0x14000b664
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rsp + 0x250], rax
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov rdi, r8
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 8]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x14000b6da
lea rcx, [rsp + 0x50]
call fcn.140030cec
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001970
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140020490
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
ret

Function at 0x14000bb48
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
lea rax, [rbp - 0x18]
mov dword [rbp - 0x10], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x14000bbd9
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140020490
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x14000c12c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rcx, rsi
lea rdx, [rsp + 0x58]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x14000c1d1
mov ecx, edi
call fcn.140038750
mov edx, dword [rsp + 0x58]
mov r9, rax
mov r8d, edi
mov qword [rbx], rax
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, qword [rbx]
test eax, eax
je 0x14000c1c4
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000c1c1
cmp dword [rsp + 0x50], 0
je 0x14000c1c1
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax]
movzx eax, word [rax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [rbx + 8], ecx
jmp 0x14000c1d3
mov rcx, qword [rbx]
call fcn.140020968
and qword [rbx], 0
and dword [rbx + 8], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c2d8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x14000c330
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140020490
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140021320
mov rbx, qword [0x140057c28]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400063b4
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c3a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call fcn.14000cf50
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x14000c3e1
cmp eax, 1
jne 0x14000c3d7
int3
mov eax, 1
jmp 0x14000c30b
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000cf50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000cfdd
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000cfb2
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400214e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14000cfd7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140010d10
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rax - 0x68]
mov rdi, rdx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r10d, dword [rsp + 0x24]
lea rax, [r10 - 1]
not rax
and rax, rdi
je 0x140010dac
mov r8, qword [rbx + 0x18]
xor r11d, r11d
mov r9, qword [r8 + 8]
mov rdx, r8
cmp byte [r9 + 0x19], r11b
jne 0x140010d7e
mov rcx, r9
cmp qword [rcx + 0x20], rax
jae 0x140010d72
mov rcx, qword [rcx + 0x10]
jmp 0x140010d78
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r11b
je 0x140010d66
cmp byte [rdx + 0x19], r11b
jne 0x140010d8f
cmp rax, qword [rdx + 0x20]
jb 0x140010d8f
cmp rdx, r8
jne 0x140010d96
sub rax, r10
je 0x140010dac
jmp 0x140010d5a
movups xmm1, xmmword [rdx + 0x38]
psrldq xmm1, 8
movq rdx, xmm1
add rdx, rax
cmp rdx, rdi
ja 0x140010dae
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x140011140
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
xorps xmm0, xmm0
movaps xmmword [rax - 0x28], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x38], xmm7
lea rcx, [rbp - 0x19]
movaps xmmword [rax - 0x48], xmm8
movups xmmword [rbp - 0x19], xmm0
mov r15, rdx
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
and qword [rbx + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xor edx, edx
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
mov r9d, 0x30
lea r8, [rbp - 0x49]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x1400112ba
cmp dword [rbp - 0x29], 0x1000
jne 0x1400112aa
mov r14, qword [rbx + 0x18]
movups xmm6, xmmword [rbp - 0x49]
and dword [rbp - 0x61], 0
mov rcx, r14
movups xmm7, xmmword [rbp - 0x39]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x69], rax
movq rdi, xmm6
movups xmm8, xmmword [rbp - 0x29]
jmp 0x140011213
mov qword [rbp - 0x69], rax
cmp qword [rax + 0x20], rdi
jae 0x140011206
and dword [rbp - 0x61], 0
mov rax, qword [rax + 0x10]
jmp 0x140011213
mov rcx, rax
mov dword [rbp - 0x61], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400111f2
cmp byte [rcx + 0x19], 0
jne 0x140011225
cmp rdi, qword [rcx + 0x20]
jae 0x140011282
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [rbx + 0x20], rax
je 0x1400112e6
mov ecx, 0x58
call fcn.140038700
xorps xmm0, xmm0
lea rdx, [rbp - 0x69]
mov r8, rax
lea rcx, [rbx + 0x18]
mov qword [rax + 0x20], rdi
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x38], xmm0
movups xmmword [rax + 0x48], xmm0
mov qword [rax], r14
movups xmm0, xmmword [rbp - 0x69]
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
and word [rax + 0x18], 0
movdqu xmmword [rbp - 0x69], xmm0
call fcn.14000cc8c
mov rcx, rax
movups xmmword [rcx + 0x28], xmm6
movups xmmword [rcx + 0x38], xmm7
movups xmmword [rcx + 0x48], xmm8
test byte [rbp - 0x25], 0x70
je 0x1400112aa
mov r8, qword [rbp - 0x31]
xor edx, edx
mov ecx, dword [rbp - 0x15]
mov rax, r8
div rcx
add qword [rbx + 0x10], rax
jmp 0x1400112ae
mov r8, qword [rbp - 0x31]
mov rdx, qword [rbp - 0x49]
add rdx, r8
jmp 0x1400111a1
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000cab4
int3
Function at 0x1400149d4
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [rcx + 0xe0], 0
mov rbx, rcx
jne 0x140014abb
xor r8d, r8d
mov dword [rcx + 0xe0], 2
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x140014abb
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x100], rax
test rax, rax
je 0x140014abb
lea rcx, [rbx + 0x68]
mov dword [rsp + 0x28], 4
or dword [rsp + 0x20], 0xffffffff
lea r8, [0x1400152e8]
mov r9, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x140014abb
mov rax, qword [rbx + 0x58]
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x140014a6c
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rax
mov edx, 0x40080003
and dword [rsp + 0x30], 0
mov eax, 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9d, [rax - 0x3f]
lea r8d, [rax - 0x3a]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x140014abb
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140014ac3
mov dword [rbx + 0xe0], 1
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
jmp 0x140014abd