joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012fe4
Capabilities:
Set http header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400363c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
xor esi, esi
mov qword [rbp - 0x39], rsi
lea rdx, [rbp - 0x39]
call fcn.14001a024
mov ebx, eax
test eax, eax
jns 0x14001303c
lea rdx, str.Failed_to_get_MSA_ticket
mov ecx, eax
call fcn.14000dff8
mov ebx, esi
jmp 0x14001316e
lea rdx, str.Finish_get_MSA_ticket
xor ecx, ecx
call fcn.14000dff8
xor edx, edx
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
movdqa xmm0, xmmword [0x14002b1a0]
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], si
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140009b18
nop
movdqa xmm0, xmmword [0x14002b1a0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], si
lea rdx, str.Authorization:_MsaToken
lea rcx, [rbp - 0x29]
call fcn.140009b18
nop
mov rax, qword [rbp - 0x11]
mov r9, qword [rbp - 0x19]
sub rax, r9
cmp qword [rbp + 0x27], rax
jbe 0x1400130cd
mov rax, qword [rbp + 0x2f]
sub rax, qword [rbp + 0x27]
cmp rax, r9
jb 0x1400130cd
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.140014db8
jmp 0x1400130da
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.140014ca8
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp - 0x29]
call fcn.140009aa4
nop
lea rcx, [rbp + 0x17]
call fcn.140009aa4
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rcx, qword [rdi]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140013164
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 ebx, 0x80004005
test ecx, ecx
cmovs ebx, ecx
lea rdx, str.Failed_to_add_MSA_token_header_to_request
mov ecx, ebx
call fcn.14000dde0
lea rcx, [rbp - 9]
call fcn.140009aa4
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14001317d
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001f510
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001403c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

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 r12
push r14
push r15
cmp qword [r8 + 0x18], 8
mov rdi, rdx
mov r11, qword [r8 + 0x10]
mov rbx, rcx
mov r10, r8
jb 0x14001406c
mov r10, qword [r8]
lea rdx, [r11 + r11]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x14001409f
movzx eax, byte [rcx + r10]
movabs rsi, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rsi
cmp rcx, rdx
jb 0x140014081
mov rcx, qword [rbx + 0x30]
mov r15, qword [rbx + 0x18]
and rcx, r9
mov r10, qword [rbx + 8]
mov rax, rcx
add rax, rax
lea r12, [rcx + rcx]
mov rax, qword [r15 + rax*8]
cmp qword [r15 + r12*8], r10
jne 0x1400140c7
mov rcx, r10
jmp 0x1400140cf
mov rcx, qword [r15 + r12*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14001418c
cmp qword [r8 + 0x18], 8
lea rcx, [rax + 0x10]
mov rdx, r8
jb 0x1400140e9
mov rdx, qword [r8]
mov r14, qword [rcx + 0x18]
mov r9, rcx
cmp r14, 8
jb 0x1400140f9
mov r9, qword [rcx]
mov rbp, qword [rcx + 0x10]
cmp rbp, r11
jne 0x14001412a
mov rsi, rbp
test rbp, rbp
je 0x140014124
sub r9, rdx
movzx ecx, word [rdx + r9]
movzx ebx, word [rdx]
cmp cx, bx
jne 0x14001412f
add rdx, 2
sub rsi, 1
jne 0x14001410d
xor ecx, ecx
test ecx, ecx
je 0x140014138
mov rax, qword [rax]
jmp 0x1400140bc
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140014126
lea rcx, [rax + 0x10]
cmp r14, 8
jb 0x140014145
mov rcx, qword [rcx]
cmp qword [r8 + 0x18], 8
jb 0x14001414f
mov r8, qword [r8]
cmp r11, rbp
jne 0x14001417b
test r11, r11
je 0x140014175
sub r8, rcx
movzx edx, word [rcx + r8]
movzx r9d, word [rcx]
cmp dx, r9w
jne 0x140014183
add rcx, 2
sub r11, 1
jne 0x14001415c
xor ecx, ecx
test ecx, ecx
je 0x14001417e
mov rax, r10
mov qword [rdi], rax
jmp 0x14001418f
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x140014177
mov qword [rdi], r10
mov rbx, qword [rsp + 0x20]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r15
pop r14
pop r12
ret
Function at 0x140014224
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push r14
sub rsp, 0x40
and qword [rax - 0x10], 0
mov r14, r9
lea r9, [rax - 0x10]
mov rcx, 0xffffffff80000002
mov rbp, r8
xor ebx, ebx
call fcn.1400145b0
mov esi, eax
test eax, eax
jns 0x140014267
mov ecx, eax
jmp 0x14001431c
and dword [rsp + 0x50], ebx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x1400142a6
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400142d6
test rbx, rbx
jne 0x1400142e1
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400142da
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14001426b
mov esi, 0x8007000e
mov ecx, esi
jmp 0x14001431c
mov esi, 0x8000ffff
jmp 0x1400142d6
cmp dword [rsp + 0x30], 4
je 0x1400142ef
mov esi, 0x8007000d
jmp 0x1400142d6
xor ebp, ebp
cmp dword [rsp + 0x50], 4
je 0x140014308
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.14000e70c
jmp 0x14001430d
mov eax, dword [rbx]
mov dword [r14], eax
mov ecx, ebp
call fcn.14000e728
mov esi, ebp
test ebp, ebp
jns 0x140014321
mov ecx, ebp
call fcn.14000e70c
mov ecx, esi
call fcn.14000e728
test rbx, rbx
je 0x140014341
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x38], 0
je 0x140014354
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x1400154d4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x140015507
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x140015536
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x140015518
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14001556e
cmp qword [rcx + rdx*8], rdi
jne 0x140015563
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140015567
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001557b
cmp qword [rcx + rdx*8], rdi
jne 0x14001557b
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x20]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.140009aa4
mov rcx, rsi
call fcn.140009aa4
mov rcx, rdi
call fcn.14001f4f4
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x140017b84
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
lea rdx, str.SoftwareMicrosoftWindowsupdateux_settings
mov rsi, r9
mov rcx, 0xffffffff80000002
lea r9, [rax - 0x18]
mov rbp, r8
call fcn.1400145b0
mov edi, eax
test eax, eax
jns 0x140017bcd
mov ecx, eax
call fcn.14000e70c
jmp 0x140017c1b
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
je 0x140017c14
cmp eax, 2
je 0x140017c19
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140017c19
mov ecx, edi
jmp 0x140017bc6
mov ecx, 1
mov dword [rsi], ecx
mov ecx, edi
call fcn.14000e728
cmp qword [rsp + 0x30], 0
je 0x140017c35
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbp, qword [rsp + 0x60]
mov eax, edi
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140017c48
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x30
and qword [r11 + 0x20], 0
lea rax, [r11 + 0x20]
mov rbx, rcx
mov byte [rcx], 0
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x18], rax
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017cb3
and qword [rsp + 0x28], 0
lea rdx, [0x14002ad18]
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140017cb3
mov byte [rbx], 1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017cc3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor ecx, ecx
call fcn.14000e728
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140017d28
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rsi, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov rdx, rcx
jb 0x140017d50
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
mov edi, eax
jb 0x140017d7f
mov rdx, qword [rsi]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test edi, edi
jne 0x140017da9
test eax, eax
jne 0x140017da9
mov dil, 1
jmp 0x140017dac
xor dil, dil
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140017db9
mov r8, qword [rbx]
lea rax, str.exists
test dil, dil
lea r9, str.does_not_exist
cmovne r9, rax
lea rdx, str._s_registry_key__s
xor ecx, ecx
call fcn.14000dff8
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140017dec
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, rbx
call fcn.140009aa4
mov rcx, rsi
call fcn.140009aa4
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140017e10
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
and qword [rsp + 0x40], 0
mov rdi, rdx
cmp qword [rcx + 0x18], 8
jb 0x140017e32
mov rcx, qword [rcx]
lea rax, [rsp + 0x40]
mov rdx, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140017e6b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140017eb5
cmp qword [rdi + 0x18], 8
jb 0x140017e75
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x140017ea3
xor ebx, ebx
jmp 0x140017ebc
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140017ebc
mov ecx, ebx
call fcn.14000e70c
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140017ecc
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.14000e728
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140017ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, r9
mov dword [rax + 8], 4
lea rax, [rax - 0x18]
mov rsi, r8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140017f3b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x140017f78
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140017f66
xor ebx, ebx
jmp 0x140017f7f
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140017f7f
mov ecx, ebx
call fcn.14000e70c
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140017f8f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.14000e728
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400196b4
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400363c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
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 0x1400197bb
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 0x14001973c
mov edx, 0x20d
mov rcx, qword [rsp + 0x248]
lea r8, str.onecoreenduserupgradeenablers_shellhelpers_servicehelpers.cpp
mov r9d, edi
call fcn.140006f80
mov eax, edi
jmp 0x1400197c0
lea r9, str.cuassistant.dll
mov edx, 0x105
lea r8, [rsp + 0x20]
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 0x140019765
mov edx, 0x20e
jmp 0x14001971e
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
je 0x1400197a0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140009b18
cmp qword [rbx + 0x18], 8
jb 0x14001978b
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Found_existing_DLL:__s
xor ecx, ecx
call fcn.14000dff8
xor eax, eax
jmp 0x1400197c0
cmp qword [rbx + 0x18], 8
jb 0x1400197aa
mov rbx, qword [rbx]
mov r8, rbx
lea rdx, str.Cound_not_find_DLL:__s
xor ecx, ecx
call fcn.14000dff8
mov eax, 2
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001f510
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x140019c00
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
xor edi, edi
mov qword [rsp + 0x20], rbx
mov r12, r9
mov r13, r8
mov rsi, rdx
test rdx, rdx
jne 0x140019c41
mov ecx, 0x80070057
mov edi, ecx
call fcn.14000e70c
jmp 0x140019d32
test r13, r13
je 0x140019c30
test r12, r12
je 0x140019c30
mov r14, qword [rsp + 0x90]
test r14, r14
je 0x140019c30
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x140019c30
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test eax, eax
jne 0x140019c99
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
je 0x140019c99
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140019c99
mov ecx, edi
jmp 0x140019c37
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140019d5c
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x140019cb7
mov edi, 0x8007000e
jmp 0x140019c95
mov r9, rbx
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140019ced
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x140019cdd
mov edi, 0x80004005
jmp 0x140019c95
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140019c95
lea r9, [rsp + 0x78]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, [0x140025854]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x140019ccc
mov r8, qword [rsp + 0x28]
movzx edx, word [r8 + 0xa]
mov dword [r13], edx
movzx edx, word [r8 + 8]
mov dword [r12], edx
movzx edx, word [r8 + 0xe]
mov dword [r14], edx
movzx edx, word [r8 + 0xc]
mov dword [r15], edx
mov ecx, edi
call fcn.14000e728
mov rcx, rbx
call fcn.14001fbf0
mov rbx, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001ddb4
Capabilities:
Extract resource via kernel32 functions

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, 0x20
mov eax, edx
mov rsi, r9
xor r9d, r9d
shr eax, 4
mov edi, edx
mov rbp, rcx
lea r14d, [r9 + 1]
add ax, r14w
lea edx, [r9 + 6]
movzx r8d, ax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_FindResourceExW]
xor ebx, ebx
test rax, rax
je 0x14001de73
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_LoadResource]
test rax, rax
je 0x14001de73
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_LockResource]
mov rdx, rax
test rax, rax
je 0x14001de6c
and edi, 0xf
jbe 0x14001de32
mov eax, edi
movzx ecx, word [rdx]
add ecx, r14d
lea rdx, [rdx + rcx*2]
sub rax, r14
jne 0x14001de23
test rsi, rsi
je 0x14001de5a
movzx r8d, word [rdx]
add rdx, 2
movzx eax, r8w
neg ax
mov rax, qword [rsp + 0x50]
sbb rcx, rcx
and rcx, rdx
mov qword [rsi], rcx
mov word [rax], r8w
jmp 0x14001dea8
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001dea8
movzx eax, word [rdx]
mov word [rcx], ax
jmp 0x14001dea8
mov ebx, 0x80004005
jmp 0x14001dea8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
cmove eax, r14d
test eax, eax
jg 0x14001de93
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
cmove eax, r14d
mov ebx, eax
jmp 0x14001dea8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
cmove eax, r14d
movzx ebx, ax
or ebx, 0x80070000
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001e28c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r10]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x14001e2c2
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rdi, qword [rsi + 8]
add r8, r8
mov rax, qword [rsi + 0x18]
cmp rdi, qword [rax + r8*8]
je 0x14001e34d
mov rdi, qword [rax + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rax + r8*8]
je 0x14001e34d
mov ecx, dword [r10]
mov rdi, qword [rdi + 8]
cmp ecx, dword [rdi + 0x10]
je 0x14001e31b
cmp rdi, qword [rax + r8*8]
jne 0x14001e30a
jmp 0x14001e34d
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 rcx, rbx
call fcn.14001f4f4
mov rax, qword [rsp + 0x78]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x14001e47b
mov qword [rsp + 0x28], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14001e387
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
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14001e3a4
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14001e3d3
cmp rax, rdi
jne 0x14001e3af
mov qword [rdx + r8*8], rbx
jmp 0x14001e3d3
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14001e3d3
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 [0x14002b194]
test rax, rax
jns 0x14001e3f4
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14001e405
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14001e470
cmp rdx, 0x200
jae 0x14001e41d
shl rdx, 3
jmp 0x14001e42f
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14001e42f
add rdx, rdx
mov rcx, rsi
call fcn.140014518
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14001e46b
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14001e28c
cmp rdi, qword [rsp + 0x20]
jne 0x14001e449
mov r9, qword [rsp + 0x78]
mov qword [r9], rbx
mov byte [r9 + 8], 1
mov rax, r9
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001e4d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x14001e4f5
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14001e54d
cmp qword [rcx + rdx*8], r8
jne 0x14001e542
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14001e546
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001e55a
cmp qword [rcx + rdx*8], r8
jne 0x14001e55a
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
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 [r9 + 0x10]
call fcn.14001f4f4
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret