joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e2e8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x208]
sub rsp, 0x300
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x6c], esi
mov qword [rbp - 0x58], rsi
movdqa xmm0, xmmword [0x14004ae40]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
mov qword [rbp - 0x78], rsi
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov dword [rsp + 0x20], esi
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14002e3c5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmove ebx, eax
mov r8d, ebx
lea rdx, str.Error_retrieving_Windows_system_directoryhr__0x_08x.
mov ecx, ebx
call fcn.14000c770
test ebx, ebx
jns 0x14002e3c5
mov rcx, qword [rbp + 0x208]
mov r9d, ebx
lea r8, str.onecoreenduserupgradeenablersdssdsslibraryunenrollmentexecutor.cpp
lea edx, [rsi + 0x73]
call fcn.140006358
jmp 0x14002e4ce
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.14000d19c
lea rdx, [0x140039f98]
lea rcx, [rbp - 0x58]
call fcn.14000d19c
lea rdx, str.msiexec.exe
lea rcx, [rbp - 0x58]
call fcn.14000d19c
lea rdx, str.__x
lea rcx, [rbp - 0x78]
call fcn.14000d19c
cmp qword [rdi + 0x18], 8
jb 0x14002e40c
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000d19c
lea rdx, str.__qn
lea rcx, [rbp - 0x78]
call fcn.14000d19c
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], esi
lea rax, str.Uninstall_dss_client
mov qword [rsp + 0x58], rax
lea rax, str.MicrosoftWindows
mov qword [rsp + 0x50], rax
lea rax, [0x140048f00]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], sil
lea rdx, [rbp - 0x38]
call fcn.14001c6b0
movups xmm0, xmmword [rbp - 0x38]
movdqu xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400331f0
mov ebx, eax
test eax, eax
je 0x14002e4c3
mov r8d, eax
lea rdx, str.Error_creating_removal_task__0x_08x.
mov ecx, eax
call fcn.14000c770
nop
lea rcx, [rsp + 0x28]
call fcn.14003195c
nop
lea rcx, [rbp - 0x78]
call fcn.14000d240
nop
lea rcx, [rbp - 0x58]
call fcn.14000d240
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400339f0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002e7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x7f90]
mov eax, 0x8090
call fcn.140034d70
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x80b8], rbx
mov qword [rsp + 0x80c0], rsi
mov qword [rsp + 0x80c8], rdi
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rbp + 0x7f80], rax
mov rdi, rcx
mov r14d, 0x80004005
mov dword [rsp + 0x6c], 0x3fff
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rsi, str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingVersion
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14002e877
lea rdx, str.Failed_to_open_registry_key__s
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
mov r8, rsi
cmovle ebx, eax
mov ecx, ebx
call fcn.14000c5f4
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002e870
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14002e98b
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
je 0x14002e8cd
lea rdx, str.Failed_to_examine_key__s
jmp 0x14002e841
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14002e972
mov ebx, r15d
mov word [rbp - 0x80], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x80]
mov edx, ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x14002e91f
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x14002e8dc
jmp 0x14002e972
mov r14d, r15d
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x14002e92a
cmp rdx, qword [rdi + 0x18]
ja 0x14002e965
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002e947
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rsi], r15w
jmp 0x14002e972
lea r9, [rbp - 0x80]
mov rcx, rdi
call fcn.140010304
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002e988
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, r14d
mov rcx, qword [rbp + 0x7f80]
xor rcx, rsp
call fcn.1400339f0
lea r11, [rsp + 0x8090]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002ef6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rbx, r9
mov dword [rsp + 0x58], 4
mov rax, r8
mov rdi, rcx
test rcx, rcx
jne 0x14002efa3
mov ecx, 0x80070057
mov edx, ecx
jmp 0x14002f024
test rax, rax
je 0x14002ef97
test rbx, rbx
je 0x14002ef97
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f014
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f014
xor edx, edx
cmp dword [rsp + 0x50], 4
je 0x14002f029
jmp 0x14002ef97
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov ecx, edx
call fcn.14000d0b0
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
cmp edx, 0x80070002
cmovne ebx, edx
test rcx, rcx
je 0x14002f04a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call fcn.14000cfd4
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002f068
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r12d, r12d
mov dword [rbp + 0x30], 2
cmp qword [rcx + 0x18], 8
mov rbx, r9
mov r10, r8
mov qword [rbp - 8], r12
mov rsi, rcx
mov rax, rcx
jb 0x14002f0aa
mov rax, qword [rcx]
lea r15, [rcx + 0x10]
mov r9d, 0x20019
mov qword [r15], r12
xor r8d, r8d
mov word [rax], r12w
mov rdx, r10
lea rax, [rbp - 8]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f1de
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea rax, [rbp + 0x38]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x14002f1d5
mov eax, dword [rbp - 0x10]
dec eax
cmp eax, 1
jbe 0x14002f132
mov ecx, 0x80070057
mov edi, ecx
jmp 0x14002f1ee
mov ecx, dword [rbp + 0x30]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140034cc0
mov rcx, qword [rbp - 8]
lea r9, [rbp - 0x10]
mov r14, rax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov rdx, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f1de
cmp dword [rbp + 0x30], 2
mov edi, r12d
jbe 0x14002f126
mov edx, dword [rbp + 0x30]
shr rdx, 1
dec rdx
cmp rdx, qword [rsi + 0x18]
ja 0x14002f1c0
cmp qword [rsi + 0x18], 8
jb 0x14002f1a4
mov rsi, qword [rsi]
lea rbx, [rdx + rdx]
mov qword [r15], rdx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rsi], r12w
jmp 0x14002f1cb
mov r9, r14
mov rcx, rsi
call fcn.140010304
mov rcx, r14
call fcn.140033a14
jmp 0x14002f1f3
test eax, eax
jne 0x14002f1de
mov edi, r12d
jmp 0x14002f1f3
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000d0b0
mov ecx, edi
call fcn.14000cfd4
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14002f8b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [0x14005b710]
xorps xmm0, xmm0
add rcx, 1
js 0x14002f8d6
cvtsi2ss xmm0, rcx
jmp 0x14002f8eb
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x14005b700]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_ceilf
movss xmm1, dword [0x14004ae3c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14002f91d
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14002f91d
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x14005b738]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x14002f952
cmp rdx, 0x200
jae 0x14002f94f
shl rdx, 3
cmp rdx, rcx
jae 0x14002f952
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x14002fadb
mov rbx, qword [0x14005b708]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14005b718]
lea rdx, [rdi + rdi]
call fcn.14000ee88
mov rax, qword [0x14005b708]
lea r9, [rdi - 1]
mov qword [0x14005b730], r9
mov qword [0x14005b738], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14002fabf
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x14002f9d9
mov rdi, qword [0x14005b718]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14002fa17
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14002fa85
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x14002fa5a
mov r10, qword [r10]
cmp r10, rax
je 0x14002fa10
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14002fa10
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14002fa99
cmp qword [rdi + r11*8], r10
jne 0x14002fa50
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x14002fabf
mov r9, qword [0x14005b730]
jmp 0x14002f9c9
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14002fa85
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14002faf0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140011b38
int3
Function at 0x14002fbb4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, r8
mov rbp, rdx
mov r13, rcx
cmp rdx, r8
je 0x14002fc68
mov rax, qword [rcx + 8]
mov rdi, rdx
mov r12, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x68], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + rbp + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x14002fc04
and r15, qword [r13 + 0x30]
add r15, r15
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x70], rax
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x78], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x20
call fcn.140034098
dec qword [r13 + 0x10]
cmp rbx, qword [rsp + 0x78]
je 0x14002fc81
cmp rdi, rsi
jne 0x14002fc33
cmp qword [rsp + 0x70], rbp
jne 0x14002fc61
mov qword [r12 + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
mov rbx, qword [rsp + 0x60]
mov rax, rsi
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rsp + 0x70], rbp
jne 0x14002fc96
mov rbp, qword [rsp + 0x68]
mov qword [r12 + r15*8], rbp
mov rax, rbp
jmp 0x14002fc99
mov rax, r14
mov qword [r12 + r15*8 + 8], rax
cmp rdi, rsi
je 0x14002fc61
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs rbp, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, rbp
cmp rdx, 4
jb 0x14002fcb9
mov r15, qword [r13 + 0x30]
mov rbp, qword [rsp + 0x68]
and r15, rcx
add r15, r15
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x70], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x20
call fcn.140034098
dec qword [r13 + 0x10]
cmp rbx, qword [rsp + 0x70]
je 0x14002fd10
cmp rdi, rsi
je 0x14002fc5d
jmp 0x14002fce7
mov qword [r12 + r15*8], rbp
mov qword [r12 + r15*8 + 8], rbp
jmp 0x14002fc9e
Function at 0x140030300
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov ebx, dword [rcx + 0x24]
mov edi, 0x40
mov eax, ebx
mov rsi, rdx
and eax, 0x3f
mov r14, rcx
sub edi, eax
lea rcx, [rsp + 0x20]
cmp edi, 8
lea eax, [rdi + 0x40]
cmova eax, edi
xor edx, edx
mov edi, eax
lea r8d, [rax - 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [r14 + 0x20]
lea rdx, [rsp + 0x20]
shl ecx, 3
mov eax, ebx
shr eax, 0x1d
mov r8d, edi
or ecx, eax
mov byte [rsp + 0x20], 0x80
bswap ecx
lea eax, [rbx*8]
mov dword [rsp + rdi + 0x18], ecx
bswap eax
mov rcx, r14
mov dword [rsp + rdi + 0x1c], eax
call fcn.1400301e0
mov eax, dword [r14]
lea rdi, [r14 + 0x28]
bswap eax
mov dword [rsi], eax
mov ecx, 0x40
mov eax, dword [r14 + 4]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [r14 + 8]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [r14 + 0xc]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [r14 + 0x10]
bswap eax
mov dword [rsi + 0x10], eax
mov eax, dword [r14 + 0x14]
bswap eax
mov dword [rsi + 0x14], eax
mov eax, dword [r14 + 0x18]
bswap eax
mov dword [rsi + 0x18], eax
mov eax, dword [r14 + 0x1c]
bswap eax
mov dword [rsi + 0x1c], eax
xor eax, eax
mov dword [r14 + 0x24], eax
mov dword [r14], 0x6a09e667
mov dword [r14 + 4], 0xbb67ae85
mov dword [r14 + 8], 0x3c6ef372
mov dword [r14 + 0xc], 0xa54ff53a
mov dword [r14 + 0x10], 0x510e527f
mov dword [r14 + 0x14], 0x9b05688c
mov dword [r14 + 0x18], 0x1f83d9ab
mov qword [r14 + 0x1c], 0x5be0cd19
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400339f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x1400311cc
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
je 0x1400312ef
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x140031268
mov edx, 0x267
mov rcx, qword [rsp + 0x248]
lea r8, str.onecoreenduserupgradeenablers_shellhelpers_servicehelpers.cpp
mov r9d, edi
call fcn.140006358
mov eax, edi
jmp 0x1400312f4
mov r9, rsi
lea r8, [rsp + 0x20]
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombine]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x140031293
mov edx, 0x268
jmp 0x14003124a
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x1400312d4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000f504
cmp qword [rbx + 0x18], 8
jb 0x1400312bf
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Found_existing_DLL:__s
xor ecx, ecx
call fcn.14000c770
xor eax, eax
jmp 0x1400312f4
cmp qword [rbx + 0x18], 8
jb 0x1400312de
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Cound_not_find_DLL:__s
xor ecx, ecx
call fcn.14000c770
mov eax, 2
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400339f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14003174c
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov r14, r9
mov qword [rsp + 0x28], rbx
mov r15, r8
mov r12, rdx
mov rbp, rcx
test rcx, rcx
jne 0x14003178b
mov ecx, 0x80070057
mov edi, ecx
call fcn.14000d0b0
jmp 0x140031877
test r12, r12
je 0x14003177a
test r15, r15
je 0x14003177a
test r14, r14
je 0x14003177a
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x14003177a
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoSizeW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1400317e0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x1400317e0
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
jmp 0x140031781
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1400318a8
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x1400317fe
mov edi, 0x8007000e
jmp 0x1400317dc
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x140031830
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x1400317ce
mov edi, 0x80004005
jmp 0x1400317dc
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [0x140039f98]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
je 0x140031819
mov rcx, qword [rsp + 0x30]
xor edi, edi
movzx eax, word [rcx + 0xa]
mov dword [r12], eax
movzx eax, word [rcx + 8]
mov dword [r15], eax
movzx eax, word [rcx + 0xe]
mov dword [r14], eax
movzx eax, word [rcx + 0xc]
mov dword [rsi], eax
mov ecx, edi
call fcn.14000cfd4
mov rcx, rbx
call fcn.140033a14
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140031dd0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rsi, rdx
lea rcx, [rsp + 0x74]
xor edx, edx
mov rdi, r8
lea r8d, [rdx + 0x64]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, str.ExecuteCommandLine:_started
xor ecx, ecx
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x58], xmm0
call fcn.14000c770
test rdi, rdi
jne 0x140031e49
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14000d0b0
jmp 0x140031f4b
mov r9, rsi
lea r8, [0x140049d78]
mov edx, 0x400
lea rcx, [rbp - 0x20]
call fcn.1400047f0
mov ebx, eax
test eax, eax
jns 0x140031e6b
mov ecx, eax
jmp 0x140031e3f
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000020
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x140031ee7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140031e3d
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
jne 0x140031f45
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
lea rdx, str.ExecuteCommandLine:_Failed_to_get_process_information
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.14000c5f4
mov ebx, eax
test eax, eax
js 0x140031e67
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140031f62
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x140031f79
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
jne 0x140031f81
cmp dword [rdi], ebx
je 0x140031f92
mov r8, rsi
lea rdx, str.ExecuteCommandLine:_There_was_a_problem_executing_the_command_line__s
mov ecx, ebx
call fcn.14000c5f4
lea rdx, str.ExecuteCommandLine:_ended
mov ecx, ebx
call fcn.14000c770
mov ecx, ebx
call fcn.14000cfd4
mov eax, ebx
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400339f0
mov rbx, qword [rsp + 0x910]
add rsp, 0x8f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400343ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140034436
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140034436
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140034436
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140034436
cmp dword [rcx + 0x84], 0xe
jbe 0x140034436
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140034438
xor al, al
add rsp, 0x28
ret