Function at 0x405f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55de8c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x50], edi
mov esi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
push 0x2001f
push reloc.WS2_32.dll_accept
push 0x5c17f4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], edi
call fcn.00404ef0
push 3
xor eax, eax
mov ebx, 7
push 0x581290
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
xor ecx, ecx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], cx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00404b10
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 4
call fcn.00404660
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x40603c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x70], esi
jb 0x40605c
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b8946
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x406071
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 9
xor eax, eax
push str.FastLinks
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x4060a2
lea eax, [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x5c], 4
call ebx
cmp eax, edi
je 0x4060cb
mov esi, eax
jmp 0x4060d8
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0x3d
cmp esi, edi
jne 0x4060eb
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
call fcn.004056b0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
mov esi, 8
mov dword [ecx + 0x24], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x406117
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0xc
xor eax, eax
push str.ViewSettings
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x40614c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x50], 4
call ebx
cmp eax, edi
je 0x40616f
mov esi, eax
jmp 0x40617c
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0x2b
cmp esi, edi
jne 0x40618f
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405710
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov esi, 8
mov dword [ecx + 0x28], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x4061bb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0xe
xor eax, eax
push str.SearchSettings
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x4061f0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x50], 4
call ebx
cmp eax, edi
je 0x406213
mov esi, eax
jmp 0x406220
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 2
cmp esi, edi
jne 0x406233
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405770
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov esi, 8
mov dword [ecx + 0x2c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x40625f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0xb
xor eax, eax
push str.HistorySize
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x406290
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x50], 4
call ebx
cmp eax, edi
je 0x4062b3
mov esi, eax
jmp 0x4062c0
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0x32
cmp esi, edi
jne 0x4062d3
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
mov esi, 8
mov dword [ecx], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x4062f2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 9
xor eax, eax
push str.UseMailto
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x406323
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x50], 4
call ebx
cmp eax, edi
je 0x406346
mov esi, eax
jmp 0x406353
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
cmp esi, edi
jne 0x406366
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
cmp eax, edi
setne al
mov esi, 8
mov byte [ecx + 6], al
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x40638b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0xb
xor eax, eax
push str.EnableMusic
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x4063c7
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x54], 4
call ebx
cmp eax, edi
je 0x4063ea
mov esi, eax
jmp 0x4063f7
mov esi, dword [ebp - 0x5c]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, edi
jne 0x406407
cmp dword [ebp - 0x4c], edi
je 0x406417
call fcn.00491280
test al, al
je 0x406417
mov eax, 1
jmp 0x406419
xor eax, eax
mov ecx, dword [ebp - 0x58]
mov esi, 8
mov byte [ecx + 5], al
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x40643c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0xb
xor eax, eax
push str.KeepHistory
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x40646d
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x50], 4
call ebx
cmp eax, edi
je 0x406490
mov esi, eax
jmp 0x40649d
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
cmp esi, edi
jne 0x4064b0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
cmp eax, edi
setne al
mov esi, 8
mov byte [ecx + 4], al
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x4064d5
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
push 0x15
xor eax, eax
push str.AppendOnNavigateError
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], 0xffffffff
cmp dword [ebp - 0x18], esi
jae 0x406506
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x54]
push ecx
push edi
push eax
push edx
mov dword [ebp - 0x50], 4
call ebx
cmp eax, edi
je 0x406529
mov esi, eax
jmp 0x406536
mov esi, dword [ebp - 0x54]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
cmp esi, edi
jne 0x406549
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
cmp eax, edi
setne al
cmp dword [ebp - 0x18], 8
mov byte [ecx + 7], al
jb 0x406566
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x406574
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret