Function at 0x11040d82
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x11005506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x11002400
push 8
lea eax, [ebp - 0x30]
xor esi, esi
push 0x110123b4
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
call sub.MSVBVM60.DLL___vbaAryConstruct2
mov ecx, dword [ebp - 0x24]
mov edx, 0x11011fa8
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11011ff0
lea ecx, [eax + 4]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012030
lea ecx, [eax + 8]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012068
lea ecx, [eax + 0xc]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x110120a8
lea ecx, [eax + 0x10]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11011ea4
lea ecx, [eax + 0x14]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11011ef8
lea ecx, [eax + 0x18]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x110120ec
lea ecx, [eax + 0x1c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012144
lea ecx, [eax + 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012158
lea ecx, [eax + 0x24]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012178
lea ecx, [eax + 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x110121dc
lea ecx, [eax + 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012204
lea ecx, [eax + 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012224
lea ecx, [eax + 0x34]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11012278
lea ecx, [eax + 0x38]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x110122a8
lea ecx, [eax + 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11011cfc
lea ecx, [eax + 0x40]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [ebp - 0x24]
mov edx, 0x11011b5c
lea ecx, [eax + 0x44]
call sub.MSVBVM60.DLL___vbaStrCopy
push 0x110122c8
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x30]
push eax
push 1
pop edi
push edi
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x38], esi
mov ax, word [ebp - 0x84]
cmp word [ebp - 0x38], ax
jg 0x11041179
cmp dword [0x110800c0], esi
jne 0x11040f53
push 0x110800c0
push 0x1100b784
call sub.MSVBVM60.DLL___vbaNew2
mov eax, dword [0x110800c0]
movsx edi, word [ebp - 0x38]
mov ebx, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6c]
push eax
push 0x11012300
shl edi, 2
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [ebp - 0x24]
push dword [edi + eax]
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x1101234c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x74]
call dword [ebx + 0x48]
cmp eax, esi
fnclex
jge 0x11040fd4
push 0x48
push 0x1100b5b4
push dword [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea eax, [ebp - 0x50]
xor ebx, ebx
cmp word [ebp - 0x6c], 0xffff
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
sete bl
push eax
push 4
neg ebx
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
cmp bx, si
jne 0x1104110b
cmp dword [0x110800c0], esi
jne 0x1104101a
push 0x110800c0
push 0x1100b784
call sub.MSVBVM60.DLL___vbaNew2
push dword [ebp - 0x3c]
mov ebx, dword [0x110800c0]
mov dword [ebp - 0x74], ebx
push 0x11012368
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 8
mov ebx, dword [ebx]
push eax
call sub.MSVBVM60.DLL_rtcEnvironBstr
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x1101234c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [ebp - 0x24]
push dword [edi + eax]
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x1101234c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x74]
call dword [ebx + 0x48]
cmp eax, esi
fnclex
jge 0x110410d0
push 0x48
push 0x1100b5b4
push dword [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
lea eax, [ebp - 0x54]
push eax
cmp word [ebp - 0x6c], 0xffff
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
sete bl
push eax
push 6
neg ebx
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x1c
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaFreeVar
cmp bx, si
je 0x1104116e
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
push dword [edi + eax]
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x11012354
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x38], eax
jmp 0x11040f2b
push dword [ebp - 0x40]
push 0x1100c268
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x1104119e
push 0x11012384
call fcn.11040359
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCopy
push 0x1104120b
jmp 0x110411e9
lea eax, [ebp - 0x30]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
ret