Function at 0x452370
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a7514
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x24]
push eax
push 0x2001f
push ebx
mov byte [esp + 0x270], 3
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x4ba23c
push 0x80000002
mov dword [esp + 0x38], ebx
call esi
cmp eax, ebx
jne 0x4525a0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push ebx
push 0x4b3a68
push 0x80000002
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
call esi
cmp eax, ebx
jne 0x452589
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x20], eax
xor edi, edi
lea ebx, [ebx]
push 0x206
lea ecx, [esp + 0x52]
push ebx
push ecx
mov word [esp + 0x58], bx
call int.0048bd10
add esp, 0xc
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x60]
push ecx
push edi
push edx
mov dword [esp + 0x60], 0x103
call ebp
test eax, eax
jne 0x4524e7
push 0x4b3ab0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4524df
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x50]
call fcn.0040b6b0
lea ebx, [esp + 0x3c]
lea esi, [esp + 0x2c]
mov byte [esp + 0x264], 4
call fcn.00439db0
mov byte [esp + 0x264], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4524dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
add edi, 1
jmp 0x452440
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x452576
mov ebp, dword [esp + 0x34]
sub ebp, eax
sar ebp, 2
je 0x452576
xor edi, edi
cmp ebp, ebx
jbe 0x452576
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x452519
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x45251e
call fcn.00489916
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + edi*4]
lea esi, [ecx + edi*4]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
or edx, dword [eax + 8]
jge 0x452541
xor ecx, ecx
mov eax, esi
call fcn.0040d060
cmp dword [esp + 0x284], 8
mov esi, dword [esi]
mov eax, dword [esp + 0x270]
jae 0x45255b
lea eax, [esp + 0x270]
push esi
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x452572
add edi, 1
cmp edi, ebp
jb 0x452504
jmp 0x452576
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x452589
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x45259c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4525be
mov edi, dword [esp + 0x34]
call fcn.0043c070
mov eax, dword [esp + 0x30]
push eax
call fcn.00487c06
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x4525d5
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4525e4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x284], 8
jb 0x4525fe
mov ecx, dword [esp + 0x270]
push ecx
call fcn.00487c06
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00488fa3
add esp, 0x254
ret 0x1c