Function at 0x10241cb
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1036a5e
call fcn.01034e18
sub esp, 0x40
mov eax, dword [0x103e6bc]
push ebx
push esi
push edi
push 4
mov dword [ebp - 0x10], eax
mov ebx, ecx
call sub.MFC42u.DLL_CWinApp::LoadStdProfileSettings
xor edi, edi
push edi
push 0x103ddc4
mov esi, 0x103ddb8
push esi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
xor ecx, ecx
cmp eax, edi
sete cl
push edi
push 0x103ddfc
push esi
mov dword [0x103d6f0], ecx
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push edi
push 0x103dde0
push esi
mov ecx, ebx
mov dword [ebx + 0x128], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push edi
push 0x103de64
push esi
mov ecx, ebx
mov dword [0x103ee00], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push edi
push 0x103de78
push esi
mov ecx, ebx
mov dword [ebp - 0x34], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
cmp dword [ebp - 0x34], edi
je 0x102425d
cmp eax, edi
jne 0x1024262
mov dword [ebp - 0x34], edi
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x200], eax
lea eax, [ebp - 0x3c]
push eax
push esi
mov dword [ebx + 0x1fc], ecx
call fcn.010240f4
cmp dword [ebp - 0x3c], edi
je 0x10242d4
lea ecx, [ebp - 0x38]
push ecx
lea eax, [ebx + 0x1d0]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
push 0x103e010
push dword [ebp - 0x3c]
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x38], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10242bc
cmp dword [ebp - 0x34], 3
jne 0x10242bc
cmp dword [ebp - 0x38], 0x2c
je 0x10242cb
push 0xb
xor eax, eax
pop ecx
lea edi, [ebx + 0x1d0]
rep stosd dword es:[edi], eax
xor edi, edi
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x103de8c
push esi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push edi
push 0x103dea0
push esi
mov ecx, ebx
mov dword [ebp - 0x34], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push edi
push 0x103deb4
push esi
mov ecx, ebx
mov dword [ebp - 0x38], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push edi
push 0x103decc
push esi
mov ecx, ebx
mov dword [ebp - 0x40], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
cmp dword [ebp - 0x34], edi
je 0x102436b
cmp dword [ebp - 0x38], edi
je 0x102436b
mov ecx, dword [ebp - 0x40]
cmp ecx, edi
je 0x102436b
cmp eax, edi
je 0x102436b
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
push eax
mov ecx, ebx
call fcn.0101f14c
push dword [ebp - 0x48]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x4c]
push dword [eax + 4]
push dword [eax]
call fcn.01010496
lea edi, [ebx + 0x198]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x103ddb8
xor edi, edi
push edi
push 0x103dee4
push esi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 1
push 0x103de18
mov edi, 0x103defc
push edi
mov ecx, ebx
mov dword [ebx + 0x174], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103df24
push edi
mov ecx, ebx
mov dword [ebx + 0x12c], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103df48
push edi
mov ecx, ebx
mov dword [ebx + 0x204], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103df54
push edi
mov ecx, ebx
mov dword [ebx + 0x210], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103df68
push edi
mov ecx, ebx
mov dword [ebx + 0x214], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0xffffffffffffffff
push 0x103df78
push edi
mov ecx, ebx
mov dword [ebx + 0x218], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103df94
push edi
mov ecx, ebx
mov dword [ebx + 0x21c], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103dfa8
push edi
mov ecx, ebx
mov dword [ebx + 0x208], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103df08
mov dword [ebx + 0x20c], eax
push edi
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileStringW
and dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0x224]
call sub.MFC42u.DLL_CString::operator
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call sub.MFC42u.DLL_CString::CString
push 0xffffffffffffffff
push 0x103df38
push edi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
cmp eax, 0xffffffff
mov dword [ebx + 0x228], eax
jne 0x1024495
push 2
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x102448f
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x228], eax
push 0
push 0x103dfbc
push edi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0
push 0x103de34
push esi
mov ecx, ebx
mov dword [ebx + 0x220], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 1
push 0x103de4c
push esi
mov ecx, ebx
mov dword [ebx + 0x22c], eax
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
push 0x40
mov dword [ebx + 0x230], eax
call sub.MFC42u.DLL_operatornew
test eax, eax
pop ecx
mov dword [ebx + 0x178], eax
je 0x1024536
push 0
push 0x103dfdc
mov edi, 0x103dfcc
push edi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
xor esi, esi
test eax, eax
mov dword [ebp - 0x40], eax
jle 0x1024530
push 0xa
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
push 0
lea eax, [ebp - 0x20]
push eax
push edi
mov ecx, ebx
call sub.MFC42u.DLL_CWinApp::GetProfileIntW
mov ecx, dword [ebx + 0x178]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0x40]
jl 0x1024503
mov dword [ebx + 0x17c], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01032f53
leave
ret