Function at 0x413b20
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov ecx, dword [ebx + 8]
push esi
push edi
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
push 0
push ecx
push 0
push 0
push 0
push edx
push eax
call fcn.00413170
add esp, 0x24
test eax, eax
jne 0x413de6
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x413bf0
cmp esi, 1
mov dword [ebx + 8], 1
mov dword [ebp - 0xc], 0xffffffff
jne 0x413b8f
mov edx, dword [ebp - 4]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
push edx
jmp 0x413bb0
cmp esi, 2
jne 0x413bcf
mov ecx, dword [ebp - 4]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [0x472088]
test eax, eax
je 0x413bcf
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x413de8
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 1
jne 0x413cfa
xor eax, eax
push eax
push eax
push eax
push eax
mov ecx, 0x41
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x110]
push edx
push eax
mov eax, dword [ebp - 4]
push eax
xor esi, esi
mov dword [ebp - 8], 0x104
call dword [0x472084]
test eax, eax
jne 0x413c6a
nop
cmp dword [ebp + 8], esi
je 0x413c7f
xor eax, eax
push eax
push eax
push eax
push eax
mov ecx, 0x41
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x110]
push edx
inc esi
push esi
push eax
mov dword [ebp - 8], 0x104
call dword [0x472084]
test eax, eax
je 0x413c30
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
pop edi
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, 0x104
jbe 0x413ca0
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
pop edi
mov eax, 0xb
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, dword [ebp - 8]
jae 0x413cba
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
pop edi
mov eax, 0xb
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x413ddc
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
mov edi, dword [ebx + 0x10]
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 2
jne 0x413ddc
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x14]
lea ecx, [eax + 0x10c]
push ecx
mov ecx, dword [ebp - 4]
xor esi, esi
push esi
add eax, 0x108
push eax
push esi
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x110]
push eax
push esi
push ecx
mov dword [ebp - 8], 0x104
call dword [0x472080]
test eax, eax
jne 0x413d91
cmp dword [ebp + 8], esi
je 0x413da6
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x14]
lea edx, [eax + 0x10c]
push edx
mov edx, dword [ebp - 4]
push 0
add eax, 0x108
push eax
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
inc esi
push esi
push edx
mov dword [ebp - 8], 0x104
call dword [0x472080]
test eax, eax
je 0x413d47
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
pop edi
mov eax, 9
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x413dd0
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 8]
mov edi, dword [ebx + 0x14]
mov edx, ecx
shr ecx, 2
lea esi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x104], ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret