Function at 0x40dcc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41fffa
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push esi
push edi
mov eax, dword [0x432578]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [esp + 0x13c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x13c], 3
call fcn.0040cf30
mov edi, dword [esp + 0x140]
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040d120
push str.CLSID_
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push SysReAllocString
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40df46
test edi, edi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x24], esi
jle 0x40dde6
movzx eax, byte [esp + 0x144]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40df01
push 0
lea ecx, [esp + 0x34]
call fcn.004158b0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push str.HKEY_CLASSES_ROOTCLSID_
push eax
mov byte [esp + 0x140], 4
call fcn.0040d4e0
add esp, 0xc
push 4
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x140], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x38]
call fcn.004130d0
test eax, eax
jne 0x40dee6
push 1
lea ecx, [esp + 0x34]
call fcn.004133c0
test eax, eax
jne 0x40dee6
push str.everyone
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 0x4245a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 1
push 2
push 0
push 0
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x14c], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push 0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x154], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x150], 7
call fcn.004133e0
test eax, eax
jne 0x40ded2
lea ecx, [esp + 0x30]
call fcn.00419440
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x30]
mov byte [esp + 0x134], 3
call fcn.00412e90
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test esi, esi
je 0x40df2a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x12c
ret 0xc
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x40df2a