Function at 0x11002540
Capabilities:
Access peb ldr_data
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x11001206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x11001158
mov edx, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0xac], esi
call ebx
push esi
lea ecx, [ebp - 0x8c]
push 0x40
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x24]
push ecx
push edx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x8c]
push 9
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x8c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, 0x11001cd4
lea ecx, [ebp - 0x1c]
call ebx
push 0x11001688
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
lea edx, [ebp - 0x2c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [edx + 0x1c]
cmp eax, esi
fnclex
jge 0x11002691
mov edx, dword [ebp - 0x2c]
push 0x1c
push 0x11001d50
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], esi
call edi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x11001d50
push esi
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call ebx
mov ebx, 1
mov eax, 0x10
cmp ebx, eax
jg 0x11002829
mov eax, 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
mov eax, ebx
lea edx, [ebp - 0x4c]
imul eax, eax, 2
jo 0x11002ad8
sub eax, 1
mov dword [ebp - 0x84], ecx
push edx
lea ecx, [ebp - 0x8c]
jo 0x11002ad8
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
mov dword [ebp - 0xa4], 0x11001e48
mov dword [ebp - 0xac], 8
mov dword [ebp - 0x8c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4ErrVar]
mov esi, eax
and esi, 0x8000001f
jns 0x1100275d
dec esi
or esi, 0xffffffe0
inc esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ecx, dword [ebp - 0x14]
mov eax, 8
mov dword [ebp - 0xa4], ecx
add esp, 0x14
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x84], 0x11001c58
mov dword [ebp - 0x8c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0x5c]
add esi, 1
push edx
lea eax, [ebp - 0x4c]
jo 0x11002ad8
push esi
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x4c]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x14
add eax, ebx
jo 0x11002ad8
mov ebx, eax
xor esi, esi
jmp 0x110026c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
cmp ax, si
mov dword [ebp - 0x34], eax
jne 0x11002a65
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x11001e54
lea ecx, [ebp - 0x1c]
call ebx
push 0x11001688
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
lea edx, [ebp - 0x2c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
cmp eax, esi
fnclex
jge 0x110028ae
mov edx, dword [ebp - 0x2c]
push 0x1c
push 0x11001d50
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], esi
call edi
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x11001d50
push esi
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call ebx
mov dword [ebp - 0xc0], 0x10
mov ebx, 1
cmp ebx, dword [ebp - 0xc0]
jg 0x11002a4d
mov eax, 2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
mov eax, ebx
lea edx, [ebp - 0x4c]
imul eax, eax, 2
jo 0x11002ad8
sub eax, 1
mov dword [ebp - 0x84], ecx
push edx
lea ecx, [ebp - 0x8c]
jo 0x11002ad8
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
mov dword [ebp - 0xa4], 0x11001e48
mov dword [ebp - 0xac], 8
mov dword [ebp - 0x8c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4ErrVar]
mov esi, eax
and esi, 0x8000001f
jns 0x11002983
dec esi
or esi, 0xffffffe0
inc esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ecx, dword [ebp - 0x14]
mov eax, 8
mov dword [ebp - 0xa4], ecx
add esp, 0x14
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x84], 0x11001c58
mov dword [ebp - 0x8c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0x5c]
add esi, 1
push edx
lea eax, [ebp - 0x4c]
jo 0x11002ad8
push esi
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call edi
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x4c]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x14
add eax, ebx
jo 0x11002ad8
mov ebx, eax
jmp 0x110028f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
mov dword [ebp - 0x34], eax
push 0x11002ac1
jmp 0x11002a98
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x11001206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x11001168
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 1
mov dword [ebp - 4], eax
and esi, 0xfffffffe
push esi
mov dword [ebp + 8], esi
mov ecx, dword [esi]
call dword [ecx + 4]
mov edx, dword [esi + 0x44]
mov dword [edx], 1
mov eax, dword [esi + 0x44]
mov dword [eax + 4], 3
mov ecx, dword [esi + 0x44]
mov dword [ecx + 8], 7
mov edx, dword [esi + 0x44]
mov dword [edx + 0xc], 0xf
mov eax, dword [esi + 0x44]
mov dword [eax + 0x10], 0x1f
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x14], 0x3f
mov edx, dword [esi + 0x44]
mov dword [edx + 0x18], 0x7f
mov eax, dword [esi + 0x44]
mov dword [eax + 0x1c], 0xff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x20], 0x1ff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x24], 0x3ff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x28], 0x7ff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x2c], 0xfff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x30], 0x1fff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x34], 0x3fff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x38], 0x7fff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x3c], 0xffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x40], 0x1ffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x44], 0x3ffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x48], 0x7ffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x4c], 0xfffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x50], 0x1fffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x54], 0x3fffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x58], 0x7fffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x5c], 0xffffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x60], 0x1ffffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x64], 0x3ffffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x68], 0x7ffffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x6c], 0xfffffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], 0x1fffffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x74], 0x3fffffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x78], 0x7fffffff
mov eax, dword [esi + 0x60]
mov dword [eax], 1
mov ecx, dword [esi + 0x60]
mov dword [ecx + 4], 2
mov edx, dword [esi + 0x60]
mov dword [edx + 8], 4
mov eax, dword [esi + 0x60]
mov dword [eax + 0xc], 8
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x10], 0x10
mov edx, dword [esi + 0x60]
mov dword [edx + 0x14], 0x20
mov eax, dword [esi + 0x60]
mov dword [eax + 0x18], 0x40
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x1c], 0x80
mov edx, dword [esi + 0x60]
mov dword [edx + 0x20], 0x100
mov eax, dword [esi + 0x60]
mov dword [eax + 0x24], 0x200
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x28], 0x400
mov edx, dword [esi + 0x60]
mov dword [edx + 0x2c], 0x800
mov eax, dword [esi + 0x60]
mov dword [eax + 0x30], 0x1000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x34], 0x2000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x38], 0x4000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x3c], 0x8000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x40], 0x10000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x44], 0x20000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x48], 0x40000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x4c], 0x80000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x50], 0x100000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x54], 0x200000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x58], 0x400000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x5c], 0x800000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x60], 0x1000000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x64], 0x2000000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x68], 0x4000000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x6c], 0x8000000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x70], 0x10000000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x74], 0x20000000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x78], 0x40000000
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4