Function at 0x4ef510
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, 0x110
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4104b8
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 - 0xd0], 0x420e98
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0x418224
push 0x446de4
lea eax, [ebp - 0x84]
push eax
call fcn.004c7510
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [0x4f3108]
mov eax, dword [edx]
mov ecx, dword [0x4f3108]
push ecx
call dword [eax + 0x4e4]
fnclex
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jge 0x4ef60d
push 0x4e4
push 0x421090
mov edx, dword [0x4f3108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x128], eax
jmp 0x4ef617
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x70]
push ecx
push 0x447910
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 5
lea edx, [ebp - 0x70]
push edx
mov eax, dword [0x4f3108]
mov ecx, dword [eax]
mov edx, dword [0x4f3108]
push edx
call dword [ecx + 0x4e4]
fnclex
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jge 0x4ef68f
push 0x4e4
push 0x421090
mov eax, dword [0x4f3108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x12c], eax
jmp 0x4ef699
mov dword [ebp - 0x12c], 0
mov edx, dword [ebp - 0x70]
push edx
push 0x446668
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 6
xor edx, edx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x70]
push eax
push 0
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00488a60
xor edx, edx
cmp ax, 0xffff
setne dl
neg edx
mov word [ebp - 0x10c], dx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x10c]
test eax, eax
je 0x4ef901
mov dword [ebp - 4], 7
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0xc8]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0xd0], 0x41fa40
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe8], 0x4008
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0xc8]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0xc8]
push ecx
call fcn.004e6720
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xc8]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
mov dword [ebp - 0x7c], 0x80020004
mov dword [ebp - 0x84], 0xa
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x70]
push edx
push 1
push 0x420048
push 0x447ce0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x38]
push eax
call fcn.004ccf10
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x74]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 8
mov dword [ebp - 0xac], 0x80020004
mov dword [ebp - 0xb4], 0xa
mov dword [ebp - 0x9c], 0x80020004
mov dword [ebp - 0xa4], 0xa
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
push 0x420048
push 0x447ce0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 8
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x94]
push ecx
push 0
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x4f0286
mov dword [ebp - 4], 0xb
xor edx, edx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x70]
push ecx
push 0
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00488a60
xor ecx, ecx
cmp ax, 0xffff
setne cl
neg ecx
mov word [ebp - 0x10c], cx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx edx, word [ebp - 0x10c]
test edx, edx
je 0x4efb6a
mov dword [ebp - 4], 0xc
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0047b360
cmp ax, 0xffff
je 0x4efb6a
mov dword [ebp - 4], 0xd
push 0
push 1
push 1
push 0
lea edx, [ebp - 0xc8]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0xd0], 0x41fa40
mov dword [ebp - 0xd8], 8
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe8], 0x4008
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0xc8]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0xc8]
push ecx
call fcn.004e6720
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xc8]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
mov dword [ebp - 0x7c], 0x80020004
mov dword [ebp - 0x84], 0xa
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x70]
push edx
push 1
push 0x420048
push 0x447d20
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x38]
push eax
call fcn.004ccf10
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x74]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xe
mov dword [ebp - 0xac], 0x80020004
mov dword [ebp - 0xb4], 0xa
mov dword [ebp - 0x9c], 0x80020004
mov dword [ebp - 0xa4], 0xa
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
push 0x420048
push 0x447d74
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 8
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x94]
push ecx
push 0x10
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x4f0286
mov dword [ebp - 4], 0x12
push 0x80
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00486d10
cmp ax, 0xffff
je 0x4efc10
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
mov dword [ebp - 0x7c], 0x80020004
mov dword [ebp - 0x84], 0xa
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
push 1
push 0x447db0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004ccf10
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x14
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x15
push 0
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSetFileAttr]
mov dword [ebp - 4], 0x17
mov edx, dword [ebp + 8]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x4efc59
cmp dword [ebp - 0x130], 1
je 0x4efd30
cmp dword [ebp - 0x130], 2
je 0x4efe07
jmp 0x4efed9
mov dword [ebp - 4], 0x19
push 0x22
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xd0], 0x420eb8
mov dword [ebp - 0xd8], 8
push 0x22
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xe0], 0x447e30
mov dword [ebp - 0xe8], 8
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xc4]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x84]
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
jmp 0x4efed9
mov dword [ebp - 4], 0x1b
push 0x22
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xd0], 0x420eb8
mov dword [ebp - 0xd8], 8
push 0x22
lea ecx, [ebp - 0xa4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xe0], 0x447ec4
mov dword [ebp - 0xe8], 8
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
jmp 0x4efed9
mov dword [ebp - 4], 0x1d
push 0x22
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xd0], 0x420eb8
mov dword [ebp - 0xd8], 8
push 0x22
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xe0], 0x447f38
mov dword [ebp - 0xe8], 8
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
mov dword [ebp - 4], 0x1f
push 0x421ad0
push 0x447fac
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00498cb0
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x20
mov edx, dword [ebp - 0x58]
push edx
push 0x447fc8
mov eax, dword [ebp - 0x50]
push eax
call fcn.00498cb0
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x21
push 0x41de48
push 0x447ff0
push 0x447fac
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004994d0
cmp ax, 0xffff
je 0x4eff4c
jmp 0x4f0156
mov dword [ebp - 4], 0x24
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
push 0x447fc8
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.004994d0
cmp ax, 0xffff
je 0x4eff74
jmp 0x4f0156
mov dword [ebp - 4], 0x27
push 0
push 0
push 0
mov edx, dword [ebp - 0x58]
push edx
push 0x417700
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0048bc90
xor edx, edx
cmp ax, 0xffff
setne dl
neg edx
mov word [ebp - 0x10c], dx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x70]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx edx, word [ebp - 0x10c]
test edx, edx
je 0x4efff0
jmp 0x4f0156
mov dword [ebp - 4], 0x2a
mov word [ebp - 0x5c], 0xffff
jmp 0x4f0286
mov dword [ebp - 4], 0x31
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
mov dword [ebp - 0x7c], 0x80020004
mov dword [ebp - 0x84], 0xa
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
push 1
push 0x420048
push 0x4480bc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004ccf10
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x32
mov dword [ebp - 0xac], 0x80020004
mov dword [ebp - 0xb4], 0xa
mov dword [ebp - 0x9c], 0x80020004
mov dword [ebp - 0xa4], 0xa
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
push 0x420048
push 0x4480bc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 8
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x94]
push eax
push 0x10
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x84]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov dword [ebp - 4], 0x35
push 0
push 0
push 1
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xd8], 0x400b
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0xc8]
push ecx
push 0x10
mov edx, dword [ebp - 0x38]
push edx
call fcn.004c7c80
lea eax, [ebp - 0xc8]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 0x36
mov cx, word [ebp - 0x5c]
mov word [ebp - 0x64], cx
mov dword [ebp - 4], 0x37
mov edx, dword [ebp - 0x38]
push edx
call fcn.004c8940
jmp 0x4f0358
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4f0408
jmp 0x4f03b6
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret