Function at 0x410ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x228]
push ecx
xor esi, esi
lea edx, [ebp - 0x21c]
push edx
push esi
push 1
push esi
push esi
push esi
push str.SoftwareNetscapeNetscape_Navigator_biff
push SysReAllocString
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], esi
call edi
test eax, eax
jne 0x410f0f
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x210]
push edx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.CurrentUser
push eax
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x104
call esi
test eax, eax
jne 0x410eec
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x20c]
push str.users_s
push edx
call ebx
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
push ecx
push 0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20c]
push edx
push eax
call edi
test eax, eax
jne 0x410eeb
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x108]
push edx
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x210]
push eax
push 0
push str.defaultServer
push ecx
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x104
call esi
test eax, eax
jne 0x410ede
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410de0
sub eax, edx
je 0x410ede
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push str.servers_s
push eax
call ebx
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x220]
push edx
push 0
mov ebx, 1
push ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push ecx
call edi
test eax, eax
jne 0x410ede
lea edx, [ebp - 0x214]
push edx
mov edx, dword [ebp - 0x220]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push str.popstatePath
push edx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], 0x104
call esi
test eax, eax
jne 0x410ed1
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410e83
sub eax, edx
je 0x410ed1
lea eax, [ebp - 0x108]
push str.mail
push eax
call fcn.004fee10
add esp, 8
test eax, eax
je 0x410ed1
mov edx, dword [ebp - 0x22c]
mov byte [eax], 0
lea eax, [ebp - 0x108]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, ebx
test cl, cl
jne 0x410ec0
mov dword [ebp - 0x224], ebx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret