Function at 0x467030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5141f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5750c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
xor edi, edi
xor edx, edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
jb 0x467091
mov eax, dword [eax]
lea edx, [ebp - 0x54]
push edx
push 1
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x467258
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
jb 0x4670b8
mov eax, dword [ebx]
jmp 0x4670ba
mov eax, ebx
lea ecx, [ebp - 0x50]
push ecx
push edi
lea edx, [ebp - 0x5c]
push edx
push 0xffff
push eax
mov eax, dword [ebp - 0x54]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push eax
call edi
xor ecx, ecx
test eax, eax
je 0x467126
mov dword [esi + 0x10], ecx
push ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
push 0x53d1e0
mov ecx, esi
call fcn.00463920
cmp dword [ebp - 0x1c], 8
jb 0x467108
mov edx, dword [ebp - 0x30]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x50]
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x50]
push 0x53d1e0
push eax
push esi
mov dword [ebp - 0x58], esi
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x467167
mov eax, dword [ebx]
jmp 0x467169
mov eax, ebx
lea ecx, [ebp - 0x50]
push ecx
push esi
lea edx, [ebp - 0x5c]
push edx
push 0xffff
push eax
mov eax, dword [ebp - 0x54]
push 0
push eax
call edi
cmp eax, 0xea
jne 0x4671e2
mov ecx, dword [ebp - 0x50]
add ecx, ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 0x1000
ja 0x4671e2
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045f05c
add esp, 8
mov esi, eax
lea eax, [ebp - 0x50]
push eax
push esi
lea ecx, [ebp - 0x5c]
push ecx
push 0xffff
mov ecx, ebx
mov dword [ebp - 0x58], esi
call fcn.00461ea0
mov edx, dword [ebp - 0x54]
push eax
push 0
push edx
jmp 0x46717e
mov dword [ebp - 4], 1
test eax, eax
jne 0x467240
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
mov eax, esi
mov dword [ebp - 0x38], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467200
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00463920
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00464110
cmp dword [ebp - 0x38], 8
jb 0x467240
mov edx, dword [ebp - 0x4c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x467240
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp - 0x54]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x60]
xor edi, edi
mov ebx, 7
xor ecx, ecx
lea edx, [ebp - 0x30]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], cx
cmp esi, edx
je 0x4670f6
cmp dword [esi + 0x14], 8
jb 0x467284
mov eax, dword [esi]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], cx
cmp dword [ebp - 0x1c], 8
jae 0x4672c2
mov edx, dword [ebp - 0x20]
lea eax, [edx + edx + 2]
push eax
lea ecx, [ebp - 0x30]
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x467108
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [esi], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
jmp 0x467108