Function at 0x486190
Capabilities:
Manipulate safe mode programs

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, 0x14c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4064b8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x9c], 0x417628
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0x418224
push 0x4285c0
lea eax, [ebp - 0x80]
push eax
call fcn.004c7510
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 4
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x94]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x9c], 0x41fa98
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x94]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb4], 0x4008
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x94]
push ecx
push 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.004c7c80
lea eax, [ebp - 0x94]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstrB]
cmp eax, 1
jge 0x48630f
jmp 0x486ba6
mov dword [ebp - 4], 8
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 9
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.004d33c0
mov dword [ebp - 4], 0xa
call fcn.0048b870
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push eax
call fcn.0041db18
mov dword [ebp - 0x158], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4865e0
mov dword [ebp - 4], 0xd
push 0
push 7
push 1
push 0
lea edx, [ebp - 0x94]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x9c], 0x41fc8c
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x94]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb4], 0x4003
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xbc], 0x41fa98
mov dword [ebp - 0xc4], 8
lea edx, [ebp - 0xc4]
mov ecx, dword [ebp - 0x94]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], 0x4008
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 0x94]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xdc], 0x41faac
mov dword [ebp - 0xe4], 8
lea edx, [ebp - 0xe4]
mov ecx, dword [ebp - 0x94]
mov eax, 4
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf4], 0x4008
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x94]
mov ecx, 5
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xfc], 0x41fadc
mov dword [ebp - 0x104], 8
lea edx, [ebp - 0x104]
mov ecx, dword [ebp - 0x94]
mov eax, 6
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], 0x4003
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x94]
mov ecx, 7
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x94]
push ecx
call fcn.004e6720
mov edx, eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x94]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 0x78], 0x80020004
mov dword [ebp - 0x80], 0xa
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0x4285d8
mov edx, dword [ebp - 0x40]
push edx
call fcn.004ccc00
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
jmp 0x48684f
mov dword [ebp - 4], 0xe
cmp dword [ebp - 0x28], 0
jne 0x48684f
mov dword [ebp - 4], 0xf
push 0
push 7
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x9c], 0x41fc8c
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x28]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb4], 0x4003
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xbc], 0x41fa98
mov dword [ebp - 0xc4], 8
lea edx, [ebp - 0xc4]
mov ecx, dword [ebp - 0x94]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], 0x4008
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 0x94]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xdc], 0x41faac
mov dword [ebp - 0xe4], 8
lea edx, [ebp - 0xe4]
mov ecx, dword [ebp - 0x94]
mov eax, 4
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf4], 0x4008
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x94]
mov ecx, 5
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xfc], 0x41fadc
mov dword [ebp - 0x104], 8
lea edx, [ebp - 0x104]
mov ecx, dword [ebp - 0x94]
mov eax, 6
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], 0x4003
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x94]
mov ecx, 7
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x94]
push ecx
call fcn.004e6720
mov edx, eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x94]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 0x78], 0x80020004
mov dword [ebp - 0x80], 0xa
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0x4285d8
mov edx, dword [ebp - 0x40]
push edx
call fcn.004ccc00
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x11
call fcn.0048b9c0
mov dword [ebp - 4], 0x12
push 0
push 9
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x9c], 0x41fc8c
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x28]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb4], 0x4003
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x94]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xbc], 0x41fa98
mov dword [ebp - 0xc4], 8
lea edx, [ebp - 0xc4]
mov ecx, dword [ebp - 0x94]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], 0x4008
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 0x94]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xdc], 0x41faac
mov dword [ebp - 0xe4], 8
lea edx, [ebp - 0xe4]
mov ecx, dword [ebp - 0x94]
mov eax, 4
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf4], 0x4008
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x94]
mov ecx, 5
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xfc], 0x41fadc
mov dword [ebp - 0x104], 8
lea edx, [ebp - 0x104]
mov ecx, dword [ebp - 0x94]
mov eax, 6
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], 0x4003
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x94]
mov ecx, 7
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0x11c], 0x41fac4
mov dword [ebp - 0x124], 8
lea edx, [ebp - 0x124]
mov ecx, dword [ebp - 0x94]
mov eax, 8
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x134], 0x4003
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0x94]
mov ecx, 9
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x94]
push ecx
call fcn.004e6720
mov edx, eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x94]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 0x88], 0x80020004
mov dword [ebp - 0x90], 0xa
mov dword [ebp - 0x78], 0x80020004
mov dword [ebp - 0x80], 0xa
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
push 1
push 0x4285d8
push 0x4176e8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x420d1c
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 - 0x40]
push eax
call fcn.004ccf10
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x68]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x80]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaI4Abs]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x15
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa4], 0x4003
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x94]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x94]
push ecx
push 0x10
mov edx, dword [ebp - 0x40]
push edx
call fcn.004c7c80
lea eax, [ebp - 0x94]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0x17
mov edx, dword [ebp - 0x40]
push edx
call fcn.004c8940
jmp 0x486c76
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x486cf7
jmp 0x486cc0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret