Function at 0x45547b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47963b
call fcn.00465b54
mov eax, 0x1a34
call fcn.00465ce0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov eax, dword [esi + 0x74]
lea edx, [ebp - 0x24]
push edx
push 0x4918a8
mov ecx, dword [eax]
push 0x47df34
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0xc]
mov dword [ebp - 0x48], ebx
mov eax, dword [esi + 0x74]
lea edx, [ebp - 0x48]
push edx
push 0x4913e8
mov ecx, dword [eax]
push 0x47c520
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0xc]
lea eax, [ebp - 0x49]
push 1
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040554d
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 2
call fcn.0042b5fa
mov ecx, dword [eax]
mov byte [ebp - 4], 3
mov byte [eax + 4], 1
call fcn.004064ba
push 0x49146c
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
push edi
push dword [ebp - 0x20]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x50], bl
mov byte [ebp - 4], 2
je 0x455545
mov ecx, dword [ebp - 0x54]
push dword [ecx + 0x1c]
call fcn.00405710
lea eax, [ebp - 0x25]
push 1
mov edi, 0x491704
push eax
push edi
lea ecx, [ebp - 0x9c]
call fcn.004055c2
push dword [0x47b4c4]
lea eax, [ebp - 0xc4]
neg eax
sbb eax, eax
lea ecx, [ebp - 0xc0]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.00408822
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x25]
push 1
push eax
push edi
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.004055c2
push dword [0x47b4c4]
lea eax, [esi + 0x2f8]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x138]
call fcn.00408822
mov al, byte [esi + 0x400]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
neg al
sbb eax, eax
lea ecx, [ebp - 0x13c]
add eax, edi
mov dword [ebp - 0x20], eax
call fcn.00406443
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push ecx
push 1
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x455609
lea ecx, [ebp - 0x1c]
call fcn.004036d7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov edx, dword [0x494b48]
mov dword [ebp - 0x14], 0x494b48
cmp edx, ebx
je 0x4556e4
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa3f]
mov byte [ebp - 0xa40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edx
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xa40]
lea ecx, [ebp - 0x5c]
push eax
mov word [ebp - 0x5c], bx
call fcn.00455bfb
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040de3c
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.004064ba
push ebx
lea esi, [ebp - 0x3c]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 1
mov edx, dword [ecx]
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
cmp edx, ebx
jne 0x45561e
mov esi, dword [ebp - 0x2c]
mov edx, dword [0x494b7c]
mov dword [ebp - 0x14], 0x494b7c
cmp edx, ebx
je 0x4557bf
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa3f]
mov byte [ebp - 0xa40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x800
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edx
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xa40]
lea ecx, [ebp - 0x5c]
push eax
mov word [ebp - 0x5c], bx
call fcn.00455bfb
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040de3c
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
call fcn.004064ba
push ebx
lea esi, [ebp - 0x3c]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 2
mov edx, dword [ecx]
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
cmp edx, ebx
jne 0x4556f9
mov esi, dword [ebp - 0x2c]
mov eax, dword [0x494b84]
mov dword [ebp - 0x14], 0x494b84
cmp eax, ebx
je 0x45587a
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push eax
mov dword [ebp - 0x50], ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x18]
mov word [ebp - 0x3c], 3
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040de3c
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xd
call fcn.004064ba
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 4
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, ebx
jne 0x4557d3
mov esi, dword [ebp - 0x2c]
push 4
lea eax, [ebp - 0x40]
pop edi
mov dword [ebp - 0x60], ebx
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push 0x496fac
mov dword [ebp - 0x40], edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x64], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x60], edi
jne 0x455914
mov eax, dword [ebp - 0x64]
mov word [ebp - 0x3c], 3
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x496fa0
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
call fcn.004064ba
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 4
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x2c]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x23f]
mov byte [ebp - 0x240], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x240]
lea ecx, [esi + 0x2f8]
push eax
call fcn.00406443
push eax
call fcn.00447dff
pop ecx
xor eax, eax
pop ecx
lea edi, [ebp - 0x123f]
mov ecx, 0x1ff
mov byte [ebp - 0x1240], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x1a40]
push 0x496f88
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1a40]
lea ecx, [ebp - 0x1c]
push 0xf003f
push eax
push SysReAllocString
call fcn.004282aa
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x800
push eax
lea eax, [ebp - 0x1240]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x496f7c
mov dword [ebp - 0x50], ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1240]
lea ecx, [ebp - 0x3c]
push eax
mov word [ebp - 0x3c], bx
call fcn.00455bfb
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x496f64
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call fcn.004064ba
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov ecx, dword [ebp - 0x24]
mov edi, esp
mov eax, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ecx]
push 1
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
push ecx
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x41]
push 1
push eax
lea ecx, [ebp - 0xec]
call fcn.0040554d
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xec]
push 0x496f58
push eax
mov byte [ebp - 4], 0x12
call fcn.00455379
mov eax, dword [ebp - 0xe4]
cmp eax, ebx
jne 0x455a63
mov eax, 0x47b4c8
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
call fcn.0040367e
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x496f44
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x14
call fcn.004064ba
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 1
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x4a]
push 1
push eax
lea ecx, [ebp - 0x114]
call fcn.0040554d
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x114]
push 0x496f38
push eax
mov byte [ebp - 4], 0x15
call fcn.00455379
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jne 0x455b07
mov eax, 0x47b4c8
push eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], bx
call fcn.0040367e
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x496f20
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x17
call fcn.004064ba
push ebx
lea esi, [ebp - 0x74]
sub esp, 0x10
mov eax, dword [eax]
mov edi, esp
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push 1
mov edx, dword [ecx]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x12
call fcn.00407f77
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.00407f77
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00407f77
cmp dword [ebp - 0x1c], ebx
je 0x455bad
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00407f77
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00407f77
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x455bdb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x455bec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret