Function at 0x4220e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401488
xor eax, eax
mov edx, 0x404a98
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb8], eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x404ff4
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
mov ebx, dword [ebp + 8]
push eax
mov ecx, dword [ebx]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [ebx + 4]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
mov eax, dword [ebx + 8]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov ecx, dword [ebx + 0xc]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
mov edx, dword [ebx + 0x10]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
push eax
mov eax, dword [ebx + 0x14]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x50]
call esi
mov ecx, dword [ebx + 0x18]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x54]
call esi
push eax
push 0x405010
call edi
mov edx, eax
lea ecx, [ebp - 0x58]
call esi
mov edx, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0x5c]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
push eax
push 0x405be0
call edi
mov edx, eax
lea ecx, [ebp - 0x64]
call esi
mov ecx, dword [ebx + 0x28]
push eax
push ecx
mov edx, dword [ebx + 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0x68]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x6c]
call esi
push eax
push 0x405be0
call edi
mov edx, eax
lea ecx, [ebp - 0x70]
call esi
mov ecx, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x30]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0x74]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x78]
call esi
push eax
push 0x405be0
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x70]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x64]
push eax
lea edx, [ebp - 0x60]
push ecx
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x58]
push eax
lea edx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x40]
push eax
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
push 0x17
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov ecx, dword [ebp - 0x18]
add esp, 0x60
push ecx
push 0x404ff4
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
mov edx, dword [ebx + 0x34]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
mov eax, dword [ebx + 0x38]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, dword [ebx + 0x3c]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov edx, dword [ebx + 0x40]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
push eax
mov eax, dword [ebx + 0x50]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x40cff0
call edi
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
mov ecx, dword [ebx + 0x44]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x50]
call esi
mov edx, dword [ebx + 0x48]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x54]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x58]
call esi
push eax
mov eax, dword [ebx + 0x54]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x5c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
mov ecx, dword [ebx + 0x64]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x64]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x68]
call esi
mov edx, dword [ebx + 0x68]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x6c]
call esi
push eax
push 0x405010
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x68]
push eax
lea edx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x58]
push ecx
lea eax, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x50]
push eax
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x48]
push edx
push eax
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0x14
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov edx, dword [ebp - 0x18]
add esp, 0x54
push edx
push 0x404ff4
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
mov eax, dword [ebx + 0x6c]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov ecx, dword [ebx + 0x70]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov edx, dword [ebx + 0x74]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
mov eax, dword [ebx + 0x78]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
mov ecx, dword [ebx + 0x7c]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x44]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
mov edx, dword [ebx + 0x80]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x50]
call esi
push eax
mov eax, dword [ebx + 0x94]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x54]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x58]
call esi
mov ecx, dword [ebx + 0x98]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x5c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x60]
call esi
mov edx, dword [ebx + 0xa4]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x64]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x68]
call esi
push eax
mov eax, dword [ebx + 0xac]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x6c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x70]
call esi
mov ecx, dword [ebx + 0x88]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x74]
call esi
push eax
push 0x405010
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x60]
push eax
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
push eax
lea edx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x38]
push ecx
lea eax, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
push 0x16
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [ebp - 0x18]
add esp, 0x5c
push eax
push 0x404ff4
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
mov ecx, dword [ebx + 0xb0]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [ebx + 0xa8]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
mov eax, dword [ebx + 0xb8]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x405000
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov ecx, dword [ebx + 0xbc]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
push eax
push 0x405040
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x20]
push edx
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov esi, dword [ebp + 0xc]
add esp, 0x24
mov ecx, dword [esi]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov edx, dword [esi]
mov edi, eax
lea eax, [ebp - 0x1c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4227b8
cmp word [ecx], 1
jne 0x4227b8
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
neg ebx
cmp ebx, eax
jb 0x4227af
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx*4]
jmp 0x4227c1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0xa8]
add ecx, eax
lea eax, [ebp - 0x88]
push edx
push eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa8], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea edx, [ebp - 0x88]
lea eax, [ebp - 0xb8]
push edx
push eax
mov dword [ebp - 0xb0], 0x403b78
mov dword [ebp - 0xb8], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
lea ecx, [ebp - 0x88]
mov ebx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test bx, bx
je 0x422838
add edi, 1
jo 0x42293d
push 0
push edi
push 1
push 8
push esi
push 4
push 0x180
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
mov eax, dword [esi]
add esp, 0x1c
test eax, eax
je 0x422877
cmp word [eax], 1
jne 0x422877
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub edi, edx
cmp edi, ecx
jb 0x42286e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea eax, [edi*4]
jmp 0x42287d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [esi]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
wait
push 0x42292a
jmp 0x422920
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop