Function at 0x100010d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x100021ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x40]
xor ebx, ebx
push eax
mov dword [esp + 0x2e4], ebx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x2c], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10001166
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.10001bf0
mov eax, 0x48
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d4
ret 8
mov eax, dword [esp + 0x50]
cmp eax, 2
jne 0x1000117e
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles
jmp 0x100011aa
cmp eax, 1
jne 0x10001132
cmp dword [esp + 0x48], ebx
jne 0x1000119d
lea edx, [esp + 0x1c]
push edx
push 1
push ebx
push str..DefaultSoftwareMicrosoftWindows_Messaging_SubsystemProfiles
push 0x80000003
jmp 0x100011af
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push str.SoftwareMicrosoftCurrentVersionWindows_Messaging_SubsystemProfiles
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x100011ed
lea ecx, [esp + 0x24]
lea edx, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
push eax
push ebx
push str.DefaultProfile
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x1c]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x100011f4
mov byte [esp + 0xd4], bl
lea ecx, [esp + 0x2c]
call fcn.10001c2c
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov byte [esp + 0x2e4], 1
call fcn.10001530
test eax, eax
je 0x10001271
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x1000129f
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push ebx
push str.SoftwareClientsMail
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10001271
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1000129f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.10001bf0
mov eax, 0x47
jmp 0x1000114b
call fcn.10001a20
test eax, eax
je 0x100012b2
mov edi, 0x4b
jmp 0x100013fc
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x20003
push ebx
push ebx
push ebx
call dword [0x10004364]
cmp eax, ebx
je 0x100012d7
mov dword [esp + 0x14], 0x48
jmp 0x100013f8
mov edi, dword [esp + 0x2ec]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10001302
mov dword [esp + 0x14], 0x48
jmp 0x100013f8
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0x3b
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e4], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], 1
call fcn.10001bf0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call edi
push 0x3b
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x100013bb
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e0], 1
call fcn.10001bf0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1d8]
push ecx
push edx
call edi
lea eax, [esp + 0x1d8]
push ebx
push eax
jmp 0x100013bd
push ebx
push esi
push esi
push 0x10004020
push ebx
call dword [0x10004370]
push esi
mov edi, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp edi, ebx
je 0x100013e6
cmp edi, 1
je 0x100013e6
mov dword [esp + 0x14], 0x49
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push ebx
push ecx
call dword [0x10004368]
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x14]
call fcn.10001bd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x10001459
lea edx, [esp + 0x14]
push edx
push 0xf003f
push ebx
push str.SoftwareClientsMail
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10001459
mov eax, dword [ebp + 4]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e0], bl
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.10001bf0
mov eax, edi
jmp 0x1000114b