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

Disassembly:
push 0xffffffffffffffff
push 0x412801
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x61c
push str.General
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x62c]
lea eax, [esp]
mov dword [esp + 0x624], 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40257d
lea ecx, [esp + 0xc]
mov dword [esp + 0x624], 0xffffffff
call fcn.00412128
xor eax, eax
mov ecx, dword [esp + 0x61c]
mov dword fs:[0], ecx
add esp, 0x628
ret 4
mov eax, dword [str.ShowProxyGraphics]
mov ecx, dword [0x4151c0]
mov edx, dword [0x4151c4]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4151c8]
mov dword [esp + 0x20], ecx
mov cx, word [0x4151cc]
push ebp
push esi
push edi
mov dword [esp + 0x34], eax
mov word [esp + 0x38], cx
mov ecx, 0x3b
xor eax, eax
lea edi, [esp + 0x3a]
mov dword [esp + 0x30], edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x1c]
push 4
stosb byte es:[edi], al
push edx
push 4
lea eax, [esp + 0x34]
push 0
push eax
push ecx
mov dword [esp + 0x34], 0
call ebp
lea edx, [esp + 0x10]
push edx
call fcn.00403a60
add esp, 4
mov eax, dword [str.ACADLOGFILE]
mov ecx, dword [0x4151b4]
mov edx, dword [0x4151b8]
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], ecx
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x334]
mov dword [esp + 0x330], edx
lea edx, [esp + 0x428]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x630], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x428]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._acad.log
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x428]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x428]
not ecx
push ecx
push eax
push 1
lea ecx, [esp + 0x334]
push 0
push ecx
push edx
call ebp
mov eax, dword [str.ACAD]
mov cl, byte [0x4150a4]
mov dword [esp + 0x228], eax
mov byte [esp + 0x22c], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x22d]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x528]
push edx
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x234]
push 0
push edx
push eax
mov dword [esp + 0x38], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call sub.MFC42.DLL_AfxGetEmptyString
mov ecx, dword [eax]
lea edx, [esp + 0x528]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00412206
lea ecx, [esp + 0x14]
mov byte [esp + 0x630], 2
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x402810
mov edi, dword [esp + 0x10]
or ecx, eax
xor eax, eax
lea edx, [esp + 0x128]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x128]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4151a0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x128]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x528]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x128]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x128]
push ecx
push eax
push 1
lea ecx, [esp + 0x234]
push 0
push ecx
push edx
call ebp
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x630], 1
call fcn.00412128
lea ecx, [esp + 0x10]
mov byte [esp + 0x630], 0
call fcn.00412128
lea ecx, [esp + 0x18]
mov dword [esp + 0x630], 0xffffffff
call fcn.00412128
mov ecx, dword [esp + 0x628]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x628
ret 4