Function at 0x470610
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402258
xor esi, esi
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov eax, dword [0x48a0b8]
push eax
push 0x410afc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x410b18
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], esi
call ebx
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.0046d980
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call edi
mov edx, 0x410b38
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], esi
call ebx
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.0046d980
lea ecx, [ebp - 0x34]
call edi
mov edx, 0x410b54
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], esi
call ebx
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.0046d980
lea ecx, [ebp - 0x34]
call edi
push pe_nt_image_headers32
call fcn.0040b3d8
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call ebx
lea ecx, [ebp - 0x34]
push 0x410b70
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b41c
call ebx
lea ecx, [ebp - 0x34]
call edi
lea edx, [ebp - 0x34]
push 0x410b90
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b41c
call ebx
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [0x48a090]
push eax
push 0x410bb4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b41c
call ebx
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x34]
call edi
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b41c
call ebx
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x34]
call edi
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x50], esi
call fcn.00458320
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40ac48
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
lea ecx, [ebp - 0x34]
neg esi
sbb esi, esi
neg esi
neg esi
call edi
test si, si
je 0x47080b
mov dword [ebp - 0x40], 0
jmp 0x47096e
mov edx, dword [0x48a0b0]
push edx
push 0x40cef4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
xor eax, eax
jmp 0x47082f
mov eax, dword [ebp - 0x18]
add eax, 1
lea ecx, [ebp - 0x34]
jo 0x4709eb
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b41c
call ebx
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x34]
call edi
push pe_nt_image_headers32
call fcn.0040b3d8
call ebx
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x1c]
push ecx
push edx
mov dword [ebp - 0x50], 0
call fcn.00458320
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40ac48
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
lea ecx, [ebp - 0x34]
neg esi
sbb esi, esi
inc esi
neg esi
call edi
test si, si
jne 0x47091b
mov edx, 0x410be4
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x34]
push 0x48a12c
push eax
call fcn.00479db0
mov si, ax
lea ecx, [ebp - 0x34]
neg si
sbb esi, esi
inc esi
neg esi
call edi
test si, si
je 0x470911
mov edx, 0x40e388
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.0046d980
lea ecx, [ebp - 0x34]
call edi
cmp dword [ebp - 0x18], 2
jle 0x47082c
cmp dword [ebp - 0x18], 2
jle 0x47092a
mov dword [ebp - 0x40], 0
jmp 0x47096e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
lea ecx, [ebp - 0x38]
push 0x410bf4
push ecx
call esi
push eax
lea edx, [ebp - 0x34]
push 0x40a7c8
push edx
call esi
push eax
push 0x80000001
call fcn.0040bf60
call ebx
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 0x40], 0xffffffff
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x48], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
push 0x4709bc
jmp 0x4709ab
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop