Function at 0x411c70
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401886
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4017f8
mov eax, dword [0x4146c4]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
jne 0x411ccc
push 0x4146c4
push 0x405778
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4146c4]
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x14]
cmp eax, ebx
fnclex
jge 0x411cf5
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x14
push 0x405768
push esi
push eax
call edi
jmp 0x411cfb
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x50]
cmp eax, ebx
fnclex
jge 0x411d1b
push 0x50
push 0x405788
push esi
push eax
call edi
cmp dword [0x4146c4], ebx
jne 0x411d33
push 0x4146c4
push 0x405778
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x4146c4]
lea eax, [ebp - 0x30]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x14]
cmp eax, ebx
fnclex
jge 0x411d54
push 0x14
push 0x405768
push esi
push eax
call edi
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x58]
cmp eax, ebx
fnclex
jge 0x411d74
push 0x58
push 0x405788
push esi
push eax
call edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x406a68
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call esi
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
push eax
push 0x406a70
call esi
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
push 4
call ebx
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
add esp, 0x20
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push 0x406a80
push eax
call esi
push eax
push 0x80000002
call fcn.00405c08
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstrB]
mov edx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push edx
push eax
call esi
push eax
push 1
push 0
lea ecx, [ebp - 0x1c]
push 0x406ae0
push ecx
call esi
mov edx, dword [ebp - 0x18]
push eax
push edx
call fcn.00405c50
call edi
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 2
call ebx
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
call fcn.00405c94
call edi
push 0x411ea3
jmp 0x411e99
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret