Function at 0x43aec0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46bd66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x258]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx]
push 0x20019
push ebx
push edx
push eax
mov dword [esp + 0x264], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [esp + 0x25c]
test eax, eax
jne 0x43b1c0
mov eax, 0x104
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ebx
lea edx, [esp + 0x154]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x58], 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x43b1b5
push esi
push edi
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43afb8
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x20]
call fcn.00404e90
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x43afe2
push 1
lea ecx, [esp + 0x20]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x48]
mov dword [esp + 0x28], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x44]
not ecx
dec ecx
mov dword [esp + 0x2c], edx
je 0x43b0a9
lea edi, [esp + 0x48]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x38]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, eax
jbe 0x43b07e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43b03c
push eax
call fcn.00460d98
mov eax, dword [esp + 0x38]
push eax
call fcn.00460d98
add esp, 8
lea esi, [ebx + 5]
push esi
call fcn.00460d6f
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x34], edi
push esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.00460d6f
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x3c], edi
add esp, 8
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
jmp 0x43b0d8
push 1
lea ecx, [esp + 0x34]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp]
mov eax, dword [esp + 0x14]
cmp esi, 0x1f4
mov dword [esp + 0x3c], eax
jae 0x43b16a
lea ecx, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebp], ecx
je 0x43b16a
push 0x24
call fcn.00460d6f
add esp, 4
cmp eax, ebx
je 0x43b111
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ebx
jmp 0x43b113
xor eax, eax
mov dword [ebp + esi*4 + 0x1f8], eax
mov edx, dword [esp + 0x30]
push edx
lea ecx, [eax + 0x14]
call fcn.00404f10
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
call fcn.00404f10
mov ecx, dword [ebp + esi*4 + 0x1f8]
mov edx, dword [esp + 0x2c]
push esi
mov dword [ecx + 0x10], edx
mov eax, dword [ebp + esi*4 + 0x1f8]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp + esi*4 + 0x1f8]
mov eax, dword [esp + 0x2c]
mov ecx, ebp
mov dword [edx + 0xc], eax
call fcn.004157d0
mov ecx, dword [esp + 0x40]
mov eax, 0x104
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, ecx
inc ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x48]
push edx
push ecx
lea edx, [esp + 0x1c]
push ebx
lea ecx, [esp + 0x15c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x43af69
pop edi
pop esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [ebp]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x250], 1
cmp eax, ebx
je 0x43b1f1
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00460d98
mov edx, dword [esp + 0x2c]
push edx
call fcn.00460d98
add esp, 8
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x250], 0xffffffff
cmp eax, ebx
je 0x43b21b
mov eax, dword [esp + 0x18]
push eax
call fcn.00460d98
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00460d98
add esp, 8
mov ecx, dword [esp + 0x248]
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret 8