Function at 0x4ee950
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4106c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xdc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x410300
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0xa0], 0x420e98
mov dword [ebp - 0xa8], 8
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0x41823c
push 0x447b4c
lea eax, [ebp - 0x68]
push eax
call fcn.004c7510
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 4
cmp word [ebp + 8], 0xffff
jne 0x4eeacc
mov dword [ebp - 4], 5
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0xa0], 0x447b64
mov dword [ebp - 0xa8], 8
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x78]
push eax
push 0x24
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
xor edx, edx
cmp eax, 7
sete dl
neg edx
mov word [ebp - 0xe4], dx
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x68]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
movsx ecx, word [ebp - 0xe4]
test ecx, ecx
je 0x4eeacc
mov dword [ebp - 4], 6
mov word [0x4f3528], 0xffff
jmp 0x4eed78
mov dword [ebp - 4], 0xa
call fcn.004ed250
mov dword [ebp - 4], 0xb
push 0
call fcn.004eee00
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [0x4f3108]
mov ecx, dword [eax]
mov edx, dword [0x4f3108]
push edx
call dword [ecx + 0x444]
fnclex
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jge 0x4eeb3e
push 0x444
push 0x421090
mov eax, dword [0x4f3108]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xfc], eax
jmp 0x4eeb48
mov dword [ebp - 0xfc], 0
movsx edx, word [ebp - 0xdc]
test edx, edx
jne 0x4eec49
mov dword [ebp - 4], 0xd
push 1
call fcn.004ef510
movsx eax, ax
test eax, eax
jne 0x4eec0e
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x90], 0x80020004
mov dword [ebp - 0x98], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0xa0], 0x4477dc
mov dword [ebp - 0xa8], 8
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x78]
push eax
push 0
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x4eec44
mov dword [ebp - 4], 0x10
push 0x420eb8
push 0x420ee8
call fcn.004ec9d0
mov dword [ebp - 4], 0x11
cmp word [ebp + 8], 0xffff
jne 0x4eec44
mov dword [ebp - 4], 0x12
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0049d2c0
jmp 0x4eed34
mov dword [ebp - 4], 0x16
cmp word [ebp + 0x10], 0xffff
jne 0x4eec63
mov dword [ebp - 4], 0x17
call fcn.004ebd90
mov dword [ebp - 4], 0x19
call fcn.004ef200
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0xb
xor edx, edx
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x447b04
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x68]
push ecx
push 0
push 0x77359400
lea edx, [ebp - 0x58]
push edx
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.004975f0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x1b
push 0x420eb8
push 0x420ee8
call fcn.004ec9d0
mov dword [ebp - 4], 0x1c
cmp word [ebp + 0xc], 0xffff
jne 0x4eed14
mov dword [ebp - 4], 0x1d
call fcn.004ece10
mov dword [ebp - 4], 0x1f
cmp word [ebp + 8], 0xffff
jne 0x4eed34
mov dword [ebp - 4], 0x20
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0049d2c0
mov dword [ebp - 4], 0x23
mov eax, dword [ebp - 0x34]
push eax
call fcn.004c8940
jmp 0x4eed78
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4eeddf
jmp 0x4eedba
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret