Function at 0x1009f8b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017899b
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x101f0014]
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 0x1009f957
push esi
push dword [ebp - 0x224]
lea ecx, [ebp - 0x228]
call fcn.1002f780
cmp dword [edi + 0x10], 0
je 0x1009fb9a
lea eax, [ebp - 0x320]
push esi
mov ecx, eax
mov dword [ebp - 0x2c0], eax
call fcn.100073c0
push edi
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 2
call fcn.100073c0
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.100a0a00
mov esi, eax
mov dword [ebp - 0x2c8], esi
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 6
call fcn.10007310
lea ecx, [ebp - 0x320]
call fcn.10007310
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 0x1009fa0b
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 0x1009fa33
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 0x1009fb6a
cmp word [ebp - 0x218], 0
je 0x1009fb34
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.10007350
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x28c], 0
je 0x1009fb25
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.1002f780
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x1009fd0c
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.10007860
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xb
call fcn.10007310
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 0x1009fa80
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28c]
test ecx, ecx
je 0x1009fb96
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 0x1009fd69
nop
cmp dword [esi + 0x10], 0
je 0x1009fd5e
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.10123090
push esi
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x13
call fcn.100073c0
push str._shellopencommand
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.100a0260
add esp, 4
mov edi, eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x1009fc3d
mov ecx, eax
call fcn.10007c90
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.10007310
lea ecx, [ebp - 0x240]
call fcn.100073a0
push 0x10197694
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x16
call fcn.10007350
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.10123780
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x16
call fcn.10007310
lea ecx, [ebp - 0x240]
call fcn.10127150
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x270]
call fcn.100073c0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x18
call fcn.10127150
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x270]
lea eax, [ebp - 0x240]
cmovae ecx, dword [ebp - 0x270]
cmp dword [ebp - 0x22c], 8
jb 0x1009fcfb
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x1009fd12
test ecx, ecx
je 0x1009fd12
push ecx
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
jmp 0x1009fd14
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
xor eax, eax
test eax, eax
jne 0x1009fdb5
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x16
call fcn.10007310
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x14
call fcn.10007310
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x13
call fcn.10007310
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.10123150
mov eax, dword [ebp - 0x224]
add esi, 0x18
cmp esi, eax
jne 0x1009fbb0
mov ecx, dword [ebp - 0x2b4]
push 0x10197694
call fcn.10007350
mov dword [ebp - 0x2b8], 1
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.10007860
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.101606b4
mov esp, ebp
pop ebp
ret 0x10
push esi
lea ecx, [ebp - 0x288]
call fcn.100073c0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x19
call fcn.10127150
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x288]
push eax
call fcn.100095b0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x2b8], 1
mov byte [ebp - 4], 0x18
call fcn.10007310
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x16
call fcn.10007310
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x14
call fcn.10007310
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x13
call fcn.10007310
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.10123150
jmp 0x1009fd83