Function at 0x40529d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
lea eax, [ebp - 0xc]
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 4]
push eax
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push 9
call fcn.00406b66
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x405689
push dword [ebx]
mov esi, dword [sym.imp.USER32.dll_IsZoomed]
call esi
mov dword [ebp - 0x10], 3
test eax, eax
jne 0x4052f4
mov dword [ebp - 0x10], 1
push dword [ebx]
call esi
test eax, eax
jne 0x405316
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x405316
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x405333
lea eax, [ebp - 0x4c]
lea esi, [ebp - 0x30]
push eax
lea edi, [ebp - 0x20]
push dword [ebx]
mov dword [ebp - 0x4c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xa
call fcn.00406b66
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push 0xb
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push 0xc
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x18]
push 4
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0xd
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x14]
push 4
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0xe
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0xf60]
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x15
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0xf64]
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x16
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0xf68]
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x17
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0xf6c]
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x18
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0xf70]
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x19
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0xf74]
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x33
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 4]
push 4
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push 0x31
call fcn.00406b66
push eax
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf80]
push ecx
push 4
push 0
push str.HighScore_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf84]
push ecx
push 4
push 0
push str.Wins_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf88]
push ecx
push 4
push 0
push str.Losses_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf8c]
push ecx
push 4
push 0
push str.StreakWins_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf90]
push ecx
push 4
push 0
push str.StreakLosses_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf94]
push ecx
push 4
push 0
push str.StreakCurrent_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf98]
push ecx
push 4
push 0
push str.FWinStreak_Easy
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xf9c]
push ecx
push 4
push 0
push str.HighScore_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfa0]
push ecx
push 4
push 0
push str.Wins_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfa4]
push ecx
push 4
push 0
push str.Losses_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfa8]
push ecx
push 4
push 0
push str.StreakWins_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfac]
push ecx
push 4
push 0
push str.StreakLosses_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfb0]
push ecx
push 4
push 0
push str.StreakCurrent_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfb4]
push ecx
push 4
push 0
push str.FWinStreak_Medium
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfb8]
push ecx
push 4
push 0
push str.HighScore_Difficult
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfbc]
push ecx
push 4
push 0
push str.Wins_Difficult
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfc0]
push ecx
push 4
push 0
push str.Losses_Difficult
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfc4]
push ecx
push 4
push 0
push str.StreakWins_Difficult
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfc8]
push ecx
push 4
push 0
push str.StreakLosses_Difficult
push dword [ebp - 4]
call esi
push 4
lea ecx, [ebx + 0xfcc]
push ecx
push 4
push 0
add ebx, 0xfd0
push str.StreakCurrent_Difficult
push dword [ebp - 4]
call esi
push 4
push ebx
push 4
push 0
push str.FWinStreak_Difficult
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret