joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c6ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x60
mov r12, rdx
mov rdx, rcx
lea rcx, [rax - 0x38]
mov rbp, r9
mov edi, r8d
mov esi, 0x80070003
call fcn.140002f7c
lea rcx, [rsp + 0x40]
call fcn.14000d1a4
mov rbx, qword [rsp + 0x40]
test rax, rax
je 0x14000c80e
and qword [rsp + 0x50], 0
lea r14, [0x140037450]
lea rcx, [rsp + 0x48]
mov r9d, 0x20019
mov r8, rbx
mov rdx, rax
mov qword [rsp + 0x48], r14
call fcn.14000c5b4
test eax, eax
mov esi, eax
jne 0x14000c7ff
sub edi, 1
je 0x14000c7de
sub edi, 2
je 0x14000c7b5
sub edi, 1
je 0x14000c7a3
sub edi, 3
je 0x14000c791
cmp edi, 4
je 0x14000c74f
mov esi, 0x8007065d
jmp 0x14000c7f0
mov rcx, qword [rsp + 0x50]
and dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x30], 8
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14000c7f0
lea rcx, [rsp + 0x48]
mov r8, rbp
mov rdx, r12
call fcn.14000cb3c
jmp 0x14000c7ee
lea rcx, [rsp + 0x48]
mov r8, rbp
mov rdx, r12
call fcn.14000c910
jmp 0x14000c7ee
mov rax, qword [rsp + 0xa0]
and dword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x48]
mov r9, rbp
mov rdx, r12
mov qword [rsp + 0x20], rax
call fcn.14000c848
jmp 0x14000c7ee
lea rcx, [rsp + 0x48]
mov r8, rbp
mov rdx, r12
call fcn.14000c958
mov esi, eax
lea rcx, [rsp + 0x48]
call fcn.14000c424
test esi, esi
cmove esi, eax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], r14
call fcn.14000c424
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000c82a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret

Function at 0x14000c848
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
and dword [rsp + 0x40], 0
mov rbp, rcx
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov rbx, r9
mov rdi, r8
mov r9, r8
mov qword [r11 - 0x10], rax
and qword [r11 - 0x18], 0
xor r8d, r8d
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 0x14000c8ea
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000c8ee
mov rcx, rax
call fcn.140025ab0
lea rcx, [rsp + 0x40]
mov r9, rdi
mov qword [rsp + 0x28], rcx
mov qword [rbx], rax
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 0x14000c910
Capabilities:
Query or enumerate registry value

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

Function at 0x14000c958
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x50], 0
and dword [rsp + 0x68], 0
mov rbp, rcx
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov rdi, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 + 0x20]
xor r8d, r8d
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000ca1a
mov ecx, dword [rsp + 0x50]
lea eax, [rbx + 2]
shr rcx, 1
add rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140025ab0
test rax, rax
mov qword [rdi], rax
je 0x14000ca15
cmp dword [rsp + 0x50], ebx
je 0x14000ca0f
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
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 0x14000ca1a
and word [rax], 0
jmp 0x14000ca1a
mov ebx, 0x8007000e
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ca2c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x50], 0
and dword [rsp + 0x68], 0
mov rbp, rcx
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov rbx, r8
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
lea r9, [r11 + 0x20]
xor r8d, r8d
mov rsi, rdx
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14000cb2c
mov edx, dword [rsp + 0x50]
test edx, edx
je 0x14000cb24
mov rax, qword [rbx]
lea ecx, [rdi + 1]
shr edx, 1
add edx, ecx
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or ecx, eax
jge 0x14000caab
mov rcx, rbx
call fcn.14000422c
mov rax, qword [rbx]
test rax, rax
jne 0x14000caba
mov edi, 0x8007000e
jmp 0x14000caec
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000caf8
xor eax, eax
jmp 0x14000cb01
call fcn.14001be70
test eax, eax
js 0x14000cb19
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000cb19
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
and word [rax + rcx*2], 0
jmp 0x14000cb2c
mov ecx, 0x80070057
call fcn.140001000
int3
mov rcx, rbx
call fcn.14000310c
mov eax, edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000cc10
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 rbp, rcx
mov rcx, r8
mov edi, r9d
mov rbx, r8
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rbp + 8]
lea eax, [rax + rax + 2]
mov r9d, edi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x30
pop rdi
ret

Function at 0x14000cc80
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, 0xffffffff
cmp r9, rax
jbe 0x14000cc95
mov eax, 0x80070057
jmp 0x14000ccc3
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, dword [rsp + 0x60]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x38
ret
Function at 0x14000cd98
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x40
mov rsi, rdx
mov rdx, rcx
lea rcx, [rax + 0x18]
xor dil, dil
call fcn.140002f7c
lea rcx, [rsp + 0x60]
call fcn.14000d1a4
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x14000ce3e
and qword [rsp + 0x38], 0
lea r12, [0x140037450]
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov r8, rbx
mov rdx, rax
mov qword [rsp + 0x30], r12
call fcn.14000c5b4
test eax, eax
jne 0x14000ce2f
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0x30]
test eax, eax
sete dil
call fcn.14000c424
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
call fcn.14000c424
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14000ce5b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov al, dil
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x14000d070
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14003e090]
xor rax, rsp
mov qword [rsp + 0x260], rax
and qword [rsp + 0x50], 0
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx + 8]
mov rdi, rcx
lea rax, [0x140037450]
lea rcx, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x48], rax
call fcn.14000c5b4
cmp eax, 0x80070002
mov ebx, eax
je 0x14000d0d3
cmp eax, 0x80070003
jne 0x14000d0d8
mov ebx, 1
test ebx, ebx
jmp 0x14000d0ea
lea rdx, [rsp + 0x60]
call fcn.14000d070
mov ebx, eax
test eax, eax
jne 0x14000d167
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rcx, [rsp + 0x48]
test eax, eax
je 0x14000d0dc
call fcn.14000c424
mov rcx, qword [rdi + 8]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x80070002
je 0x14000d160
cmp ecx, 0x80070003
jne 0x14000d165
mov ecx, 1
mov ebx, ecx
lea rax, [0x140037450]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.14000c424
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001cdd0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000d3f4
Capabilities:
Query or enumerate registry key

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

Function at 0x14000da10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [section..data]
mov rbx, rcx
lea rcx, section..data
call qword [rax + 0x18]
mov esi, 0x103
add rax, 0x18
mov qword [rbx], rax
mov rax, qword [rbx]
mov ecx, 1
lea edi, [rsi + 1]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000da60
mov edx, edi
mov rcx, rbx
call fcn.14000422c
mov rdx, qword [rbx]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
mov esi, eax
sbb eax, eax
and eax, esi
cmp eax, 0xffffffff
jne 0x14000da89
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000da84
xor eax, eax
jmp 0x14000da8d
call fcn.14001be70
test eax, eax
js 0x14000dab6
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000dab6
mov dword [rcx - 0x10], eax
cdqe
and word [rcx + rax*2], 0
cmp esi, edi
jae 0x14000da3f
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140001000
int3
Function at 0x14000dac4
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14000d8ac
and qword [rsp + 0x28], 0
and dword [rsp + 0x30], 0
mov rsi, qword [rax]
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov edi, eax
je 0x14000dbfe
mov rcx, rdi
call fcn.140025ab0
test rax, rax
mov rbx, rax
mov qword [rsp + 0x28], rax
je 0x14000dbfe
mov edx, dword [rsp + 0xa0]
mov r9, rax
mov r8d, edi
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rbx
test eax, eax
je 0x14000dbf9
and dword [rsp + 0x98], 0
and qword [rsp + 0xa8], 0
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xa8]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000dbf6
cmp dword [rsp + 0x98], 0
je 0x14000dbf6
mov rax, qword [rsp + 0xa8]
xor edi, edi
movzx ecx, word [rax]
movzx edx, word [rax + 2]
and dword [rsp + 0x38], edi
shl ecx, 0x10
lea r8d, [rdi + 0x30]
or edx, ecx
lea rcx, [rsp + 0x3c]
mov dword [rsp + 0x30], edx
xor edx, edx
call fcn.14001c940
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.14000f34c
test eax, eax
je 0x14000dbec
mov eax, dword [rsp + 0x48]
shr eax, 0x10
movzx edi, ax
movzx eax, word [rsp + 0x48]
shl rdi, 0x10
or rdi, rax
mov eax, dword [rsp + 0x4c]
shr eax, 0x10
shl rdi, 0x10
movzx ecx, ax
movzx eax, word [rsp + 0x4c]
or rdi, rcx
shl rdi, 0x10
or rdi, rax
mov rcx, rbx
call fcn.14001be60
jmp 0x14000dc07
mov rcx, rbx
call fcn.14001be60
xor ecx, ecx
call fcn.14001be60
xor edi, edi
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x14000dc29
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000e004
Capabilities:
Get token membership

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x80
mov rax, qword [0x14003e090]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [r11 - 0x20]
lea rcx, [r11 - 0x18]
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x70], bl
mov byte [rsp + 0x71], bl
mov byte [rsp + 0x72], bl
mov dword [rsp + 0x20], ebx
mov byte [rsp + 0x73], bl
mov byte [rsp + 0x74], bl
mov byte [rsp + 0x75], 5
mov qword [r11 - 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [rsp + 0x60], eax
je 0x14000e0aa
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x60]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
cmp eax, ebx
setne al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001cdd0
add rsp, 0x80
pop rbx
ret
Function at 0x14000e7d8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14003e090]
xor rax, rsp
mov qword [rsp + 0x160], rax
test rdx, rdx
mov rdi, rdx
mov rsi, rcx
je 0x14000e807
and dword [rdx], 0
mov r8d, dword [0x14003fef0]
mov ebp, 1
cmp r8d, ebp
je 0x14000e825
cmp dword [0x14003fef4], 0xffffffff
jne 0x14000e9b7
mov ebx, 0x11c
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rbx
call fcn.14001c940
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r8d, 2
test eax, eax
je 0x14000e8cf
cmp dword [rsp + 0x50], r8d
jne 0x14000e8cf
mov eax, dword [rsp + 0x44]
cmp eax, 6
jne 0x14000e889
mov eax, dword [rsp + 0x48]
cmp eax, r8d
jne 0x14000e873
mov r8d, 8
jmp 0x14000e8b3
cmp eax, ebp
jne 0x14000e87f
mov r8d, 7
jmp 0x14000e8b3
test eax, eax
jne 0x14000e8d8
lea r8d, [rax + 6]
jmp 0x14000e8b3
cmp eax, 5
jne 0x14000e8ca
mov eax, dword [rsp + 0x48]
cmp eax, r8d
jne 0x14000e89f
mov r8d, 5
jmp 0x14000e8b3
cmp eax, ebp
jne 0x14000e8ab
mov r8d, 4
jmp 0x14000e8b3
test eax, eax
jne 0x14000e8d8
lea r8d, [rax + 3]
movzx eax, word [rsp + 0x154]
mov dword [0x14003fef0], r8d
mov dword [0x14003fef4], eax
jmp 0x14000e8e1
cmp eax, 4
ja 0x14000e8d8
mov dword [0x14003fef0], r8d
jmp 0x14000e8e1
mov r8d, ebp
mov dword [0x14003fef0], ebp
mov al, byte [0x140041fd5]
lea rdx, [0x140042280]
neg al
sbb rcx, rcx
and rcx, rdx
je 0x14000e9b7
sub r8d, ebp
je 0x14000e96c
sub r8d, ebp
je 0x14000e963
sub r8d, ebp
je 0x14000e95a
sub r8d, ebp
je 0x14000e951
sub r8d, ebp
je 0x14000e948
sub r8d, ebp
je 0x14000e93f
sub r8d, ebp
je 0x14000e936
cmp r8d, ebp
je 0x14000e92d
lea rbx, str._unknown_
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_8
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_7
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_VISTA
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_SERVER_2003
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_XP
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_2000
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_9X_OR_NT
jmp 0x14000e973
lea rbx, str.OS_WINDOWS_UNKNOWN
mov r8d, ebp
mov edx, 8
mov qword [rsp + 0x20], rcx
call fcn.14000a820
mov r9d, dword [0x14003fef4]
lea rdx, str._OS__version:__s__service_pack:__d_
lea rcx, [rsp + 0x20]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], ebp
mov dword [rsp + 0x30], 8
call fcn.140001558
mov r8d, dword [0x14003fef0]
test rdi, rdi
mov dword [rsi], r8d
je 0x14000e9c7
mov eax, dword [0x14003fef4]
mov dword [rdi], eax
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001cdd0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000eb18
Capabilities:
Open clipboard
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x14003e090]
xor rax, rsp
mov qword [rsp + 0x860], rax
cmp ecx, 0x80000003
mov esi, r9d
mov edi, ecx
jne 0x14000eb70
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14001cdd0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
and word [rsp + 0x50], 0
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x800
call fcn.14001c940
mov rbx, qword [0x1400423e0]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000d970
mov dword [rsp + 0x38], esi
lea rax, str.baselogging.cc
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x40]
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
lea rcx, [rsp + 0x50]
mov r9, rbx
mov r8d, edi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000ebee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000ec13
lea rcx, [rsp + 0x50]
mov edx, ebx
call fcn.14000f4b0
lea r8, str.Exception
lea rdx, [rsp + 0x50]
mov r9d, 0x250012
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x14000ec42
cmp eax, 1
jne 0x14000ec38
int3
mov eax, 1
jmp 0x14000eb4b
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14000f4b0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.USER32.dll_EmptyClipboard]
add ebx, 1
mov ecx, 0x2002
movsxd rbx, ebx
add rbx, rbx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.14001da30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14000f520
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x14000fb48
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [rcx + 0xd8], 0
mov rbx, rcx
je 0x14000fb61
xor al, al
jmp 0x14000fc3b
xor r8d, r8d
mov dword [rcx + 0xd8], 2
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
mov qword [rbx + 0x80], rax
je 0x14000fb5a
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
mov qword [rbx + 0xf8], rax
je 0x14000fb5a
lea rcx, [rbx + 0x78]
lea r8, [0x140010588]
mov r9, rbx
mov rdx, rax
mov dword [rsp + 0x28], 4
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x14000fb5a
cmp qword [rbx + 0x60], 8
jb 0x14000fbd9
mov rcx, qword [rbx + 0x48]
jmp 0x14000fbdd
lea rcx, [rbx + 0x48]
mov rax, qword [rbx + 0x68]
mov edx, 0x40080003
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov eax, 0x40
mov dword [rsp + 0x28], eax
lea r9d, [rax - 0x3f]
lea r8d, [rax - 0x3a]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
mov qword [rbx + 0x70], rax
je 0x14000fb5a
mov rcx, qword [rbx + 0xf8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x14000fc39
mov dword [rbx + 0xd8], 1
jmp 0x14000fb5a
mov al, 1
add rsp, 0x40
pop rbx
ret
Function at 0x14000ff48
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x90
xor r12d, r12d
xor eax, eax
mov rbx, rdx
mov dword [r11 - 0x54], r12d
mov dword [r11 - 0x50], r12d
mov qword [r11 - 0x48], r12
mov qword [r11 - 0x40], r12
mov qword [r11 - 0x38], r12
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x10], r12
mov rdi, rcx
mov dword [rsp + 0x40], 2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbx + 0x40]
mov rdx, qword [rbx + 0x48]
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x78]
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov rsi, rax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, r12d
je 0x1400100ad
mov r8, qword [rbx + 0x40]
mov rdx, qword [rbx + 0x50]
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x80]
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x100002
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, r12d
je 0x1400100ad
mov r8, qword [rbx + 0x40]
mov rdx, qword [rdi + 0x80]
mov dword [rsp + 0x30], r12d
lea r9, [rsp + 0x88]
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, r12d
je 0x1400100ad
mov rcx, qword [rdi + 0x70]
lea rax, [rdi + 0xe0]
lea r9, [rsp + 0xa8]
lea r8d, [r12 + 0x50]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xa8], r12d
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r12d
setne sil
cmp sil, r12b
je 0x140010087
mov eax, r12d
jmp 0x14001008d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp sil, r12b
jne 0x14001009d
cmp eax, 0x3e5
jne 0x14001013d
mov rdx, rbx
mov rcx, rdi
call fcn.1400104c8
jmp 0x14001013f
mov rdx, qword [rsp + 0x78]
mov edi, 1
cmp rdx, r12
je 0x1400100df
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov qword [rsp + 0x78], r12
mov rdx, qword [rsp + 0x80]
cmp rdx, r12
je 0x140010112
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov qword [rsp + 0x80], r12
mov rdx, qword [rsp + 0x88]
cmp rdx, r12
je 0x14001013d
mov rcx, qword [rbx + 0x40]
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret