Function at 0x446010
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403d06
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], 0x401688
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov edx, 0x4353a8
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push 0x4353dc
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0x80000002
call fcn.0043412c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 5
cmp dword [0x498984], 0
jne 0x4460d9
push 0x498984
push 0x434928
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x94], 0x498984
jmp 0x4460e3
mov dword [ebp - 0x94], 0x498984
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x60]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x446126
push 0x14
push 0x434918
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x98], eax
jmp 0x446130
mov dword [ebp - 0x98], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
call dword [ecx + 0x50]
fnclex
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jge 0x44616e
push 0x50
push 0x434948
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x9c], eax
jmp 0x446178
mov dword [ebp - 0x9c], 0
cmp dword [0x498984], 0
jne 0x44619d
push 0x498984
push 0x434928
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0xa0], 0x498984
jmp 0x4461a7
mov dword [ebp - 0xa0], 0x498984
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jge 0x4461ea
push 0x14
push 0x434918
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xa4], eax
jmp 0x4461f4
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x78]
push edx
call dword [ecx + 0x58]
fnclex
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jge 0x446232
push 0x58
push 0x434948
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xa8], eax
jmp 0x44623c
mov dword [ebp - 0xa8], 0
push 0xff
mov edx, dword [ebp - 0x3c]
push edx
push 0x43543c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x435444
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 1
push 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00434174
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x20
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x58]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004341b8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x446373
jmp 0x446369
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret