Function at 0x100126b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100421a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x47c
push esi
push edi
push 0x58
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], 0
call fcn.100240ca
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov ax, word [0x1004d75c]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0xa
movq xmm0, qword [0x1004d754]
mov dword [ebp - 0x1c], 0xf
movq qword [ebp - 0x30], xmm0
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x64], 1
call fcn.10015760
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1001277a
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012770
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
push ecx
push edx
call fcn.100240fa
add esp, 8
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 1
mov ecx, 0xf
test eax, eax
mov al, byte [0x1004d748]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x47], 0
jne 0x100127a8
mov al, byte [0x1004d74c]
mov esi, dword [esi + 0xc]
mov byte [ebp - 0x48], al
add esi, 0x7c
lea eax, [ebp - 0x48]
cmp esi, eax
je 0x10012813
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x100127eb
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100127e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
mov eax, edx
push ecx
push eax
call fcn.100240fa
add esp, 8
movups xmm0, xmmword [ebp - 0x48]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x48], 0
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x10], xmm0
cmp ecx, 0xf
jbe 0x10012844
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001283a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
push ecx
push edx
call fcn.100240fa
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.100118c0
mov esi, dword [ebp - 0x10]
mov edi, eax
mov esi, dword [esi + 0xc]
add esi, 4
cmp esi, edi
je 0x100128c0
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1001288e
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10012884
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d3c
mov eax, edx
push ecx
push eax
call fcn.100240fa
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x100128f4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100128ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d3c
push ecx
push edx
call fcn.100240fa
add esp, 8
push 0x104
lea eax, [ebp - 0x18c]
push 0
push eax
call fcn.10025e00
add esp, 0xc
lea eax, [ebp - 0x18c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012940
sub ecx, edx
lea eax, [ebp - 0x18c]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.10003320
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x84]
mov esi, dword [edi + 0xc]
add esi, 0x34
cmp esi, eax
je 0x100129d2
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x100129a2
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10012998
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
mov eax, edx
push ecx
push eax
call fcn.100240fa
add esp, 8
movups xmm0, xmmword [ebp - 0x84]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x84], 0
movq xmm0, qword [ebp - 0x74]
movq qword [esi + 0x10], xmm0
jmp 0x100129d5
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x10012a09
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100129ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
push ecx
push edx
call fcn.100240fa
add esp, 8
push 0x400
lea eax, [ebp - 0x488]
mov dword [ebp - 0x18], 1
push 0
push eax
mov dword [ebp - 0x14], 0
call fcn.10025e00
add esp, 0xc
mov dword [ebp - 0x68], 0x400
lea eax, [ebp - 0x14]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10012ab4
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1004d690
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10012ab4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012a96
sub ecx, edx
lea eax, [ebp - 0x488]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10003320
mov eax, dword [ebp - 0x4c]
jmp 0x10012ace
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
mov eax, 0xf
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x60], 0
mov esi, dword [edi + 0xc]
lea ecx, [ebp - 0x60]
add esi, 0x1c
cmp esi, ecx
je 0x10012b36
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x10012b0e
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10012b04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
mov eax, edx
push ecx
push eax
call fcn.100240fa
add esp, 8
movups xmm0, xmmword [ebp - 0x60]
mov dword [esi + 0x10], 0
mov eax, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x60], 0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
cmp eax, 0xf
jbe 0x10012b69
mov edx, dword [ebp - 0x60]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012b5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d41
push ecx
push edx
call fcn.100240fa
add esp, 8
mov ecx, dword [edi + 0xc]
add ecx, 0x4c
cmp ecx, 0x10055c08
je 0x10012b96
cmp dword [0x10055c1c], 0xf
mov eax, 0x10055c08
push dword [0x10055c18]
cmova eax, dword [0x10055c08]
push eax
call fcn.10008c50
lea ecx, [ebp - 0x30]
call fcn.10012480
mov esi, dword [ebp - 0x10]
mov edi, eax
mov esi, dword [esi + 0xc]
add esi, 0x94
cmp esi, edi
je 0x10012c15
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x10012be3
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10012bd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d46
mov eax, edx
push ecx
push eax
call fcn.100240fa
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10012c49
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d46
push ecx
push edx
call fcn.100240fa
add esp, 8
mov esi, dword [ebp - 0x10]
push 0xa
push str.1701102606
mov ecx, dword [esi + 0xc]
add ecx, 0x64
call fcn.10008c50
lea ecx, [ebp - 0x30]
call fcn.10011c90
mov esi, dword [esi + 0xc]
mov edi, eax
add esi, 0xac
cmp esi, edi
je 0x10012cda
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x10012ca8
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10012c9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d4b
mov eax, edx
push ecx
push eax
call fcn.100240fa
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x10012d0a
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012d00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012d4b
push ecx
push edx
call fcn.100240fa
add esp, 8
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x10]
mov ecx, esi
push edi
call fcn.10016330
mov ecx, esi
call fcn.10008d80
push 0x58
push esi
call fcn.100240fa
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1002ade6
call fcn.1002ade6
call fcn.1002ade6
call fcn.1002ade6
int3