Function at 0x450d90
Capabilities:
Set registry value via stdregprov

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402cc0
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1f8], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov edi, 1
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov dword [ebp - 0x110], 0x40ff00
mov esi, 8
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x128], 0x8002
push edi
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x118]
push eax
push ebx
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0x230], ax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
cmp word [ebp - 0x230], bx
jne 0x450f91
mov edx, dword [0x4540a4]
push edx
push 0x406f88
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x450f38
call fcn.0044d3d0
mov dword [ebp - 0x44], 2
mov eax, dword [0x4540a4]
push eax
push 0x40cd08
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x450f91
mov dword [ebp - 0x110], 0x40
mov dword [ebp - 0x118], 2
lea edx, [ebp - 0x118]
mov ecx, dword [ebp + 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 0x22c], ebx
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00406bf4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x450fb4
mov dword [ebp - 0x110], 0x20
mov dword [ebp - 0x118], 2
lea edx, [ebp - 0x118]
mov ecx, dword [ebp + 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 0x44], 3
mov edx, dword [ebp + 8]
push edx
call fcn.00450c60
mov edx, eax
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x110], 0x414e34
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x130], 0x414ea0
mov dword [ebp - 0x138], esi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], esi
mov eax, 0x40a5e8
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x168], esi
lea eax, [ebp - 0x118]
push eax
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x128]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
call esi
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
call edi
push eax
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0xa8]
push eax
call edi
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0xc8]
push edx
call edi
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call edi
push eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x158]
call esi
push eax
lea edx, [ebp - 0xe8]
push edx
call edi
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call edi
push eax
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x178]
call esi
push eax
lea edx, [ebp - 0x108]
push edx
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004220a0
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x78]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x30
push ebx
push 0x40ccc0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x40]
push edx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarSetVar]
call edi
mov dword [ebp - 0x44], 4
mov eax, 0x40cd14
mov dword [ebp - 0x110], eax
mov ecx, 8
mov dword [ebp - 0x118], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x114]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x18]
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVargVar]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
push 2
push 0x40cd44
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x2c
mov dword [ebp - 0x44], 5
push ebx
push 0x40cd50
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x64]
push ecx
call edi
mov dword [ebp - 0x44], 6
mov eax, 0x40cdc8
mov ecx, 8
mov dword [ebp - 0x110], 0x406f88
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x130], 0x40cd8c
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x150], 0x406f88
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x170], 0x406f88
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x1d0], 0x80020004
mov dword [ebp - 0x1d8], 0xa
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x204]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1fc]
mov dword [edx + 0xc], eax
push 1
push 0x40cde0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x118]
mov dword [ecx], edx
mov eax, dword [ebp - 0x114]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x110]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x138]
mov dword [ecx], edx
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x130]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x12c]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x158]
mov dword [ecx], edx
mov eax, dword [ebp - 0x154]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x150]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14c]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x178]
mov dword [ecx], edx
mov eax, dword [ebp - 0x174]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x170]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x16c]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov eax, 0xa
mov dword [ecx], eax
mov edx, dword [ebp - 0x194]
mov dword [ecx + 4], edx
mov eax, 0x80020004
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x18c]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov eax, 0xa
mov dword [ecx], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ecx + 4], edx
mov eax, 0x80020004
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x1d8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1d4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x1cc]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov eax, 0x400c
mov dword [ecx], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ecx + 4], edx
lea eax, [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ecx + 0xc], eax
push 8
push 0x40cda8
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLdRf]
add esp, 0x90
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x20
push eax
lea ecx, [ebp - 0x30]
push ecx
call edi
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 0x44], 7
mov eax, 0x414ed4
mov dword [ebp - 0x110], eax
mov ecx, 8
mov dword [ebp - 0x118], ecx
push ebx
push 0x40c9f8
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x114]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [edx + 0xc], eax
push 1
push 0x40cc14
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLdRf]
add esp, 0x20
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x10
push eax
lea ecx, [ebp - 0x54]
push ecx
call edi
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 0x44], 8
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x128]
call esi
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
push 0x40ca14
lea ecx, [ebp - 0x54]
push ecx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemSt]
call edi
mov dword [ebp - 0x44], 9
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call esi
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
push 0x40ce64
lea ecx, [ebp - 0x54]
push ecx
call edi
mov dword [ebp - 0x44], 0xa
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x128]
call esi
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
push 0x40cf54
lea ecx, [ebp - 0x54]
push ecx
call edi
mov dword [ebp - 0x44], 0xb
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x128]
call esi
sub esp, 0x10
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
push 0x40cf6c
lea ecx, [ebp - 0x54]
push ecx
call edi
mov dword [ebp - 0x44], 0xc
mov eax, 0x414ed4
mov dword [ebp - 0x110], eax
mov ecx, 8
mov dword [ebp - 0x118], ecx
lea edx, [ebp - 0x54]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x138], 0x400c
mov dword [ebp - 0x140], 0x80020004
mov dword [ebp - 0x148], 0xa
lea edi, [ebp - 0x40]
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x168], 0x400c
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x114]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x10c]
mov dword [edi + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov eax, dword [ebp - 0x138]
mov dword [ecx], eax
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x12c]
mov dword [ecx + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x148]
mov dword [eax], ecx
mov edx, dword [ebp - 0x144]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x140]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x168]
mov dword [eax], ecx
mov edx, dword [ebp - 0x164]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x160]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x15c]
mov dword [eax + 0xc], edx
push 4
push 0x40ce7c
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x4c
push ebx
lea ecx, [ebp - 0x40]
push ecx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarSetObjAddref]
call edi
push ebx
lea edx, [ebp - 0x64]
push edx
call edi
or eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], eax
mov edi, 1
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
mov edx, 0x414ef8
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004220a0
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 0x110], 0x40
mov dword [ebp - 0x118], 0x8002
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x128]
call esi
push eax
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x451992
mov dword [ebp - 0x22c], edi
jmp 0x451980
lea eax, [ebp - 0x22c]
push eax
call fcn.00406bf4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call dword [fcn.004010b8]
push 0x451a2d
jmp 0x451a0d
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x54]
call esi
lea ecx, [ebp - 0x64]
call esi
lea ecx, [ebp - 0x74]
call esi
ret