Function at 0x4ef200
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, 0x88
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x410458
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 - 0x78], 0x420e98
mov dword [ebp - 0x80], 8
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0x41823c
push 0x447c80
lea eax, [ebp - 0x70]
push eax
call fcn.004c7510
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 4
xor edx, edx
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [0x4f3108]
mov eax, dword [edx]
mov ecx, dword [0x4f3108]
push ecx
call dword [eax + 0x4e4]
fnclex
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x4ef2f6
push 0x4e4
push 0x421090
mov edx, dword [0x4f3108]
push edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xa4], eax
jmp 0x4ef300
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x5c]
push ecx
push 0
mov edx, dword [ebp - 0x54]
push edx
push 0x447c98
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call fcn.00488a60
neg ax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
movsx eax, word [ebp - 0x8c]
test eax, eax
je 0x4ef455
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [0x4f3108]
mov eax, dword [edx]
mov ecx, dword [0x4f3108]
push ecx
call dword [eax + 0x4e4]
fnclex
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x4ef3b2
push 0x4e4
push 0x421090
mov edx, dword [0x4f3108]
push edx
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xa8], eax
jmp 0x4ef3bc
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x70], 0xb
xor edx, edx
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x447cac
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x447c98
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x70]
push eax
push 0
push 0x77359400
lea ecx, [ebp - 0x60]
push ecx
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.004975f0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004c8940
jmp 0x4ef499
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4ef4f0
jmp 0x4ef4cb
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