Function at 0x10067660
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100b61b3
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 ebp, ebp
push edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esi + 0x14], ebp
call fcn.10093fe0
lea ecx, [esi + 0x38]
mov dword [esp + 0x48c], ebp
call fcn.100942b0
lea ecx, [esi + 0xb4]
mov byte [esp + 0x48c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc4]
mov byte [esp + 0x48c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc8]
mov byte [esp + 0x48c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x144]
mov byte [esp + 0x48c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x148]
mov byte [esp + 0x48c], 5
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x150]
mov byte [esp + 0x48c], 6
mov ecx, ebx
call fcn.1009bdf0
mov byte [esp + 0x48c], 7
call fcn.100aeea7
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
push esi
push 0x100ebce8
push 0x100f0818
mov byte [esp + 0x498], 8
call fcn.10088670
add esp, 0xc
mov ecx, 0x100f0818
call fcn.100882b0
test eax, eax
je 0x100677ae
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
push 0x100ebce8
push eax
mov byte [esp + 0x498], 9
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], 8
call fcn.100ae920
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x100677bf
mov eax, dword [eax + 0x6c]
jmp 0x100677c1
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 + 0x24]
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x30]
mov byte [esp + 0x48c], 0xa
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x100eba88
call fcn.1009e030
mov eax, dword [esp + 0x20]
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 0x10067885
lea edx, [esp + 0x184]
push str.MsgRc
lea eax, [esp + 0x20]
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 0x100678b2
lea edx, [esp + 0x30]
lea eax, [esp + 0x184]
push edx
push str.MsgRc
lea ecx, [esp + 0x24]
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 ebp
push eax
call dword [sym.imp.MSVCRT.dll__access]
or edi, 0xffffffff
add esp, 8
cmp eax, edi
je 0x100678dd
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx], eax
jmp 0x100678df
mov dword [ebx], ebp
lea edx, [esp + 0x14]
mov dword [esi + 0x118], edi
push edx
mov dword [esi + 0x128], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], edi
push 0x20019
lea edi, [esi + 0x14c]
push ebp
push str.SOFTWAREOpen_Executive_4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xbc], ebp
mov dword [esi + 0xc0], ebp
mov dword [esi + 0x114], ebp
mov dword [esi + 0x11c], 2
mov dword [esi + 0x120], 0x19
mov dword [esi + 0x138], ebp
mov dword [esi + 0x134], 5
mov dword [edi], 0x80001
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100679df
mov eax, 4
mov edx, dword [esp + 0x14]
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 ebp
push str.OLAP_RunInTnx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100679d4
mov eax, dword [edi]
mov ecx, eax
and ecx, 0xffff
cmp ecx, 2
ja 0x100679ce
or eax, 0x10000
mov dword [edi], eax
jmp 0x100679d4
mov dword [edi], 0x80001
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 0x74]
push eax
call fcn.10096850
lea ecx, [esi + 0x9c]
push ecx
call fcn.100967a0
lea edx, [esi + 0xd0]
mov dword [esi + 0xcc], ebp
push edx
call fcn.10096850
lea eax, [esi + 0xf8]
push eax
call fcn.100967a0
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esi + 0x110], ebp
mov byte [esp + 0x48c], 8
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