joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019288
Capabilities:
Create pipe
Create thread
Create two anonymous pipes

Disassembly:
sub rsp, 0x38
cmp qword [0x14006a0c0], 0
jne 0x1400192f1
mov r9d, 0x10000
lea rdx, [0x14006a0c8]
xor r8d, r8d
lea rcx, [0x14006a0c0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400192d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
jmp 0x14001936b
mov r9d, 0x10000
lea rdx, [0x14006a0d8]
xor r8d, r8d
lea rcx, [0x14006a0d0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400192b7
lea rax, [0x14006a0e8]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x140017260]
and dword [rsp + 0x20], 0
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14006a0e0], rax
test rax, rax
jne 0x140019330
call fcn.14000c460
mov ecx, eax
test eax, eax
js 0x14001936f
lea rax, [0x14006a0f8]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1400173c4]
and dword [rsp + 0x20], 0
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14006a0f0], rax
test rax, rax
jne 0x14001937d
call fcn.14000c460
mov ecx, eax
test ecx, ecx
jns 0x14001937d
mov edx, dword [0x14006a158]
xor r9d, r9d
movsxd r8, ecx
jmp 0x140019391
mov r9, qword [0x14006a0c8]
mov r8, qword [0x14006a0d0]
mov edx, dword [0x14006a154]
mov rcx, qword [0x14006a000]
add rsp, 0x38
jmp qword [sym.imp.USER32.dll_PostMessageW]

Function at 0x1400193a4
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14006a0c8]
lea r9, [r11 - 0x28]
xor ebx, ebx
lea rdx, [r11 - 0x20]
mov qword [r11 - 0x20], rbx
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x38], rbx
lea r8d, [rbx + 0xc]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [0x14006a178]
xor r9d, r9d
mov ecx, dword [0x14006a0f8]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [0x14006a0c0]
test rcx, rcx
je 0x140019413
mov qword [0x14006a0c0], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14006a0c8]
test rcx, rcx
je 0x14001942c
mov qword [0x14006a0c8], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14006a0d0]
test rcx, rcx
je 0x140019445
mov qword [0x14006a0d0], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14006a0d8]
test rcx, rcx
je 0x14001945e
mov qword [0x14006a0d8], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14006a0e0]
test rcx, rcx
je 0x140019477
mov qword [0x14006a0e0], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14006a0f0]
test rcx, rcx
je 0x140019490
mov qword [0x14006a0f0], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14006a0e8], ebx
mov dword [0x14006a0f8], ebx
call fcn.140019288
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140024670
add rsp, 0x50
pop rbx
ret
Function at 0x14001a0b8
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor r14d, r14d
test ax, ax
je 0x14001a0ec
mov bpl, 1
jmp 0x14001a0f4
cmp dword [rbx + 0x10], 0x10
sete bpl
mov ecx, SafeArrayUnlock
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001a109
mov sil, 1
jmp 0x14001a111
cmp dword [rbx + 0x10], 0x11
sete sil
mov ecx, SafeArrayAccessData
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001a126
mov dil, 1
jmp 0x14001a12e
cmp dword [rbx + 0x10], 0x12
sete dil
mov edx, dword [0x140069ff0]
mov rcx, qword [0x14006a310]
test edx, edx
jne 0x14001a21d
test rcx, rcx
je 0x14001a21d
mov rax, qword [rbx + 0x10]
test sil, sil
je 0x14001a1e3
cmp rax, 0x53
ja 0x14001a1a5
je 0x14001a21d
sub rax, 9
je 0x14001a21d
sub rax, 0x27
je 0x14001a1d5
sub rax, 0x13
je 0x14001a1db
sub rax, 3
je 0x14001a21d
sub rax, 6
je 0x14001a21d
sub rax, 2
je 0x14001a21d
sub rax, 1
je 0x14001a21d
cmp rax, 1
jmp 0x14001a1f8
sub rax, 0x56
je 0x14001a1db
sub rax, 2
je 0x14001a1db
sub rax, 0x13
je 0x14001a1d5
sub rax, 2
je 0x14001a1d5
sub rax, 7
je 0x14001a21d
sub rax, 1
je 0x14001a21d
sub rax, 0x46
je 0x14001a1d5
cmp rax, 2
jne 0x14001a1fa
cmp byte [rcx + 0x79], r14b
je 0x14001a21d
cmp byte [rcx + 0x78], r14b
jne 0x14001a1fa
jmp 0x14001a21d
test dil, dil
je 0x14001a1f4
add rax, 0xffffffffffffffdb
test rax, 0xfffffffffffffffd
jmp 0x14001a1df
cmp rax, 0x74
je 0x14001a21d
mov rcx, qword [rcx + 0x50]
mov rdx, rbx
mov r8, qword [rcx]
call qword [r8 + 0x28]
test eax, eax
je 0x14001a2b0
mov edx, dword [0x140069ff0]
mov rcx, qword [0x14006a310]
mov rax, qword [rbx + 0x10]
add rax, 0xffffffffffffff90
test edx, edx
jne 0x14001a247
test rcx, rcx
je 0x14001a243
test bpl, bpl
jne 0x14001a247
test sil, sil
jne 0x14001a247
test dil, dil
jne 0x14001a247
cmp rax, 0x17
jbe 0x14001a247
xor al, al
jmp 0x14001a2b2
mov eax, dword [rbx]
lea r9, [rsp + 0x20]
mov edx, dword [rcx + 0x74]
mov r8d, SafeArrayUnaccessData
mov dword [rsp + 0x20], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x24], eax
mov eax, dword [rbx + 0x10]
lea ecx, [r8 + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x2c], eax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x30], eax
call fcn.140017498
mov ecx, dword [0x14006a0f8]
mov r9, rax
xor r8d, r8d
mov edx, 0x464
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov edx, dword [0x14006a168]
xor r9d, r9d
mov rcx, qword [0x14006a000]
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001b250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
mov rdx, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x38]
add rdx, 1
xorps xmm0, xmm0
js 0x14001b280
cvtsi2ss xmm0, rdx
jmp 0x14001b295
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140046a48
xor ecx, ecx
movss xmm1, dword [0x14005cd18]
comiss xmm0, xmm1
jb 0x14001b2c3
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14001b2c3
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001b2f1
cmp rbx, 0x200
jae 0x14001b2ee
shl rbx, 3
cmp rbx, rcx
jae 0x14001b2f1
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x14001b46a
lea rax, [rbx - 1]
or rax, 1
bsr rcx, rax
inc ecx
mov edi, 1
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.140013008
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov qword [rsp + 0x30], rsi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14001b428
mov rdx, qword [rdx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rcx + 0x10]
xor r8, rax
movabs r10, 0x100000001b3
imul r8, r10
inc r9
cmp r9, 4
jb 0x14001b36e
mov r11, qword [rsi + 0x30]
and r11, r8
add r11, r11
mov rdi, qword [rsi + 0x18]
cmp qword [rdi + r11*8], rbx
jne 0x14001b3ad
mov qword [rdi + r11*8], rcx
mov qword [rdi + r11*8 + 8], rcx
jmp 0x14001b41c
mov rax, qword [rdi + r11*8 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x14001b3f1
mov r8, qword [rax]
cmp r8, rcx
je 0x14001b3a6
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
jmp 0x14001b3a6
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x14001b444
cmp qword [rdi + r11*8], rax
jne 0x14001b3e7
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [rdi + r11*8], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14001b35e
and qword [rsp + 0x30], 0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x14001b41c
lea rcx, str.invalid_hash_bucket_count
call fcn.14003f4e8
int3
Function at 0x14001b554
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r14, r8
mov rbp, rdx
mov rdx, rcx
cmp rbp, r8
je 0x14001b63c
add rcx, 8
mov qword [r11 + 0x18], rcx
mov rax, qword [rcx]
mov qword [rsp + 0x98], rax
mov r15, qword [rdx + 0x18]
mov qword [r11 - 0x60], rcx
mov r13, qword [rbp + 8]
mov qword [r11 - 0x58], r13
mov rdi, rbp
mov qword [r11 - 0x50], rbp
mov rax, qword [rbp + 8]
mov qword [rsp + 0x20], rax
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rbp + 0x10]
xor rsi, rax
imul rsi, r8
inc rcx
cmp rcx, 4
jb 0x14001b5c6
and rsi, qword [rdx + 0x30]
add rsi, rsi
mov r12, qword [r15 + rsi*8]
mov rax, qword [r15 + rsi*8 + 8]
mov qword [rsp + 0xa8], rax
cmp rdi, rax
sete bl
mov rcx, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x38], rdi
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400246c0
mov rdx, qword [rsp + 0xa0]
dec qword [rdx + 8]
test bl, bl
jne 0x14001b650
cmp rdi, r14
mov rax, qword [rsp + 0xa8]
jne 0x14001b5f3
cmp r12, rbp
jne 0x14001b634
mov qword [r15 + rsi*8], rdi
mov qword [r13], rdi
mov qword [rdi + 8], r13
mov rax, r14
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp r12, rbp
jne 0x14001b666
mov rbp, qword [rsp + 0x98]
mov qword [r15 + rsi*8], rbp
mov rax, rbp
jmp 0x14001b66b
mov rax, qword [rsp + 0x20]
mov qword [r15 + rsi*8 + 8], rax
cmp rdi, r14
je 0x14001b634
mov r12, qword [rsp + 0x90]
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
movabs rbp, 0x100000001b3
movzx eax, byte [rdi + rcx + 0x10]
xor rsi, rax
imul rsi, rbp
inc rcx
cmp rcx, 4
jb 0x14001b693
mov rbp, qword [rsp + 0x98]
and rsi, qword [r12 + 0x30]
add rsi, rsi
mov rax, qword [r15 + rsi*8 + 8]
mov qword [rsp + 0xa0], rax
cmp rdi, rax
sete bl
mov rcx, rdi
mov rdi, qword [rdi]
mov qword [rsp + 0x38], rdi
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400246c0
dec qword [r12 + 0x10]
test bl, bl
jne 0x14001b6fc
cmp rdi, r14
je 0x14001b630
mov rax, qword [rsp + 0xa0]
jmp 0x14001b6c5
mov qword [r15 + rsi*8], rbp
mov qword [r15 + rsi*8 + 8], rbp
cmp rdi, r14
je 0x14001b634
jmp 0x14001b67d
Function at 0x14001c364
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r12, rdx
mov r15, rcx
call fcn.14000dac4
mov rcx, rax
xor r13d, r13d
test rax, rax
je 0x14001c567
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rbp + 0x58], rdi
call fcn.14000dac4
mov rcx, rax
test rax, rax
je 0x14001c551
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x50], rbx
lea esi, [r13 + 1]
mov ecx, esi
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
mov r14d, 0x104
sub eax, r14d
or eax, ecx
jge 0x14001c3eb
mov edx, r14d
lea rcx, [rbp + 0x58]
call fcn.14000681c
mov rdi, qword [rbp + 0x58]
mov rdx, rdi
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14d, eax
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.14002d880
test eax, eax
js 0x14001c55c
cmp eax, dword [rdi - 0xc]
jg 0x14001c55c
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
test r14d, r14d
jne 0x14001c43f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14001c501
sub esi, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
mov edx, 0x104
sub eax, edx
or eax, esi
jge 0x14001c45d
lea rcx, [rbp + 0x50]
call fcn.14000681c
mov rbx, qword [rbp + 0x50]
mov r9, rbx
xor r8d, r8d
lea rdx, [0x14005c540]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14002d880
test eax, eax
js 0x14001c55c
cmp eax, dword [rbx - 0xc]
jg 0x14001c55c
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
test edi, edi
je 0x14001c426
lea rdx, str.UTF_8
lea rcx, [rbp - 0x10]
call fcn.1400044f4
nop
mov r8, r12
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x50]
call fcn.14001c574
mov edi, eax
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001c4e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x50]
test edi, edi
js 0x14001c501
mov r9d, 3
lea r8d, [r9 + 2]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.wer.dll_WerReportAddFile]
mov edi, eax
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001c51c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001c53a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000d8a4
nop
mov ecx, 0x80070057
call fcn.14000d8a4
nop
mov ecx, 0x80004005
call fcn.14000d8a4
int3
Function at 0x14001c9c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov r14d, 0x200
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400261f0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14001ca5a
cmp qword [rsp + 0x38], r14
jne 0x14001ca5a
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14001ca45
movsxd rax, dword [rsp + 0x7c]
mov ebx, dword [rsp + rax + 0x48]
jmp 0x14001ca54
mov eax, 0x4550
cmp word [rsp + 0x40], ax
cmove ebx, dword [rsp + 0x48]
mov dword [rsp + 0x30], ebx
jmp 0x14001ca64
xor eax, eax
jmp 0x14001ca66
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140024670
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rdi
pop rsi
ret

Function at 0x14001ca8c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, rdx
mov r14, rcx
xor edi, edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], rdi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x14001cacb
mov edi, 0x80004005
jmp 0x14001cb86
mov r8, rsi
mov r10, qword [rbp - 0x18]
mov rcx, r10
mov r9, qword [rbp - 0x20]
sub rcx, r9
cmp rsi, rcx
jae 0x14001caeb
lea rax, [rsi + r9]
mov qword [rbp - 0x18], rax
jmp 0x14001cb20
jbe 0x14001cb20
mov rax, qword [rbp - 0x10]
sub rax, r9
cmp r8, rax
jbe 0x14001cb07
mov rdx, r8
lea rcx, [rbp - 0x20]
call fcn.14001d110
jmp 0x14001cb1c
sub r8, rcx
lea rbx, [r10 + r8]
xor edx, edx
mov rcx, r10
call fcn.1400261f0
mov qword [rbp - 0x18], rbx
mov r9, qword [rbp - 0x20]
mov r8d, esi
xor edx, edx
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14001cac1
and qword [rbp + 0x48], 0
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x48]
lea rdx, [0x14005bac4]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14001cac1
mov rdx, qword [rbp + 0x48]
movzx eax, word [rdx + 0xc]
movzx ecx, word [rdx + 0xe]
movzx r9d, word [rdx + 8]
movzx r8d, word [rdx + 0xa]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
mov rcx, r15
call fcn.14001d034
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001cbc9
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cbb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cbdf
call fcn.1400246c0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14002928c
int3
Function at 0x14001d31c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140069fc8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
and qword [rcx + 0x18], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rsi, [rdi + 0x20]
mov dword [rsi], eax
mov r8d, 8
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov qword [r8 + rdx], rdi
mov r9d, eax
mov r8, rbx
lea rdx, [0x14001d434]
mov ecx, 4
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14001d3c9
mov qword [rsp + 0x28], rsi
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x14001d500]
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14001d3c9
mov qword [rdi + 0x18], rax
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.14001d2fc
nop
int3

Function at 0x14001dcc8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
lea rsi, [rcx + 0x28]
xor edi, edi
mov rbp, qword [rsi]
mov r14d, edx
mov rbx, rcx
cmp dword [rbp - 8], 1
jle 0x14001dd04
mov edx, dword [rbp - 0x10]
mov rcx, rsi
call fcn.1400066f8
mov rbp, qword [rsi]
cmp qword [rbx], rdi
jne 0x14001dda0
test r14d, r14d
jle 0x14001dda0
mov edx, 0x64
mov rcx, rbp
sub r14d, 0x64
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x14001dd47
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14001dd96
cmp eax, 0x79
je 0x14001dd96
call fcn.14000c460
mov edi, eax
test eax, eax
js 0x14001dda5
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x40000000
mov edx, 0xc0000000
mov rcx, rbp
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001dd93
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x14001dd96
call fcn.14000c460
mov edi, eax
test eax, eax
js 0x14001dda5
mov qword [rbx], rsi
cmp qword [rbx], 0
je 0x14001dd0d
mov eax, dword [rbx]
mov dword [rbx + 0x30], eax
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x14001ddc4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 8], rbx
jne 0x14001de0e
and qword [rsp + 0x28], rbx
lea r9, [rcx + 0x30]
and dword [rsp + 0x20], ebx
lea r8, [0x14001d77c]
xor ecx, ecx
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14001de0e
call fcn.14000c460
mov ebx, eax
test eax, eax
js 0x14001de61
cmp qword [rdi + 0x10], 0
jne 0x14001de61
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x40], rax
lea r9, [rdi + 0x30]
lea rax, [rdi + 0x18]
mov edx, 0x1000
mov qword [rsp + 0x28], rax
lea r8, [0x14001da54]
and dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14001de61
call fcn.14000c460
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14001e27c
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x14001e298
mov eax, 0x80070057
jmp 0x14001e31e
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e2a6
xor eax, eax
jmp 0x14001e31e
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400044f4
nop
lea rcx, [rsp + 0x30]
call fcn.14001fda4
test eax, eax
jne 0x14001e2c9
mov ebx, 0x8007000e
jmp 0x14001e2fc
mov rcx, qword [rsp + 0x30]
call fcn.14001e27c
mov ebx, eax
test eax, eax
jne 0x14001e2fc
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001e2fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001e31c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e7d4
Capabilities:
Check if file exists
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
lea rcx, [rbp + 0x17]
call fcn.14000dba8
nop
xor r8d, r8d
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.14001eecc
mov ebx, eax
test eax, eax
js 0x14001e9a9
lea rdx, [rbp + 0x17]
lea rcx, [0x14006a198]
call fcn.140004474
mov rcx, qword [0x14006a198]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001e849
call fcn.140024278
test al, al
je 0x14001e850
xor ebx, ebx
jmp 0x14001e9a9
lea rdx, str.Software
lea rcx, [rbp + 0x1f]
call fcn.1400044f4
nop
lea rcx, [rbp + 0x3f]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov ebx, eax
test eax, eax
js 0x14001e98a
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0x3f]
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, eax
test eax, eax
js 0x14001e98a
mov rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x1f]
call fcn.14001859c
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x40], 0
lea rax, [rbp + 0x27]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1f]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movsxd rcx, eax
test eax, eax
je 0x14001e8f7
movzx ebx, cx
or ebx, 0x80070000
test eax, eax
cmovle ebx, ecx
jmp 0x14001e98a
mov rcx, qword [rbp + 0x27]
call fcn.14001e520
mov ebx, eax
test eax, eax
jns 0x14001e96e
mov r8b, 1
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.14001eecc
mov ebx, eax
test eax, eax
js 0x14001e98a
lea rdx, [rbp + 0x17]
lea rcx, [0x14006a198]
call fcn.140004474
mov rbx, qword [rbp + 0x27]
mov dl, 1
call fcn.14001e32c
test al, al
je 0x14001e96c
xor r8d, r8d
mov rdx, qword [0x14006a198]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
test eax, eax
je 0x14001e965
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14001e96e
jmp 0x14001e98a
xor edx, edx
call fcn.14001e32c
xor ebx, ebx
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x1f]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop
mov rdx, qword [rbp + 0x1f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e9a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001e9c8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140024670
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret