Function at 0x41a06c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x10000
mov eax, dword [ebp - 0x34]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41a0b3
mov eax, dword [ebp + 8]
mov dword [eax], 0x90003
xor eax, eax
jmp 0x41a479
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a0e7
mov eax, dword [ebp + 8]
mov dword [eax], 0x90003
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x41a479
mov dword [ebp - 0x14], 0xffff
push 8
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0041d470
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x5a0a9c
push 0x80000004
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x41a18b
cmp dword [ebp - 0x44], 0
jbe 0x41a18b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x50
jne 0x41a18b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 2]
cmp ecx, 0x45
jne 0x41a18b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x52
jne 0x41a18b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, 0x46
jne 0x41a18b
jmp 0x41a209
cmp dword [ebp - 0x3c], 0xea
jne 0x41a1e0
push 0x42
mov eax, dword [ebp - 0x34]
add eax, 0x8000
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41a1d4
mov eax, dword [ebp + 8]
mov dword [eax], 0x90003
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x41a479
add dword [ebp - 0x34], 0x8000
jmp 0x41a104
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
mov dword [eax], 0x10006
xor eax, eax
jmp 0x41a479
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
jne 0x41a23a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
mov dword [eax], 0x10009
xor eax, eax
jmp 0x41a479
push 0x312
mov eax, dword [ebp - 8]
push eax
call fcn.0041a4db
add esp, 8
mov dword [ebp - 0x1c], eax
push 0x2e4
mov eax, dword [ebp - 8]
push eax
call fcn.0041a4db
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x1c], 0
je 0x41a276
cmp dword [ebp - 0x28], 0
jne 0x41a29a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
mov dword [eax], 0x10009
xor eax, eax
jmp 0x41a479
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
jmp 0x41a2d0
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
push eax
call fcn.0041a480
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x20], ecx
jbe 0x41a302
mov eax, dword [ebp - 0x40]
cmp dword [eax + 4], 0x310
jne 0x41a2fd
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
jmp 0x41a302
jmp 0x41a2be
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41a330
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
mov dword [eax], 0x1000a
xor eax, eax
jmp 0x41a479
mov dword [ebp - 0x2c], 0
jmp 0x41a34e
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
push eax
call fcn.0041a4b0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x28], ecx
jbe 0x41a467
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041a545
add esp, 8
test eax, eax
jne 0x41a37a
jmp 0x41a33c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 0
jne 0x41a39e
mov dword [ebp - 0x18], 0x5a0aa0
jmp 0x41a3aa
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041d44e
add esp, 4
lea eax, [eax*2 + 2]
sub ebx, eax
mov eax, dword [ebp - 0x30]
lea eax, [eax*8 + 0x10]
cmp ebx, eax
jae 0x41a3f8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
mov dword [eax], 0x90004
xor eax, eax
jmp 0x41a479
xor ebx, ebx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041d44e
add esp, 4
lea eax, [eax*2 + 2]
sub ebx, eax
neg ebx
sub dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
push eax
call fcn.0041d429
add esp, 8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*8 + 4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*8], eax
inc dword [ebp - 0x30]
push 8
push 0
mov eax, dword [ebp - 0x30]
shl eax, 3
add eax, dword [ebp - 4]
push eax
call fcn.0041d470
add esp, 0xc
jmp 0x41a33c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
jmp 0x41a479
pop edi
pop esi
pop ebx
leave
ret 4