Function at 0x45ef10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x560818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push 0x57e144
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
push 0x57e144
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_8]
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str.Software
push SysReAllocString
mov byte [esp + 0x40], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45eff4
push 0x5256
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
cmp dword [0x68c8bc], 1
lea ecx, [esp + 4]
je 0x45ef99
push 0x5257
jmp 0x45ef9e
push 0x5258
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
push str.HKEY_CURRENT_USERSoftware_n
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00407a40
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x44], 2
call fcn.004079b0
add esp, 0x18
lea esi, [edi + 8]
push eax
mov ecx, esi
mov byte [esp + 0x30], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
jmp 0x45f0eb
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x20]
push ecx
call ebx
test ebp, ebp
pop ebp
pop ebx
je 0x45f128
push 0x5256
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
cmp dword [0x68c8bc], 1
lea ecx, [esp + 4]
je 0x45f05b
push 0x5257
jmp 0x45f060
push 0x5258
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
push str._HKEY_CURRENT_USERSoftware_
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00407a40
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x44], 4
call fcn.004079b0
push 0x5801e0
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x50], 5
call fcn.00407a40
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x5c], 6
call fcn.004079b0
add esp, 0x30
lea esi, [edi + 8]
push eax
mov ecx, esi
mov byte [esp + 0x30], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esi]
push 0
push 0
push eax
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push esi
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x24]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret