joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b6b8
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140050900]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rdx
and dword [rsp + 0x30], 0
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001b70e
mov rcx, qword [rdx]
mov rax, qword [rdx + 0x10]
lea r8, [rcx + rax*2]
jb 0x14001b71b
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
call fcn.14001e788
nop
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rbp - 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
mov r8d, 0x82
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x80], 0x6a09e667
mov dword [rbp - 0x7c], 0xbb67ae85
mov dword [rbp - 0x78], 0x3c6ef372
mov dword [rbp - 0x74], 0xa54ff53a
mov dword [rbp - 0x70], 0x510e527f
mov dword [rbp - 0x6c], 0x9b05688c
mov dword [rbp - 0x68], 0x1f83d9ab
mov dword [rbp - 0x64], 0x5be0cd19
and dword [rbp - 0x60], 0
and dword [rbp - 0x5c], 0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8d, 0x24
lea rcx, [rbp - 0x80]
call fcn.140029190
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.1400292b0
xor r9d, r9d
lea r10, [rbp - 0x10]
lea r11, str.0123456789ABCDEF
movzx r8d, byte [r10]
lea edx, [r9 + r9]
mov eax, r8d
shr rax, 4
movzx eax, word [r11 + rax*2]
mov word [rbp + rdx*2 + 0x10], ax
and r8d, 0xf
lea ecx, [rdx + 1]
movzx eax, word [r11 + r8*2]
mov word [rbp + rcx*2 + 0x10], ax
inc r9d
inc r10
cmp r9d, 0x20
jb 0x14001b7d0
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.14000a178
mov dword [rsp + 0x30], 1
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001b827
mov r9, qword [rbx]
mov rcx, rbx
jb 0x14001b82f
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea r8, [rcx + rax*2]
mov rdx, rbx
jb 0x14001b83f
mov rdx, qword [rbx]
mov rax, qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_towlower]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400177fc
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14001b896
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b891
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b891
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002c338
movdqa xmm0, xmmword [0x1400420a0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rcx, rdi
call fcn.14000a110
mov rax, rbx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002c310
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140022a70
Capabilities:
Read http header
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, rdx
mov dword [rax + 8], 4
xor ebx, ebx
xor edx, edx
mov dword [r8], ebx
mov rdi, r8
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140022ac5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
jmp 0x140022b0c
mov rcx, qword [rsi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x20000013
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140022b0a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
mov ebx, 0x80004005
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovs ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140023154
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rdx
xor edi, edi
mov dword [rax - 0x48], edi
lea rdx, [0x140032d8c]
mov rcx, rbx
call fcn.14000a178
mov dword [rsp + 0x20], 1
xor edx, edx
lea r8d, [rdi + 0x30]
lea rcx, [rsp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
test ax, ax
jne 0x1400231b9
lea rdx, [0x14003e0e8]
jmp 0x1400231c6
cmp ax, 9
jne 0x1400231ce
lea rdx, str.amd64
mov rcx, rbx
call fcn.14000c040
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400231db
mov r8, qword [rbx]
lea rdx, str.Found_OS_architecture:__s
xor ecx, ecx
call fcn.140009844
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140027674
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 [0x140050900]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x6c], esi
movdqa xmm0, xmmword [0x140042090]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
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]
test eax, eax
jne 0x140027742
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
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.140009844
test ebx, ebx
jns 0x140027742
mov rcx, qword [rbp + 0x208]
mov r9d, ebx
lea r8, str.onecoreenduserupgradeenablersdssdsslibraryunenrollmentexecutor.cpp
mov edx, 0x83
call fcn.140003e64
jmp 0x14002784b
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.14000bfac
lea rdx, [0x140032d80]
lea rcx, [rbp - 0x58]
call fcn.14000bfac
lea rdx, str.msiexec.exe
lea rcx, [rbp - 0x58]
call fcn.14000bfac
lea rdx, str.__x
lea rcx, [rbp - 0x78]
call fcn.14000bfac
cmp qword [rdi + 0x18], 8
jb 0x140027789
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000bfac
lea rdx, str.__qn
lea rcx, [rbp - 0x78]
call fcn.14000bfac
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, [0x14003fc28]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], sil
lea rdx, [rbp - 0x38]
call fcn.140018018
movups xmm0, xmmword [rbp - 0x38]
movdqu xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14002bb60
mov ebx, eax
test eax, eax
je 0x140027840
mov r8d, eax
lea rdx, str.Error_creating_removal_task__0x_08x.
mov ecx, eax
call fcn.140009844
nop
lea rcx, [rsp + 0x28]
call fcn.14002a77c
nop
lea rcx, [rbp - 0x78]
call fcn.14000a110
nop
lea rcx, [rbp - 0x58]
call fcn.14000a110
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002c310
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 0x140027b64
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x7f90]
mov eax, 0x8090
call fcn.14002d600
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 [0x140050900]
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]
test eax, eax
je 0x140027c2f
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.140009624
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140027c28
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x140027d2e
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]
test eax, eax
je 0x140027c7c
lea rdx, str.Failed_to_examine_key__s
jmp 0x140027bff
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140027d1b
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]
test eax, eax
je 0x140027cc8
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x140027c8b
jmp 0x140027d1b
mov r14d, r15d
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x140027cd3
cmp rdx, qword [rdi + 0x18]
ja 0x140027d0e
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x140027cf0
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 0x140027d1b
lea r9, [rbp - 0x80]
mov rcx, rdi
call fcn.14000d0b4
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140027d2b
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x7f80]
xor rcx, rsp
call fcn.14002c310
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 0x1400282f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
xor ebx, ebx
mov rdi, r8
mov rsi, rcx
test rdx, rdx
jne 0x140028328
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140009f60
jmp 0x140028378
test rdi, rdi
je 0x14002831a
mov byte [rcx], bl
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140028378
and qword [rsp + 0x28], rbx
xor r9d, r9d
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
and qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140028378
mov byte [rsi], 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140028388
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400283a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x40
and qword [r11 - 0x18], 0
mov rbx, r9
mov dword [rsp + 0x58], 4
mov rax, r8
mov rdi, rcx
test rcx, rcx
je 0x14002846a
test rax, rax
je 0x14002846a
test rbx, rbx
je 0x14002846a
lea rcx, [r11 - 0x18]
mov r9d, 0x20019
mov qword [r11 - 0x28], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140028424
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
je 0x140028424
mov ecx, edx
jmp 0x140028471
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]
test eax, eax
jne 0x140028451
xor edx, edx
jmp 0x140028463
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
jne 0x140028420
cmp dword [rsp + 0x50], 4
je 0x140028476
mov ecx, 0x80070057
mov edx, ecx
call fcn.140009f60
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
cmp edx, 0x80070002
cmovne ebx, edx
test rcx, rcx
je 0x140028491
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009f80
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400284ac
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
lea rbx, [rcx + 0x10]
mov r15, r9
mov qword [rbp - 8], r12
mov r10, r8
mov qword [rbx], r12
mov rsi, rcx
mov rax, rcx
jb 0x1400284f5
mov rax, qword [rcx]
mov word [rax], r12w
mov r9d, 0x20019
lea rax, [rbp - 8]
xor r8d, r8d
mov rdx, r10
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140028535
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140028648
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, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14002862d
mov eax, dword [rbp - 0x10]
dec eax
cmp eax, 1
jbe 0x14002857c
mov ecx, 0x80070057
mov edi, ecx
jmp 0x14002864a
mov ecx, dword [rbp + 0x30]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002d558
mov rcx, qword [rbp - 8]
lea r9, [rbp - 0x10]
mov r14, rax
xor r8d, r8d
lea rax, [rbp + 0x30]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400285cb
mov edi, r12d
jmp 0x1400285dd
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x140028648
cmp dword [rbp + 0x30], 2
jbe 0x140028570
mov edx, dword [rbp + 0x30]
shr rdx, 1
dec rdx
cmp rdx, qword [rsi + 0x18]
ja 0x140028618
cmp qword [rsi + 0x18], 8
jb 0x1400285fc
mov rsi, qword [rsi]
mov qword [rbx], rdx
mov rcx, rsi
lea rbx, [rdx + rdx]
mov rdx, r14
mov r8, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rsi], r12w
jmp 0x140028623
mov r9, r14
mov rcx, rsi
call fcn.14000d0b4
mov rcx, r14
call fcn.14002c338
jmp 0x14002864f
test eax, eax
jne 0x140028636
mov edi, r12d
jmp 0x14002864f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14002864f
mov ecx, edi
call fcn.140009f60
mov ecx, edi
call fcn.140009f80
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 0x140028a18
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov rdx, r8
lea r9, [r8 + 4]
cmp r9, r8
sbb r8, r8
not r8
and r8d, 4
cmp rdx, r9
ja 0x140028a87
movzx ecx, byte [rdx]
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r8
jne 0x140028a65
mov r8, qword [rsi + 0x30]
and r8, rax
mov rdi, qword [rsi + 8]
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rcx + rax*8]
cmp rdi, rdx
je 0x140028af4
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rdx
je 0x140028af4
mov rdi, qword [rdi + 8]
mov eax, dword [rdi + 0x10]
cmp dword [r10], eax
jne 0x140028aad
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.14002c338
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140028c1c
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140028b31
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140028b51
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140028b80
cmp rax, rdi
jne 0x140028b5c
mov qword [rdx + r8*8], rbx
jmp 0x140028b80
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140028b80
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14004208c]
test rax, rax
jns 0x140028ba1
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140028bb2
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140028c11
cmp rdx, 0x200
jae 0x140028bca
shl rdx, 3
jmp 0x140028bdc
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140028bdc
add rdx, rdx
mov rcx, rsi
call fcn.14000b884
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140028c11
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140028a18
cmp rdi, r15
jne 0x140028bf1
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140028c94
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r11, [r8 + 0x10]
mov rsi, rdx
lea r9, [r11 + 4]
mov r10, rcx
cmp r9, r11
movabs rax, 0xcbf29ce484222325
mov rdi, r11
sbb rbx, rbx
not rbx
and ebx, 4
cmp r11, r9
ja 0x140028cf1
movzx ecx, byte [rdi]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rdi
mov rcx, rdi
sub rcx, r11
imul rax, rdx
cmp rcx, rbx
jne 0x140028ccf
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140028d29
cmp qword [rcx + rdx*8], r8
jne 0x140028d1e
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140028d22
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140028d36
cmp qword [rcx + rdx*8], r8
jne 0x140028d36
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.14002c338
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400292b0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140050900]
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.140029190
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.14002c310
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x14002a028
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140050900]
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_1_0.dll_GetModuleFileNameW]
test eax, eax
je 0x14002a133
mov edx, 0x105
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
mov edi, eax
test eax, eax
jns 0x14002a0b8
mov edx, 0x249
mov rcx, qword [rsp + 0x248]
lea r8, str.onecoreenduserupgradeenablers_shellhelpers_servicehelpers.cpp
mov r9d, edi
call fcn.140003e64
mov eax, edi
jmp 0x14002a138
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]
mov edi, eax
test eax, eax
jns 0x14002a0dd
mov edx, 0x24a
jmp 0x14002a09a
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
je 0x14002a118
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c040
cmp qword [rbx + 0x18], 8
jb 0x14002a103
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Found_existing_DLL:__s
xor ecx, ecx
call fcn.140009844
xor eax, eax
jmp 0x14002a138
cmp qword [rbx + 0x18], 8
jb 0x14002a122
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Cound_not_find_DLL:__s
xor ecx, ecx
call fcn.140009844
mov eax, 2
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14002c310
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret