Function at 0x10063de0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100b5d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x474
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x2c], esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x48c], ebx
call fcn.10093fe0
lea ecx, [esi + 0x40]
mov byte [esp + 0x48c], 1
call fcn.100942b0
lea ebp, [esi + 0x134]
mov byte [esp + 0x48c], 2
mov ecx, ebp
call fcn.1009bdf0
lea ecx, [esi + 0x16c]
mov byte [esp + 0x48c], 3
call fcn.10083680
lea ecx, [esi + 0x180]
mov byte [esp + 0x48c], 4
call fcn.100849f0
mov byte [esp + 0x48c], 5
call fcn.100aeea7
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
push esi
push str._new_CMdCommand__p__n
push 0x100f0818
mov byte [esp + 0x498], 6
call fcn.10088670
add esp, 0xc
mov ecx, 0x100f0818
call fcn.100882b0
test eax, eax
je 0x10063f03
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
push str._new_CMdCommand__p__n
push eax
mov byte [esp + 0x498], 7
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, 0x100f0818
push str._r_n_r_n
push str.__COM_r_n
call fcn.100882e0
push eax
push edi
mov ecx, 0x100f0818
call fcn.10088520
lea ecx, [esp + 0x10]
mov byte [esp + 0x48c], 6
call fcn.100ae920
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x10063f14
mov eax, dword [eax + 0x6c]
jmp 0x10063f16
xor eax, eax
lea ecx, [esp + 0x80]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x284]
lea eax, [esp + 0x384]
push edx
lea ecx, [esp + 0x188]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x30]
mov byte [esp + 0x48c], 8
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x100eba88
call fcn.1009e030
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
push eax
push 0x100eba88
call fcn.1009dc20
lea ecx, [esp + 0x44]
push 0x100eba84
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x1c
test eax, eax
jne 0x10063fda
lea edx, [esp + 0x184]
push str.MsgRc
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x8c]
push str._s_s_s.dll
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x10064007
lea edx, [esp + 0x30]
lea eax, [esp + 0x184]
push edx
push str.MsgRc
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x90]
push str._s_s_s_s.dll
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [esp + 0x80]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x10064031
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp], eax
jmp 0x10064034
mov dword [ebp], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x78]
mov ebp, 8
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
add edi, 0x18
dec ebp
jne 0x10064045
lea edx, [esp + 0x1c]
lea edi, [esi + 0x130]
push edx
push 0x20019
push ebx
push str.SOFTWAREOpen_Executive_4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100640b3
mov eax, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push edi
push ecx
push ebx
push 0x100eba40
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100640a8
mov dword [edi], ebx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 6
call fcn.100ae920
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, esi
pop edi
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x480]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x480
ret