Function at 0x432560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4822cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
cmp dword [eax + 0x14], 7
jbe 0x432592
mov edx, dword [eax]
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
push edx
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
test ecx, ecx
je 0x4325c8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 0x18], 0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
shr esi, 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
cmp esi, 0x7ffffffe
ja 0x4327cc
push edi
cmp esi, 7
ja 0x432621
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
test esi, esi
je 0x432615
mov ecx, esi
lea edi, [ebp - 0x30]
shr ecx, 1
mov eax, 0x200020
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [ebp + esi*2 - 0x30], ax
jmp 0x4326c0
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x43263c
mov eax, accept
mov edi, accept
add eax, eax
jmp 0x43265d
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4327c7
add eax, eax
cmp eax, 0x1000
jb 0x432686
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4327c7
push ecx
call fcn.00435d4d
add esp, 4
test eax, eax
je 0x4327c1
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov ecx, edx
mov dword [edx - 4], eax
jmp 0x43269d
test eax, eax
je 0x432699
push eax
call fcn.00435d4d
mov edx, eax
add esp, 4
mov ecx, edx
jmp 0x43269d
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, esi
mov dword [ebp - 0x20], eax
mov ecx, esi
mov dword [ebp - 0x1c], edi
mov eax, 0x200020
shr ecx, 1
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [edx + esi*2], ax
cmp dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 0xc]
cmova ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 0
pop edi
cmp dword [eax + 0x14], 7
jbe 0x4326de
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push 2
push eax
mov eax, dword [ebp - 0x14]
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x43274f
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [esi], eax
mov byte [esi + 0x18], 0
cmp ecx, 7
jbe 0x43273c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x432732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4327c1
push ecx
push edx
call fcn.00435aee
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x432772
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], ecx
cmova eax, dword [ebp - 0x30]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x43277f
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x30]
call fcn.00424400
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.0041b3c0
mov ecx, dword [ebp - 0x1c]
mov byte [esi + 0x18], 1
cmp ecx, 7
jbe 0x43273c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x432732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x432732
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00401550
call fcn.004015f0
int3