Function at 0x100a5800
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f86b
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x101f9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0x14]
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 1
cmp dword [esi + 0x10], 0
je 0x100a58a7
push esi
push dword [ebp - 0x224]
lea ecx, [ebp - 0x228]
call fcn.100329a0
cmp dword [edi + 0x10], 0
je 0x100a5aea
lea eax, [ebp - 0x320]
push esi
mov ecx, eax
mov dword [ebp - 0x2c0], eax
call fcn.100074c0
push edi
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 2
call fcn.100074c0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2f0], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c8], 0
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 5
call fcn.100a6950
mov esi, eax
mov dword [ebp - 0x2c8], esi
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 6
call fcn.10007410
lea ecx, [ebp - 0x320]
call fcn.10007410
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 8
test esi, esi
je 0x100a595b
mov eax, dword [esi]
lea ecx, [ebp - 0x2b0]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x100a5983
mov edx, dword [esi]
lea eax, [ebp - 0x2ec]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c8], 0
push 0x208
xor esi, esi
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0x103
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x21c]
add esp, 0xc
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 0x80000000
call edi
test eax, eax
jne 0x100a5aba
cmp word [ebp - 0x218], 0
je 0x100a5a84
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.10007450
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x28c], 0
je 0x100a5a75
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x234]
call fcn.100329a0
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x100a5c5c
mov eax, dword [ecx]
lea edx, [ebp - 0x234]
push edx
call dword [eax + 8]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xe
call fcn.10007960
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xb
call fcn.10007410
xor eax, eax
mov dword [ebp - 0x21c], 0x103
push eax
push eax
push eax
push eax
mov word [ebp - 0x218], ax
inc esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 0x80000000
call edi
test eax, eax
je 0x100a59d0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x100a5ae6
mov edx, dword [ecx]
lea eax, [ebp - 0x2b0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
cmp esi, eax
je 0x100a5cb9
nop
cmp dword [esi + 0x10], 0
je 0x100a5cae
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.10129130
push esi
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x13
call fcn.100074c0
push str._shellopencommand
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.100a61b0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x100a5b8d
mov ecx, eax
call fcn.10007d90
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x258], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x248], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x14
call fcn.10007410
lea ecx, [ebp - 0x240]
call fcn.100074a0
push 0x1019e6d4
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x16
call fcn.10007450
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x258]
push eax
push 0x80000000
lea ecx, [ebp - 0x21c]
call fcn.10129820
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x16
call fcn.10007410
lea ecx, [ebp - 0x240]
call fcn.1012d1f0
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x270]
call fcn.100074c0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x18
call fcn.1012d1f0
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x270]
lea eax, [ebp - 0x240]
cmovae ecx, dword [ebp - 0x270]
cmp dword [ebp - 0x22c], 8
jb 0x100a5c4b
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x100a5c62
test ecx, ecx
je 0x100a5c62
push ecx
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
jmp 0x100a5c64
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
xor eax, eax
test eax, eax
jne 0x100a5d05
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x16
call fcn.10007410
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x14
call fcn.10007410
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x13
call fcn.10007410
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.101291f0
mov eax, dword [ebp - 0x224]
add esi, 0x18
cmp esi, eax
jne 0x100a5b00
mov ecx, dword [ebp - 0x2b4]
push 0x1019e6d4
call fcn.10007450
mov dword [ebp - 0x2b8], 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.10007960
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101669b4
mov esp, ebp
pop ebp
ret 0x10
push esi
lea ecx, [ebp - 0x288]
call fcn.100074c0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x19
call fcn.1012d1f0
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x288]
push eax
call fcn.100096b0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x2b8], 1
mov byte [ebp - 4], 0x18
call fcn.10007410
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x16
call fcn.10007410
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x14
call fcn.10007410
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x13
call fcn.10007410
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.101291f0
jmp 0x100a5cd3