Function at 0x4771b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403426
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], 0x402268
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 0x410c90
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, 0x410cac
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.00473f90
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call edi
mov edx, 0x410ccc
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.00473f90
lea ecx, [ebp - 0x34]
call edi
mov edx, 0x410ce8
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.00473f90
lea ecx, [ebp - 0x34]
call edi
push pe_nt_image_headers32
call fcn.0040b580
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call ebx
lea ecx, [ebp - 0x34]
push 0x410d04
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b5c4
call ebx
lea ecx, [ebp - 0x34]
call edi
lea edx, [ebp - 0x34]
push 0x410d24
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.0040b5c4
call ebx
lea ecx, [ebp - 0x34]
call edi
mov eax, dword [0x492090]
push eax
push 0x410d48
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.0040b5c4
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.0040b5c4
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.0045e320
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40ae08
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 0x4773ab
mov dword [ebp - 0x40], 0
jmp 0x47750e
mov edx, dword [0x4920b0]
push edx
push 0x40d094
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 0x4773cf
mov eax, dword [ebp - 0x18]
add eax, 1
lea ecx, [ebp - 0x34]
jo 0x47758b
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.0040b5c4
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.0040b580
call ebx
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x1c]
push ecx
push edx
mov dword [ebp - 0x50], 0
call fcn.0045e320
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40ae08
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 0x4774bb
mov edx, 0x410d78
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x34]
push 0x49212c
push eax
call fcn.00480d40
mov si, ax
lea ecx, [ebp - 0x34]
neg si
sbb esi, esi
inc esi
neg esi
call edi
test si, si
je 0x4774b1
mov edx, 0x40e4f4
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.00473f90
lea ecx, [ebp - 0x34]
call edi
cmp dword [ebp - 0x18], 2
jle 0x4773cc
cmp dword [ebp - 0x18], 2
jle 0x4774ca
mov dword [ebp - 0x40], 0
jmp 0x47750e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
lea ecx, [ebp - 0x38]
push 0x410d88
push ecx
call esi
push eax
lea edx, [ebp - 0x34]
push 0x40a988
push edx
call esi
push eax
push 0x80000001
call fcn.0040c108
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 0x47755c
jmp 0x47754b
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