Function at 0x410f10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x575380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
xor ebp, ebp
push 0xffffffffffffffff
push ebp
mov ecx, edi
call sub.MFC42.DLL_CStringArray::SetSize
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_5
push 0x200
mov dword [esp + 0x34], ebp
call sub.MFC42.DLL_operatornew
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 4
mov esi, eax
lea eax, [esp + 0x38]
push eax
push 0xf003f
push ebp
push str.softwareHSToolsIPMsgEngBroadCast
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x411024
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
push ebp
lea ecx, [esp + 0x14]
push 0x5e0698
push ecx
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push esi
push eax
push 0
push ecx
push edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x410fe9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x41100b
inc ebp
lea eax, [esp + 0x10]
push ebp
push 0x5e0698
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, edi
push esi
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
jmp 0x410f9e
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x38]
push edx
push 0xf003f
push 0
push str.softwareHSToolsIPMsgChineseGBBroadCast
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x41114c
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString_5
push 0
lea eax, [esp + 0x14]
push 0x5e0698
push eax
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::Format
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x24]
push esi
push edx
push 0
push eax
push ecx
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4110bb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x411133
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
inc eax
push eax
push 0x5e0698
push edx
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 8]
add esp, 0xc
xor ebp, ebp
test eax, eax
jle 0x41111a
push esi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 4]
push esi
lea eax, [eax + ebp*4]
mov eax, dword [eax]
push eax
call ebx
add esp, 8
mov byte [esp + 0x30], 2
test eax, eax
lea ecx, [esp + 0x1c]
je 0x411115
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 8]
inc ebp
cmp ebp, eax
jl 0x4110e0
jmp 0x41111a
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 8]
cmp ebp, eax
jl 0x411070
push esi
push eax
mov ecx, edi
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
jmp 0x411070
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4