Function at 0x43f8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467a0e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a402c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
jb 0x43f90a
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push 0
push 0
push 2
push ecx
push 0
push dword [edx]
mov dword [ebp - 0x2c], eax
call eax
test eax, eax
jne 0x43fac3
mov edi, dword [ebp - 0x14]
xorps xmm0, xmm0
shr edi, 1
mov dword [ebp - 0x18], edi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
cmp edi, 0x7ffffffe
ja 0x43fadf
mov dword [esi + 0x14], 7
cmp edi, 8
jae 0x43f97b
mov dword [esi + 0x10], edi
test edi, edi
je 0x43f973
mov ecx, edi
mov eax, 0x200020
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x18]
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43f9f2
mov eax, dword [esi + 0x14]
mov edx, edi
or edx, 7
cmp edx, 0x7ffffffe
jbe 0x43f992
mov edx, 0x7ffffffe
jmp 0x43f9b3
mov ecx, eax
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp dword [esi + 0x14], eax
jbe 0x43f9a9
mov edx, 0x7ffffffe
jmp 0x43f9b3
mov eax, dword [esi + 0x14]
add eax, ecx
cmp edx, eax
cmovb edx, eax
xor ecx, ecx
mov dword [ebp - 0x1c], edx
add edx, 1
setb cl
neg ecx
or ecx, edx
push ecx
mov ecx, esi
call fcn.00406330
mov edx, eax
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov dword [esi + 0x14], eax
mov edi, edx
shr ecx, 1
mov eax, 0x200020
mov dword [esi], edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esi + 0x14], 8
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
jb 0x43fa0a
mov ecx, dword [esi]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x43fa15
mov eax, dword [eax]
lea edx, [ebp - 0x14]
push edx
push ecx
push 0
push 2
push eax
mov eax, dword [ebp - 0x28]
push 0
push dword [eax]
call dword [ebp - 0x2c]
test eax, eax
je 0x43fa37
push str.Cannot_get_string_value:_RegGetValueW_failed.
jmp 0x43fac8
mov edx, dword [ebp - 0x14]
mov edi, dword [esi + 0x10]
shr edx, 1
dec edx
cmp edx, edi
ja 0x43fa59
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43fa4e
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edx
mov word [eax + edx*2], cx
jmp 0x43faa4
mov eax, dword [esi + 0x14]
mov ecx, edx
sub ecx, edi
sub eax, edi
cmp ecx, eax
ja 0x43fa96
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], edx
mov dword [ebp - 0x18], esi
jb 0x43fa79
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
lea edi, [eax + edi*2]
test ecx, ecx
je 0x43fa8e
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x43faa4
push 0
push ecx
push dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00438220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441873
mov esp, ebp
pop ebp
ret 8
push str.Cannot_get_size_of_string_value:_RegGetValueW_failed.
push eax
lea ecx, [ebp - 0x44]
call fcn.0043f2c0
push 0x4a0be4
lea eax, [ebp - 0x44]
push eax
call fcn.00445b3c
call fcn.00401780
int3