Function at 0x4099f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436228
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44a1ac]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x44a1ac]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0x80000001
push 0x43dad4
lea ecx, [esp + 0xf0]
mov dword [esp + 0x154], ebx
call fcn.00407afd
mov byte [esp + 0x150], 1
push str.SoftwareAdobeCommonFilesUsage
lea ecx, [esp + 0xd4]
mov dword [esp + 0x1c], 0xf003f
call fcn.00407afd
lea edx, [esp + 0x18]
lea ecx, [esp + 0xd0]
lea esi, [esp + 0x10]
mov byte [esp + 0x150], 2
call fcn.0041304d
push ebx
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1f], al
mov byte [esp + 0x158], 1
call fcn.004069c7
cmp byte [esp + 0x17], bl
je 0x409d00
push str.GUID
lea ecx, [esp + 0xd4]
call fcn.00407afd
mov byte [esp + 0x150], 3
cmp dword [esp + 0x10], ebx
je 0x409c1f
push 0x802
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0x400
call fcn.0041d30e
mov dword [esp], 0x802
mov esi, eax
push ebx
push esi
call dword [sym.imp.MSVCR100.dll_memset]
mov eax, dword [esp + 0xdc]
add esp, 0xc
cmp dword [esp + 0xe4], 8
jae 0x409b23
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x20]
push ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
cmp eax, ebx
jne 0x409b43
cmp edx, ebx
je 0x409b7d
lea eax, [esp + 0x108]
push str.Query_registry_value_with_key:
push eax
lea edi, [esp + 0xd8]
call fcn.00410777
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.004069c7
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov edi, dword [esp + 0x20]
jmp 0x409c1e
cmp dword [esp + 0x18], 4
jne 0x409c01
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
call fcn.004131b4
push dword [esp + 0x1c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x154], 4
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea ecx, [esp + 0x108]
lea eax, [esp + 0x24]
call fcn.00413261
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x154], 5
call fcn.00406827
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.004069c7
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 3
call fcn.00413224
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x409c17
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [esp + 0xf4]
call fcn.00406770
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
pop ecx
push ebx
push 1
lea ecx, [esp + 0xd8]
mov byte [esp + 0x158], 1
call fcn.004069c7
cmp dword [esp + 0xfc], ebx
je 0x409c54
lea eax, [esp + 0xec]
push eax
push edi
call fcn.004065d0
pop ecx
pop ecx
jmp 0x409d0c
lea ebx, [esp + 0xd0]
call fcn.004098cc
push str.GUID
lea ecx, [esp + 0x10c]
mov byte [esp + 0x154], 6
call fcn.00407afd
lea eax, [esp + 0x124]
push eax
mov ecx, ebx
mov byte [esp + 0x154], 7
call fcn.00406685
pop ecx
push eax
lea edx, [esp + 0x10c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 8
call fcn.004130df
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x12c]
call fcn.004069c7
push ebx
push esi
lea ecx, [esp + 0x110]
mov byte [esp + 0x158], 6
call fcn.004069c7
lea eax, [esp + 0xd0]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push eax
mov ecx, edi
mov byte [edi], bl
call fcn.004034e1
push ebx
push esi
lea ecx, [esp + 0xd8]
call fcn.00403768
push ebx
push esi
jmp 0x409d0f
push 0x43d991
mov ecx, edi
call fcn.0040256d
push ebx
push 1
lea ecx, [esp + 0xf4]
call fcn.004069c7
cmp dword [esp + 0x10], ebx
je 0x409d2b
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041d3a4
mov esp, ebp
pop ebp
ret