Function at 0x4aea59
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f4d49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esi + 0xf4], edx
mov dword [esi + 0xf8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov edx, dword [0x53d480]
mov ecx, 0x53d480
mov byte [esp + 0x3c], 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x53d480
call dword [edx + 4]
mov eax, dword [0x537160]
mov bl, 3
cmp eax, edi
mov byte [esp + 0x3c], bl
jne 0x4aeb12
cmp dword [0x53715c], edi
jne 0x4aeb12
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x3c], 4
je 0x4aeae8
mov ecx, eax
call fcn.00431f10
jmp 0x4aeaea
xor eax, eax
mov dword [0x53715c], eax
mov eax, dword [0x528890]
push eax
push 0x4031c0
mov ecx, 0x53bea0
mov byte [esp + 0x44], bl
call fcn.00402190
mov dword [0x537160], 1
mov edx, dword [0x53d480]
mov esi, dword [0x53715c]
mov ecx, 0x53d480
mov byte [esp + 0x3c], 2
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4aed12
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4aed12
push 0x52de00
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004030d0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x18], edi
je 0x4aed12
mov eax, dword [0x53d440]
mov ecx, 0x53d440
mov dword [esp + 0x20], 0x53d440
call dword [eax + 4]
mov eax, dword [0x53716c]
mov bl, 5
cmp eax, edi
mov byte [esp + 0x3c], bl
jne 0x4aebee
cmp dword [0x537168], edi
jne 0x4aebee
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x3c], 6
je 0x4aebc3
push edi
mov ecx, eax
call fcn.00404a60
jmp 0x4aebc5
xor eax, eax
mov ecx, dword [0x528b70]
mov byte [esp + 0x3c], bl
push ecx
push 0x404a30
mov ecx, 0x53bea0
mov dword [0x537168], eax
call fcn.00402190
mov dword [0x53716c], 1
mov edx, dword [0x53d440]
mov esi, dword [0x537168]
mov ecx, 0x53d440
mov byte [esp + 0x3c], 2
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [eax + 0x98]
test eax, eax
jl 0x4aed12
cmp dword [esp + 0xc], edi
je 0x4aed12
mov edx, dword [0x53d440]
mov ecx, 0x53d440
mov dword [esp + 0x20], 0x53d440
call dword [edx + 4]
mov eax, dword [0x53716c]
mov bl, 7
cmp eax, edi
mov byte [esp + 0x3c], bl
jne 0x4aeca2
cmp dword [0x537168], edi
jne 0x4aeca2
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x3c], 8
je 0x4aec78
push edi
mov ecx, eax
call fcn.00404a60
jmp 0x4aec7a
xor eax, eax
mov dword [0x537168], eax
mov eax, dword [0x528b70]
push eax
push 0x404a30
mov ecx, 0x53bea0
mov byte [esp + 0x44], bl
call fcn.00402190
mov dword [0x53716c], 1
mov edx, dword [0x53d440]
mov esi, dword [0x537168]
mov ecx, 0x53d440
mov byte [esp + 0x3c], 2
call dword [edx + 8]
mov ecx, esi
call fcn.004441d0
cmp eax, 4
jne 0x4aed12
push 0x5297b4
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3c], 9
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push str.replay
push str.SOFTWAREStorm
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov byte [esp + 0x3c], 1
cmp eax, edi
je 0x4aed25
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x3c], 0
cmp eax, edi
je 0x4aed38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x4aed51
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret