Function at 0x10061620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102360ad
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x102ec100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x38], eax
jbe 0x1006166b
mov ecx, dword [eax]
xor eax, eax
mov word [ecx], ax
test edx, edx
jne 0x1006167b
xor al, al
jmp 0x1006185c
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25]
push eax
push 0x200
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
call fcn.10061cb0
mov esi, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [ebp - 0x1c]
sub eax, edi
cmp dword [ebx + 0x14], 7
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], 0
jbe 0x100616c9
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
push edi
lea ecx, [ebp - 0x24]
push ecx
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100616f3
test ecx, ecx
jne 0x100616f3
mov bl, 1
jmp 0x10061811
cmp ecx, 1
je 0x1006170b
cmp ecx, 2
je 0x1006170b
test ecx, ecx
je 0x1006170b
mov eax, 0x490
jmp 0x1006180c
cmp eax, 0xea
jne 0x100617a0
mov ecx, dword [ebp - 0x20]
cmp ecx, 1
jbe 0x1006180c
mov eax, esi
mov edx, edi
cmp edi, eax
cmove edx, eax
cmovne esi, edi
mov dword [ebp - 0x2c], edx
add ecx, 8
sub edx, edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x25], 0
cmp ecx, edx
jae 0x10061746
lea esi, [edi + ecx]
jmp 0x1006177d
jbe 0x10061780
mov eax, dword [ebp - 0x14]
sub eax, edi
cmp ecx, eax
jbe 0x10061766
lea eax, [ebp - 0x25]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10061cb0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x10061780
mov esi, dword [ebp - 0x2c]
sub ecx, edx
push ecx
push 0
push esi
mov dword [ebp - 0x34], ecx
call fcn.1014aba0
add esp, 0xc
add esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
cmp dword [ebx + 0x14], 7
jbe 0x10061788
mov ebx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push 0
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1006180e
mov byte [ebp - 0x25], al
cmp esi, dword [ebp - 0x14]
je 0x100617b4
mov byte [esi], al
inc esi
mov dword [ebp - 0x18], esi
jmp 0x100617c7
lea eax, [ebp - 0x25]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10061e40
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 0x25], 0
cmp esi, dword [ebp - 0x14]
je 0x100617d9
mov byte [esi], 0
inc esi
mov dword [ebp - 0x18], esi
jmp 0x100617e9
lea eax, [ebp - 0x25]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10061e40
mov edi, dword [ebp - 0x1c]
mov edx, edi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100617f0
sub edx, ecx
mov ecx, dword [ebp - 0x38]
sar edx, 1
push edx
push edi
call fcn.10058740
mov eax, dword [ebp - 0x2c]
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006185a
mov ecx, dword [ebp - 0x14]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x1006183b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006187a
push ecx
push edi
call fcn.10123601
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10123194
mov esp, ebp
pop ebp
ret 0xc
call fcn.10154fbf
int3