Function at 0x4f4ce0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x414386
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2d4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x40fb90
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x70]
push eax
push 0x104
call dword [sym.imp.MSVBVM60.DLL___vbaFixstrConstruct]
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c8], 0x424db8
mov dword [ebp - 0x2d0], 8
lea edx, [ebp - 0x2d0]
lea ecx, [ebp - 0x2c0]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0x41d048
push 0x441708
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.004ea9d0
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x2c0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 4
call fcn.00421440
mov dword [ebp - 0x2d4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea edx, [ebp - 0x6c]
push edx
push 0x28
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.00420870
mov dword [ebp - 0x2d8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor ecx, ecx
cmp dword [ebp - 0x2d8], 0
sete cl
neg ecx
movsx edx, cx
test edx, edx
je 0x4f4de5
jmp 0x4f5047
mov dword [ebp - 4], 7
lea eax, [ebp - 0x64]
push eax
push 0x41dbfc
lea ecx, [ebp - 0x2b0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0x41cab4
lea edx, [ebp - 0x2ac]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.004207d4
mov dword [ebp - 0x2d4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor eax, eax
cmp dword [ebp - 0x2d4], 0
sete al
neg eax
mov word [ebp - 0x2e0], ax
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x2ac]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx eax, word [ebp - 0x2e0]
test eax, eax
je 0x4f4e65
jmp 0x4f5047
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x68], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x5c], 2
mov dword [ebp - 4], 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x68]
push ecx
push 0
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00420824
mov dword [ebp - 0x2d4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0x2d4], 0
jne 0x4f4eb7
jmp 0x4f5047
mov dword [ebp - 4], 0xf
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call fcn.00420a28
mov dword [ebp - 0x2d4], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
lea edx, [ebp - 0x2d8]
push edx
push 0
lea eax, [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004312e4
mov dword [ebp - 0x2dc], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
cmp dword [ebp - 0x2dc], 0
je 0x4f4fee
mov dword [ebp - 4], 0x11
push 0x104
mov edx, dword [ebp - 0x70]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00431334
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
lea edx, [ebp - 0x2b0]
push edx
lea eax, [ebp - 0x2ac]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004208b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x13
cmp word [ebp + 0xc], 0xffff
jne 0x4f4fcf
mov dword [ebp - 4], 0x14
lea edx, [ebp - 0x30]
push edx
call fcn.004f88e0
jmp 0x4f4fec
mov dword [ebp - 4], 0x16
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
call fcn.00502da0
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
jmp 0x4f5004
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004208b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1c
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0x1e
push 0
push 0
push 0
lea edx, [ebp - 0x68]
push edx
push 0
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00420824
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x20
cmp dword [ebp - 0x6c], 0
je 0x4f506a
mov dword [ebp - 4], 0x21
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004208b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x23
mov edx, dword [ebp - 0x48]
push edx
call fcn.004ebe00
jmp 0x4f50b7
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4f513a
jmp 0x4f50fd
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2a8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret