Function at 0x406590
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55df18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 esi, esi
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
push 0x2001f
push reloc.WS2_32.dll_accept
push 0x5c17f4
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.00404ef0
push 9
xor eax, eax
push str.FastLinks
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [edi + 0x24]
xor ecx, ecx
xor edx, edx
mov byte [ebp - 4], 2
cmp eax, eax
jne 0x40661e
cmp edx, ecx
je 0x406628
push str.bitset_N__overflow
call fcn.00469bb1
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x406634
lea ecx, [ebp - 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x30]
push edx
push 4
push esi
mov esi, dword [ebp - 0x44]
push ecx
push esi
mov dword [ebp - 0x30], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x40666c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xc
mov word [ebp - 0x2c], cx
push str.ViewSettings
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403510
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x28]
xor ecx, ecx
xor edx, edx
mov byte [ebp - 4], 3
cmp eax, eax
jne 0x4066a5
cmp edx, ecx
je 0x4066af
push str.bitset_N__overflow
call fcn.00469bb1
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x4066bb
lea ecx, [ebp - 0x2c]
push 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push ecx
push esi
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x4066e5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
push 0xe
xor edx, edx
push str.SearchSettings
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00403510
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
xor edx, edx
mov byte [ebp - 4], 4
cmp eax, eax
jne 0x40671e
cmp edx, ecx
je 0x406728
push str.bitset_N__overflow
call fcn.00469bb1
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x406734
lea ecx, [ebp - 0x2c]
push 4
lea edx, [ebp - 0x30]
push edx
push 4
push 0
push ecx
push esi
mov dword [ebp - 0x30], eax
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x40675e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xb
mov word [ebp - 0x2c], cx
push str.HistorySize
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403510
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
jae 0x406792
lea ecx, [ebp - 0x2c]
push 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push ecx
push esi
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x4067bc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
push 9
xor edx, edx
push str.UseMailto
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00403510
mov ecx, dword [ebp - 0x34]
xor eax, eax
cmp byte [ecx + 6], al
mov ecx, dword [ebp - 0x2c]
setne al
cmp dword [ebp - 0x18], 8
jae 0x4067f6
lea ecx, [ebp - 0x2c]
push 4
lea edx, [ebp - 0x30]
push edx
push 4
push 0
push ecx
push esi
mov dword [ebp - 0x30], eax
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x406820
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
mov ecx, dword [ebp - 0x34]
cmp byte [ecx + 5], 0
jne 0x406839
call fcn.00491280
mov dword [ebp - 0x38], 0
test al, al
jne 0x406840
mov dword [ebp - 0x38], 1
push 0xb
xor edx, edx
push str.EnableMusic
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
call fcn.00403510
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40686f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
push 4
lea edx, [ebp - 0x30]
push edx
push 4
push 0
push eax
push esi
mov dword [ebp - 0x30], ecx
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x40689c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0xb
mov word [ebp - 0x2c], cx
push str.KeepHistory
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403510
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
cmp byte [edx + 4], al
setne al
cmp dword [ebp - 0x18], 8
jae 0x4068d6
lea ecx, [ebp - 0x2c]
push 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push ecx
push esi
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x406900
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x18], 0
je 0x40699c
push 3
xor eax, eax
push 0x581290
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403510
mov eax, dword [ebp - 0x34]
add eax, 8
mov ecx, 8
cmp dword [eax + 0x14], ecx
jb 0x406942
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], ecx
jb 0x406952
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
jmp 0x406958
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x30], edx
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406968
lea eax, [ecx + 0xd]
jmp 0x406983
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push 0
push edx
push esi
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x40699c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
xor ecx, ecx
push 0x15
mov word [ebp - 0x2c], cx
push str.AppendOnNavigateError
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403510
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
cmp byte [edx + 7], al
setne al
cmp dword [ebp - 0x18], 8
jae 0x4069d6
lea ecx, [ebp - 0x2c]
push 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push ecx
push esi
call edi
push eax
call ebx
cmp dword [ebp - 0x18], 8
jb 0x4069fc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
test esi, esi
je 0x406a07
push esi
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