Function at 0x427cc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b828
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x71a00c]
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
mov esi, ecx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x427ef2
mov dword [ebp - 0x50], vtable.win32only::CRegistry.0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
push 0x26
push 0x6afa54
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
call fcn.004023e0
mov eax, dword [ebp - 0x4c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x427d3f
push eax
call edi
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x4c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp - 0x2c]
test eax, eax
sete al
mov byte [ebp - 0x41], al
cmp edx, 0x10
jb 0x427d8a
mov ecx, dword [ebp - 0x40]
inc edx
push 1
call fcn.004020c0
mov al, byte [ebp - 0x41]
add esp, 4
test al, al
je 0x427f19
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push str.WindowX
lea ecx, [ebp - 0x28]
call fcn.004022b0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x427dd6
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x48]
push 4
push edx
push 4
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ecx
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x427dec
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
push str.WindowY
lea ecx, [ebp - 0x28]
call fcn.004022b0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x427e1f
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x48]
push 4
push edx
push 4
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ecx
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x427e35
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push str.WindowWidth
lea ecx, [ebp - 0x28]
call fcn.004022b0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x427e76
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x48]
push 4
push edx
push 4
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ecx
call edi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x427e8c
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
add esp, 4
push str.WindowHeight
lea ecx, [ebp - 0x28]
call fcn.004022b0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x427ec5
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x48]
push 4
push edx
push 4
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ecx
call edi
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x427ede
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.004020c0
mov ecx, dword [ebp - 0x4c]
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x50], vtable.win32only::CRegistry.0
test ecx, ecx
je 0x427ef2
push ecx
call edi
mov dword [esi + 0x5c], 0
xor eax, eax
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.0066bc45
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x4c]
jmp 0x427ee4