Function at 0x52a807
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x408da6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x406828
push 3
lea eax, [ebp - 0x2c]
xor ebx, ebx
push 0x43ff50
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x98], ebx
call sub.MSVBVM60.DLL___vbaAryConstruct2
push dword [0x571ebc]
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp + 8]
push dword [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov esi, eax
mov ecx, dword [esi + 0x78]
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x74]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x70]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcRgb
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov ecx, dword [esi + 0x84]
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x80]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcRgb
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x90]
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x88]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcRgb
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x9c]
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x98]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x94]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL_rtcRgb
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, 0x4003
lea ecx, [esi + 0xa4]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], eax
xor eax, eax
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x60], 0xb
sete al
neg eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL_rtcImmediateIf
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x84], eax
xor eax, eax
cmp byte [esi + 0x40], bl
fld dword [esi + 0x48]
setne al
neg eax
push eax
xor eax, eax
cmp byte [esi + 0x59], bl
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
setne al
neg eax
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x64]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x60]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
push eax
xor eax, eax
cmp byte [esi + 0x58], bl
mov ecx, dword [esi + 0x1c]
setne al
neg eax
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x18]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
push eax
lea eax, [esi + 0x54]
push eax
lea eax, [esi + 0x50]
push eax
xor eax, eax
cmp byte [esi + 0x4d], bl
fld dword [esi + 0x44]
setne al
neg eax
push eax
push ecx
mov ecx, dword [esi + 0x3c]
fstp dword [esp]
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x38]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x30]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x28]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x24]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x20]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x14]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
mov ecx, dword [esi + 0x10]
push eax
call sub.MSVBVM60.DLL___vbaI2I4
fld dword [esi + 0xa0]
push eax
push ebx
push ecx
lea eax, [ebp - 0x40]
fstp dword [esp]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
push eax
xor eax, eax
cmp byte [esi + 0x4c], bl
setne al
neg eax
push eax
lea eax, [ebp - 0x84]
push dword [ebp + 8]
add esi, 0x6c
push dword [esi - 0x68]
push eax
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
push dword [ebp + 0xc]
push eax
call fcn.0052b355
lea eax, [ebp - 0x50]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x10
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
wait
push 0x52aafc
jmp 0x52aad8
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
ret