joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45edec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov byte [ebp - 1], 7
xor edx, edx
push ebp
push 0x45ef10
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x45eecb
mov byte [ebp - 1], 5
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jb 0x45eea7
mov byte [ebp - 1], 0xa
cmp byte [ebp - 6], 1
jne 0x45ee7c
mov eax, dword [ebp - 0x118]
cmp eax, 3
jb 0x45ee5c
mov byte [ebp - 1], 0x10
jmp 0x45ef06
cmp eax, 2
jb 0x45ee6a
mov byte [ebp - 1], 0xe
jmp 0x45ef06
cmp eax, 1
jb 0x45ef06
mov byte [ebp - 1], 0xd
jmp 0x45ef06
mov byte [ebp - 1], 0xb
mov eax, dword [ebp - 0x118]
cmp eax, 3
jb 0x45ee91
mov byte [ebp - 1], 0x11
jmp 0x45ef06
cmp eax, 2
jb 0x45ee9c
mov byte [ebp - 1], 0xf
jmp 0x45ef06
cmp eax, 1
jb 0x45ef06
mov byte [ebp - 1], 0xc
jmp 0x45ef06
cmp eax, 5
jb 0x45ef06
mov byte [ebp - 1], 6
cmp dword [ebp - 0x118], 1
jb 0x45ef06
cmp byte [ebp - 6], 1
jne 0x45eec5
mov byte [ebp - 1], 7
jmp 0x45ef06
mov byte [ebp - 1], 9
jmp 0x45ef06
cmp eax, 1
jne 0x45ef02
mov byte [ebp - 1], 1
cmp dword [ebp - 0x11c], 4
jne 0x45eeea
cmp dword [ebp - 0x118], 0xa
jne 0x45eeea
mov byte [ebp - 1], 2
cmp dword [ebp - 0x11c], 4
jne 0x45ef06
cmp dword [ebp - 0x118], 0x5a
jne 0x45ef06
mov byte [ebp - 1], 3
jmp 0x45ef06
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ef1a
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4611d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x461288
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00460fbc
test al, al
je 0x46126a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407c74
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x46126a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408980
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00408980
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004089d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x461223
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46128f
lea eax, [ebp - 0x2c]
call fcn.00407aec
lea eax, [ebp - 4]
call fcn.00407aec
ret
Function at 0x4613c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00460cc0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00408980
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00460dc4
test al, al
jne 0x46142c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x50aa00]
mov dl, 1
mov eax, dword [0x45fa94]
call fcn.00423d10
call fcn.004071e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x461438
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00408980
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00460dc4
test al, al
jne 0x461499
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x50acd0]
mov dl, 1
mov eax, dword [0x45fa94]
call fcn.00423d10
call fcn.004071e4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00460cf0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x461558
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407bd0
mov eax, dword [ebp - 8]
call fcn.00407bd0
xor eax, eax
push ebp
push 0x46166b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor ebx, ebx
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x4615be
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x4615ab
mov ebx, pe_nt_image_headers32
jmp 0x4615be
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x4615be
mov ebx, 0x200
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
or ebx, 0x20006
push ebx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408980
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
push ebx
call sub.kernel32.dll_SetLastError
test ebx, ebx
jne 0x461650
cmp dword [ebp - 8], 0
jne 0x461619
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
sete byte [ebp - 9]
jmp 0x461641
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00408980
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
sete byte [ebp - 9]
push ebx
call sub.kernel32.dll_SetLastError
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461672
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407b4c
ret
Function at 0x461680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00407bd0
mov eax, dword [ebp - 8]
call fcn.00407bd0
xor eax, eax
push ebp
push 0x4617c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [edi], eax
xor ebx, ebx
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x4616f6
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x4616e3
mov ebx, pe_nt_image_headers32
jmp 0x4616f6
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x4616f6
mov ebx, 0x200
lea eax, [ebp - 0x18]
push eax
or ebx, 0x20019
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00408980
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4617a5
cmp dword [ebp - 8], 0
jne 0x461727
xor ebx, ebx
jmp 0x461731
mov eax, dword [ebp - 8]
call fcn.00408980
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x46179c
mov eax, dword [ebp - 0x20]
call fcn.004045bc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x461794
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x46178a
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
mov byte [ebp - 0xd], 1
jmp 0x46179c
mov eax, dword [ebp - 0x1c]
call fcn.004045d8
jmp 0x46179c
mov eax, dword [ebp - 0x1c]
call fcn.004045d8
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4617c7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407b4c
ret

Function at 0x461cf8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov ebp, edx
mov edi, eax
xor ebx, ebx
xor esi, esi
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x461d3c
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x461d29
mov esi, pe_nt_image_headers32
jmp 0x461d3c
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x461d3c
mov esi, 0x200
lea eax, [esp + 4]
push eax
or esi, 0x20019
push esi
push 0
mov eax, ebp
call fcn.00408980
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x461d87
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x10]
call fcn.00408980
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461e24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [edi], eax
xor esi, esi
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x461e73
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x461e60
mov esi, pe_nt_image_headers32
jmp 0x461e73
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x461e73
mov esi, 0x200
lea eax, [ebp - 0x10]
push eax
or esi, 0x20019
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.00408980
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x461eeb
cmp dword [ebp - 0xc], 0
jne 0x461eb8
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
jmp 0x461ed9
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00408980
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
test bl, bl
je 0x461ee2
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x461f68
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov edi, edx
mov esi, eax
mov byte [esp], 0
xor ebx, ebx
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x461fad
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x461f9a
mov ebx, pe_nt_image_headers32
jmp 0x461fad
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x461fad
mov ebx, 0x200
lea eax, [esp + 4]
push eax
or ebx, 0x20006
push ebx
push 0
mov eax, edi
call fcn.00408980
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
mov ebx, eax
push ebx
call sub.kernel32.dll_SetLastError
test ebx, ebx
jne 0x461ff7
mov eax, ebp
call fcn.00408980
push eax
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete byte [esp]
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
movzx eax, byte [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x462004
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [0x50a790]
cmp byte [eax], 0
jne 0x462036
mov eax, dword [ebp - 8]
call fcn.00408980
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov ebx, eax
jmp 0x4620b7
xor eax, eax
push ebp
push 0x462099
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x462078
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x462065
mov ebx, pe_nt_image_headers32
jmp 0x462078
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x462078
mov ebx, 0x200
push 0
push ebx
mov eax, dword [ebp - 8]
call fcn.00408980
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4620b7
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4621d4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4623c4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov eax, 0x4623e0
call fcn.00408ef8
test eax, eax
je 0x4623a1
cmp byte [ebp - 0x11], 0
je 0x462394
xor edx, edx
push ebp
push 0x46238a
push dword fs:[edx]
mov dword fs:[edx], esp
xor esi, esi
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x462262
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x46224f
mov esi, pe_nt_image_headers32
jmp 0x462262
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x462262
mov esi, 0x200
lea eax, [ebp - 0x18]
push eax
or esi, 0x2000f
push esi
push 0
mov eax, dword [ebp - 0x10]
call fcn.00408980
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
xor edx, edx
push ebp
push 0x462379
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
jne 0x462358
xor eax, eax
mov dword [ebp - 0x20], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryInfoKeyW
test eax, eax
jne 0x462358
mov esi, dword [ebp - 0x20]
dec esi
cmp esi, 0
jl 0x462358
mov eax, dword [0x508fa8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x1c]
call fcn.00408b04
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
call fcn.004080a4
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x46234e
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x1c]
call fcn.00408b04
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.00424d38
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.00408bdc
movzx ecx, byte [ebp - 0x11]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004621d4
test al, al
jne 0x46234e
call fcn.004072d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4623a1
dec esi
cmp esi, 0xffffffff
jne 0x4622d2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462380
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408b04
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004620c0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4623cb
lea eax, [ebp - 0x24]
call fcn.00407aec
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407b4c
ret
Function at 0x4623e4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407bd0
mov eax, dword [ebp + 0xc]
call fcn.00407bd0
xor eax, eax
push ebp
push 0x462561
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.00407aec
xor ebx, ebx
mov eax, dword [0x50a790]
cmp byte [eax], 0
je 0x462458
call fcn.0040c038
cmp byte [eax + 0x15], 0
je 0x462445
mov ebx, pe_nt_image_headers32
jmp 0x462458
call fcn.0040c038
cmp byte [eax + 0x14], 0
je 0x462458
mov ebx, 0x200
lea eax, [ebp - 0x14]
push eax
or ebx, 0x20019
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00408980
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x46253e
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], 0x800
mov eax, dword [ebp - 0x18]
call fcn.004045bc
mov edi, eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x18], 0x800
cmp byte [ebp + 0x10], 0
je 0x4624bd
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov ebx, eax
jmp 0x4624d6
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueW
mov ebx, eax
test ebx, ebx
jne 0x462526
cmp dword [ebp - 0x18], 0
jbe 0x462525
cmp dword [ebp + 8], 0
je 0x4624eb
mov eax, dword [ebp + 8]
inc dword [eax]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, edi
call fcn.00407c74
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x46250d
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407ecc
jmp 0x462525
mov eax, dword [ebp - 0xc]
push dword [eax]
push dword [ebp + 0xc]
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408c64
inc esi
test ebx, ebx
je 0x462495
mov eax, edi
call fcn.004045d8
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462568
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407b4c
lea eax, [ebp + 0xc]
call fcn.00407aec
ret
Function at 0x462ae8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00408980
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jbe 0x462b96
xor eax, eax
push ebp
push 0x462b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045bc
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, esi
xor ecx, ecx
call fcn.00405008
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00408980
push eax
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462b96
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x462ed8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x462fa0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
push ebp
push 0x462f78
push dword fs:[esi]
mov dword fs:[esi], esp
test dl, dl
je 0x462f27
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0041d15c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0xfde9
call fcn.00408638
jmp 0x462f36
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0xfde9
call fcn.00408638
mov edx, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x462f47
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
test ecx, ecx
jle 0x462f6b
mov eax, 1
imul edx, edx, 0x5517e877
mov ebx, dword [ebp - 4]
movzx ebx, byte [ebx + eax - 1]
xor edx, dword [ebx*4 + 0x508fac]
inc eax
dec ecx
jne 0x462f52
mov dword [ebp - 8], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462f82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462fa7
lea eax, [ebp - 0xc]
call fcn.00407aec
lea eax, [ebp - 4]
call fcn.00407b10
ret
Function at 0x462fb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4630c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor ecx, ecx
push ebp
push 0x463099
push dword fs:[ecx]
mov dword fs:[ecx], esp
test dl, dl
je 0x463011
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0041d15c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0xfde9
call fcn.00408638
jmp 0x463020
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0xfde9
call fcn.00408638
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x46303a
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jle 0x463083
mov esi, 1
push 0
push 0x5517e877
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00409998
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi - 1]
mov edx, dword [eax*8 + 0x5093b4]
mov eax, dword [eax*8 + 0x5093b0]
xor eax, dword [ebp - 0x18]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
inc esi
dec ebx
jne 0x463045
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4630a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4630c8
lea eax, [ebp - 0x1c]
call fcn.00407aec
lea eax, [ebp - 4]
call fcn.00407b10
ret