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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ddd5b
mov eax, dword fs:[0]
push eax
mov eax, 0x282c
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 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x2818], 0
mov dword [ebp - 0x2820], 0
call fcn.00668940
push 0x2000
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.00668940
add esp, 0x18
mov dword [ebp - 0x2814], 0x400
cmp dword [ebp + 0x38], 0
lea ecx, [ebp + 8]
mov eax, 0x200
mov dword [ebp - 0x281c], 0x2000
mov edi, 0x100
xorps xmm0, xmm0
cmove edi, eax
movlpd qword [ebp - 0x282c], xmm0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp - 0x2818]
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_RegOpenKeyExW]
test eax, eax
je 0x453319
xor ebx, ebx
jmp 0x453568
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x2830]
push ecx
lea ecx, [ebp - 0x2820]
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_RegCreateKeyExW]
test eax, eax
jne 0x453546
xor esi, esi
lea eax, [ebp - 0x282c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push dword [ebp - 0x2818]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x453475
push dword [ebp + 0x38]
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0x2834], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x810]
lea edi, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4533b0
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00432ef0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x2820]
lea ecx, [ebp - 0x810]
mov edi, esp
lea edx, [ecx + 2]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453400
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00432ef0
mov ecx, dword [ebp - 0x2818]
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.00453240
add esp, 0x34
test eax, eax
je 0x453546
lea eax, [ebp - 0x282c]
mov dword [ebp - 0x2814], 0x400
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2814]
inc esi
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push dword [ebp - 0x2818]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x453380
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x281c]
push eax
lea eax, [ebp - 0x2810]
mov dword [ebp - 0x2814], 0x400
push eax
lea eax, [ebp - 0x2824]
mov dword [ebp - 0x281c], 0x2000
push eax
xor esi, esi
lea eax, [ebp - 0x2814]
push esi
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push dword [ebp - 0x2818]
call edi
test eax, eax
jne 0x45353f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [eax + eax]
push dword [ebp - 0x281c]
lea eax, [ebp - 0x2810]
push eax
push dword [ebp - 0x2824]
lea eax, [ebp - 0x810]
push 0
push eax
push dword [ebp - 0x2820]
call ebx
test eax, eax
jne 0x453546
lea eax, [ebp - 0x281c]
mov dword [ebp - 0x2814], 0x400
push eax
lea eax, [ebp - 0x2810]
mov dword [ebp - 0x281c], 0x2000
push eax
lea eax, [ebp - 0x2824]
inc esi
push eax
push 0
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push dword [ebp - 0x2818]
call edi
test eax, eax
je 0x4534d0
mov ebx, 1
jmp 0x453548
xor ebx, ebx
mov eax, dword [ebp - 0x2818]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x45355b
push eax
call esi
mov eax, dword [ebp - 0x2820]
test eax, eax
je 0x453568
push eax
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x45359e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453594
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453606
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x4535e8
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4535de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45360b
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