Function at 0x1001232c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f071
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x101eff24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov ecx, 0x1020108e
mov dword [ebp - 4], 2
call fcn.10158ccb
mov ecx, dword [ebp + 8]
push 0x101adfd0
call fcn.10006f10
push 0x101adfd0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], 1
call fcn.10006f10
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
push eax
call fcn.1000b0b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
call fcn.10012780
push ecx
mov esi, esp
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.1000b0b0
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.10011d00
mov edi, dword [ebp + 0x18]
mov ecx, eax
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
test ebx, ebx
jne 0x10012198
test edi, edi
je 0x10012140
call fcn.10012510
test eax, eax
mov eax, 0xf013f
jne 0x10012145
mov eax, 0xf003f
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10012192
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.1000b0b0
add esp, 4
add eax, 0x10
mov dword [edi], eax
push ebx
call fcn.10011690
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001218f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
lea eax, [ebx - 1]
or ebx, 0xffffffff
cmp eax, 0xa
ja case.0x100121ae.5
movzx eax, byte [eax + 0x10012500]
jmp dword [eax*4 + 0x100124e8]
push edi
push dword [ebp + 0x10]
lea eax, [esi - 0x10]
push ecx
push ecx
mov edi, esp
push eax
mov dword [ebp - 0x38], edi
call fcn.1000b0b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x24]
push eax
call 0x10012fe0
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 5
call fcn.1000d7a0
lea ecx, [ebp - 0x24]
jmp 0x10012436
push edi
push dword [ebp + 0x10]
lea eax, [esi - 0x10]
push ecx
push ecx
mov edi, esp
push eax
mov dword [ebp - 0x38], edi
call fcn.1000b0b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x24]
push eax
call 0x10012af0
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.1000d7a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.10007770
mov ecx, dword [ebp + 8]
push 0x101ae3fc
push 0x101ae3f4
call fcn.10010160
jmp case.0x100121ae.5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [esi - 0x10]
push eax
call fcn.1000b0b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 0
test edi, edi
je 0x10012287
call fcn.10012510
test eax, eax
mov eax, 0xf013f
jne 0x1001228c
mov eax, 0xf003f
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100122cc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100122cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], 0xb
je 0x100122da
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov eax, dword [ebp - 0x3c]
lea ecx, [edi - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x10012310
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x101ab4d8]
mov ecx, ebx
call edi
or ebx, 0xffffffff
push dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x20]
push str._I64d
push ecx
call fcn.1000e220
add esp, 0x10
jmp case.0x100121ae.5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [esi - 0x10]
push eax
call fcn.1000b0b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x14], 0
test edi, edi
je 0x10012376
call fcn.10012510
test eax, eax
mov eax, 0xf013f
jne 0x1001237b
mov eax, 0xf003f
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100123bb
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100123bb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
lea ecx, [edi - 0x10]
mov dword [ebp - 0x38], eax
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100123eb
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x101ab4d8]
mov ecx, ebx
call edi
or ebx, 0xffffffff
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
push 0x101ae3c4
push ecx
call fcn.1000e220
add esp, 0xc
jmp case.0x100121ae.5
push edi
push dword [ebp + 0x10]
lea eax, [esi - 0x10]
push ecx
push ecx
mov edi, esp
push eax
mov dword [ebp - 0x38], edi
call fcn.1000b0b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x38]
push eax
call 0x10012950
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 9
call fcn.1000d7a0
lea ecx, [ebp - 0x38]
call fcn.10007770
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001245e
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101ab4d8]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x18]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x10012484
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101ab4d8]
mov ecx, edi
call esi
mov ecx, dword [ebp + 0xc]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100124aa
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101ab4d8]
mov ecx, edi
call esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100124ce
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x101ab4d8]
mov ecx, edi
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14