Function at 0x47e1ab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a5ff3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x8174
call fcn.00568060
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0x8170], eax
push ebx
push esi
push edi
mov eax, dword [0x631350]
xor eax, esp
push eax
lea eax, [esp + 0x8188]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [esi], ebx
mov dword [esp + 0x18], eax
setne al
movzx eax, al
push 0x234
push eax
mov edi, str.srcwindows_registry.cpp
mov dword [esp + 0x38], esi
call fcn.0047f69c
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi]
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp edi, ebx
je 0x47e2c4
lea eax, [esp + 0x34]
push eax
call fcn.00403aba
mov esi, eax
push str.RegQueryInfoKey_failed_with
push esi
mov dword [esp + 0x8198], ebx
call fcn.0040635f
pop ecx
pop ecx
push edi
push esi
call fcn.004108f3
lea eax, [esp + 0xd0]
push eax
mov eax, esi
call fcn.00403b24
mov byte [esp + 0x8190], 1
cmp edi, ebx
jle 0x47e290
and edi, 0xffff
or edi, 0x80070000
push 1
push 0x24a
push str.srcwindows_registry.cpp
push edi
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0047d385
push 0x60763c
lea eax, [esp + 0xf0]
push eax
call fcn.00566ed2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x8190], 2
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
ja 0x47e357
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
cmp esi, eax
je 0x47e320
call fcn.0040f046
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x20]
call fcn.0040f046
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8170]
xor ecx, esp
call fcn.0055c9d4
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x30]
push ebx
push ebx
push ebx
xor eax, eax
push ebx
mov word [esp + 0x18c], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x190]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x38], 0x4000
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, 0x103
je 0x47e2e5
cmp esi, ebx
jne 0x47e3e7
lea eax, [esp + 0x17c]
push eax
lea esi, [esp + 0xd4]
call fcn.004037ae
mov ecx, esi
lea edi, [esp + 0x20]
mov byte [esp + 0x8190], 5
call fcn.0040e182
push 1
xor edi, edi
mov byte [esp + 0x8194], 2
call fcn.00404589
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jb 0x47e353
jmp 0x47e2e5
lea eax, [esp + 0x34]
push eax
call fcn.00403aba
mov edi, eax
push str.RegEnumValueW_failed_with
push edi
mov byte [esp + 0x8198], 3
call fcn.0040635f
pop ecx
pop ecx
push esi
push edi
call fcn.004108f3
lea eax, [esp + 0xd0]
push eax
mov eax, edi
call fcn.00403b24
mov byte [esp + 0x8190], 4
cmp esi, ebx
jle 0x47e436
and esi, 0xffff
or esi, 0x80070000
push 1
push 0x26d
push str.srcwindows_registry.cpp
push esi
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0047d385
push 0x60763c
lea eax, [esp + 0xf0]
jmp 0x47e2be