Function at 0x476ea0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403356
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], 0x4020c0
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 [0x4920b8]
push eax
push 0x410908
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, 0x410924
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.00473530
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call edi
mov edx, 0x410944
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.00473530
lea ecx, [ebp - 0x34]
call edi
mov edx, 0x410960
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.00473530
lea ecx, [ebp - 0x34]
call edi
push pe_nt_image_headers32
call fcn.0040b6d0
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call ebx
lea ecx, [ebp - 0x34]
push 0x41097c
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b714
call ebx
lea ecx, [ebp - 0x34]
call edi
lea edx, [ebp - 0x34]
push 0x41099c
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b714
call ebx
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [0x492090]
push eax
push 0x4109c0
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.0040b714
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.0040b714
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.00463880
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40af34
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 0x47709b
mov dword [ebp - 0x40], 0
jmp 0x4771fe
mov edx, dword [0x4920b0]
push edx
push 0x40e0e0
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 0x4770bf
mov eax, dword [ebp - 0x18]
add eax, 1
lea ecx, [ebp - 0x34]
jo 0x47727b
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.0040b714
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.0040b6d0
call ebx
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x1c]
push ecx
push edx
mov dword [ebp - 0x50], 0
call fcn.00463880
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40af34
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 0x4771ab
mov edx, 0x410828
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x34]
push 0x49212c
push eax
call fcn.00480fd0
mov si, ax
lea ecx, [ebp - 0x34]
neg si
sbb esi, esi
inc esi
neg esi
call edi
test si, si
je 0x4771a1
mov edx, 0x40e680
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.00473530
lea ecx, [ebp - 0x34]
call edi
cmp dword [ebp - 0x18], 2
jle 0x4770bc
cmp dword [ebp - 0x18], 2
jle 0x4771ba
mov dword [ebp - 0x40], 0
jmp 0x4771fe
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
lea ecx, [ebp - 0x38]
push 0x4109f4
push ecx
call esi
push eax
lea edx, [ebp - 0x34]
push 0x40aab4
push edx
call esi
push eax
push 0x80000001
call fcn.0040c244
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 0x47724c
jmp 0x47723b
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