Function at 0x452e80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ddd0b
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.0062ad90
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x1418], 0
mov dword [ebp - 0x1420], 0
call fcn.00668940
push 0x1000
lea eax, [ebp - 0x1410]
push 0
push eax
call fcn.00668940
add esp, 0x18
mov dword [ebp - 0x1414], 0x400
cmp dword [ebp + 0x38], 0
lea ecx, [ebp + 8]
mov eax, 0x200
mov dword [ebp - 0x141c], 0x1000
mov edi, 0x100
xorps xmm0, xmm0
cmove edi, eax
movlpd qword [ebp - 0x142c], xmm0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp - 0x1418]
push eax
cmovae ecx, dword [ebp + 8]
mov eax, edi
or eax, 0x20019
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x452f59
xor ebx, ebx
jmp 0x453198
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x1430]
push ecx
lea ecx, [ebp - 0x1420]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
or edi, 0x20006
push edi
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x453176
xor esi, esi
lea eax, [ebp - 0x142c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x410]
push eax
push esi
push dword [ebp - 0x1418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x45309f
push dword [ebp + 0x38]
lea eax, [ebp - 0x410]
sub esp, 0x18
lea edi, [eax + 1]
mov edx, esp
mov dword [ebp - 0x1434], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452fe8
sub eax, edi
mov ecx, edx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00430430
sub esp, 0x18
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x1420]
lea ecx, [ebp - 0x410]
mov edi, esp
lea edx, [ecx + 1]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453030
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00430430
mov ecx, dword [ebp - 0x1418]
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.00452e80
add esp, 0x34
test eax, eax
je 0x453176
lea eax, [ebp - 0x142c]
mov dword [ebp - 0x1414], 0x400
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1414]
inc esi
push eax
lea eax, [ebp - 0x410]
push eax
push esi
push dword [ebp - 0x1418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x452fc0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 0x141c]
push eax
lea eax, [ebp - 0x1410]
mov dword [ebp - 0x1414], 0x400
push eax
lea eax, [ebp - 0x1424]
mov dword [ebp - 0x141c], 0x1000
push eax
xor esi, esi
lea eax, [ebp - 0x1414]
push esi
push eax
lea eax, [ebp - 0x410]
push eax
push esi
push dword [ebp - 0x1418]
call edi
test eax, eax
jne 0x45316f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop word [eax + eax]
push dword [ebp - 0x141c]
lea eax, [ebp - 0x1410]
push eax
push dword [ebp - 0x1424]
lea eax, [ebp - 0x410]
push 0
push eax
push dword [ebp - 0x1420]
call ebx
test eax, eax
jne 0x453176
lea eax, [ebp - 0x141c]
mov dword [ebp - 0x1414], 0x400
push eax
lea eax, [ebp - 0x1410]
mov dword [ebp - 0x141c], 0x1000
push eax
lea eax, [ebp - 0x1424]
inc esi
push eax
push 0
lea eax, [ebp - 0x1414]
push eax
lea eax, [ebp - 0x410]
push eax
push esi
push dword [ebp - 0x1418]
call edi
test eax, eax
je 0x453100
mov ebx, 1
jmp 0x453178
xor ebx, ebx
mov eax, dword [ebp - 0x1418]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45318b
push eax
call esi
mov eax, dword [ebp - 0x1420]
test eax, eax
je 0x453198
push eax
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4531c8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4531be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453228
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x45320a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x453200
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45322d
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3